Subject: pkg/28784: math/py-Scientific breaks on compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 12/26/2004 14:30:00
>Number:         28784
>Category:       pkg
>Synopsis:       math/py-Scientific breaks on compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 26 14:30:00 +0000 2004
>Originator:     diro@nixsys.bz
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

creating build/lib.netbsd-1.6.2-alpha-2.3/Scientific/netbsd1
cc -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/python2.3/config -Wl,-R/usr/pkg/lib/python2.3/config -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include/python2.3 -I/usr/pkg/include -I/usr/pkg/include/python2.3 build/temp.netbsd-1.6.2-alpha-2.3/Src/Scientific_netcdf.o -L/usr/pkg/lib -R/usr/pkg/lib -lnetcdf -o build/lib.netbsd-1.6.2-alpha-2.3/Scientific/netbsd1/Scientific_netcdf.so -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/python2.3/config -Wl,-R/usr/pkg/lib/python2.3/config
=> Unwrapping files-to-be-installed.
cmd =  mpicc  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/python2.3/config -Wl,-R/usr/pkg/lib/python2.3/config -Wl,--export-dynamic -o mpipython -I../../Include -O2 -mieee -I/usr/pkg/include -I/usr/pkg/include/python2.3 -I/usr/pkg/include/python2.3 mpipython.c Scientific_mpi.c -L/usr/pkg/lib/python2.3/config -lmpich -lpython2.3 -ldl  -lutil -lm
gcc: -R/usr/pkg/lib: linker input file unused since linking not done
gcc: -R/usr/pkg/lib/python2.3/config: linker input file unused since linking not done
gcc: --export-dynamic: linker input file unused since linking not done
/usr/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status

>How-To-Repeat:
	This package first broke on a `make update' of python-23 with a different error. Couldn't find some file or something (lost the error message). Upon making clean in math/py-Scientific and rebuilding, the above error was generated.
>Fix: