Subject: pkg/14122: more ld problems in pkgsrc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dive@endersgame.net>
List: netbsd-bugs
Date: 10/02/2001 05:19:53
>Number: 14122
>Category: pkg
>Synopsis: many things in pkgsrc won't link
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 01 22:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 20011001
>Organization:
>Environment:
PIII Celeron 533MHz, 128MB ram, 19GB disk
System: NetBSD eros.endersgame.net 1.5Y NetBSD 1.5Y (EROS) #153: Mon Oct 1 06:44:36 EDT 2001 dive@eros.endersgame.net:/current/src/sys/arch/i386/compile/EROS i386
Architecture: i386
Machine: i386
>Description:
Several packages that I have tried to build (I was running pkg_chk
-u, to update my packages) have failed, with pretty much the same thing,
related to ld.
cc -o oxdvi.bin -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib xdvi.o dvi-draw.o dvi-init.o events.o font-open.o gf.o pk.o
psdps.o psgs.o psheader.o psnews.o special.o util.o vf.o sfDir.o sfDraw.o
sfPath.o sfSelFile.o hypertex.o mime.o wwwfetch.o alloca.o -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwinit -lwwwapp
-lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp
-lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore
-lwwwutils -lmd5 -lz -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext
-lX11 -lz ../kpathsea/STATIC/libkpathsea.a -lm
/usr/pkg/lib/libwwwcore.so: warning: tmpnam() possibly used unsafely, use
mkstemp() or mkdtemp()
xdvi.o: In function
ake_temporary_dir':
xdvi.o(.text+0x836): warning: tempnam() possibly used unsafely, use
mkstemp() or mkdtemp()
/usr/bin/ld: warning: libXpm.so.4, needed by /usr/X11R6/lib/libXaw.so, not
found (try using -rpath or -rpath-link)
/usr/X11R6/lib/libXaw.so: undefined reference to mReadFileToPixmap'
collect2: ld returned 1 exit status
gmake[2]: *** [oxdvi.bin] Error 1
gmake[2]: Leaving directory
/usr/build/obj.pkgsrc.i386/print/teTeX-bin/work.i386/teTeX-1.0/texk/oxdvik'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory
/usr/build/obj.pkgsrc.i386/print/teTeX-bin/work.i386/teTeX-1.0/texk'
gmake: *** [all] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/print/teTeX-bin
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/teTeX-bin
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/teTeX-bin
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/teTeX-bin
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/teTeX
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/teTeX
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/teTeX
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/teTeX
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/lyx
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/lyx
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/lyx
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/perl5
... and ...
install -c -o root -g wheel -m 444 ./gtk-events.soundlist
/usr/X11R6/etc/sound/events/gtk-events.soundlist
../libgnome/gnome-gen-mimedb /usr/X11R6/etc/mime-magic
Shared object "libglib.so.13" not found
gmake[2]: *** [install-data-local] Error 1
gmake[2]: Leaving directory
/usr/build/obj.pkgsrc.i386/x11/gnome-libs/work.i386/gnome-libs-1.4.1.2/gnome-data'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory
/usr/build/obj.pkgsrc.i386/x11/gnome-libs/work.i386/gnome-libs-1.4.1.2/gnome-data'
gmake: *** [install-recursive] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/x11/gnome-libs
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/gnome-libs
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/gnome-libs
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/gnome-libs
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/gnome-libs
Hence, I'm left with lots of packages missing, since it was running make
update and deinstalled packages that depend on these
>How-To-Repeat:
cd /usr/pkgsrc/print/teTeX-bin && make update
or
cd /usr/pkgsrc/x11/gnome-libs && make update
(or many other packages...)
>Fix:
fix ld?
>Release-Note:
>Audit-Trail:
>Unformatted: