On Wed, Jul 24, 2024 at 12:49:47PM +0200, Santiago Vila wrote:
> Package: src:sendip
> Version: 2.6-1
> Severity: serious
> Tags: ftbfs
> 
> Dear maintainer:
> 
> During a rebuild of all packages in unstable, your package failed to build:

Very confused here. It build fine in my sbuild setup, and I can't figure
out how your first call to gcc has the -DSENDIP_LIBS just fine and then
all later calls seem to strip out an entire set of CFLAGs.

Can you give a clue about how to actually reproduce? When you say
"reduced chroot with only build-essential packages", how does this
actually differ from a normal sbuild setup?

> --------------------------------------------------------------------------------
> [...]
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
>    dh_auto_build
>       make -j2 "INSTALL=install --strip-program=true"
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -fPIC -fsigned-char -pipe -Wall -Wpointer-arith -Wwrite-strings 
> -Wstrict-prototypes -Wnested-externs -Winline -Werror -g -Wcast-align 
> -DSENDIP_LIBS=\"/usr/lib/x86_64-linux-gnu/sendip\" -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o csum.o csum.c
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o compact.o compact.c
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o sendip.o sendip.c
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
> -Wdate-time -D_FORTIFY_SOURCE=2  -c -o gnugetopt.o gnugetopt.c
> sendip.c: In function ‘load_module’:
> sendip.c:282:46: error: ‘SENDIP_LIBS’ undeclared (first use in this function)
>   282 |   
> newmod->name=malloc(strlen(modname)+strlen(SENDIP_LIBS)+strlen(".so")+2);
>       |                                              ^~~~~~~~~~~
> sendip.c:282:46: note: each undeclared identifier is reported only once for 
> each function it appears in
> make[1]: *** [<builtin>: sendip.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" 
> returned exit code 2
> make: *** [debian/rules:8: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2
> --------------------------------------------------------------------------------
> 
> The above is just how the build ends and not necessarily the most relevant 
> part.
> If required, the full build log is available here:
> 
> https://people.debian.org/~sanvila/build-logs/202407/
> 
> About the archive rebuild: The build was made on virtual machines
> of type m6a.large and r6a.large from AWS, using sbuild and a
> reduced chroot with only build-essential packages.
> 
> If you could not reproduce the bug please contact me privately, as I
> am willing to provide ssh access to a virtual machine where the bug is
> fully reproducible.
> 
> If this is really a bug in one of the build-depends, please use
> reassign and affects, so that this is still visible in the BTS web
> page for this package.


J.

-- 
/-\                             | 101 things you can't have too much
|@/  Debian GNU/Linux Developer |         of : 13 - Holidays.
\-                              |

Reply via email to