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

Bug#925739: marked as done (libcommoncpp2: ftbfs with GCC-9)



Your message dated Sat, 28 Dec 2019 21:25:50 +0000
with message-id <E1ilJao-000D66-Az@fasolo.debian.org>
and subject line Bug#925739: fixed in libcommoncpp2 1.8.1-8
has caused the Debian Bug report #925739,
regarding libcommoncpp2: ftbfs with GCC-9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
925739: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925739
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:libcommoncpp2
Version: 1.8.1-7
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/libcommoncpp2_1.8.1-7_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.

[...]
config.status: creating Makefile
config.status: creating commoncpp2.spec
config.status: creating tests/Makefile
config.status: creating commoncpp2.list
config.status: WARNING:  'commoncpp2.list.in' seems to ignore the --datarootdir setting
config.status: creating w32/ccgnu2.dsp
config.status: creating w32/ccext2.dsp
config.status: creating w32/ccgnu2.vcproj
config.status: creating w32/ccext2.vcproj
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
   dh_auto_build -a
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in inc
make[3]: Entering directory '/<<PKGBUILDDIR>>/inc'
Making all in cc++
make[4]: Entering directory '/<<PKGBUILDDIR>>/inc/cc++'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/inc/cc++'
make[4]: Entering directory '/<<PKGBUILDDIR>>/inc'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/inc'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/inc'
Making all in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../inc   -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -DCCXX_EXPORT_LIBRARY  -D_GNU_SOURCE -I../inc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o thread.lo thread.cpp
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../inc   -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -DCCXX_EXPORT_LIBRARY  -D_GNU_SOURCE -I../inc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mutex.lo mutex.cpp
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../inc   -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -DCCXX_EXPORT_LIBRARY  -D_GNU_SOURCE -I../inc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o semaphore.lo semaphore.cpp
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../inc   -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -DCCXX_EXPORT_LIBRARY  -D_GNU_SOURCE -I../inc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o threadkey.lo threadkey.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c mutex.cpp  -fPIC -DPIC -o .libs/mutex.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c semaphore.cpp  -fPIC -DPIC -o .libs/semaphore.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c thread.cpp  -fPIC -DPIC -o .libs/thread.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -Wdate-time -D_FORTIFY_SOURCE=2 -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c threadkey.cpp  -fPIC -DPIC -o .libs/threadkey.o
In file included from ../inc/cc++/exception.h:52,
                 from mutex.cpp:41:
../inc/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);
      |                                   ^~~~~~~
In file included from ../inc/cc++/exception.h:52,
                 from semaphore.cpp:41:
../inc/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);
      |                                   ^~~~~~~
In file included from ../inc/cc++/thread.h:50,
                 from threadkey.cpp:41:
../inc/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);
      |                                   ^~~~~~~
In file included from ../inc/cc++/thread.h:50,
                 from thread.cpp:41:
../inc/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:708: threadkey.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:708: semaphore.lo] Error 1
make[3]: *** [Makefile:708: mutex.lo] Error 1
make[3]: *** [Makefile:708: thread.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:486: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:414: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j4 returned exit code 2
make: *** [debian/rules:3: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libcommoncpp2
Source-Version: 1.8.1-8

We believe that the bug you reported is fixed in the latest version of
libcommoncpp2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 925739@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sudip Mukherjee <sudipm.mukherjee@gmail.com> (supplier of updated libcommoncpp2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 28 Dec 2019 00:36:16 +0000
Source: libcommoncpp2
Architecture: source
Version: 1.8.1-8
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Closes: 925739
Changes:
 libcommoncpp2 (1.8.1-8) unstable; urgency=medium
 .
   * QA upload.
   * Fix ftbfs with gcc-9. (Closes: #925739)
   * Update Standards-Version to 4.4.1
Checksums-Sha1:
 5ef29261c8bdd2e3e92141ab26fb7c455b336479 2100 libcommoncpp2_1.8.1-8.dsc
 07770fe3c1e3a334ab6725bbf0cd8212db1b686a 12148 libcommoncpp2_1.8.1-8.debian.tar.xz
 33049d5ac28a5d9d596b3576b76a8d61d2e17af0 5848 libcommoncpp2_1.8.1-8_source.buildinfo
Checksums-Sha256:
 6bdf0bd0a1f1a58721ac6bfca5655a632290305640dc35934b7021d1c8f4d4ae 2100 libcommoncpp2_1.8.1-8.dsc
 352b050ecd14acbaa590dc3718b5b0493beb58edcd512c2dc6eea46470229288 12148 libcommoncpp2_1.8.1-8.debian.tar.xz
 e91f78698ed4ff2e766a3a5f5e8671482dd0616a63235e00c1d92f472502f288 5848 libcommoncpp2_1.8.1-8_source.buildinfo
Files:
 a3d0c8d667cb1e77814b221fdb97b6c6 2100 devel optional libcommoncpp2_1.8.1-8.dsc
 0e5f663d4ecb64278d91354ff3e7fd6f 12148 devel optional libcommoncpp2_1.8.1-8.debian.tar.xz
 778b0b0ec62732eab162d3886aea6f32 5848 devel optional libcommoncpp2_1.8.1-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAl4HuoEACgkQweDZLphv
fH5rHRAAy2B2P4mw5WqnIuTr5yZdu2rMmBVW1EmTcyxdiaqdEVWNCGL0xzj0UxHv
BZFl5JACMql2Q60pyGhZyJShHIuIR3mab2+a8ScuZmKtqvi+5ZlqflcttVhbwULj
crkYZ0PDpm7vNDHmN5o9q1+UEC8R5uuUCG40r+ML5BBTXRWFlY4Nfg3ttgI0HrK8
Te4J+3vUzHr3ZAZA/3DvcgEJWzbV0bAWbhesi/hm3d9h9U+zi/y+A6YPan3mFKSA
Ntmvvgu7cf9R/h7hZuIdmPBqZFzxt+6hViwdEyoSaaZ2Tv2TnwoSJNvNV1Pay8f4
+KsBN2JaEkuBfYJXqcewVu6lt516pL8pWZAHqYfkRgD6B6IMZDAN+m3LsdSwR5/z
MDTv7ZAf6/WjYSONAVX+dlmP1xO4BaOKsVTT0L1Xxo7fcclhW/DCj5/1e6aCz1Kr
EE73jFFyXyU0Izh/nDb/2IUuHinmQAsIetGwI7d80rV/Yw/UblzaMrdRaLSftT9a
teHP0zkfKfYU8pGOqrSAjwSZyvEdMa711rV/FHsp5J2rJ2OgS2L+TWnuhHJ2d1FS
czfOLvICWiCNM3vzzFvf1c8lXw1ePNqBNPJd2zMaCaHSaxqj7Fh2zlB1ENEoneLw
KcIISXdHhtnYO/6uZRiL88x4bcGZ7OBFzP2LzutshaMr+w6UaP0=
=bzgw
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: