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   nt...@debian.org

Reply via email to