[Pkg-ofed-devel] Bug#853451: infinipath-psm: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:32:13 UTC 2017


Package: src:infinipath-psm
Version: 3.3+19.g67c0807.open-3
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/infinipath-psm_3.3+19.g67c0807.open-3_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html

[...]
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_spio.c -o ips_spio.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_proto_recv.c -o ips_proto_recv.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_proto_connect.c -o ips_proto_connect.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_proto_dump.c -o ips_proto_dump.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_proto_mq.c -o ips_proto_mq.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_subcontext.c -o ips_subcontext.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_writehdrq.c -o ips_writehdrq.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_proto_expected.c -o ips_proto_expected.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/ptl_ips -c ips_tid.c -o ips_tid.o
make[3]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ptl_ips'
make[3]: Entering directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ptl_am'
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open  -c am_reqrep.c -o am_reqrep.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open  -c am_reqrep_shmem.c -o am_reqrep_shmem.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open  -c ptl.c -o ptl.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open  -c kcopyrwu.c -o kcopyrwu.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open  -c knemrwu.c -o knemrwu.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open  -c scifrwu.c -o scifrwu.o
make[3]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ptl_am'
make[3]: Entering directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/libuuid'
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID  -DNVALGRIND -DPSM_UUID=1 -Wno-unused-function -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open -I/libuuid -c psm_uuid.c -o psm_uuid.o
make[3]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/libuuid'
make[3]: Entering directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ipath'
cc   -Wall   -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID -D_GNU_SOURCE -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ptl_ips -c ipath_debug.c -o ipath_debug.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID -D_GNU_SOURCE  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ptl_ips  -c ipath_time.c -o ipath_time.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID -D_GNU_SOURCE  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ptl_ips  -c ipath_proto.c -o ipath_proto.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID -D_GNU_SOURCE  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ptl_ips  -c ipath_utils.c -o ipath_utils.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open=. -fstack-protector-strong -Wformat -Werror=format-security   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3   -DNVALGRIND   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID -D_GNU_SOURCE  -DNVALGRIND -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ptl_ips  -c ipath_service.c -o ipath_service.o
ipath_service.c: In function 'ipath_get_port_sl2vl':
ipath_service.c:856:51: error: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Werror=format-truncation=]
     snprintf(sl2vlpath, sizeof(sl2vlpath), "sl2vl/%d", sl);
                                                   ^~
ipath_service.c:856:44: note: using the range [1, -2147483648] for directive argument
     snprintf(sl2vlpath, sizeof(sl2vlpath), "sl2vl/%d", sl);
                                            ^~~~~~~~~~
ipath_service.c:856:5: note: format output between 8 and 18 bytes into a destination of size 16
     snprintf(sl2vlpath, sizeof(sl2vlpath), "sl2vl/%d", sl);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:80: recipe for target 'ipath_service.o' failed
make[3]: *** [ipath_service.o] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open/ipath'
Makefile:154: recipe for target 'libs' failed
make[2]: *** [libs] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open'
debian/rules:18: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+19.g67c0807.open'
debian/rules:15: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Pkg-ofed-devel mailing list