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

Bug#957992: xplc: ftbfs with GCC-10



Package: src:xplc
Version: 0.3.13-7
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/xplc_0.3.13-7_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

[...]
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for cvs2cl.pl... no
checking for cvs2cl... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for library containing dlopen... -ldl
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking for library containing NSCreateObjectFileImageFromFile... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_unparse in -luuid... yes
configure: creating ./config.status
config.status: creating config/config.mk
config.status: WARNING:  'config/config.mk.in' seems to ignore the --datarootdir setting
config.status: creating dist/xplc.pc
config.status: creating dist/xplc-uninstalled.pc
config.status: creating examples/simple-module/Makefile
config.status: creating examples/simple-module-user/Makefile
config.status: creating uuid/uuid_types.h
config.status: creating include/autoconf.h
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking, --disable-silent-rules
configure: WARNING: Unstable release, the API might change in the next release.
touch debian/stamp-autotools
/usr/bin/make -C . 
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Woverloaded-virtual -fno-rtti -fno-exceptions -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DNDEBUG -Wall -fpic -DUNSTABLE -pipe -Iinclude -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xplc/category.o xplc/category.cpp
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Woverloaded-virtual -fno-rtti -fno-exceptions -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DNDEBUG -Wall -fpic -DUNSTABLE -pipe -Iinclude -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xplc/catiter.o xplc/catiter.cpp
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Woverloaded-virtual -fno-rtti -fno-exceptions -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DNDEBUG -Wall -fpic -DUNSTABLE -pipe -Iinclude -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xplc/catmgr.o xplc/catmgr.cpp
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Woverloaded-virtual -fno-rtti -fno-exceptions -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DNDEBUG -Wall -fpic -DUNSTABLE -pipe -Iinclude -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xplc/loader.o xplc/loader.cpp
g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Woverloaded-virtual -fno-rtti -fno-exceptions -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DNDEBUG -Wall -fpic -DUNSTABLE -pipe -Iinclude -Wdate-time -D_FORTIFY_SOURCE=2  -c -o xplc/moduleloader.o xplc/moduleloader.cpp
xplc/moduleloader.cpp: In static member function ‘static Module* Module::loadModule(const char*)’:
xplc/moduleloader.cpp:65:9: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ [-Wnarrowing]
   65 |   case -1:
      |         ^
make[1]: *** [config/rules.mk:30: xplc/moduleloader.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: