Bug#954538: libembperl-perl: FTBFS: mod_embperl.c:42:12: error: static declaration of ‘gettid’ follows non-static declaration
Lucas Nussbaum
lucas at debian.org
Sun Mar 22 07:28:16 GMT 2020
Source: libembperl-perl
Version: 2.5.0-14
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> x86_64-linux-gnu-gcc -c -I/usr/include/apache2 -I/usr/include/apache2/regex -I/usr/include/apache2/os/unix -I/usr/include/apr-1.0 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/<<PKGBUILDDIR>>/xs -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/x86_64-linux-gnu/perl/5.30/CORE -DMOD_PERL -DMP_COMPAT_1X -g -O2 -fdebug-prefix-map=/build=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fgnu89-inline -DLINUX -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"2.5.0\" -DXS_VERSION=\"2.5.0\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.30/CORE" -DAPACHE -DAPACHE2 -DEP2 -DLIBXSLT -o mod_embperl.o mod_embperl.c
> mod_embperl.c:42:12: error: static declaration of ‘gettid’ follows non-static declaration
> 42 | static int gettid()
> | ^~~~~~
> In file included from /usr/include/unistd.h:1170,
> from /usr/lib/x86_64-linux-gnu/perl/5.30/CORE/perl.h:860,
> from ep.h:45,
> from mod_embperl.c:19:
> /usr/include/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
> 34 | extern __pid_t gettid (void) __THROW;
> | ^~~~~~
> mod_embperl.c: In function ‘embperl_merge_dir_config’:
> mod_embperl.c:724:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
> 724 | if (!basev)
> | ^~
> mod_embperl.c:727:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
> 727 | {
> | ^
> make[1]: *** [Makefile:581: mod_embperl.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/03/21/libembperl-perl_2.5.0-14_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-perl-maintainers
mailing list