[pkg-uWSGI-devel] Bug#1007773: uwsgi: FTBS with /usr/bin/ld: cannot find -lpcre2-8
Alexandre Rossi
niol at zincube.net
Wed Mar 16 14:13:21 GMT 2022
Source: uwsgi
Version: 2.0.20-2.2
Severity: serious
Tags: ftbfs
Justification: Policy 4.9
Dear Maintainer,
uwsgi fails to build from source in a sbuild chroot with the following error.
/usr/share/apr-1.0/build/libtool --mode=link --tag=disable-static x86_64-linux-gnu-gcc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lpcre2-8 -L/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 -o apache2/mod_Ruwsgi.la -L/usr/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lapr-1 -laprutil-1 -rpath /usr/lib/apache2/modules -module -avoid-version apache2/mod_Ruwsgi.lo
libtool: link: x86_64-linux-gnu-gcc -shared -fPIC -DPIC apache2/.libs/mod_Ruwsgi.o -lpcre2-8 -L/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libapr-1.so /usr/lib/x86_64-linux-gnu/libaprutil-1.so -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -pthread -Wl,-soname -Wl,mod_Ruwsgi.so -o apache2/.libs/mod_Ruwsgi.so
/usr/bin/ld: cannot find -lpcre2-8: No such file or directory
collect2: error: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make: *** [debian/rules:517: debian/stamp-libapache2-mod-ruwsgi] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Thanks,
Alex
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-12-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
More information about the pkg-uWSGI-devel
mailing list