Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS: jack #23358

Closed
imjasonh opened this issue Jul 8, 2024 · 1 comment
Closed

FTBFS: jack #23358

imjasonh opened this issue Jul 8, 2024 · 1 comment
Labels
foundations ftbfs Failed to Build From Source

Comments

@imjasonh
Copy link
Contributor

imjasonh commented Jul 8, 2024

2024-07-06 20:53:13 (5.10 MB/s) - 'jack2-v1.9.22.tar.gz' saved [933448]

jack2-v1.9.22.tar.gz: OK
/home/build/waflib/Utils.py:733: SyntaxWarning: invalid escape sequence '\d'
  return re.split('\d+$', s)[0]
/home/build/waflib/ConfigSet.py:14: SyntaxWarning: invalid escape sequence '\ '
  re_imp = re.compile('^(#)*?([^#=]*?)\ =\ (.*?)$', re.M)
/home/build/waflib/ansiterm.py:267: SyntaxWarning: invalid escape sequence '\['
  ansi_tokens = re.compile('(?:\x1b\[([0-9?;]*)([a-zA-Z])|([^\x1b]+))')
/home/build/waflib/Context.py:610: SyntaxWarning: invalid escape sequence '\_'
  """
Traceback (most recent call last):
  File "/home/build/./waf", line 166, in <module>
    from waflib import Scripting
  File "/home/build/waflib/Scripting.py", line 10, in <module>
    from waflib import Utils, Configure, Logs, Options, ConfigSet, Context, Errors, Build, Node
  File "/home/build/waflib/Configure.py", line 16, in <module>
    from waflib import ConfigSet, Utils, Options, Logs, Context, Build, Errors
  File "/home/build/waflib/Options.py", line 14, in <module>
    from waflib import Logs, Utils, Context, Errors
  File "/home/build/waflib/Context.py", line 9, in <module>
    import os, re, imp, sys
ModuleNotFoundError: No module named 'imp'

https://cloudlogging.app.goo.gl/xPppu7ZNhGWsieCv8

@imjasonh imjasonh added foundations ftbfs Failed to Build From Source labels Jul 8, 2024
@justinvreeland
Copy link
Contributor

imp was deprecated in python3.11 and this is trying to build with python2.12.

Python 3.11.6 (v3.11.6:8b6ee5ba3b, Oct  2 2023, 11:18:21) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import imp
<stdin>:1: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses

There's a fix on the jack12 develop branch that hasn't been included in a release yet though:

jackaudio/jack2@2504203

justinvreeland pushed a commit to justinvreeland/wolfi that referenced this issue Aug 9, 2024
The `imp` module was deprecated in 3.11 and removed in 3.12.
Fix jack at python 3.11 until the upstream jack releases with
3.12 support.
justinvreeland pushed a commit to justinvreeland/wolfi that referenced this issue Aug 9, 2024
The `imp` module was deprecated in 3.11 and removed in 3.12.
Fix jack at python 3.11 until the upstream jack releases with
3.12 support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
foundations ftbfs Failed to Build From Source
Projects
None yet
Development

No branches or pull requests

2 participants