Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412059 - dev-libs/gobject-introspection-1.32.0 - src_test(): gimarshallingtests.c:(.text+0x8546): undefined reference to `g_value_get_schar'
Summary: dev-libs/gobject-introspection-1.32.0 - src_test(): gimarshallingtests.c:(.te...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-04-15 08:15 UTC by Hans de Graaff
Modified: 2012-04-20 06:28 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,64.55 KB, text/plain)
2012-04-15 08:15 UTC, Hans de Graaff
Details
emerge --info (emerge-info.txt,16.31 KB, text/plain)
2012-04-15 08:16 UTC, Hans de Graaff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2012-04-15 08:15:55 UTC
Created attachment 309013 [details]
build.log

It's possible that this happens because I'm still using glib 2.30.3.



  GEN    GIMarshallingTests-1.0.gir
g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fno-strict-aliasing -Wsign-compare -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wall -O2 -pipe -march=native -I.. -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o /var/tmp/portage/dev-libs/gobject-introspection-1.32.0/work/gobject-introspection-1.32.0/tests/tmp-introspecti2w0ls/GIMarshallingTests-1.0.o /var/tmp/portage/dev-libs/gobject-introspection-1.32.0/work/gobject-introspection-1.32.0/tests/tmp-introspecti2w0ls/GIMarshallingTests-1.0.c
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC gcc -o /var/tmp/portage/dev-libs/gobject-introspection-1.32.0/work/gobject-introspection-1.32.0/tests/tmp-introspecti2w0ls/GIMarshallingTests-1.0 -export-dynamic -fno-strict-aliasing -Wsign-compare -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wall -O2 -pipe -march=native /var/tmp/portage/dev-libs/gobject-introspection-1.32.0/work/gobject-introspection-1.32.0/tests/tmp-introspecti2w0ls/GIMarshallingTests-1.0.o -L. libgimarshallingtests-1.0.la -pthread -Wl,--export-dynamic -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0
libtool: link: gcc -o /var/tmp/portage/dev-libs/gobject-introspection-1.32.0/work/gobject-introspection-1.32.0/tests/tmp-introspecti2w0ls/GIMarshallingTests-1.0 -fno-strict-aliasing -Wsign-compare -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wall -O2 -pipe -march=native /var/tmp/portage/dev-libs/gobject-introspection-1.32.0/work/gobject-introspection-1.32.0/tests/tmp-introspecti2w0ls/GIMarshallingTests-1.0.o -pthread -Wl,--export-dynamic -Wl,--export-dynamic  -L. ./.libs/libgimarshallingtests-1.0.a -ldl -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -pthread
./.libs/libgimarshallingtests-1.0.a(gimarshallingtests.o): In function `gi_marshalling_tests_properties_object_set_property':
gimarshallingtests.c:(.text+0x8546): undefined reference to `g_value_get_schar'
./.libs/libgimarshallingtests-1.0.a(gimarshallingtests.o): In function `gi_marshalling_tests_properties_object_get_property':
gimarshallingtests.c:(.text+0x8742): undefined reference to `g_value_set_schar'
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', 'gcc', '-o', '/var/tmp/portage/dev-libs/gobject-introspection-1.32.0/work/gobject-introspection-1.32.0/tests/tmp-introspecti2w0ls/GIMarshallingTests-1.0', '-export-dynamic', '-fno-strict-aliasing', '-Wsign-compare', '-Wcast-align', '-Wpointer-arith', '-Wnested-externs', '-Wmissing-prototypes', '-Wmissing-declarations', '-Wchar-subscripts', '-Wall', '-O2', '-pipe', '-march=native', '/var/tmp/portage/dev-libs/gobject-introspection-1.32.0/work/gobject-introspection-1.32.0/tests/tmp-introspecti2w0ls/GIMarshallingTests-1.0.o', '-L.', 'libgimarshallingtests-1.0.la', '-pthread', '-Wl,--export-dynamic', '-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lgmodule-2.0', '-lrt', '-lglib-2.0']' returned non-zero exit status 1
Comment 1 Hans de Graaff gentoo-dev Security 2012-04-15 08:16:24 UTC
Created attachment 309015 [details]
emerge --info
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-16 11:16:45 UTC
(In reply to comment #0)
> It's possible that this happens because I'm still using glib 2.30.3.

You are right. Fixed in cvs.

>  16 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  gobject-introspection-1.32.0.ebuild:
>  Fix glib dependency to match installed gir data and fix test failure (bug
>  #412059, thanks to Hans de Graaff).
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-20 06:28:00 UTC
*** Bug 412325 has been marked as a duplicate of this bug. ***