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

Bug#897774: infinipath-psm: ftbfs with GCC-8



Package: src:infinipath-psm
Version: 3.3+20.604758e7-5
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/infinipath-psm_3.3+20.604758e7-5_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

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

[...]
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7  -c kcopyrwu.c -o kcopyrwu.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7  -c knemrwu.c -o knemrwu.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7  -c scifrwu.c -o scifrwu.o
make[3]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_am'
make[3]: Entering directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/libuuid'
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7 -I/libuuid -c psm_uuid.c -o psm_uuid.o
make[3]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/libuuid'
make[3]: Entering directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips -c ipath_debug.c -o ipath_debug.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_time.c -o ipath_time.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_proto.c -o ipath_proto.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_utils.c -o ipath_utils.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_service.c -o ipath_service.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_protomic.c -o ipath_protomic.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_dwordcpy-x86_64.c -o ipath_dwordcpy-x86_64.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_i2cflash.c -o ipath_i2cflash.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_sysfs.c -o ipath_sysfs.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_syslog.c -o ipath_syslog.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips  -c ipath_write_pio-x86_64.c -o ipath_write_pio-x86_64.o
cc   -g3 -fpic -c ipath_dwordcpy-x86_64-fast.S -o ipath_dwordcpy-x86_64-fast.o
date +'static __attribute__ ((unused)) char __psc_infinipath_revision[] ="$""Date: %F %R InfiniPath $";' > _revision.c
cc -c   -Wall -Werror  -fpic -fPIC -D_GNU_SOURCE -funwind-tables   -O3 -g3  -DPSM_USE_SYS_UUID -D_GNU_SOURCE -I. -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ptl_ips _revision.c -o _revision.o
cc -o libinfinipath.so.4.0 -Wl,-soname=libinfinipath.so.4 -shared \
	-Wl,--unique='*fastpath*' \
	ipath_debug.o ipath_time.o ipath_proto.o ipath_utils.o ipath_service.o ipath_protomic.o ipath_dwordcpy-x86_64.o ipath_i2cflash.o ipath_sysfs.o ipath_syslog.o ipath_write_pio-x86_64.o ipath_dwordcpy-x86_64-fast.o _revision.o -Wl,-z,relro   
ln -fs libinfinipath.so.4.0 libinfinipath.so.4
ln -fs libinfinipath.so.4.0 libinfinipath.so
make[3]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/ipath'
/usr/bin/make libpsm_infinipath.so
make[3]: Entering directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7'
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -c psm_context.c -o psm_context.o
cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7=. -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+20.604758e7/include -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/mpspawn -I/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7/include/linux-x86_64  -c psm_ep.c -o psm_ep.o
In function 'psmi_parse_devices',
    inlined from '__psm_ep_open' at psm_ep.c:1003:16:
psm_ep.c:1352:5: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
     strncpy(e, devstring, len-1);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
psm_ep.c: In function '__psm_ep_open':
psm_ep.c:1341:11: note: length computed here
     len = strlen(devstring)+1;
           ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:282: psm_ep.o] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7'
make[2]: *** [Makefile:155: libs] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7'
make[1]: *** [debian/rules:43: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/infinipath-psm-3.3+20.604758e7'
make: *** [debian/rules:22: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2


Reply to: