Summary: | sys-power/upower-0.9.16 build fails in introspection code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | Current packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge --info |
Created attachment 313155 [details]
emerge --info
Most likely dupe of bug 417659. Problem goes away after updating gobject-introspection to 1.32.1. (In reply to comment #3) > Problem goes away after updating gobject-introspection to 1.32.1. Yet it works with older gobject-introspection, and upower-0.9.16 is current stable. My best bet is that something was out of sync in your system, glib-2.32 and too old gobject-introspection, perhaps? Nothing specific to upower's ebuild then... glib's ebuild even has: pkg_preinst() { # Only give the introspection message if: # * The user has gobject-introspection # * Has glib already installed # * Previous version was different from new version if has_version "dev-libs/gobject-introspection" && ! has_version "=${CATEGORY}/${PF}"; then ewarn "You must rebuild gobject-introspection so that the installed" ewarn "typelibs and girs are regenerated for the new APIs in glib" fi } So supposedly a rebuild of the current gobject-introspection might have helped too, not sure... *** This bug has been marked as a duplicate of bug 417659 *** |
Created attachment 313153 [details] build log GISCAN UPowerGlib-1.0.gir /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.o: in function main:/var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.c:457: error: undefined reference to 'g_module_open' /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.o: in function main:/var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.c:86: error: undefined reference to 'g_module_symbol' /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.o: in function main:/var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.c:111: error: undefined reference to 'g_module_symbol' /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.o: in function main:/var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.c:460: error: undefined reference to 'g_module_error' collect2: ld returned 1 exit status linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0', '-export-dynamic', '-march=native', '-O2', '-pipe', '-ggdb', '-L.', 'libupower-glib.la', '-pthread', '-lgio-2.0', '-lgobject-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib/tmp-introspectd1R03d/UPowerGlib-1.0.o']' returned non-zero exit status 1 make[2]: *** [UPowerGlib-1.0.gir] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16/libupower-glib' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/sys-power/upower-0.9.16/work/upower-0.9.16' make: *** [all] Fehler 2 * ERROR: sys-power/upower-0.9.16 failed (compile phase): * emake failed