Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191287 - dev-lang/R-2.5.1 emerge failure
Summary: dev-lang/R-2.5.1 emerge failure
Status: RESOLVED DUPLICATE of bug 176755
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-04 18:51 UTC by Priit Laes (IRC: plaes)
Modified: 2007-09-04 19:10 UTC (History)
0 users

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


Attachments
build.log (build.log,125.58 KB, text/plain)
2007-09-04 19:03 UTC, Priit Laes (IRC: plaes)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2007-09-04 18:51:48 UTC
mkdir -p -- ../../../../library/grDevices/libs
make[5]: Leaving directory `/home/tmp/portage/dev-lang/R-2.5.1/work/R-2.5.1/src/library/grDevices/src'
make[4]: Leaving directory `/home/tmp/portage/dev-lang/R-2.5.1/work/R-2.5.1/src/library/grDevices/src'
Warning in solve.default(rgb) : unable to load shared library '/home/tmp/portage/dev-lang/R-2.5.1/work/R-2.5.1/modules//lapack.so':
  /home/tmp/portage/dev-lang/R-2.5.1/work/R-2.5.1/lib/libRlapack.so: undefined symbol: _gfortran_concat_string
Error in solve.default(rgb) : lapack routines cannot be loaded
Error: unable to load R code in package 'grDevices'
Execution halted
make[3]: *** [all] Error 1
make[3]: Leaving directory `/home/tmp/portage/dev-lang/R-2.5.1/work/R-2.5.1/src/library/grDevices'
make[2]: *** [R] Error 1
make[2]: Leaving directory `/home/tmp/portage/dev-lang/R-2.5.1/work/R-2.5.1/src/library'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/home/tmp/portage/dev-lang/R-2.5.1/work/R-2.5.1/src'
make: *** [R] Error 1
 * 
 * ERROR: dev-lang/R-2.5.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   R-2.5.1.ebuild, line 81:   Called die
 * 
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/tmp/portage/dev-lang/R-2.5.1/temp/build.log'.
 * 

 * Messages for package dev-lang/R-2.5.1:

 * 
 * ERROR: dev-lang/R-2.5.1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   R-2.5.1.ebuild, line 81:   Called die
 * 
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/tmp/portage/dev-lang/R-2.5.1/temp/build.log'.


[ebuild  N    ] dev-lang/R-2.5.1  USE="X gd jpeg nls png readline -blas -debug -lapack -tk" 0 kB
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-04 18:56:23 UTC
emerge --info please.
Comment 2 Roderick B. Greening 2007-09-04 18:58:12 UTC
Is it possible your gcc is compiled without fortran support? The output error makes it look like it require gcc fortran support to work.

I get this failed message in my output clearly telling me I need fortran, but I do not have it: 

 * Messages for package dev-lang/R-2.5.1:

 * None of the needed Fortran Compilers (gfortran g77 f2c) is installed.
 * To install one of these, choose one of the following steps:
 * [1] USE="fortran" emerge =sys-devel/gcc-4*
 * [2] USE="fortran" emerge =sys-devel/gcc-3*
 * [3] emerge dev-lang/f2c
 *
Comment 3 Priit Laes (IRC: plaes) 2007-09-04 19:03:59 UTC
Created attachment 130029 [details]
build.log
Comment 4 Priit Laes (IRC: plaes) 2007-09-04 19:05:18 UTC
plaes@sol /usr/portage/sci-mathematics $ emerge --info
Portage 2.1.3.7 (default-linux/amd64/2007.0/no-multilib, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 04 Sep 2007 14:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -ggdb -O2 -pipe"
DISTDIR="/home/tmp/distfiles"
FEATURES="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="et_EE.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /home/plaes/code/gentoo/local /home/plaes/code/gentoo/mozilla /home/plaes/code/gentoo/gnome /home/plaes/code/gentoo/jabber"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr apache2 avahi berkdb bitmap-fonts bogofilter boo branding bzip2 cairo cdr cli cracklib crypt cups daap dbus dga dri dvd dvdnav dvdr dvdread eds enblend encode exif ffmpeg flac fortran galago gcj gd gdbm gif gimp glitz gnome gstreamer gtk hal hdri iconv ipv6 isdnlog java jpeg kdrive keyring lcms libnotify mad midi mmx mmxext mp2 mp3 mpeg msn mudflap music ncurses network-cron nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pcre pdf perl plotutils png postscript pppd python quicktime readline reflection ruby sasl sdl session sift smp speex spl sse sse2 ssl startup-notification svg tcpd theora tiff tracker truetype truetype-fonts type1-fonts unicode vorbis xcb xinerama xml xorg xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-09-04 19:10:30 UTC
> LDFLAGS="-Wl,--as-needed"

This is your problem.

*** This bug has been marked as a duplicate of bug 176755 ***