#67128 closed defect (fixed)

py310-rencode @1.0.6 fails to build on 13.2.1 (Ventura) / Xcode 14.2

Reported by: HVSorensen Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: ventura Cc:
Port: py-rencode

Description (last modified by ryandesign (Ryan Carsten Schmidt))

py310-rencode (part of deluge) fails to install on 13.2.1 (Ventura) / Xcode 14.2

Initially failed on upgrade. Later removed Macports completely and did complete fresh install. py-310-rencode failed with same signature seen below

--->  Building py310-rencode
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (py310-rencode)
DEBUG: Environment: 
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-rencode/py310-rencode/work/.CC_PRINT_OPTIONS'
CFLAGS='-arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
CPATH='/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-arch x86_64 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
DEVELOPER_DIR='/Library/Developer/CommandLineTools'
F90FLAGS='-m64'
FCFLAGS='-m64'
FFLAGS='-m64'
LDFLAGS='-arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='13.0'
OBJC='/usr/bin/clang'
OBJCFLAGS='-arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-rencode/py310-rencode/work/rencode-1.0.6" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j12 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-rencode/py310-rencode/work/rencode-1.0.6" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j12 
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/__init__.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`.
  dist.fetch_build_eggs(dist.setup_requires)
WARNING: The wheel package is not available.
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10: No module named pip
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/installer.py", line 97, in _fetch_build_egg_no_warn
    subprocess.check_call(cmd)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-rencode/py310-rencode/work/.tmp/tmpf3w2ph0w', '--quiet', '--index-url', "''", '--find-links', "''", 'wheel']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-rencode/py310-rencode/work/rencode-1.0.6/setup.py", line 82, in <module>
    setup(
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
    _install_setup_requires(attrs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
    _fetch_build_eggs(dist)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/__init__.py", line 85, in _fetch_build_eggs
    dist.fetch_build_eggs(dist.setup_requires)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/dist.py", line 894, in fetch_build_eggs
    return _fetch_build_eggs(self, requires)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 827, in resolve
    dist = self._resolve_dist(
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 863, in _resolve_dist
    dist = best[req.key] = env.best_match(
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1133, in best_match
    return self.obtain(req, installer)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1145, in obtain
    return installer(requirement)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/installer.py", line 99, in _fetch_build_egg_no_warn
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-rencode/py310-rencode/work/.tmp/tmpf3w2ph0w', '--quiet', '--index-url', "''", '--find-links', "''", 'wheel']' returned non-zero exit status 1.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-rencode/py310-rencode/work/rencode-1.0.6" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j12 
Exit code: 1
Error: Failed to build py310-rencode: command execution failed
DEBUG: Error code: CHILDSTATUS 92308 1
DEBUG: Backtrace: command execution failed
    while executing
"system {*}$notty {*}$callback {*}$nice $fullcmdstring"
    invoked from within
"command_exec -callback portprogress::target_progress_callback build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-rencode/py310-rencode/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port py310-rencode failed

Attachments (1)

main.log (138.7 KB) - added by HVSorensen 20 months ago.
LOG FILE

Download all attachments as: .zip

Change History (3)

Changed 20 months ago by HVSorensen

Attachment: main.log added

LOG FILE

comment:1 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: py310 rencode removed
Port: py-rencode added
Summary: py310-rencode 1.0.6 fails to build on 13.2.1 (Ventura) / Xcode 14.2py310-rencode @1.0.6 fails to build on 13.2.1 (Ventura) / Xcode 14.2

comment:2 Changed 20 months ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 22ab2f7c72d6e5ff3d81bd58c6d1f2ed83bf2243/macports-ports (master):

py-rencode: add missing build dependency, enable tests

Closes: #67128

Note: See TracTickets for help on using tickets.