pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/57954: py-setuptools fails to make install on NetBSD/m68k



>Number:         57954
>Category:       pkg
>Synopsis:       py-setuptools fails to make install on NetBSD/m68k
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 23 08:35:00 +0000 2024
>Originator:     Izumi Tsutsui
>Release:        NetBSD 10.0_RC2 + pkgsrc-2023Q4
>Organization:
>Environment:
System: NetBSD milan 10.0_RC2 NetBSD 10.0_RC2 (MILAN-PCIIDE) #0: Mon Jan  1 14:04:52 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/atari/compile/MILAN-PCIIDE atari
Architecture: m68k
Machine: atari
>Description:
pkgsrc/devel/py-setuptools of pkgsrc-2023Q4 fails on NetBSD/atari 10.0_RC2:

---
===> Installing dependencies for py311-setuptools-69.0.2
==========================================================================
The following variables will affect the build process of this package,
py311-setuptools-69.0.2.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 311

Based on these variables, the following variables have been set:

        * PYPACKAGE = python311

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency python311>=3.11.6nb1: found python311-3.11.7
===> Invoking ``package-install'' after barrier for py311-setuptools-69.0.2
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for py311-setuptools-69.0.2
===> Extracting for py311-setuptools-69.0.2
===> Patching for py311-setuptools-69.0.2
===> Creating toolchain wrappers for py311-setuptools-69.0.2
===> Configuring for py311-setuptools-69.0.2
===> Building for py311-setuptools-69.0.2
/usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.11 CC=gcc CFLAGS=-O2\ -fno-reorder-blocks\ -I/usr/include\ -I/usr/pkg/include/python3.11 CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.11 CXX=c++ CXXFLAGS=-O2\ -fno-reorder-blocks\ -I/usr/include\ -I/usr/pkg/include/python3.11 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.cwrapper/bin:/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.buildlink/bin:/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.gcc/bin:/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X!
 11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.home CWRAPPERS_CONFIG_DIR=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_!
 LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD!
 _INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.tools/bin/makeinfo FLEX= BISON= TARGET_ARCH= ITSTOOL=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.tools/bin/itstool GDBUS_CODEGEN=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.tools/bin/gdbus-codegen PKG_CONFIG=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.buildlink/lib/pkgconfig:/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.pkg-config.log PKG_!
 CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.cwrapper/config /usr/pkg/bin/python3.11 -m ensurepip --user
Looking in links: /tmp/tmpym_21_ii
Processing /tmp/tmpym_21_ii/setuptools-65.5.0-py3-none-any.whl
Processing /tmp/tmpym_21_ii/pip-23.2.1-py3-none-any.whl
Installing collected packages: setuptools, pip
  WARNING: The scripts pip3 and pip3.11 are installed in '/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.home/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-23.2.1 setuptools-65.5.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
===> Installing for py311-setuptools-69.0.2
=> Generating pre-install file lists
cd /usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/setuptools-69.0.2 && PYTHONPATH=/usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.home/.local/lib/python3.11/site-packages  /usr/pkg/bin/python3.11 -m pip install --no-cache-dir --no-deps --disable-pip-version-check  --root /usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/.destdir --prefix /usr/pkg --compile --force-reinstall -I .
Processing /usr/obj.m68k/pkgsrc/devel/py-setuptools/work.m68k/setuptools-69.0.2
  Getting requirements to build wheel: started
  Getting requirements to build wheel: still running...
  Getting requirements to build wheel: still running...
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: still running...
  Installing backend dependencies: still running...
  Installing backend dependencies: still running...
  Installing backend dependencies: finished with status 'error'
  error: subprocess-exited-with-error
  
  pip subprocess to install backend dependencies did not run successfully.
  exit code: 1
  > [7 lines of output]
      WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/wheel/
      WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/wheel/
      WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/wheel/
      WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/wheel/
      WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/wheel/
      ERROR: Could not find a version that satisfies the requirement wheel (from versions: none)
      ERROR: No matching distribution found for wheel
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

 pip subprocess to install backend dependencies did not run successfully.
 exit code: 1
> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
*** Error code 1

Stop.
make[4]: stopped in /usr/pkgsrc/devel/py-setuptools
*** Error code 1

Stop.
make[3]: stopped in /usr/pkgsrc/devel/py-setuptools
*** Error code 1

---
[Non US-ASCII chars are deleted]

In general, 15 seconds timeout for https accesses (unless RSA is specified)
is not enough at all for m68k machines..

>How-To-Repeat:
Just "make package" in pkgsrc/devel/py-setuptools on NetBSD/m68k
(and maybe other slower machines?).

>Fix:
No idea.
Should pkgsrc avoid to connect to pip during make install?

---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index