[pkg-lua-devel] Bug#1069369: lua-sec: FTBFS on arm64: ld: cannot find -lz: No such file or directory
Lucas Nussbaum
lucas at debian.org
Sat Apr 20 13:16:36 BST 2024
Source: lua-sec
Version: 1.3.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240420 ftbfs-trixie ftbfs-t64-arm64
Hi,
During a rebuild of all packages in sid, your package failed to build
on arm64.
Relevant part (hopefully):
> /<<PKGBUILDDIR>>/debian/.dh_lua-libtool/libtool --tag=CC --mode=link aarch64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.1 -Isrc -Wall -Wextra -Wl,--no-add-needed \
> -static -o /<<PKGBUILDDIR>>/5.1-sec/app-static -I . -I /<<PKGBUILDDIR>>/5.1-sec/ \
> /usr/share/dh-lua/test/5.1/app.c /<<PKGBUILDDIR>>/5.1-sec/liblua5.1-sec.la \
> -Wl,-z,relro -lssl -lcrypto -lz -lzstd -ldl -pthread -llua5.1-socket -llua5.1 -lm -ldl
> libtool: link: aarch64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.1 -Isrc -Wall -Wextra -Wl,--no-add-needed -o /<<PKGBUILDDIR>>/5.1-sec/app-static -I . -I /<<PKGBUILDDIR>>/5.1-sec/ /usr/share/dh-lua/test/5.1/app.c -Wl,-z -Wl,relro /<<PKGBUILDDIR>>/5.1-sec/.libs/liblua5.1-sec.a -lssl -lcrypto -lz -lzstd -llua5.1-socket -llua5.1 -lm -ldl -pthread
> /usr/bin/ld: cannot find -lz: No such file or directory
> /usr/bin/ld: cannot find -lzstd: No such file or directory
> collect2: error: ld returned 1 exit status
The full build log is available from:
http://qa-logs.debian.net/2024/04/20/lua-sec_1.3.2-1_unstable-arm64.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240420;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240420&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-lua-devel
mailing list