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

Bug#925718: ioprocess: ftbfs with GCC-9



Package: src:ioprocess
Version: 0.15.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/ioprocess_0.15.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.

[...]
./src/exported-functions.c:93: undefined reference to `g_propagate_error'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_rename':
./src/exported-functions.c:112: undefined reference to `g_propagate_error'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_memstat':
./src/exported-functions.c:141: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ./src/exported-functions.c:141: undefined reference to `g_set_error'
/usr/bin/ld: ./src/exported-functions.c:136: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_echo':
./src/exported-functions.c:177: undefined reference to `g_propagate_error'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_unlink':
./src/exported-functions.c:195: undefined reference to `g_propagate_error'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_rmdir':
./src/exported-functions.c:208: undefined reference to `g_propagate_error'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_mkdir':
./src/exported-functions.c:226: undefined reference to `g_propagate_error'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_chmod':
./src/exported-functions.c:244: undefined reference to `g_propagate_error'
/usr/bin/ld: ioprocess-exported-functions.o:./src/exported-functions.c:261: more undefined references to `g_propagate_error' follow
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_fsyncPath':
./src/exported-functions.c:421: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_symlink':
./src/exported-functions.c:442: undefined reference to `g_propagate_error'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_listdir':
./src/exported-functions.c:462: undefined reference to `g_propagate_error'
/usr/bin/ld: ./src/exported-functions.c:468: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_glob':
./src/exported-functions.c:506: undefined reference to `g_propagate_error'
/usr/bin/ld: ./src/exported-functions.c:515: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ./src/exported-functions.c:519: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_writefile':
./src/exported-functions.c:560: undefined reference to `g_propagate_error'
/usr/bin/ld: ./src/exported-functions.c:573: undefined reference to `g_base64_decode'
/usr/bin/ld: ./src/exported-functions.c:609: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ./src/exported-functions.c:593: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ./src/exported-functions.c:569: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_readfile':
./src/exported-functions.c:696: undefined reference to `g_string_new'
/usr/bin/ld: ./src/exported-functions.c:706: undefined reference to `g_base64_encode_step'
/usr/bin/ld: ./src/exported-functions.c:709: undefined reference to `g_string_append_len'
/usr/bin/ld: ./src/exported-functions.c:731: undefined reference to `g_string_free'
/usr/bin/ld: ./src/exported-functions.c:680: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ./src/exported-functions.c:658: undefined reference to `g_propagate_error'
/usr/bin/ld: ./src/exported-functions.c:716: undefined reference to `g_base64_encode_close'
/usr/bin/ld: ./src/exported-functions.c:717: undefined reference to `g_string_append_len'
/usr/bin/ld: ./src/exported-functions.c:664: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ./src/exported-functions.c:686: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_statvfs':
./src/exported-functions.c:749: undefined reference to `g_propagate_error'
/usr/bin/ld: ./src/exported-functions.c:755: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ioprocess-exported-functions.o: in function `exp_stat':
./src/exported-functions.c:783: undefined reference to `g_propagate_error'
/usr/bin/ld: ./src/exported-functions.c:789: undefined reference to `g_quark_from_static_string'
/usr/bin/ld: ioprocess-exported-functions.o: in function `set_error_from_errno':
./src/exported-functions.c:22: undefined reference to `g_set_error'
/usr/bin/ld: ioprocess-utils.o: in function `iop_strerror':
./src/utils.c:35: undefined reference to `g_get_charset'
/usr/bin/ld: ./src/utils.c:41: undefined reference to `g_intern_string'
/usr/bin/ld: ./src/utils.c:36: undefined reference to `g_locale_to_utf8'
/usr/bin/ld: ./src/utils.c:41: undefined reference to `g_intern_string'
/usr/bin/ld: ./src/utils.c:44: undefined reference to `g_free'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:409: ioprocess] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:411: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:348: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2


Reply to: