Created attachment 574900 [details] build.log Emerging sci-electronics/geda as part of the sci-electronics/geda-suite results in a bunch of undefined references on my systems: /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/guile/2.0 -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -O2 -lglib-2.0 -lguile-2.0 -latomic_ops -lgc -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-O1 -Wl,--as-needed -o gsymcheck gsymcheck-g_rc.o gsymcheck-g_register.o gsymcheck-globals.o gsymcheck-gsymcheck.o gsymcheck-i_vars.o gsymcheck-parsecmd.o gsymcheck-s_check.o gsymcheck-s_log.o gsymcheck-s_symstruct.o ../../libgeda/src/libgeda.la -lm libtool: link: x86_64-pc-linux-gnu-gcc -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/guile/2.0 -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pipe -march=native -O2 -Wl,-O1 -o .libs/gsymcheck gsymcheck-g_rc.o gsymcheck-g_register.o gsymcheck-globals.o gsymcheck-gsymcheck.o gsymcheck-i_vars.o gsymcheck-parsecmd.o gsymcheck-s_check.o gsymcheck-s_log.o gsymcheck-s_symstruct.o -Wl,--as-needed ../../libgeda/src/.libs/libgeda.so -lguile-2.0 -latomic_ops -lgc -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lm -pthread ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_parse_name' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_io_error_quark' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_parse_name' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_type' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_new_for_path' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_query_exists' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_query_file_type' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_parent' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_child' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_equal' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_hash' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_make_directory_with_parents' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_replace_contents' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_path' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_load_contents' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_input_stream_get_type' ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_memory_input_stream_new_from_data' collect2: error: ld returned 1 exit status
Created attachment 574902 [details] emerge --info '=sci-electronics/geda-1.9.2-r1::gentoo'
It seems libgio dependency is not present in the linking phase.
(In reply to Ross Bridger from comment #2) > It seems libgio dependency is not present in the linking phase. Yep. Error turns up only with gold linker.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d645dcf43ea91f1a543f4d42735cb805464cbb commit 48d645dcf43ea91f1a543f4d42735cb805464cbb Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2019-05-20 16:17:04 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2019-05-20 16:17:04 +0000 sci-electronics/geda: Add missing library to linker stage. Thanks for reporting: Constantin Runge <c.runge@cssbook.de> Closes: https://bugs.gentoo.org/684870 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> sci-electronics/geda/geda-1.9.2-r1.ebuild | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-)