Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6363 - netcdf 3.5.0-r1 doesn't compile
Summary: netcdf 3.5.0-r1 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-12 08:32 UTC by Martin Holzer (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
the error log (netcdf.txt,10.46 KB, text/plain)
2002-08-12 08:33 UTC, Martin Holzer (RETIRED)
Details
Fixes build problem (netcdf-3.5.0-r1.ebuild.patch,235 bytes, patch)
2002-09-04 18:30 UTC, Chad Netzer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Holzer (RETIRED) gentoo-dev 2002-08-12 08:32:52 UTC
see the error message in the attachment
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-08-12 08:33:38 UTC
Created attachment 3017 [details]
the error log
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2002-08-21 08:32:24 UTC
i've found out, that when emerge starts make it doesn't do all in the LIBSRC 
dir (only attr.c)

udcreating fortran/nfconfig.inc
creating libsrc/ncconfig.h
make[1]: Entering directory `/var/tmp/portage/netcdf-3.5.0-r1/work/netcdf-
3.5.0/src'
make[1]: Entering directory `/var/tmp/portage/netcdf-3.5.0-r1/work/netcdf-
3.5.0/src'


Making `all' in directory /var/tmp/portage/netcdf-3.5.0-r1/work/netcdf-
3.5.0/src/libsrc

Making `all' in directory /var/tmp/portage/netcdf-3.5.0-r1/work/netcdf-
3.5.0/src/fortran

make[2]: Entering directory `/var/tmp/portage/netcdf-3.5.0-r1/work/netcdf-
3.5.0/src/libsrc'
cc -c -Df2cFortran -I.  -DNDEBUG -Df2cFortran attr.c
make[2]: Entering directory `/var/tmp/portage/netcdf-3.5.0-r1/work/netcdf-
3.5.0/src/fortran'
cc -c -Df2cFortran -I../libsrc  -DNDEBUG -Df2cFortran fort-attio.c
cc -c -Df2cFortran -I../libsrc  -DNDEBUG -Df2cFortran fort-control.c


when i start make manually it DOES all of libsrc !

make
make[1]: Entering directory `/tmp/netcdf-3.5.0/src'

Making `all' in directory /tmp/netcdf-3.5.0/src/libsrc

make[2]: Entering directory `/tmp/netcdf-3.5.0/src/libsrc'
cc -c -Df2cFortran -I.  -DNDEBUG attr.c
cc -c -Df2cFortran -I.  -DNDEBUG dim.c
cc -c -Df2cFortran -I.  -DNDEBUG error.c
cc -c -Df2cFortran -I.  -DNDEBUG -DVERSION=`cat ../VERSION` libvers.c
cc -c -Df2cFortran -I.  -DNDEBUG nc.c
cc -c -Df2cFortran -I.  -DNDEBUG ncio.c
cc -c -Df2cFortran -I.  -DNDEBUG ncx.c
cc -c -Df2cFortran -I.  -DNDEBUG putget.c
cc -c -Df2cFortran -I.  -DNDEBUG string.c
cc -c -Df2cFortran -I.  -DNDEBUG v1hpg.c
cc -c -Df2cFortran -I.  -DNDEBUG v2i.c
cc -c -Df2cFortran -I.  -DNDEBUG var.c
ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o 
string.o v1hpg.o v2i.o var.o
ranlib libnetcdf.a
make[2]: Leaving directory `/tmp/netcdf-3.5.0/src/libsrc'

Returning to directory /tmp/netcdf-3.5.0/src

make[1]: Leaving directory `/tmp/netcdf-3.5.0/src'
make[1]: Entering directory `/tmp/netcdf-3.5.0/src'

Making `all' in directory /tmp/netcdf-3.5.0/src/fortran

make[2]: Entering directory `/tmp/netcdf-3.5.0/src/fortran'
cc -c -Df2cFortran -I../libsrc  -DNDEBUG fort-attio.c
cc -c -Df2cFortran -I../libsrc  -DNDEBUG fort-control.c


Comment 3 Martin Holzer (RETIRED) gentoo-dev 2002-08-22 01:01:33 UTC
the Homepage is wrong in the ebuild
HOMEPAGE="http://www.unidaa.ucar.edu/packages/netcdf/"

missing on t in the unidata

http://www.unidata.ucar.edu/packages/netcdf/
Comment 4 Chad Netzer 2002-09-04 18:30:45 UTC
Created attachment 3661 [details, diff]
Fixes build problem

parallel make ("emake") is causing the problem; change to "make" in ebuild file
(or apply attached patch)
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2002-09-13 08:20:52 UTC
works fine

please change it in portage tree !!
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-14 23:52:13 UTC
thanks guys, changed in portage.