No such file or directory: '/usr/ports/security/py-pyvex/work-py39/pyvex-9.2.39/pyvex_c/libpyvex.so'
Closed this issue · 3 comments
yurivict commented
Description
Version 9.2.39 fails to build with both distutils
and build
:
===> Building for py39-pyvex-9.2.39
(cd /usr/ports/security/py-pyvex/work-py39/pyvex-9.2.39; /usr/bin/env EXTRA_CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 " XDG_DATA_HOME=/usr/ports/security/py-pyvex/work-py39 XDG_CONFIG_HOME=/usr/ports/security/py-pyvex/work-py39 XDG_CACHE_HOME=/usr/ports/security/py-pyvex/work-py39/.cache HOME=/usr/ports/security/py-pyvex/work-py39 PATH=/usr/local/libexec/ccache:/usr/ports/security/py-pyvex/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/usr/ports/security/py-pyvex/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=c99 " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " MANPREFIX="/usr/local" CCACHE_DIR="/tmp/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /usr/local/bin/python3.9 -c "import sys; import setuptools; __file__='setup.py'; sys.argv[0]='setup.py'; exec(compile(open(__file__, 'rb').read().replace(b'\\r\\n', b'\\n'), __file__, 'exec'))" build )
running build
Building libVEX
gmake[1]: Entering directory '/usr/ports/security/py-pyvex/work-py39/pyvex-9.2.39/vex'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/usr/ports/security/py-pyvex/work-py39/pyvex-9.2.39/vex'
Building libpyvex
gmake[1]: Entering directory '/usr/ports/security/py-pyvex/work-py39/pyvex-9.2.39/pyvex_c'
gmake[1]: Nothing to be done for 'all'.
gmake[1]: Leaving directory '/usr/ports/security/py-pyvex/work-py39/pyvex-9.2.39/pyvex_c'
Copying libraries and headers
error: [Errno 2] No such file or directory: '/usr/ports/security/py-pyvex/work-py39/pyvex-9.2.39/pyvex_c/libpyvex.so'
*** Error code 1
Steps to reproduce the bug
No response
Environment
Python-3.9
FreeBSD 13.1
Additional context
No response
rhelmot commented
Nobody on the team has access to a FreeBSD machine. Can you try to diagnose the failure a bit more for us?
twizmwazin commented
I don't know how to test any third-party packaging, but I tested building and installing pyvex, as well as running its test suite on a FreeBSD 14 VM and it seems to work as expected once gmake is installed.