pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42499: devel/hdf build fails (libf2c requires MAIN__) (NetBSD 4.0 / i386)
>Number: 42499
>Category: pkg
>Synopsis: devel/hdf build fails (libf2c requires MAIN__) (NetBSD 4.0 /
>i386)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 23 07:35:00 +0000 2009
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 (pkgsrc current 2009-12-22)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
Build of devel/hdf (hdf-4.2r4) fails with an undefined reference
to MAIN__ from libf2c.so.0 (from libf2c-20090201nb2)
It has been that way for a couple of weeks now.
>How-To-Repeat:
I use pkg_comp with libkver and NetBSD 4.0 sets installed
(X11_TYPE=modular) I doubt any of that is relevant.
/bin/sh ../../libtool --tag=CC --mode=link cc -O2 -I/usr/pkg/include
-I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o
gif2hdf gif2hdf.o gif2mem.o gifread.o decompress.o writehdf.o ../src/libdf.la
-lsz -ljpeg -lz
libtool: link: cc -O2 -I/pkg_comp/obj/pkgsrc/devel/hdf/4x/.buildlink/include
-Wl,-R/usr/pkg/lib -o .libs/gif2hdf gif2hdf.o gif2mem.o gifread.o decompress.o
writehdf.o -L/pkg_comp/obj/pkgsrc/devel/hdf/4x/.buildlink/lib
../src/.libs/libdf.so /pkg_comp/obj/pkgsrc/devel/hdf/4x/.buildlink/lib/libsz.so
-lm /pkg_comp/obj/pkgsrc/devel/hdf/4x/.buildlink/lib/libjpeg.so -lz -Wl,-rpath
-Wl,/usr/pkg/lib -Wl,-rpath -Wl,/pkg_comp/obj/pkgsrc/devel/hdf/4x/.buildlink/lib
/usr/pkg/lib/libf2c.so.0: undefined reference to `MAIN__'
gmake[2]: *** [gif2hdf] Error 1
gmake[2]: Leaving directory
`/pkg_comp/obj/pkgsrc/devel/hdf/4x/HDF4.2r4/hdf/util'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/devel/hdf/4x/HDF4.2r4/hdf'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/devel/hdf
*** Error code 1
Stop.
>Fix:
I recall discussion about removing the MAIN__ symbol/requirement,
it looks as if something hasn't quite been completed
Home |
Main Index |
Thread Index |
Old Index