Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445778 - sci-visualization/pyxplot-0.9.0 with sci-libs/fftw-3.3.3 - ld: cannot find -lfftw3
Summary: sci-visualization/pyxplot-0.9.0 with sci-libs/fftw-3.3.3 - ld: cannot find -l...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-03 11:23 UTC by Andrey Grozin
Modified: 2012-12-04 16:07 UTC (History)
0 users

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 Andrey Grozin gentoo-dev 2012-12-03 11:23:34 UTC
cc -Wall -g -Wl,-O1 -Wl,--as-needed obj/canvasItems.o obj/children.o obj/commands/core.o obj/commands/eqnsolve.o obj/commands/fft.o obj/commands/fit.o obj/commands/flowctrl.o obj/commands/funcset.o obj/commands/help.o obj/commands/histogram.o obj/commands/interpolate.o obj/commands/interpolate_2d_engine.o obj/commands/set.o obj/commands/show.o obj/commands/tabulate.o obj/coreUtils/backup.o obj/coreUtils/dict.o obj/coreUtils/errorReport.o obj/coreUtils/getPasswd.o obj/coreUtils/list.o obj/coreUtils/memAlloc.o obj/coreUtils/stringList.o obj/datafile.o obj/datafile_rasters.o obj/defaultObjs/airyFuncs.o obj/defaultObjs/defaultFuncs.o obj/defaultObjs/defaultUnits.o obj/defaultObjs/defaultVars.o obj/defaultObjs/moduleAst.o obj/defaultObjs/moduleColor.o obj/defaultObjs/moduleFractals.o obj/defaultObjs/moduleOs.o obj/defaultObjs/modulePhy.o obj/defaultObjs/moduleRandom.o obj/defaultObjs/moduleStats.o obj/defaultObjs/moduleTime.o obj/defaultObjs/zetaRiemann.o obj/epsMaker/bmp_a85.o obj/epsMaker/bmp_bmpread.o obj/epsMaker/bmp_gifread.o obj/epsMaker/bmp_jpegread.o obj/epsMaker/bmp_optimise.o obj/epsMaker/bmp_pngread.o obj/epsMaker/canvasDraw.o obj/epsMaker/dvi_font.o obj/epsMaker/dvi_interpreter.o obj/epsMaker/dvi_read.o obj/epsMaker/eps_arrow.o obj/epsMaker/eps_box.o obj/epsMaker/eps_circle.o obj/epsMaker/eps_core.o obj/epsMaker/eps_ellipse.o obj/epsMaker/eps_eps.o obj/epsMaker/eps_image.o obj/epsMaker/eps_piechart.o obj/epsMaker/eps_plot.o obj/epsMaker/eps_plot_axespaint.o obj/epsMaker/eps_plot_canvas.o obj/epsMaker/eps_plot_colormap.o obj/epsMaker/eps_plot_contourmap.o obj/epsMaker/eps_plot_filledregion.o obj/epsMaker/eps_plot_gridlines.o obj/epsMaker/eps_plot_labelsarrows.o obj/epsMaker/eps_plot_legend.o obj/epsMaker/eps_plot_linedraw.o obj/epsMaker/eps_plot_linkedaxes.o obj/epsMaker/eps_plot_styles.o obj/epsMaker/eps_plot_threedimbuff.o obj/epsMaker/eps_plot_ticking_auto2.o obj/epsMaker/eps_plot_ticking_auto3.o obj/epsMaker/eps_plot_ticking_auto.o obj/epsMaker/eps_plot_ticking.o obj/epsMaker/eps_point.o obj/epsMaker/eps_polygon.o obj/epsMaker/eps_settings.o obj/epsMaker/eps_style.o obj/epsMaker/eps_text.o obj/epsMaker/kpse_wrap.o obj/expressions/dollarOp.o obj/expressions/expCompile.o obj/expressions/expEval.o obj/expressions/expEvalCalculus.o obj/expressions/expEvalOps.o obj/expressions/expEvalSlice.o obj/expressions/fnCall.o obj/expressions/traceback.o obj/input.o obj/mathsTools/dcfmath.o obj/parser/cmdList.o obj/parser/parserCompile.o obj/parser/parserExecute.o obj/parser/parserInit.o obj/parser/parserShell.o obj/pyxplot.o obj/readConf.o obj/settings/arrows.o obj/settings/axes.o obj/settings/colors.o obj/settings/epsColors.o obj/settings/labels.o obj/settings/papersizes.o obj/settings/settingsInit.o obj/settings/settingTypes.o obj/settings/textConstants.o obj/settings/withWords.o obj/stringTools/asciidouble.o obj/texify.o obj/userspace/calendars.o obj/userspace/context.o obj/userspace/contextVarDef.o obj/userspace/garbageCollector.o obj/userspace/pplObj.o obj/userspace/pplObjCmp.o obj/userspace/pplObjDump.o obj/userspace/pplObjFunc.o obj/userspace/pplObjMethods.o obj/userspace/pplObjPrint.o obj/userspace/unitsArithmetic.o obj/userspace/unitsDisp.o         -lfftw3 `xml2-config --libs` `gsl-config --libs` -lreadline -lz -lpng -lkpathsea -lm -o bin/pyxplot
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfftw3
collect2: ld returned 1 exit status
make: *** [bin/pyxplot] Error 1

elrond ~ # eix fftw
[I] sci-libs/fftw
     Available versions:  
        (2.1)   2.1.5-r8
        (3.0)   3.2.2 (~)3.2.2-r2 (~)3.3.2 (~)3.3.3
        {altivec avx doc float fma fortran mpi neon openmp paired-single quad sse sse2 static-libs threads zbus}
     Installed versions:  3.3.3(3.0)(17:25:23 03.12.2012)(doc fortran openmp sse sse2 -altivec -avx -fma -mpi -neon -quad -static-libs -threads -zbus)
     Homepage:            http://www.fftw.org/
     Description:         Fast C library for the Discrete Fourier Transform

elrond ~ # emerge --info
Portage 2.2.0_alpha144 (default/linux/x86/10.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.4.4-gentoo i686)
=================================================================
System uname: Linux-3.4.4-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.2
Timestamp of tree: Sun, 02 Dec 2012 12:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.10.2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.6
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.5
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo science lisp sunrise gamerlay grozin
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect 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"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j2"
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="/var/lib/layman/science /var/lib/layman/lisp /var/lib/layman/sunrise /var/lib/layman/gamerlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb blas bluetooth boehm-gc branding browserplugin bzip2 cairo cdda cdr consolekit cracklib crypt css cups curl cxx dbus declarative dirac doc dri dvd dvdnav dvdr emacs enca encode exif fam ffmpeg fftw firefox flac fltk fortran gd gdbm gif gmp gpm gsl gtk iconv imagemagick jpeg kde kipi kpathsea lapack latex lcms ldap leim libnotify lzma mad mmx mng modules mozilla mp3 mp4 mpeg mudflap mule ncurses nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf phonon plasma plotutils png policykit ppds pppd python qt3support qt4 readline schroedinger sdl session speex spell sse sse2 ssl startup-notification svg tcl tcpd theora tiff tk truetype udev udisks umfpack unicode upower usb v4l2 vcd vorbis win32codecs wxwidgets x264 x86 xcb xcomposite xinerama xml xscreensaver 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="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" 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" LINGUAS="ru" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Alexander E. Patrakov 2012-12-03 14:42:51 UTC
This bug was likely caused by a bad change in eclass: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools-utils.eclass?r1=1.57&r2=1.58

It should have been fixed by the next commit to this eclass: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools-utils.eclass?r1=1.58&r2=1.59

So, please emerge --sync and verify whether the bug still exists.
Comment 2 Andrey Grozin gentoo-dev 2012-12-03 15:56:12 UTC
(In reply to comment #1)
> This bug was likely caused by a bad change in eclass:
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools-
> utils.eclass?r1=1.57&r2=1.58
> 
> It should have been fixed by the next commit to this eclass:
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools-
> utils.eclass?r1=1.58&r2=1.59
Alas, no. After re-syncing, autotools-utils.eclass corresponds to the version 1.59 from your last url. But emerge pyxplot fails in exactly the same way.
Comment 3 Alexander E. Patrakov 2012-12-03 17:14:25 UTC
Sorry, I was not clear enough in my previous comment. After resyncing, please reemerge fftw and only then all previously failed packages.
Comment 4 Alexander E. Patrakov 2012-12-03 17:21:02 UTC
Still not clear enough :(

The problem is that, if one emerges fftw while having version 1.58 of autotools-utils.eclass, the resulting fftw becomes broken. The breakage manifests itself as single-precision and double-presision (i.e. normal) versions of the library not being installed at all, that's why packages expecting these libraries to be present fail to build. To remedy the situation, one needs to reemerge fftw with a fixed version of autotools-utils.eclass.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-04 15:28:36 UTC
Please attach the entire build log to this bug report.
Comment 6 Andrey Grozin gentoo-dev 2012-12-04 16:07:59 UTC
(In reply to comment #3)
> Sorry, I was not clear enough in my previous comment. After resyncing,
> please reemerge fftw and only then all previously failed packages.
Thanks, after re-emerging fftw it works.