Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587064 - x11-libs/pango-1.38.1 - build error: libpango-1.0.so: undefined reference to symbol 'ffi_prep_cif'
Summary: x11-libs/pango-1.38.1 - build error: libpango-1.0.so: undefined reference to ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 587068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-25 18:03 UTC by memellis
Modified: 2017-03-07 14:37 UTC (History)
0 users

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


Attachments
build.log (build.log,130.13 KB, text/plain)
2016-06-27 17:39 UTC, memellis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description memellis 2016-06-25 18:03:20 UTC
emerge x11-libs/pango-1.38.1 compile fails with:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: ../pango/.libs/libpango-1.0.so: undefined reference to symbol 'ffi_prep_cif'
/usr/lib32/libffi.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:569: recipe for target 'pango-view' failed
make[2]: *** [pango-view] Error 1
make[2]: Leaving directory '/var/tmp/portage/x11-libs/pango-1.38.1/work/pango-1.38.1-abi_x86_32.x86/pango-view'
Makefile:579: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-libs/pango-1.38.1/work/pango-1.38.1-abi_x86_32.x86'
Makefile:468: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: x11-libs/pango-1.38.1::gentoo failed (compile phase):
 *   emake failed

This is with the pango-1.38.1-abi_x86_32.x86 version of the build.

workaround:

LIBS="$LIBS -lffi" emerge x11-libs/pango 

emerge --info:

Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 3.9.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.9.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:     5043656 total,    569912 free
KiB Swap:    1036188 total,   1036092 free
Timestamp of repository gentoo: Sat, 25 Jun 2016 16:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ikelos
    location: /var/lib/layman/ikelos
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk hal iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sql sse sse2 ssl startup-notification static-libs svg tcpd tiff truetype udev udisks unicode upower usb vorbis webkit widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 ublox ubx" INPUT_DEVICES="evdev virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="uk" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


emerge -pqv x11-libs/pango-1.38.1:
[ebuild   R   ] x11-libs/pango-1.38.1 [1.38.1] USE="X introspection -debug {-test}" ABI_X86="32 (64) (-x32)"
Comment 1 Amy Liffey gentoo-dev 2016-06-26 19:50:15 UTC
*** Bug 587068 has been marked as a duplicate of this bug. ***
Comment 2 Amy Liffey gentoo-dev 2016-06-26 19:51:03 UTC
Can you please submit full build.log?

Thanks
Comment 3 memellis 2016-06-27 17:39:50 UTC
Created attachment 438988 [details]
build.log

This the build.log for the reported bug
Comment 4 memellis 2016-06-27 17:44:24 UTC
(In reply to Amy Winston from comment #2)
> Can you please submit full build.log?
> 
> Thanks

Hi Amy

Full build.log added as requested.

I've also found other packages that get pulled in for multilib support suffering from similar problems.

I've used the LIBS="-l<missing_library" to get past these packages not building but I've hit x11-libs/gtk+2.24.30 not taking the workaround which I'm stuck.

Regards
Mark
Comment 5 Pacho Ramos gentoo-dev 2016-09-17 13:04:34 UTC
1.40.3 looks to build fine for me :/
Comment 6 Mart Raudsepp gentoo-dev 2017-03-07 14:37:52 UTC
I don't understand what's going on here. In initial post there is talk of a missing ffi_prep_cif symbol with DSO issues, and then the build.log talks of a png symbol instead...
Please reopen or file a new bug if you can reproduce this on pango 1.40.x with a refreshed build.log and emerge --info x11-libs/pango