Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228707 - sci-libs/plplot-5.9.0 fails to compile because of missing libffi
Summary: sci-libs/plplot-5.9.0 fails to compile because of missing libffi
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcus D. Hanwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 10:23 UTC by Juergen Rose
Modified: 2008-10-21 11:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2008-06-21 10:23:00 UTC
'emerge plplot' results in:
...
-- checking for module 'pygtk-2.0'
--   found pygtk-2.0, version 2.12.1
Cannot find library corresponding to linker option -lffi
original link flags delivered by pkg-config = -lffi;-lgobject-2.0;-lglib-2.0
CMake Error: FATAL ERROR in cmake_link_flags macro


Reproducible: Always




root@condor:/root(90)# emerge --info
WARNING: repository at /usr/portage is missing a repo_name entry
WARNING: repository at /usr/portage/local/layman/arcon is missing a repo_name entry
WARNING: repository at /usr/portage/local/layman/science is missing a repo_name entry
WARNING: repository at /usr/portage/local/layman/sajinet is missing a repo_name entry
WARNING: repository at /usr/local/portage is missing a repo_name entry
WARNING: repository at /usr/local/portage/xeffects is missing a repo_name entry
WARNING: repository at /usr/local/sci is missing a repo_name entry
Portage 2.2_rc1 (default-linux/amd64/2007.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sat, 21 Jun 2008 05:04:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-p
hp5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/dis
tfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/arcon /usr/portage/local/layman/science /usr/portage/local/layman/sajinet /usr/local/portage /usr/local
/portage/xeffects /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-complet
ion beagle berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cup
s curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi dri ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encod
e epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp 
gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened hddtemp 
hdf hdf5 hlapi http hvm iconv icq icu id3 imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kerberos kexi 
keyring ladspa lame lapack latex lcms ldap libffi libgda libsamplerate lirc lm_sensors lua lzo lzw mad maildir math matroska midi mmx mmxext mng m
od mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcd
f netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl openmp
 pae pam pcre pda pdf perl plotutils plugins png posix postgres postscript pppd preview-latex proj projectx pstricks python qhull quicktime readli
ne reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl sqlite 
sse sse2 ssl stlport subtitles subversion suexec svg t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode userlocales utemp
ter v4l2 vorbis wmf wxwindows xattr xemacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS=
"adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share 
shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
 authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cach
e filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect p
roxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                "
 KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="nv
 nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-06-25 13:10:14 UTC
Hi Juergen,

This library seems to be pulled in by one of the
pkg-config files sourced by plplot's build system.
Hence, your system probably has some library 
inconsistency, maybe dev-python/pygobject. 
Could you please try running revdep-rebuild and
see if that fixes it.

Thanks,
Markus
Comment 2 Juergen Rose 2008-06-27 23:08:56 UTC
Hallo Markus,

I am running revdep-rebuild almost every day. Neverstheless remains the problem. Just now 'revdep-rebuild' want to emerge
 media-gfx/iscan-2.11.0  
 www-misc/gurlchecker-0.10.2  
 dev-lang/gdl-0.9_rc1  
And gdl wants to emerge at first plplot, which fails because of the posted error.
Beside of this I did just once more 
  emerge -vD1 =glib-1.2.10-r5 =glib-2.16.3 pkgconfig pygtk pygobject
But also this does not help. I am still get the same error trying to emerge plplot.

Regards Juergen
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2008-06-28 13:01:46 UTC
(In reply to comment #2)
> Hallo Markus,
> 
> I am running revdep-rebuild almost every day. Neverstheless remains the
> problem. Just now 'revdep-rebuild' want to emerge
>  media-gfx/iscan-2.11.0  
>  www-misc/gurlchecker-0.10.2  
>  dev-lang/gdl-0.9_rc1  
> And gdl wants to emerge at first plplot, which fails because of the posted
> error.
> Beside of this I did just once more 
>   emerge -vD1 =glib-1.2.10-r5 =glib-2.16.3 pkgconfig pygtk pygobject
> But also this does not help. I am still get the same error trying to emerge
> plplot.
> 
> Regards Juergen
> 

Hi Juergen,

There seems to be a package on your system that depends on libffi
which is not present on your system. To find out which one it is,
cd into /usr/lib/pkgconfig, do a grep 'ffi' *, identify the .pc file(s)
that need it and re-emerge the package that installs it. 
Alternatively, you could install libffi but it looks like it is
currently masked.

Best,
Markus
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2008-07-12 10:59:19 UTC
Any news on this one?

Thanks,
Markus
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2008-10-21 11:52:50 UTC
No news for a while. Please test the one in the main tree now.
Thanks.