Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155511 - sci-libs/netcdf-3.6.1-r1 compile errors when fortran use flag is not set
Summary: sci-libs/netcdf-3.6.1-r1 compile errors when fortran use flag is not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: STABLEREQ
: 155512 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-17 11:37 UTC by Patrick De Pinguin
Modified: 2008-01-06 15:56 UTC (History)
0 users

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 Patrick De Pinguin 2006-11-17 11:37:55 UTC
I'm getting compile errors when emerging netcdf when the fortran use flag is not set. When I set it, the errors disappear. 
I believe the fortran flag should be mandatory then, and when emerging without it there should appear a warning...


Error:
In file included from ncfortran.h:13,
                 from fort-attio.c:6:
cfortran.h:138:3: error: #error "cfortran.h:  Can't find your environment among:    - MIPS cc and f77 2.0. (e.g. Silicon Graphics, DECstations, ...)         - IBM AIX XL C and FORTRAN Compiler/6000 Version 01.01.0000.0000         - VAX   VMS CC 3.1 and FORTRAN 5.4.                                      - Alpha VMS DEC C 1.3 and DEC FORTRAN 6.0.                               - Alpha OSF DEC C and DEC Fortran for OSF/1 AXP Version 1.2              - Apollo DomainOS 10.2 (sys5.3) with f77 10.7 and cc 6.7.                - CRAY                                                                   - NEC SX-4 SUPER-UX                                                      - CONVEX                                                                 - Sun                                                                    - PowerStation Fortran with Visual C++                                   - HP9000s300/s700/s800 Latest test with: HP-UX A.08.07 A 9000/730        - LynxOS: cc or gcc with f2c.                                            - VAXUltrix: vcc,cc or gcc with f2c. gcc or cc with f77.                 -            f77 with vcc works; but missing link magic for f77 I/O.     -            NO fort. None of gcc, cc or vcc generate required names.    - f2c    : Use #define    f2cFortran, or cc -Df2cFortran                 - NAG f90: Use #define NAGf90Fortran, or cc -DNAGf90Fortran              - Absoft UNIX F77: Use #define AbsoftUNIXFortran or cc -DAbsoftUNIXFortran     - Absoft Pro Fortran: Use #define AbsoftProFortran     - Portland Group Fortran: Use #define pgiFortran     - PathScale Fortran: Use #define PATHSCALE_COMPILER"
make[2]: *** [fort-attio.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/netcdf-3.6.1-r1/work/netcdf-3.6.1/src/fortran'
make[1]: *** [subdir_target] Error 1
make[1]: Leaving directory `/var/tmp/portage/netcdf-3.6.1-r1/work/netcdf-3.6.1/src'
make: *** [fortran/all] Error 2

!!! ERROR: sci-libs/netcdf-3.6.1-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  netcdf-3.6.1-r1.ebuild, line 45:   Called die




emerge --info:

Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-skype-gcc4 i686)
=================================================================
System uname: 2.6.18-skype-gcc4 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 14 Nov 2006 18:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://ftp.belnet.be/gentoo-portage"
USE="x86 X aac acl acpi alsa bash-completion berkdb bzip2 cdparanoia cdr cpudetection cracklib crypt css cups dbus dri dvd dvdr dvdread elibc_glibc emacs encode exif expat fbsplash ffmpeg firefox flac flash ftp gd gif gimpprint glitz glut gphoto2 gpm gtk gtk2 hal imap imlib input_devices_keyboard input_devices_mouse input_devices_synaptics jabber java jpeg jpeg2k kde kernel_linux mad mikmod mp3 mpeg mplayer msn musicbrainz ncurses nls nptl ogg opengl pdf perl png print qt3 qt4 quicktime readline real rtc samba sdl smp sql sse sse2 ssl subtitles subversion svg tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis win32codecs wmf xorg xpm xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-17 13:52:54 UTC
*** Bug 155512 has been marked as a duplicate of this bug. ***
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-04-30 04:03:11 UTC
Hi Patrick,

My apologies for the late reply. Could you please give netcdf-3.6.2 a try.
I believe this problem should be fixed with this version.

Thanks,
Markus
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2007-12-05 23:23:23 UTC
(In reply to comment #2)
> My apologies for the late reply. Could you please give netcdf-3.6.2 a try.
> I believe this problem should be fixed with this version.

I saw the same error and 3.6.2 indeed fixes this problem. Could we get it keyworded stable?
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2008-01-06 15:56:03 UTC
Closing this bug. netcsf-3.6.2 is stable and fixes the problem.