Mathmap needs sci-libs/gsl built with USE='cblas' Emerging =sci-libs/gsl-1.14-r1 with USE='cblas' fails: * USE: amd64 cblas elibc_glibc kernel_linux multilib userland_GNU * USE flag cblas is set: linking gsl with an external cblas. * However the current selected external cblas is gsl. * Please install and/or eselect another cblas * ERROR: sci-libs/gsl-1.14-r1 failed: * Circular gsl dependency * * Call stack: * ebuild.sh, line 48: Called pkg_setup * gsl-1.14-r1.ebuild, line 31: Called die * The specific snippet of code: * die "Circular gsl dependency" # eselect cblas list Installed CBLAS for library directory lib64 [1] gsl * # emerge --info =sci-libs/gsl-1.14-r1 Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 03 Aug 2010 23:45:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo http://gentoo.virginmedia.com/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp.snt.ipv6.utwente.nl/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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="/var/lib/layman/zugaina /var/lib/layman/roslin /var/lib/layman/enlightenment /var/lib/layman/ikelos /usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gsm iconv ipv6 jabber jpeg kde lcms ldap lensfun libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp otr pam pango pcre pdf perl phonon png ppds pppd privacy python qt3support qt4 rar raster readline reflection scanner sdl semantic-desktop session sip smp sms spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vdpau vorbis wav webpresence x264 xattr xml xorg xulrunner xv xvid xvmc 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 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sci-libs/gsl-1.14-r1 was built with the following: USE="(multilib) -cblas -static-libs" overkill mathmap # emerge -pqv =sci-libs/gsl-1.14-r1 [ebuild R ] sci-libs/gsl-1.14-r1 USE="cblas* -static-libs" overkill mathmap # cat /var/tmp/portage/sci-libs/gsl-1.14-r1/temp/build.log * CPV: sci-libs/gsl-1.14-r1 * REPO: gentoo * USE: amd64 cblas elibc_glibc kernel_linux multilib userland_GNU * USE flag cblas is set: linking gsl with an external cblas. * However the current selected external cblas is gsl. * Please install and/or eselect another cblas * ERROR: sci-libs/gsl-1.14-r1 failed: * Circular gsl dependency * * Call stack: * ebuild.sh, line 48: Called pkg_setup * gsl-1.14-r1.ebuild, line 31: Called die * The specific snippet of code: * die "Circular gsl dependency" *
you can show/switch the selected cblas implementation with `eselect cblas list` and `eselect cblas set ref` for example. I think that was the fix for this one.
How is that a bug? The ebuild prevents you from doing something "not exactly clever" and tells you what to do: * USE flag cblas is set: linking gsl with an external cblas. * However the current selected external cblas is gsl. * Please install and/or eselect another cblas Exactly as intended... If you want to link gsl against external cblas, install one first, eselect it and re-emerge gsl. Best regards, Kacper Kowalik
Right, this is a user issue not a bug. I have no idea what cblas or gsl are. The only thing I have in "eselect cblas list" is gsl. Can you name a recommended external cblas?
(In reply to comment #3) > Right, this is a user issue not a bug. I have no idea what cblas or gsl are. > The only thing I have in "eselect cblas list" is gsl. Can you name a > recommended external cblas? Visit http://www.gentoo.org/proj/en/science/blas-lapack.xml If you're not interested in performance go for *-reference things. Cheers, Kacper Kowalik