Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56616 - R ebuild should depend on f2c (or f77 compiler) on x86, but doesn't - and so doesn't merge. After merging f2c the R ebuild installs fluently.
Summary: R ebuild should depend on f2c (or f77 compiler) on x86, but doesn't - and so ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 68258 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-10 09:46 UTC by Dominik Joe Pantůček
Modified: 2004-10-20 05:31 UTC (History)
1 user (show)

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 Dominik Joe Pantůček 2004-07-10 09:46:09 UTC
When I try to emerge R (dev-lang/R) without prior emerging f2c, it fails during ./configure stage with error message complaining about missing f77 compiler / f2c.  I took a look into R-1.8.1.ebuild and found, that on x86 platform it doesn't depend on neither f77 compiler nor f2c.

Reproducible: Always
Steps to Reproduce:
1. emerge unmerge f2c # To make sure it isn't there ;-)
2. emerge R # Takes quite a long and needs a LOT of memory - and fails...

Actual Results:  
R ebuild failed during ./configure stage

Expected Results:  
Merge R :)

/usr/portage> emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7
-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 i686 Mobile Intel(R) Celeron(TM) CPU         1333M
Hz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2
/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups directfb emac
s emacs-w3 encode esd fam fbcon flac foomaticdb gdbm gif gnome gnutls gphoto2 gp
m gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 jabber jack java jpeg ldap 
libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls oggvor
bis opengl oss pam pcmcia pdflib perl png pnp python quicktime readline ruby sdl
 slang spell sse ssl svg svga tcpd theora truetype unicode usb x86 xml2 xmms xv 
zlib"

/usr/portage>
Comment 1 Colin Macdonald 2004-07-10 22:53:56 UTC
This looks like its fixed in the 1.9.0 and 1.9.0-r1 ebuilds which are in ~x86.  The fix uses pkg_setup() to check for g77 or f2c, you could probably add the following to the 1.8.1 and call it 1.8.1-r1:

pkg_setup() {
      if ! which g77 &>/dev/null && ! which f2c &>/dev/null; then
                 eerror "g77 and f2c not found. Maybe the f77 USE flag was not set when"
                 eerror "you emerged gcc - you could also install f2c"
            die "need g77 or f2c ."
      fi
}
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-07-11 10:51:57 UTC
In CVS now, thanks!
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-20 05:31:18 UTC
*** Bug 68258 has been marked as a duplicate of this bug. ***