[Debian-ha-maintainers] Bug#1000853: kronosnet: FTBFS on alpha, hppa and ia64 due to uncondtional use of -fstack-protector
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Tue Nov 30 09:32:20 GMT 2021
Source: kronosnet
Severity: normal
Tags: upstream
User: debian-alpha at lists.debian.org
Usertags: alpha hppa ia64
X-Debbugs-Cc: debian-alpha at lists.debian.org,debian-hppa at lists.debian.org,debian-ia64 at lists.debian.org
Hi!
kronosnet FTBFS on alpha, hppa and ia64 due to unconditional use of -fstack-protector
which is not supported on these targets and hence generates a compiler warning.
Since the package is being built with -Werror, this causes the package to FTBFS:
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -ggdb3 -Werror -Wall -Wextra -fPIC -DPIC -pie -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fexceptions -D_GLIBCXX_ASSERTIONS -Wl,-z,now -fstack-clash-protection -Wno-unused-parameter -pthread -I/usr/include/libnl3 -I/usr/include/libnl3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -Wformat -Werror=format-security -c -o libnozzle_la-libnozzle.lo `test -f 'libnozzle.c' || echo './'`libnozzle.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -ggdb3 -Werror -Wall -Wextra -fPIC -DPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fexceptions -D_GLIBCXX_ASSERTIONS -Wl,-z,now -fstack-clash-protection -Wno-unused-parameter -pthread -I/usr/include/libnl3 -I/usr/include/libnl3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -Wformat -Werror=format-security -c libnozzle.c -fPIC -DPIC -o .libs/libnozzle_la-libnozzle.o
cc1: error: ‘-fstack-protector’ not supported for this target [-Werror]
cc1: all warnings being treated as errors
Full log in [1]. Reported upstream as [2].
For a possible fix, have a look at this similar bug in libfido2 [3].
Adrian
> [1] https://buildd.debian.org/status/fetch.php?pkg=kronosnet&arch=alpha&ver=1.23-1&stamp=1638252618&raw=0
> [2] https://github.com/kronosnet/kronosnet/issues/371
> [3] https://bugs.debian.org/996428
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the Debian-ha-maintainers
mailing list