View previous topic :: View next topic |
Author |
Message |
murbella n00b
Joined: 19 Oct 2012 Posts: 4 Location: Everywhere
|
Posted: Sat Oct 27, 2012 4:12 am Post subject: Cannot compile gobject-introspection-1.32.1 [SOLVED] |
|
|
Hello!
I was doing "emerge --update --deep --with-bdeps=y world" when i got this error:
Code: |
CCLD libcmph.la
CCLD libgiscanner.la
CCLD libgirepository-gthash.la
CCLD cmph-bdz-test
CCLD _giscanner.la
CCLD gi-dump-types
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../i686-pc-linux-gnu/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_void'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_double'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_prep_cif'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_sint32'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_float'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_uint64'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_sint64'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_pointer'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_uint32'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_call'
collect2: ld returned 1 exit status
make[2]: *** [cmph-bdz-test] Error 1
make[2]: *** Se espera a que terminen otras tareas....
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../i686-pc-linux-gnu/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgio-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_void'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_double'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_prep_cif'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_sint32'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_float'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_uint64'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_sint64'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_pointer'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_type_uint32'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so: undefined reference to `ffi_call'
collect2: ld returned 1 exit status
make[2]: *** [gi-dump-types] Error 1
make[2]: se sale del directorio `/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/work/gobject-introspection-1.32.1'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/work/gobject-introspection-1.32.1'
make: *** [all] Error 2
* ERROR: dev-libs/gobject-introspection-1.32.1 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-libs/gobject-introspection-1.32.1'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/gobject-introspection-1.32.1'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/work/gobject-introspection-1.32.1'
* S: '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/work/gobject-introspection-1.32.1'
>>> Failed to emerge dev-libs/gobject-introspection-1.32.1, Log file:
>>> '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/temp/build.log'
* Messages for package dev-libs/gobject-introspection-1.32.1:
* ERROR: dev-libs/gobject-introspection-1.32.1 failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-libs/gobject-introspection-1.32.1'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/gobject-introspection-1.32.1'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/work/gobject-introspection-1.32.1'
* S: '/var/tmp/portage/dev-libs/gobject-introspection-1.32.1/work/gobject-introspection-1.32.1'
|
I tried to unmerge and emerge libffi again, didn't work. Also tried "revdep-rebuild --library libffi.so.5", didn't work. I don't know what to do. Any ideas/suggestions?
Thank you!
Last edited by murbella on Fri Nov 02, 2012 6:26 am; edited 1 time in total |
|
Back to top |
|
|
megabaks Apprentice
Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Sat Oct 27, 2012 7:11 am Post subject: |
|
|
revdep-rebuild -i -- -avD1
ldconfig -p | grep libffi
pkg-config --libs --cflags libffi |
|
Back to top |
|
|
murbella n00b
Joined: 19 Oct 2012 Posts: 4 Location: Everywhere
|
Posted: Sun Oct 28, 2012 6:31 am Post subject: |
|
|
Code: |
# revdep-rebuild -i -- -avD1
* Dynamic linking on your system is consistent... All done.
|
Code: |
# ldconfig -p | grep libffi
libffi.so.6 (libc6) => /usr/lib/libffi.so.6
libffi.so (libc6) => /usr/lib/libffi.so
|
Code: |
# pkg-config --libs --cflags libffi
-I/usr/lib/libffi-3.0.11/include -lffi
|
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Sun Oct 28, 2012 4:16 pm Post subject: |
|
|
The package which owns /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so needs to be updated. Given its path, it is probably provided by one of the x86 compatibility packages, so you may not be able to build it directly. If a newer prebuilt version is available, try upgrading to that. Also, please post the output of emerge --info. |
|
Back to top |
|
|
murbella n00b
Joined: 19 Oct 2012 Posts: 4 Location: Everywhere
|
Posted: Wed Oct 31, 2012 1:47 am Post subject: |
|
|
Ok! Can't see which package owns libgoject-2.0 at the moment. Here is my emerge --info:
Code: |
Portage 2.1.11.9 (default/linux/x86/10.0/desktop, gcc-4.5.4, glibc-2.15-r2, 3.3.8-gentoo i686)
=================================================================
System uname: Linux-3.3.8-gentoo-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Wed, 03 Oct 2012 13:00:01 +0000
app-shells/bash: 4.2_p37
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.8-r3
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evdev exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mikmod mng mod modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango passwordsave pcre pdf png policykit ppds pppd qt3support qt4 readline revert sdl session spell ssl startup-notification svg tcpd tiff tk truetype udev udisks unicode upower usb vorbis wav wxwidgets x264 x86 xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
By the way, thank you both of you! |
|
Back to top |
|
|
megabaks Apprentice
Joined: 22 Jan 2012 Posts: 253 Location: Russia && Saint-Petersburg
|
Posted: Wed Oct 31, 2012 9:09 am Post subject: |
|
|
murbella wrote: | Can't see which package owns libgoject-2.0 at the moment. |
Code: | equery b `readlink /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so` |
|
|
Back to top |
|
|
murbella n00b
Joined: 19 Oct 2012 Posts: 4 Location: Everywhere
|
Posted: Fri Nov 02, 2012 6:25 am Post subject: |
|
|
Got it.
Code: |
# equery b `readlink /usr/lib/gcc/i686-pc-linux-gnu/4.5.4/../../../../lib32/libgobject-2.0.so`
* Searching for libgobject-2.0.so.0.3000.3 ...
app-emulation/emul-linux-x86-baselibs-20120520 (/usr/lib32/libgobject-2.0.so.0.3000.3)
|
Did "emerge --sync && emerge --unmerge app-emulation/emul-linux-x86-baselibs-20120520" and voi-la, solved! Thank you! |
|
Back to top |
|
|
|