Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684870 - sci-electronics/geda-1.9.2-r1 - ../../libgeda/src/.libs/libgeda.so: error: undefined reference to 'g_file_get_parse_name'
Summary: sci-electronics/geda-1.9.2-r1 - ../../libgeda/src/.libs/libgeda.so: error: un...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-01 10:31 UTC by Constantin Runge
Modified: 2019-05-20 16:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (file_684870.txt,246.13 KB, text/plain)
2019-05-01 10:31 UTC, Constantin Runge
Details
emerge --info '=sci-electronics/geda-1.9.2-r1::gentoo' (file_684870.txt,7.62 KB, text/plain)
2019-05-01 10:31 UTC, Constantin Runge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Constantin Runge 2019-05-01 10:31:08 UTC
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
Comment 1 Constantin Runge 2019-05-01 10:31:41 UTC
Created attachment 574902 [details]
emerge --info '=sci-electronics/geda-1.9.2-r1::gentoo'
Comment 2 Ross Charles C. 2019-05-01 14:18:03 UTC
It seems libgio dependency is not present in the linking phase.
Comment 3 Thomas Beierlein gentoo-dev 2019-05-20 16:15:26 UTC
(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.
Comment 4 Larry the Git Cow gentoo-dev 2019-05-20 16:17:26 UTC
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(-)