Discussion:
Bug#1085168: genders: FTBFS on mips64el and ppc64el: parallel build issue?
Add Reply
Niko Tyni
2024-10-15 17:30:01 UTC
Reply
Permalink
Source: genders
Version: 1.27-3-2
Severity: serious

This package failed to build from source with Perl 5.40 on mips64el and ppc64el.

https://buildd.debian.org/status/package.php?p=genders

It looks the build invokes bison multiple times on the same file,
presumably corrupting the result during parallel builds as there's
no locking. I was able to reproduce it on platti.debian.org with
'dpkg-buildpackage -j4' (but not with plain 'debian/rules build'.)

I doubt it's really architecture specific. Maybe disable parallel builds
if there's no better fix?

From the mips64el log:

make[3]: Entering directory '/<<PKGBUILDDIR>>/src/libgenders'
bison -y -d -b genders_query ./genders_query.y
bison -y -d -b genders_query ./genders_query.y
flex -t ./genders_query_parse.l > ./genders_query_parse.c
make all-am
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/libgenders'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I ./../libcommon -Wall -Wno-incompatible-pointer-types -g -c -o libgenders_la-genders.lo `test -f 'genders.c' || echo './'`genders.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I ./../libcommon -Wall -Wno-incompatible-pointer-types -g -c -o libgenders_la-genders_parsing.lo `test -f 'genders_parsing.c' || echo './'`genders_parsing.c
bison -y -d -b genders_query ./genders_query.y
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I ./../libcommon -Wall -Wno-incompatible-pointer-types -g -c -o libgenders_la-genders_query.tab.lo `test -f 'genders_query.tab.c' || echo './'`genders_query.tab.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I ./../libcommon -Wall -Wno-incompatible-pointer-types -g -c genders_parsing.c -fPIC -DPIC -o .libs/libgenders_la-genders_parsing.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I ./../libcommon -Wall -Wno-incompatible-pointer-types -g -c genders_query.tab.c -fPIC -DPIC -o .libs/libgenders_la-genders_query.tab.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I ./../libcommon -Wall -Wno-incompatible-pointer-types -g -c genders.c -fPIC -DPIC -o .libs/libgenders_la-genders.o
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../config -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I ./../libcommon -Wall -Wno-incompatible-pointer-types -g -c -o libgenders_la-genders_util.lo `test -f 'genders_util.c' || echo './'`genders_util.c
genders_query.tab.c: In function 'yydestruct':
genders_query.tab.c:1468:3: error: 'YY_I' undeclared (first use in this function); did you mean 'YY_'?
1468 | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
| ^~~~
| YY_
genders_query.tab.c:1468:3: note: each undeclared identifier is reported only once for each function it appears in
genders_query.tab.c:1468:7: error: expected ';' at end of input
--
Niko Tyni ***@debian.org
Debian Bug Tracking System
2024-10-15 19:30:01 UTC
Reply
Permalink
forcemerge -1 1085175
Bug #1085168 [src:genders] genders: FTBFS on mips64el and ppc64el: parallel build issue?
Bug #1085168 [src:genders] genders: FTBFS on mips64el and ppc64el: parallel build issue?
Added tag(s) patch.
Bug #1085175 [src:genders] genders: Frequent parallel build failure
Unset Bug forwarded-to-address
Merged 1085168 1085175
--
1085168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085168
1085175: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085175
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...