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

Bug#984409: wvdial: ftbfs with GCC-11



Package: src:wvdial
Version: 1.61-5
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/wvdial_1.61-5_unstable_gcc11.log
The last lines of the build log are at the end of this report.

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

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-987b09b1-c7f3-49b4-b77e-1f236fc11dc7
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package wvdial
dpkg-buildpackage: info: source version 1.61-5
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Gianfranco Costamagna <locutusofborg@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
debconf-updatepo
rm -f build-stamp
[ ! -f Makefile ] || /usr/bin/make clean
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in use)
 debian/rules build
dh_testdir
./configure
dh_auto_build --buildsystem=makefile -- CXXOPTS="-fno-implement-inlines -fno-exceptions" VERBOSE=1
dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 7 in use)
	make -j1 "CXXOPTS=-fno-implement-inlines -fno-exceptions" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
* Generating CC
* Generating CXX
./CXX -c wvdialer   
In file included from /usr/include/termios.h:25,
                 from wvdialer.h:12,
                 from wvdialer.cc:9:
/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/wvstreams/unihashtree.h:12,
                 from /usr/include/wvstreams/uniconftree.h:11,
                 from /usr/include/wvstreams/uniconfroot.h:11,
                 from /usr/include/wvstreams/wvconfemu.h:10,
                 from wvdialer.h:15,
                 from wvdialer.cc:9:
/usr/include/wvstreams/wvscatterhash.h: In member function ‘unsigned char* WvScatterHash<T, K, Accessor, Comparator>::Iter::getstatus()’:
/usr/include/wvstreams/wvscatterhash.h:186:46: error: invalid use of non-static data member ‘WvScatterHashBase::xstatus’
  186 |         unsigned char *getstatus() { return &xstatus[index-1]; }
      |                                              ^~~~~~~
/usr/include/wvstreams/wvscatterhash.h:90:13: note: declared here
   90 |     Status *xstatus;
      |             ^~~~~~~
In file included from /usr/include/wvstreams/wvcallbacklist.h:9,
                 from /usr/include/wvstreams/uniconfgen.h:11,
                 from /usr/include/wvstreams/uniconf.h:12,
                 from /usr/include/wvstreams/uniconfroot.h:10,
                 from /usr/include/wvstreams/wvconfemu.h:10,
                 from wvdialer.h:15,
                 from wvdialer.cc:9:
/usr/include/wvstreams/wvconfemu.h: In constructor ‘WvConfigSectionEmu::Iter::Iter(WvConfigSectionEmu&)’:
/usr/include/wvstreams/wvconfemu.h:85:16: warning: the compiler can assume that the address of ‘_sect’ will never be NULL [-Waddress]
   85 |         assert(&_sect);
      |                ^~~~~~
make[1]: *** [wvrules.mk:142: wvdialer.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "CXXOPTS=-fno-implement-inlines -fno-exceptions" VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: build-stamp] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: