pkgsrc-Bugs archive

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

pkg/55134: py-setuptools build crashes wtih MemoryError on OpenBSD amd64



>Number:         55134
>Category:       pkg
>Synopsis:       py-setuptools build crashes wtih MemoryError on OpenBSD amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 03 08:55:00 +0000 2020
>Originator:     Jackson Bryn
>Release:        2020-Q1
>Organization:
N/A
>Environment:
OpenBSD tp-a485.THINKPADS 6.6 GENERIC.MP#7 amd64
>Description:
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for setuptools-44.0.0.zip
=> Checksum RMD160 OK for setuptools-44.0.0.zip
=> Checksum SHA512 OK for setuptools-44.0.0.zip
===> Installing dependencies for py37-setuptools-44.0.0
==========================================================================
The following variables will affect the build process of this package,
py37-setuptools-44.0.0.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 37

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

        * PYPACKAGE = python37

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency unzip-[0-9]*: found unzip-6.0nb9
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency py37-expat-[0-9]*: found py37-expat-3.7.7
=> Full dependency python37>=3.7.0: found python37-3.7.7
===> Overriding tools for py37-setuptools-44.0.0
===> Extracting for py37-setuptools-44.0.0
===> Patching for py37-setuptools-44.0.0
=> Applying pkgsrc patches for py37-setuptools-44.0.0
===> Creating toolchain wrappers for py37-setuptools-44.0.0
===> Configuring for py37-setuptools-44.0.0
=> Replacing python interpreter in setuptools/command/easy_install.py.
===> Building for py37-setuptools-44.0.0
(cd /usr/work/devel/py-setuptools/work/setuptools-44.0.0/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread PTHREADBASE=/usr DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS=-lpthread PYTHON=/usr/pkg/bin/python3.7 CC=clang CFLAGS=-O2\ -O2\ -march=znver1\ -mtune=znver1\ -pipe\ -fstack-protector\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include CXX=clang++ CXXFLAGS=-O2\ -O2\ -march=znver1\ -mtune=znver1\ -pipe\ -fstack-protector\ -I/usr/include\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 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\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/work/devel/py-setuptools/work/.cwrapper/bin:/usr/work/devel/py-setuptools/work/.buildlink/bin:/usr/work/de
 vel/py-setuptools/work/.tools/bin:/usr/pkg/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R6/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=clang\ -E HOME=/usr/work/devel/py-setuptools/work/.home CWRAPPERS_CONFIG_DIR=/usr/work/devel/py-setuptools/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 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/in
 stall\ -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/work/devel/py-setuptools/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/work/devel/py-setuptools/work/.buildlink/lib/pkgconfig:/usr/work/devel/py-setuptools/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/work/devel/py-setuptools/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/usr/work/devel/py-setuptools/work/.cwrapper/config /usr/pkg/bin/python3.7  setup.py  build  -j2)
Traceback (most recent call last):
  File "setup.py", line 9, in <module>
    import setuptools
  File "/usr/work/devel/py-setuptools/work/setuptools-44.0.0/setuptools/__init__.py", line 20, in <module>
    from setuptools.dist import Distribution, Feature
  File "/usr/work/devel/py-setuptools/work/setuptools-44.0.0/setuptools/dist.py", line 36, in <module>
    from setuptools import windows_support
  File "/usr/work/devel/py-setuptools/work/setuptools-44.0.0/setuptools/windows_support.py", line 2, in <module>
    import ctypes
  File "/usr/pkg/lib/python3.7/ctypes/__init__.py", line 551, in <module>
    _reset_cache()
  File "/usr/pkg/lib/python3.7/ctypes/__init__.py", line 273, in _reset_cache
    CFUNCTYPE(c_int)(lambda: None)
MemoryError
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/devel/py-setuptools

Tried adjusting ulimits and setting every relevant property in UNLIMIT_RESOURCES, but no dice. Have not gone to adjusting vmparams.h yet.
>How-To-Repeat:
1. bmake
>Fix:


Home | Main Index | Thread Index | Old Index