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

Bug#925653: clamfs: ftbfs with GCC-9



Package: src:clamfs
Version: 1.0.1-3
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-9

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-9/g++-9, but succeeds to build with gcc-8/g++-8. 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/gcc9-20190321/clamfs_1.0.1-3_unstable_gcc9.log
The last lines of the build log are at the end of this report.

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

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
checking for memset... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for rmdir... yes
checking for setxattr... yes
checking for strdup... yes
checking for strerror... yes
checking for utime... yes
checking for boostlib >= 1.33... yes
checking fuse.h usability... yes
checking fuse.h presence... yes
checking for fuse.h... yes
checking for fuse_main in -lfuse... yes
checking rlog/rlog.h usability... yes
checking rlog/rlog.h presence... yes
checking for rlog/rlog.h... yes
checking for main in -lrlog... yes
checking Poco/ExpireLRUCache.h usability... yes
checking Poco/ExpireLRUCache.h presence... yes
checking for Poco/ExpireLRUCache.h... yes
checking Poco/Net/MailMessage.h usability... yes
checking Poco/Net/MailMessage.h presence... yes
checking for Poco/Net/MailMessage.h... yes
checking Poco/Net/MailRecipient.h usability... yes
checking Poco/Net/MailRecipient.h presence... yes
checking for Poco/Net/MailRecipient.h... yes
checking Poco/Net/SMTPClientSession.h usability... yes
checking Poco/Net/SMTPClientSession.h presence... yes
checking for Poco/Net/SMTPClientSession.h... yes
checking Poco/Net/StringPartSource.h usability... yes
checking Poco/Net/StringPartSource.h presence... yes
checking for Poco/Net/StringPartSource.h... yes
checking for main in -lPocoFoundation... yes
checking for main in -lPocoFoundation... (cached) yes
checking for libccgnu2 via ccgnu2-config... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/svg/Makefile
config.status: creating config.h
config.status: executing depfiles commands
dh_testdir
/usr/bin/make
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DFUSE_USE_VERSION=25 -DRLOG_COMPONENT=clamfs -D_GNU_SOURCE -I/usr/include -Wall -O2 -DNDEBUG  -g -O2 -MT clamfs.o -MD -MP -MF .deps/clamfs.Tpo -c -o clamfs.o clamfs.cxx
clamfs.cxx:963:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  963 |     rLog(Info, "ClamFS v"VERSION);
      |                ^
In file included from /usr/include/cc++/thread.h:50,
                 from /usr/include/cc++/file.h:56,
                 from rlog.hxx:32,
                 from clamfs.hxx:38,
                 from clamfs.cxx:53:
/usr/include/cc++/string.h:734:35: error: friend declaration of 'std::istream& getline(std::istream&, ost::String&, char, size_t)' specifies default arguments and isn't a definition [-fpermissive]
  734 |     friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0);
      |                                   ^~~~~~~
make[3]: *** [Makefile:243: clamfs.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:228: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:167: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:28: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: