Opened 2 years ago

Closed 2 years ago

#65440 closed defect (duplicate)

py310-pikepdf @5.3.0: build failure

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: py-pikepdf

Description

https://build.macports.org/builders/ports-11_arm64-builder/builds/60087/steps/install-port/logs/stdio

Executing:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pikepdf/py310-pikepdf/work/pikepdf-5.3.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j8 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pikepdf/py310-pikepdf/work/pikepdf-5.3.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j8 
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools_scm/git.py:284: UserWarning: git archive did not support describe output
  warnings.warn("git archive did not support describe output")
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
/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 82, in fetch_build_egg
    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_bblocal_var_buildworker_ports_build_ports_python_py-pikepdf/py310-pikepdf/work/.tmp/tmpj5a4joiu', '--quiet', '--index-url', "''", '--find-links', "''", 'typing-extensions']' 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_bblocal_var_buildworker_ports_build_ports_python_py-pikepdf/py310-pikepdf/work/pikepdf-5.3.0/setup.py", line 77, in <module>
    setup(
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/__init__.py", line 86, 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
    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 876, 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 789, in resolve
    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 1075, 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 1087, in obtain
    return installer(requirement)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/dist.py", line 956, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/installer.py", line 84, in fetch_build_egg
    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_bblocal_var_buildworker_ports_build_ports_python_py-pikepdf/py310-pikepdf/work/.tmp/tmpj5a4joiu', '--quiet', '--index-url', "''", '--find-links', "''", 'typing-extensions']' returned non-zero exit status 1.
Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pikepdf/py310-pikepdf/work/pikepdf-5.3.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j8 
Exit code: 1

Change History (3)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Looks like the same thing as #65437, i.e. it's trying to install typing-extensions with pip, presumably to satisfy a dependency. Pikepdf itself doesn't seem to declare a dependency on typing-extensions for python 3.10 though. Maybe it's one of the other dependencies that needs it?

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Setuptools_scm is a common dependency of the two, and was updated recently. Might be a good place to start looking.

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed

Yeah, definitely the same underlying issue.

Note: See TracTickets for help on using tickets.