pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/54750: py-augeas: ld-wrapper does not find libaugeas.so.0
>Number: 54750
>Category: pkg
>Synopsis: py-augeas: ld-wrapper does not find libaugeas.so.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 08 19:15:00 +0000 2019
>Originator: Frédéric Fauberteau
>Release: NetBSD 8.0 | pkgsrc-HEAD
>Organization:
>Environment:
System: NetBSD hydralisk.triaxx.org 8.0 NetBSD 8.0 (HYDRALISK) #0: Mon Jan 7 23:57:12 CET 2019 root%hydralisk.triaxx.org@localhost:/mnt/ccd0/netbsd/obj.amd64/sys/arch/amd64/compile/HYDRALISK amd64
Architecture: x86_64
Machine: amd64
>Description:
sysutils/py-augeas build fails for any PYVERSION on NetBSD 8.0 with the following log:
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for py38-augeas-1.0.3
(cd /mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/python-augeas-1.0.3/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/home/triaxx/pkg/bin/python3.8 CC=cc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/home/triaxx/pkg/include\ -I/usr/include\ -I/home/triaxx/pkg/include/python3.8 CPPFLAGS=-I/home/triaxx/pkg/include\ -I/usr/include\ -I/home/triaxx/pkg/include/python3.8 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/home/triaxx/pkg/include\ -I/usr/include\ -I/home/triaxx/pkg/include/python3.8 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/home/triaxx/pkg/lib\ -Wl,-R/home/triaxx/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.cwrapper/bin:/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.buildl
ink/bin:/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.tools/bin:/home/triaxx/pkg/bin:/home/triaxx/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/home/triaxx/pkg/bin:/home/triaxx/pkg/sbin:/usr/X11R7/bin:/home/triaxx/pkg/bin:/home/triaxx/pkg/bin PREFIX=/home/triaxx/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/home/triaxx/pkg/etc CPP=cpp CXXCPP=cpp HOME=/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.home CWRAPPERS_CONFIG_DIR=/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.cwrapper/config CPP=cpp LOCALBASE=/home/triaxx/pkg X11BASE=/home/triaxx/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ triaxx\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ triaxx\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ triaxx\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ triaxx\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr
/bin/install\ -c\ -o\ triaxx\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ triaxx\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ triaxx\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ triaxx\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ triaxx\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ triaxx\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ triaxx\ -g\ users\ -m\ 0755 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ triaxx\ -g\ users\ -m\ 0644 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ triaxx\ -g\ users\ -m\ 0755 INSTALL_INFO= MAKEINFO=/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.buildlink/lib/pkgconfig:/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/mnt/ccd0/w
ork/unprivileged/sysutils/py-augeas/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/mnt/ccd0/work/unprivileged/sysutils/py-augeas/work/.cwrapper/config /home/triaxx/pkg/bin/python3.8 setup.py build -j3)
Traceback (most recent call last):
File "setup.py", line 14, in <module>
setup (name = 'python-augeas',
File "/home/triaxx/pkg/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/home/triaxx/pkg/lib/python3.8/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/home/triaxx/pkg/lib/python3.8/site-packages/setuptools/dist.py", line 446, in __init__
_Distribution.__init__(self, {
File "/home/triaxx/pkg/lib/python3.8/distutils/dist.py", line 292, in __init__
self.finalize_options()
File "/home/triaxx/pkg/lib/python3.8/site-packages/setuptools/dist.py", line 735, in finalize_options
ep.load()(self, ep.name, value)
File "/home/triaxx/pkg/lib/python3.8/site-packages/cffi/setuptools_ext.py", line 217, in cffi_modules
add_cffi_module(dist, cffi_module)
File "/home/triaxx/pkg/lib/python3.8/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
execfile(build_file_name, mod_vars)
File "/home/triaxx/pkg/lib/python3.8/site-packages/cffi/setuptools_ext.py", line 25, in execfile
exec(code, glob, glob)
File "augeas/ffi.py", line 42, in <module>
lib = ffi.dlopen("augeas")
File "/home/triaxx/pkg/lib/python3.8/site-packages/cffi/api.py", line 146, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "/home/triaxx/pkg/lib/python3.8/site-packages/cffi/api.py", line 828, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "/home/triaxx/pkg/lib/python3.8/site-packages/cffi/api.py", line 823, in _load_backend_lib
raise OSError(msg)
OSError: ctypes.util.find_library() did not manage to locate a library called 'augeas'
*** Error code 1
Stop.
bmake[1]: stopped in /mnt/ccd0/pkgsrc/sysutils/py-augeas
WARNING: *** Please consider adding c to USE_LANGUAGES in the package Makefile.
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/py-augeas
Looking at pkgsrc-bulk@, it appears that NetBSD 7.0, NetBSD 7.1 and NetBSD 9.0_BETA are subject to the same bug.
>How-To-Repeat:
cd /usr/pkgsrc/sysutils/py-augeas && make build
>Fix:
The problem seems to come from ld-wrapper since the following workaround fix it:
cd work/.cwrapper/bin && ln -sf /usr/bin/ld
Home |
Main Index |
Thread Index |
Old Index