Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193300 - sci-libs/netcdf-3.6.2 usually doesn't compile with MAKEOPTS="-j2"
Summary: sci-libs/netcdf-3.6.2 usually doesn't compile with MAKEOPTS="-j2"
Status: RESOLVED DUPLICATE of bug 187759
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-21 08:57 UTC by milan hodoscek
Modified: 2007-09-21 09:02 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 milan hodoscek 2007-09-21 08:57:16 UTC
netcdf usually doesn't compile with MAKEOPTS="-j2" because of a race condition in creating/using f90 .mod files. I guess putting -j 1 into ebuild would fix the problem. Alternatively it would be nice to have /etc/portage/package.env file with the line:
sci-libs/netcdf MAKEOPTS="-j1"

Using:

MAKEOPTS="-j1" emerge netcdf

works just fine!


Reproducible: Sometimes

Steps to Reproduce:
1.MAKEOPTS="-j2" emerge netcdf
2.
3.

Actual Results:  
 gfortran -I../libsrc -I. -g -O2 -c netcdf.f90  -fPIC -o .libs/netcdf.o
 In file netcdf.f90:38

                       FourByteReal, EightByteReal
                                                 1
Fatal Error: Can't open module file 'typesizes.mod' for reading at (1): No such file or directory
make[2]: *** [netcdf.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
Comment 1 milan hodoscek 2007-09-21 08:58:50 UTC
mp@s2:~$ emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sun, 16 Sep 2007 07: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-r4, 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.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
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="-O2 -pipe -march=x86-64"
CHOST="x86_64-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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=x86-64"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="C"
MAKEOPTS="-j2"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://a/portage"
USE="X a52 aac aalib acpi aiglx alsa amd64 amr amrnb amrr amrwb ansi applet berkdb bitmap-fonts bitmapfonts branding breakme bzip2 cairo cdparanoia cdr cjk cli clisp cracklib crypt css cups dar64 dbus dc1394 dpms dri dv dvd dvdr dvdread dvi eds emacs emboss emovix encode evo exif f77 faac faad ffmpeg firefox flac fontconfig foomaticdb fortran gcj gdbm gif gimp gimpprint gkrellm gnome gnuplot gpm grammar gstreamer gtk gtkhtml hal iconv imagemagick immqt-bc ipod ipv6 isdnlog java javascript jpeg jpeg2k kde lame lapack latex lcd lcms leim libgda libnotify mad mailbox math matroska mbox midi mikmod mng mozilla mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musepack musicbrainz nautilus ncurses nls nptl nptlonly nsplugin ogg oggvorbis old-crypt opengl openmp oss pam pcre pdf perl png pppd python qt-static qt3 qt3support qt4 quicktime rar readline reflection reiserfs rtc sdl session smp speex spell spl ssl svg t1lib tagwriting tcltk tcpd tetex tga theora thesaurus tiff tk totem transcode truetype truetype-fonts type1-fonts unicode usb vcd vorbis wmf wordperfect x264 xine 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-21 09:02:16 UTC

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