Subject: pkg/24828: sawfish doesn't build, missing expat (patch included)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <netbsd-install@home.nl>
List: netbsd-bugs
Date: 03/17/2004 16:46:36
>Number: 24828
>Category: pkg
>Synopsis: sawfish doesn't build, missing expat (patch included)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 17 16:47:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Noud de Brouwer
>Release: 1.6ZK
>Organization:
none
>Environment:
NetBSD 192.168.66.11 1.6ZK NetBSD 1.6ZK (ME_LAPTOP) #0: Thu Feb 26 21:32:27 CET 2004 root@192.168.66.11:/usr/src/sys/arch/i386/compile/ME_LAPTOP i386
>Description:
gcc -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -o sawfish colors.o cursors.o display.o events.o fonts.o frames.o functions.o images.o keys.o main.o multihead.o pixmap-cache.o property-cache.o server.o session.o stacking-list.o windows.o -Wl,--rpath -Wl,/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -Wl,--export-dynamic -L/usr/pkg/lib -L/usr/X11R6/lib /usr/pkg/lib/librep.so -lgmp /usr/pkg/lib/libintl.so -lc -lcrypt /usr/pkg/lib/libgmp.so /usr/X11R6/lib/libImlib.so -ltiff -lungif -lpng -lintl /usr/pkg/lib/libtiff.so -ljpeg /usr/pkg/lib/libjpeg.so /usr/pkg/lib/libungif.so /usr/pkg/lib/libpng.so /usr/pkg/lib/libz.so -lm -lSM -lICE -lXinerama /usr/pkg/lib/libXft.so -lfontconfig -lexpat -lfreetype -lz -lXrender /usr/pkg/lib/libXrender.so -lX11 -lXext -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/X11R6/lib
/usr/pkgsrc/wm/sawfish/work/.buildlink/lib/librep.so: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
ld: cannot find -lexpat
gmake[1]: *** [sawfish] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/wm/sawfish/work/sawfish-1.2-gtk1/src'
gmake: *** [all] Error 1
*** Error code 2
Stop.
>How-To-Repeat:
clean install + current pkgsrc
cd /usr/pkgsrc/wm/sawfish; make
>Fix:
--- Makefile 2004-03-17 17:41:55.000000000 +0100
+++ Makefile.new 2004-03-17 17:41:55.000000000 +0100
@@ -26,4 +26,5 @@
${INSTALL_DATA_DIR} ${PREFIX}/share/sawfish/sounds
${TOUCH} ${PREFIX}/share/sawfish/sounds/.directory
+.include "../../textproc/expat/buildlink2.mk"
.include "../../wm/sawfish/Makefile.common"
>Release-Note:
>Audit-Trail:
>Unformatted: