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

Bug#957816: slurm-llnl: ftbfs with GCC-10



Package: src:slurm-llnl
Version: 19.05.5-1
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/slurm-llnl_19.05.5-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
libtool: link: ranlib .libs/sched_hold.a
libtool: link: ( cd ".libs" && rm -f "sched_hold.la" && ln -s "../sched_hold.la" "sched_hold.la" )
make[7]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/sched/hold'
make[7]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/sched'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/sched'
make[6]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/sched'
Making all in select
make[6]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/select'
Making all in other
make[7]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/select/other'
/bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/other -I../../../.. -I../../../../slurm   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../../../.. -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o other_select.lo ../../../../../src/plugins/select/other/other_select.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/other -I../../../.. -I../../../../slurm -Wdate-time -D_FORTIFY_SOURCE=2 -I../../../../.. -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/other/other_select.c  -fPIC -DPIC -o .libs/other_select.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/other -I../../../.. -I../../../../slurm -Wdate-time -D_FORTIFY_SOURCE=2 -I../../../../.. -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/other/other_select.c -o other_select.o >/dev/null 2>&1
/bin/bash ../../../../libtool  --tag=CC   --mode=link gcc -I../../../../.. -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread  -Wl,-z,relro  -o libother_select.la  other_select.lo  
libtool: link: ar cr .libs/libother_select.a .libs/other_select.o 
libtool: link: ranlib .libs/libother_select.a
libtool: link: ( cd ".libs" && rm -f "libother_select.la" && ln -s "../libother_select.la" "libother_select.la" )
make[7]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/select/other'
Making all in cons_res
make[7]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/select/cons_res'
/bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm  -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o select_cons_res.lo ../../../../../src/plugins/select/cons_res/select_cons_res.c
/bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm  -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o dist_tasks.lo ../../../../../src/plugins/select/cons_res/dist_tasks.c
/bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm  -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o job_test.lo ../../../../../src/plugins/select/cons_res/job_test.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_res/dist_tasks.c  -fPIC -DPIC -o .libs/dist_tasks.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_res/job_test.c  -fPIC -DPIC -o .libs/job_test.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_res/select_cons_res.c  -fPIC -DPIC -o .libs/select_cons_res.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_res/dist_tasks.c -o dist_tasks.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_res/select_cons_res.c -o select_cons_res.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_res -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_res/job_test.c -o job_test.o >/dev/null 2>&1
/bin/bash ../../../../libtool  --tag=CC   --mode=link gcc  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -module -avoid-version --export-dynamic -Wl,-z,relro  -o select_cons_res.la -rpath /usr/lib/x86_64-linux-gnu/slurm-wlm select_cons_res.lo dist_tasks.lo job_test.lo  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/select_cons_res.o .libs/dist_tasks.o .libs/job_test.o    -g -O2 -fstack-protector-strong -pthread -Wl,-z -Wl,relro   -pthread -Wl,-soname -Wl,select_cons_res.so -o .libs/select_cons_res.so
libtool: link: ar cr .libs/select_cons_res.a  select_cons_res.o dist_tasks.o job_test.o
libtool: link: ranlib .libs/select_cons_res.a
libtool: link: ( cd ".libs" && rm -f "select_cons_res.la" && ln -s "../select_cons_res.la" "select_cons_res.la" )
make[7]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/select/cons_res'
Making all in cons_tres
make[7]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/select/cons_tres'
/bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm  -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o dist_tasks.lo ../../../../../src/plugins/select/cons_tres/dist_tasks.c
/bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm  -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o job_test.lo ../../../../../src/plugins/select/cons_tres/job_test.c
/bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm  -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o select_cons_tres.lo ../../../../../src/plugins/select/cons_tres/select_cons_tres.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_tres/job_test.c  -fPIC -DPIC -o .libs/job_test.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_tres/dist_tasks.c  -fPIC -DPIC -o .libs/dist_tasks.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_tres/select_cons_tres.c  -fPIC -DPIC -o .libs/select_cons_tres.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_tres/dist_tasks.c -o dist_tasks.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_tres/select_cons_tres.c -o select_cons_tres.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../../src/plugins/select/cons_tres -I../../../.. -I../../../../slurm -I../../../../.. -I../../../../../src/common -Wdate-time -D_FORTIFY_SOURCE=2 -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c ../../../../../src/plugins/select/cons_tres/job_test.c -o job_test.o >/dev/null 2>&1
/bin/bash ../../../../libtool  --tag=CC   --mode=link gcc  -DNUMA_VERSION1_COMPATIBILITY -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -module -avoid-version --export-dynamic -Wl,-z,relro  -o select_cons_tres.la -rpath /usr/lib/x86_64-linux-gnu/slurm-wlm dist_tasks.lo job_test.lo select_cons_tres.lo  
libtool: link: gcc -shared  -fPIC -DPIC  .libs/dist_tasks.o .libs/job_test.o .libs/select_cons_tres.o    -g -O2 -fstack-protector-strong -pthread -Wl,-z -Wl,relro   -pthread -Wl,-soname -Wl,select_cons_tres.so -o .libs/select_cons_tres.so
/usr/bin/ld: .libs/select_cons_tres.o:(.bss+0xb0): multiple definition of `node_record_table_ptr'; .libs/job_test.o:(.bss+0x8): first defined here
/usr/bin/ld: .libs/select_cons_tres.o:(.bss+0x6a0): multiple definition of `slurmctld_config'; .libs/job_test.o:(.bss+0x20): first defined here
/usr/bin/ld: .libs/select_cons_tres.o:(.bss+0xa0): multiple definition of `job_list'; .libs/job_test.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[7]: *** [Makefile:578: select_cons_tres.la] Error 1
make[7]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/select/cons_tres'
make[6]: *** [Makefile:522: all-recursive] Error 1
make[6]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins/select'
make[5]: *** [Makefile:553: all-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/plugins'
make[4]: *** [Makefile:547: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src'
make[3]: *** [Makefile:674: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:573: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 returned exit code 2
make[1]: *** [debian/rules:33: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: