I found taht rpy failed to install without lapack installed. i tryed to link against it. emerge of lapack virtual solved the problem. Björn Reproducible: Always Steps to Reproduce: 1. try to install rpy without lapack 2. 3. Actual Results: it fails Expected Results: it schould put lapack into dependencys
Please post some errors and emerge --info output; thanks
i closed the bug because i used pkgcore and got this error:mistery bjoern # pmerge rpy * Resolving... Processing 1 of 1: dev-python/rpy-1.0.1 >>> Unpacking rpy-1.0.1.tar.gz to /var/tmp/portage/dev-python/rpy-1.0.1/work * Applying rpy-lapack.patch ... [ ok ] * Applying rpy-1.0_rc3-version-detect.patch ... [ ok ] * Applying rpy-testfiles.patch ... [ ok ] RHOMES= [] DEBUG= True Setting RHOMES to ['/usr/lib/R'] ### Using R verion 2.6.2 installed at /usr/lib/R ### RHOME= /usr/lib/R copying src/rpymodule.c -> src/rpymodule2062.c copying src/R_eval.c -> src/R_eval2062.c copying src/io.c -> src/io2062.c running build running build_py creating build creating build/lib.linux-i686-2.5 copying rpy.py -> build/lib.linux-i686-2.5 copying rpy_io.py -> build/lib.linux-i686-2.5 copying rpy_version.py -> build/lib.linux-i686-2.5 copying rpy_tools.py -> build/lib.linux-i686-2.5 copying rpy_options.py -> build/lib.linux-i686-2.5 copying rpy_wintools.py -> build/lib.linux-i686-2.5 running build_ext building '_rpy2062' extension C compiler: i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb -fPIC creating build/temp.linux-i686-2.5 creating build/temp.linux-i686-2.5/src compile options: '-DWITH_NUMERIC=3 -DPY_ARRAY_TYPES_PREFIX=PyArray_ -DRPY_SHNAME=_rpy2062 -DINIT_RPY=init_rpy2062 -UPRE_2_2 -I/usr/lib/R/include -Isrc -I/usr/share/R/include -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c' extra options: '-shared' i686-pc-linux-gnu-gcc: src/rpymodule2062.c src/rpymodule2062.c:1481: Warnung: »intargfunc« ist veraltet i686-pc-linux-gnu-gcc: src/R_eval2062.c i686-pc-linux-gnu-gcc: src/io2062.c i686-pc-linux-gnu-gcc: src/setenv.c i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb build/temp.linux-i686-2.5/src/rpymodule2062.o build/temp.linux-i686-2.5/src/R_eval2062.o build/temp.linux-i686-2.5/src/io2062.o build/temp.linux-i686-2.5/src/setenv.o -L/usr/lib/R/bin -L/usr/lib/R/lib -L/usr/lib -Wl,-R/usr/lib/R/bin -Wl,-R/usr/lib/R/lib -lR -llapack -lpython2.5 -o build/lib.linux-i686-2.5/_rpy2062.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -llapack collect2: ld gab 1 als Ende-Status zurück /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -llapack collect2: ld gab 1 als Ende-Status zurück error: Command "i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb build/temp.linux-i686-2.5/src/rpymodule2062.o build/temp.linux-i686-2.5/src/R_eval2062.o build/temp.linux-i686-2.5/src/io2062.o build/temp.linux-i686-2.5/src/setenv.o -L/usr/lib/R/bin -L/usr/lib/R/lib -L/usr/lib -Wl,-R/usr/lib/R/bin -Wl,-R/usr/lib/R/lib -lR -llapack -lpython2.5 -o build/lib.linux-i686-2.5/_rpy2062.so" failed with exit status 1 !!! ERROR: dev-python/rpy-1.0.1 failed. !!! Call stack: !!! ebuild-daemon.sh, line 191: Called execute_phases 'compile' !!! ebuild.sh, line 638: Called dyn_compile !!! ebuild-default-functions.sh, line 266: Called src_compile !!! ebuild.sh, line 3060: Called distutils_src_compile !!! ebuild.sh, line 1221: Called die !!! The die message: !!! compilation failed !!! !!! If you need support, post the topmost build error, and the call stack if relevant. phases failed I fixed this error with installing lapack-reference. But when i tried to reproduce the error with portage everything worked well. Sorry, I thought, this was a missing dependency in the ebuild.
sorry,again. emerge installed dev-python/rpy-1.0_rc3 this is the emerge output with rpy-1.0.1 Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) dev-python/rpy-1.0.1 to / * rpy-1.0.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking rpy-1.0.1.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rpy-1.0.1.tar.gz to /var/tmp/portage/dev-python/rpy-1.0.1/work * Applying rpy-lapack.patch ... [ ok ] * Applying rpy-1.0_rc3-version-detect.patch ... [ ok ] * Applying rpy-testfiles.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-python/rpy-1.0.1/work/rpy-1.0.1 ... RHOMES= [] DEBUG= True Setting RHOMES to ['/usr/lib/R'] ### Using R verion 2.6.2 installed at /usr/lib/R ### RHOME= /usr/lib/R copying src/rpymodule.c -> src/rpymodule2062.c copying src/R_eval.c -> src/R_eval2062.c copying src/io.c -> src/io2062.c running build running build_py creating build creating build/lib.linux-i686-2.5 copying rpy.py -> build/lib.linux-i686-2.5 copying rpy_io.py -> build/lib.linux-i686-2.5 copying rpy_version.py -> build/lib.linux-i686-2.5 copying rpy_tools.py -> build/lib.linux-i686-2.5 copying rpy_options.py -> build/lib.linux-i686-2.5 copying rpy_wintools.py -> build/lib.linux-i686-2.5 running build_ext building '_rpy2062' extension C compiler: i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb -fPIC creating build/temp.linux-i686-2.5 creating build/temp.linux-i686-2.5/src compile options: '-DWITH_NUMERIC=3 -DPY_ARRAY_TYPES_PREFIX=PyArray_ -DRPY_SHNAME=_rpy2062 -DINIT_RPY=init_rpy2062 -UPRE_2_2 -I/usr/lib/R/include -Isrc -I/usr/share/R/include -I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/include/python2.5 -c' extra options: '-shared' i686-pc-linux-gnu-gcc: src/rpymodule2062.c src/rpymodule2062.c:1481: Warnung: »intargfunc« ist veraltet i686-pc-linux-gnu-gcc: src/R_eval2062.c i686-pc-linux-gnu-gcc: src/io2062.c i686-pc-linux-gnu-gcc: src/setenv.c i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb build/temp.linux-i686-2.5/src/rpymodule2062.o build/temp.linux-i686-2.5/src/R_eval2062.o build/temp.linux-i686-2.5/src/io2062.o build/temp.linux-i686-2.5/src/setenv.o -L/usr/lib/R/bin -L/usr/lib/R/lib -L/usr/lib -Wl,-R/usr/lib/R/bin -Wl,-R/usr/lib/R/lib -lR -llapack -lpython2.5 -o build/lib.linux-i686-2.5/_rpy2062.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -llapack collect2: ld gab 1 als Ende-Status zurück /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -llapack collect2: ld gab 1 als Ende-Status zurück error: Command "i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb build/temp.linux-i686-2.5/src/rpymodule2062.o build/temp.linux-i686-2.5/src/R_eval2062.o build/temp.linux-i686-2.5/src/io2062.o build/temp.linux-i686-2.5/src/setenv.o -L/usr/lib/R/bin -L/usr/lib/R/lib -L/usr/lib -Wl,-R/usr/lib/R/bin -Wl,-R/usr/lib/R/lib -lR -llapack -lpython2.5 -o build/lib.linux-i686-2.5/_rpy2062.so" failed with exit status 1 * * ERROR: dev-python/rpy-1.0.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2322: Called distutils_src_compile * environment, line 704: Called die * The specific snippet of code: * ${python} setup.py build "$@" || die "compilation failed" * The die message: * compilation 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/dev-python/rpy-1.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/rpy-1.0.1/temp/environment'. My emerge --info: Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r2 i686) ================================================================= System uname: 2.6.24-tuxonice-r2 i686 Intel(R) Pentium(R) M processor 2.00GHz Timestamp of tree: Tue, 19 Feb 2008 09:46:01 +0000 distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 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 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="de en" MAKEOPTS="-j2 -s " PKGDIR="/usr/portage/packages" 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/portage/local/layman/enlightenment /usr/portage/local/layman/sabayon /usr/portage/local/layman/science /usr/portage/local/layman/einit /usr/portage/local/layman/sunrise /usr/portage/local/personal" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi ada aiglx alsa amarok apache2 asf audiofile avahi berkdb bidi bindist bitmap-fonts bluetooth bzip2 cairo cdda cdr chm clearcase cli commercial config_wizard cpudetection cracklib crypt css cups dbus debug dga djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi dxr3 eds effects emacs emboss emerald encode esd evo exa exscalibar ext-man ext-rtf ext-tex extraicons extramodules fam fame fat fbcon fbsplash ffmpeg fftw firefox flac flash foomatic-db fortran freetype gcj gd gdbm gif gimpprint glitz gnome gnutls gphoto2 gpm gs gsm gstreamer gtk gtk2 hal hdaps hfs iconv icq ieee1394 imap inkjar ipv6 irc irda isdnlog jabber jack java jfs jingle joystick jpeg kdeenablefinal kipi kqemu lame latex lcd ldap libao libcaca libclamav libnotify live livecd lj lm_sensors lzo mad mail matroska midi mikmod mmx mng mono mp3 mp3rtp mpeg mudflap musepack musicbrainz mysql ncurses network networkmanager new-login nls nptl nptlonly nsplugin ntfs ogg ole openal openexr opengl openmp oss pam pascal pcmcia pcre pdf perl php plugin png postgres povray ppds pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime quotas rar rdesktop readline real reflection reiser4 reiserfs rss ruby samba scanner sdl session shout skins slp sms sndfile speex spell spl spreadsheet sql ssl startup-notification stream streams subversion svg switch_all_desktops sysfs tcpd theora threads tiff tk tracker truetype truetype-fonts tta type1-fonts udev unicode usb vcd visualization voice vorbis wavpack weather webservices wifi win32codecs winbind wma wmf wxwindows x264 x86 xfs xine xinerama xiph xml xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m" 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="filter unique_id authz_host access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks. I'll reopen the original bug. *** This bug has been marked as a duplicate of bug 143396 ***