Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182211 - sci-visualization/xd3d-8.2.1 fails because of missing g77
Summary: sci-visualization/xd3d-8.2.1 fails because of missing g77
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 10:58 UTC by Matthias Langer
Modified: 2009-12-04 19:06 UTC (History)
0 users

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


Attachments
xd3d-8.2.1-gfortran.patch (xd3d-8.2.1-gfortran.patch,296 bytes, patch)
2007-06-16 11:25 UTC, Matthias Langer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Langer 2007-06-16 10:58:38 UTC
when trying to merge 

sci-visualization/xd3d-8.2.1  USE="-icc"

i get:

"
!!! ERROR: sci-visualization/xd3d-8.2.1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  xd3d-8.2.1.ebuild, line 34:   Called die

!!! No GNU Fortran compiler found!
!!! If you need support, post the topmost build error, and the call stack if relevant.
"

indeed, i don't have g77 as requested by the ebuild as i'm using gcc-4.1.2 and therefore have gfortran. just removing/modifying the line that causes the problem in the ebuild does not help, as "g77" seems to be hard-coded into the makefiles.

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 14 Jun 2007 18:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/var/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa avahi beagle berkdb bitmap-fonts bzip2 cairo caps cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif gimp gnome gpm gstreamer gtk hal iconv icu ipv6 isdnlog java jpeg jpeg2k lcms ldap libg++ mad matroska midi mikmod mmx mmxext mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plotutils png pppd python qt3support quicktime readline real reflection ruby sdl session spell spl sse ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs x86 xattr xml xorg xv xvid zlib" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matthias Langer 2007-06-16 11:25:39 UTC
Created attachment 122222 [details, diff]
xd3d-8.2.1-gfortran.patch

well, i tried to figure out if that gfortran-g77 thingie is the only problem of the package by using the attached patch and a modified ebuild; unfortunately it is not:

"
[...]
>>> Source compiled.
>>> Test phase [not enabled]: sci-visualization/xd3d-8.2.1-r1

>>> Install xd3d-8.2.1-r1 into /var/tmp/portage/sci-visualization/xd3d-8.2.1-r1/image/ category sci-visualization
[...]
ACCESS DENIED  open_wr:   /usr/local/bin/clair
/bin/cp: cannot create regular file `/usr/local/bin/clair': Permission denied
ACCESS DENIED  open_wr:   /usr/local/bin/clairc3d
[...]
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sci-visualization_-_xd3d-8.2.1-r1-18200.log"

open_wr:   /usr/local/bin/clair
open_wr:   /usr/local/bin/clairc3d
open_wr:   /usr/local/bin/create_c3d
open_wr:   /usr/local/bin/nopo_avoir
open_wr:   /usr/local/bin/obscur
open_wr:   /usr/local/bin/obscurc3d
open_wr:   /usr/local/bin/tradavoir
open_wr:   /usr/local/bin/translation
open_wr:   /usr/local/bin/txt2avoir
open_wr:   /usr/local/bin/xd3d
open_wr:   /usr/local/bin/xgraphic
open_wr:   /usr/local/bin/infps
--------------------------------------------------------------------------------
"

so, as there seems to be almost no interest in this ebuild (the bug i filed must have existed for quite some time) and fixing it may be some work, i would suggest to just remove it from the tree. (see also bug 155856)
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-06-16 14:30:47 UTC
Hi Matthias,

Thank you very much for your patch! I will try to have look at xd3d once
I find some time. However, since the package hasn't been updated
since 2005 there might other issues lurking; I'll see if it makes sense
to keep it in the tree without having to do too much maintenance.

Best,
Markus 
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-12-04 19:06:39 UTC
fixed a while ago