[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1119241: ippl: FTBFS when built with many parallel jobs



Source: ippl
Version: 1.4.14-15
Severity: normal
User: debian-sparc@lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc@lists.debian.org

Hi,

ippl fails to build from source on loong64 and sparc64 when built with
many parallel jobs:

bison -y -d ippl.y
flex ippl.l
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ippl-1.4.14=. \
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O2 -Wdate-time -D_FORTIFY_SOURCE=2 \
-Wall -DVERSION=\"1.4.14\" -DDEFAULT_USER=\"nobody\" -DCONFIGURATION_FILE=\"/etc/ippl.conf\" \
-DPID_FILE=\"/run/ippl/ippl.pid\" -c pidfile.c
make[2]: Leaving directory '/build/reproducible-path/ippl-1.4.14/Docs'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ippl-1.4.14=. \
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O2 -Wdate-time -D_FORTIFY_SOURCE=2 \
-Wall -DVERSION=\"1.4.14\" -DDEFAULT_USER=\"nobody\" -DCONFIGURATION_FILE=\"/etc/ippl.conf\" \
-DPID_FILE=\"/run/ippl/ippl.pid\" -c ident.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ippl-1.4.14=. \
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -O2 -Wdate-time -D_FORTIFY_SOURCE=2 \
-Wall -DVERSION=\"1.4.14\" -DDEFAULT_USER=\"nobody\" -DCONFIGURATION_FILE=\"/etc/ippl.conf\" \
-DPID_FILE=\"/run/ippl/ippl.pid\" -c lex.yy.c
pidfile.c: In function ‘read_pid’:
pidfile.c:48:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   48 |   fscanf(f,"%d", &pid);
      |   ^~~~~~~~~~~~~~~~~~~~
pidfile.c: In function ‘write_pid’:
pidfile.c:97:7: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   97 |       fscanf(f, "%d", &pid);
      |       ^~~~~~~~~~~~~~~~~~~~~
ippl.l:28:10: fatal error: y.tab.h: No such file or directory
   28 | #include "y.tab.h"
      |          ^~~~~~~~~
compilation terminated.

This is reproducible on stadler.debian.net when building with parallel=16 or more while it works with parallel=8.

Works:

$ export DEB_BUILD_OPTIONS="check bench parallel=8" ; dpkg-buildpackage -B

Doesn't work:

$ export DEB_BUILD_OPTIONS="check bench parallel=16" ; dpkg-buildpackage -B

The problems reminds me of a bug that was fixed in the samba package in 2:4.17.2+dfsg-9 [1].

I had hoped to be able to reproduce it with the new "--shuffle" option of make [2][3] but
that's not the case, unfortunately.

Thanks,
Adrian

> [1] https://tracker.debian.org/news/1382190/accepted-samba-24172dfsg-9-source-into-unstable/
> [2] https://trofi.github.io/posts/238-new-make-shuffle-mode.html
> [3] https://people.debian.org/~sanvila/make-shuffle/

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply to: