[Pkg-electronics-devel] Bug#957222: fpga-icestorm: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:00:26 BST 2020


Package: src:fpga-icestorm
Version: 0~20190913git0ec00d8-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at 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/fpga-icestorm_0~20190913git0ec00d8-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

[...]
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f debian/man/*.1
rm -f -r icebox/__pycache__
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C icebox all
make -C icepack all
make -C icemulti all
make -C icepll all
make[2]: Entering directory '/<<PKGBUILDDIR>>/icepack'
make[2]: Entering directory '/<<PKGBUILDDIR>>/icebox'
python3 icebox_chipdb.py -3 > chipdb-384.new
make[2]: Entering directory '/<<PKGBUILDDIR>>/icemulti'
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2  -Wall -std=c++11 -I/usr/local/include -O2  -Wall -std=c++11 -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o icemulti.o icemulti.cc
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2  -Wall -std=c++11 -I/usr/local/include -O2  -Wall -std=c++11 -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o icepack.o icepack.cc
make[2]: Entering directory '/<<PKGBUILDDIR>>/icepll'
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2  -Wall -std=c++11 -I/usr/local/include -O2  -Wall -std=c++11 -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o icepll.o icepll.cc
g++ -o icepll -Wl,-z,relro -Wl,-z,now -Wl,--as-needed icepll.o -lm -lstdc++
make[2]: Leaving directory '/<<PKGBUILDDIR>>/icepll'
make -C icebram all
make[2]: Entering directory '/<<PKGBUILDDIR>>/icebram'
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2  -Wall -std=c++11 -I/usr/local/include -O2  -Wall -std=c++11 -I/usr/local/include -Wdate-time -D_FORTIFY_SOURCE=2  -c -o icebram.o icebram.cc
g++ -o icemulti -Wl,-z,relro -Wl,-z,now -Wl,--as-needed icemulti.o -lm -lstdc++
make[2]: Leaving directory '/<<PKGBUILDDIR>>/icemulti'
make -C icetime all
make[2]: Entering directory '/<<PKGBUILDDIR>>/icetime'
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2  -Wall -std=c++11 -I/usr/local/include -O2  -Wall -std=c++11 -I/usr/local/include -DPREFIX='"/usr/local"' -DCHIPDB_SUBDIR='"icebox"' -Wdate-time -D_FORTIFY_SOURCE=2  -c -o icetime.o icetime.cc
icetime.cc: In function ‘std::string ecnetname_to_vlog(std::string)’:
icetime.cc:1306:15: error: ‘invalid_argument’ in namespace ‘std’ does not name a type
 1306 |  } catch(std::invalid_argument &e) { // Not numeric and stoi throws exception
      |               ^~~~~~~~~~~~~~~~
mv chipdb-384.new chipdb-384.txt
python3 icebox_chipdb.py > chipdb-1k.new
g++ -o icebram -Wl,-z,relro -Wl,-z,now -Wl,--as-needed icebram.o -lm -lstdc++
make[2]: Leaving directory '/<<PKGBUILDDIR>>/icebram'
make -C iceprog all
make[2]: Entering directory '/<<PKGBUILDDIR>>/iceprog'
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2  -Wall -std=c99 -I/usr/local/include -O2  -Wall -std=c99 -I/usr/local/include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o iceprog.o iceprog.c
make[2]: *** [<builtin>: icetime.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/icetime'
make[1]: *** [Makefile:10: icetime.all] Error 2
make[1]: *** Waiting for unfinished jobs....
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2  -Wall -std=c99 -I/usr/local/include -O2  -Wall -std=c99 -I/usr/local/include  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mpsse.o mpsse.c
python3 icebox_chipdb.py -8 > chipdb-8k.new
cc -o iceprog -Wl,-z,relro -Wl,-z,now -Wl,--as-needed iceprog.o mpsse.o -L/usr/local/lib -lm -lftdi
make[2]: Leaving directory '/<<PKGBUILDDIR>>/iceprog'
python3 icebox_chipdb.py -5 > chipdb-5k.new
g++ -o icepack -Wl,-z,relro -Wl,-z,now -Wl,--as-needed icepack.o -lm -lstdc++
ln -sf icepack iceunpack
make[2]: Leaving directory '/<<PKGBUILDDIR>>/icepack'
python3 icebox_chipdb.py -4 > chipdb-lm4k.new
mv chipdb-1k.new chipdb-1k.txt
python3 icebox_chipdb.py -u > chipdb-u4k.new
mv chipdb-lm4k.new chipdb-lm4k.txt
mv chipdb-u4k.new chipdb-u4k.txt
mv chipdb-5k.new chipdb-5k.txt
mv chipdb-8k.new chipdb-8k.txt
make[2]: Leaving directory '/<<PKGBUILDDIR>>/icebox'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:13: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-electronics-devel mailing list