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

Bug#957964: wvstreams: ftbfs with GCC-10



Package: src:wvstreams
Version: 4.6.1-14
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/wvstreams_4.6.1-14_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

[...]
                 from xplc-cxx/uuidtostr.cc:32:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
./CXX -c xplc-cxx/xplc   
x86_64-linux-gnu-g++ -c -o xplc-cxx/xplc.o xplc-cxx/xplc.cc -MMD -MF xplc-cxx/.xplc.d -MP -MQ xplc-cxx/xplc.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -fPIC -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from ./include/xplc/uuid.h:84,
                 from ./include/xplc/IObject.h:36,
                 from ./include/xplc/IMoniker.h:30,
                 from xplc-cxx/xplc.cc:33:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
./CXX -c xplc/category   
x86_64-linux-gnu-g++ -c -o xplc/category.o xplc/category.cc -MMD -MF xplc/.category.d -MP -MQ xplc/category.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -fPIC -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from ./include/xplc/uuid.h:84,
                 from ./include/xplc/IObject.h:36,
                 from ./include/xplc/IServiceManager.h:35,
                 from ./include/xplc/core.h:26,
                 from ./include/xplc/utils.h:47,
                 from xplc/category.cc:22:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
./CXX -c xplc/catiter   
x86_64-linux-gnu-g++ -c -o xplc/catiter.o xplc/catiter.cc -MMD -MF xplc/.catiter.d -MP -MQ xplc/catiter.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -fPIC -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
                 from ./include/xplc/uuid.h:84,
                 from ./include/xplc/IObject.h:36,
                 from ./include/xplc/IServiceManager.h:35,
                 from ./include/xplc/core.h:26,
                 from ./include/xplc/utils.h:47,
                 from xplc/catiter.cc:22:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
./CXX -c xplc/catmgr   
x86_64-linux-gnu-g++ -c -o xplc/catmgr.o xplc/catmgr.cc -MMD -MF xplc/.catmgr.d -MP -MQ xplc/catmgr.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -fPIC -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
In file included from /usr/include/assert.h:35,
                 from xplc/catmgr.cc:23:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
./CXX -c xplc/loader   
x86_64-linux-gnu-g++ -c -o xplc/loader.o xplc/loader.cc -MMD -MF xplc/.loader.d -MP -MQ xplc/loader.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -fPIC -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h:518,
                 from /usr/include/c++/10/cstdlib:41,
                 from /usr/include/c++/10/stdlib.h:36,
                 from xplc/loader.cc:24:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
./CXX -c xplc/moduleloader   
x86_64-linux-gnu-g++ -c -o xplc/moduleloader.o xplc/moduleloader.cc -MMD -MF xplc/.moduleloader.d -MP -MQ xplc/moduleloader.o -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/tcl8.3 -DDEBUG=0 -I./include -D_BSD_SOURCE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNSTABLE -fPIC -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DPIC -fno-tree-dce -fno-optimize-sibling-calls -Wall -Woverloaded-virtual
In file included from /usr/include/assert.h:35,
                 from xplc/moduleloader.cc:24:
/usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
xplc/moduleloader.cc: In static member function ‘static Module* Module::loadModule(const char*)’:
xplc/moduleloader.cc:67:9: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ [-Wnarrowing]
   67 |   case -1:
      |         ^
make[1]: *** [wvrules.mk:163: xplc/moduleloader.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:63: build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: