[PKG-IRC-Maintainers] Bug#853455: inspircd: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:32:17 UTC 2017


Package: src:inspircd
Version: 2.0.23-2
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/inspircd_2.0.23-2_unstable_gcc7.log
The last lines of the build log are at the end of this report.

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

[...]
m_regex_tre.cpp    = enabled
m_sqlite3.cpp      = enabled
m_ssl_gnutls.cpp   = enabled
m_ssl_openssl.cpp  = disabled
Remember: YOU are responsible for making sure any libraries needed have been installed!
# Really launch configure
./configure --disable-interactive \
	--with-cc=g++ \
	--uid=39 \
	--enable-gnutls \
	--prefix=/usr/lib/inspircd \
	--config-dir=/etc/inspircd \
	--module-dir=/usr/lib/inspircd/modules \
	--binary-dir=/usr/sbin
`g++` was not found! A C++ compiler is required to build InspIRCd!
You can pass a custom compiler to ./configure using --with-cc=[name].
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# compile binary with debuginfo and optimization (make D=2 all) as upstream
# don't generate symbols by default. dh_strip generate a -dbg package
# (see below)
# show compiler commandline when building,
# ccache can use it to speed the build (V=1)
dh_auto_build --parallel -- D=2 V=1 all
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary
dh binary --with systemd
   create-stamp debian/debhelper-build-stamp
   dh_testroot
   dh_prep
   dh_installdirs
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install -- install DESTDIR=/<<PKGBUILDDIR>>/debian/inspircd
# Delete example files (already in /usr/share/doc/inspircd/examples)
rm -rf /<<PKGBUILDDIR>>/debian/inspircd/etc/inspircd/examples
# delete empty data and log dir
rmdir /<<PKGBUILDDIR>>/debian/inspircd/usr/lib/inspircd/data \
/<<PKGBUILDDIR>>/debian/inspircd/usr/lib/inspircd/logs
rmdir: failed to remove '/<<PKGBUILDDIR>>/debian/inspircd/usr/lib/inspircd/data': No such file or directory
rmdir: failed to remove '/<<PKGBUILDDIR>>/debian/inspircd/usr/lib/inspircd/logs': No such file or directory
debian/rules:51: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:81: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2



More information about the Pkg-irc-maintainers mailing list