Subject: pkg/32293: wm/wmdrawer Build problems on Solaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jakerosoft@gmail.com>
List: pkgsrc-bugs
Date: 12/13/2005 13:55:00
>Number: 32293
>Category: pkg
>Synopsis: wm/wmdrawer Build problems on Solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 13 13:55:00 +0000 2005
>Originator: Jake Kupersmith
>Release: pkgsrc
>Organization:
>Environment:
SunOS 5.10 Generic sun4u sparc SUNW,Sun-Blade-100
>Description:
2 Problems installing wm/wmdrawer:
hashes stored in distinfo were incorrect.
wmdrawer was not being linked with Solaris' realtime library correctly.
>How-To-Repeat:
# bmake
...
gcc `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib -o wmdrawer utils.o config.o graphics.o images.o wmdrawer.o
Undefined first referenced
symbol in file
nanosleep wmdrawer.o
ld: fatal: Symbol referencing errors. No output written to wmdrawer
>Fix:
--- distinfo 23 Feb 2005 18:43:56 -0000 1.2
+++ distinfo 13 Dec 2005 13:34:42 -0000
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2005/02/23 18:43:56 wiz Exp $
-SHA1 (wmdrawer-0.10.5.tar.gz) = ee3a7dc01fc30fddce0a4618b061e1e5cc8e4570
-RMD160 (wmdrawer-0.10.5.tar.gz) = 5631a658997bdcb97c0435b1dcf14ca8030f2dc3
-Size (wmdrawer-0.10.5.tar.gz) = 49413 bytes
+SHA1 (wmdrawer-0.10.5.tar.gz) = b89c26d8bc2d4ed71eaf972e6e4099d8ba264f79
+RMD160 (wmdrawer-0.10.5.tar.gz) = afbd0ee3025851cda3db1d25041a5c91ea4795a6
+Size (wmdrawer-0.10.5.tar.gz) = 49479 bytes
--- work/wmdrawer-0.10.5/Makefile.orig Mon Dec 12 22:31:28 2005
+++ work/wmdrawer-0.10.5/Makefile Mon Dec 12 22:29:51 2005
@@ -25,7 +25,7 @@
ifdef USE_GDKPIXBUF
IMGLIB_DEF = -DUSE_GDKPIXBUF
CFLAGS = -O3 -Wall `gdk-pixbuf-config --cflags`
-LDFLAGS = `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib
+LDFLAGS = `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib -lrt
endif
ifdef USE_GDKPIXBUF2