tgl FTBFS on s390x: print_escaped_string defined but not used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tgl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
gcc -I. -I. -g -O2 -ffile-
In file included from auto/auto-
./auto-
50 | static void print_escaped_
| ^~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:57: objs/auto/
During Debian package build, warnings should not be treated as errors.
Not converting warning to errors is not enough. The s390x build fails now with:
gcc -I. -I. -g -O2 -ffile- prefix- map=/<< PKGBUILDDIR> >=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack- protector- strong -Wformat -Werror= format- security -Wno-cast- function- type -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/ local/include -I/usr/include -I/usr/include -I/usr/include -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated -declarations -fno-strict- aliasing -fno-omit- frame-pointer -ggdb -Wno-unused- parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-fetch-ds.d -MQ objs/auto- fetch-ds. o -o objs/auto/ auto-fetch- ds.o auto/auto- fetch-ds. c fetch-ds. c: In function ‘fetch_ ds_constructor_ bytes’: fetch-ds. c:450:9: error: ‘struct tl_ds_string’ has no member named ‘f0’ type_bare_ string (field1); auto-fetch- ds.o] Error 1
auto/auto-
auto/auto-
450 | result->f0 = fetch_ds_
| ^~
make[2]: *** [Makefile:57: objs/auto/
Full log: https:/ /launchpadlibra rian.net/ 627718716/ buildlog_ ubuntu- kinetic- s390x.tgl_ 2.0.1+git201603 23.ffb04cac- 3ubuntu3_ BUILDING. txt.gz