Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285714 - kde-base/step-4.3.1 link failure
Summary: kde-base/step-4.3.1 link failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on: 285468
Blocks:
  Show dependency tree
 
Reported: 2009-09-20 15:50 UTC by Sander Sweers
Modified: 2009-09-20 23:11 UTC (History)
1 user (show)

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


Attachments
Build log (step-4.3.1-build.log,31.87 KB, text/plain)
2009-09-20 15:54 UTC, Sander Sweers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2009-09-20 15:50:31 UTC
Linking CXX executable step
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -l@CBLAS_LIBS@
collect2: ld returned 1 exit status
make[2]: *** [step/step/step] Error 1
make[1]: *** [step/step/CMakeFiles/step.dir/all] Error 2
make: *** [all] Error 2
 * 
 * ERROR: kde-base/step-4.3.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4030:  Called kde4-meta_src_compile
 *             environment, line 3138:  Called kde4-base_src_compile
 *             environment, line 2831:  Called cmake-utils_src_compile
 *             environment, line 1025:  Called cmake-utils_src_make
 *             environment, line 1105:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/step-4.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/step-4.3.1/temp/environment'.
 *
Comment 1 Sander Sweers 2009-09-20 15:54:17 UTC
Created attachment 204704 [details]
Build log
Comment 2 biohazrd 2009-09-20 17:29:16 UTC
I get the exact same error.  I have even tried building gsl with cblas USE flag which requires pulling in cblas-reference and setting it with eselect in order to build gsl against another external cblas lib.  I have tried building step with both the gsl with cblas support and with the cblas-reference.  

I have no idea why it's not finding the lib as it appears to when it gets configured. 

-- Found GSL: @CBLAS_LIBS@ -lgsl -lm



My build.log is identical, however below is my emerge --info.  gcc-4.4.1 issue?

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5520_@_2.27GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 19 Sep 2009 04:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1, 3.1.1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/hosts /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -msse4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j24"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility ace acl acpi alsa amd64 apache2 automount berkdb binary-drivers bittorrent bluetooth branding bzip2 cairo cblas cdda cddb cdparanoia cdr cdrom cli consolekit cracklib crypt cups curl custom-optimization dbus dhcp divx dri dv dvd dvdr dvdread dvi eds encode epiphany esd evo fat fbsplash ffmpeg firefox flac foomaticdb fortran ftp gdbm gdm gedit gimp gimpprint gkrellm glitz gmedia gnome gnome-print gs gstreamer gtk gtkhtml hal iconv id3tag ieee1394 ipod ipv6 isdnlog java javascript jpeg jpeg2k kde lame laptop libsexy live lm_sensors mad mmx mmxext mng motif moznoirc moznomail mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib multislot multitarget musicbrainz mysql nautilus ncurses networkmanager new-interface nfs nls nptl nptlonly nsplugin ntfs nut nvidia ode ogg openal openexr opengl openmp opensslcrypt pam pango pcre pdf perl php png podcast pppd python qt3support qt4 quicktime readline realmedia reflection rhythmbox samba sdl session shaper sockets sound sox spell spl sql sqlite sse sse2 ssl ssse3 subversion svg swat sysfs tagwriting tcl tcpd theora tiff tivo tk truetype unicode usb verse vorbis webkit wmp x264 xine xorg xscreensaver xulrunner xv xvid yv12 zip zlib" 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" 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 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_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Alexey Shvetsov archtester gentoo-dev 2009-09-20 17:48:44 UTC
seems it depends on #285468
Comment 4 Aurelien Minet 2009-09-20 18:08:43 UTC
(In reply to comment #3)
> seems it depends on #285468

yes

rebuild with -gsl works.
sci-libs/gsl has been updated to 1.13 recently, downgrading to 1.12 make kde-base/step build with use gsl 


quick and dirty fix for 1.13 is:
sed -i 's/@CBLAS_LIBS@/-lgslcblas/g' /usr/lib/pkgconfig/gsl.pc
sed -i 's/@CBLAS_CFLAGS@//g' /usr/lib/pkgconfig/gsl.pc
Comment 5 biohazrd 2009-09-20 18:14:37 UTC
Confirmed about using gsl-1.12
Comment 6 Alexey Shvetsov archtester gentoo-dev 2009-09-20 18:57:03 UTC
Update to gsl-1.13-r1 and step should compiles fine =)
Comment 7 Sander Sweers 2009-09-20 23:11:22 UTC
(In reply to comment #6)
> Update to gsl-1.13-r1 and step should compiles fine =)

Indeed it does.