Subject: pkg/13193: x11/wmavgload forces install into X11BASE with xpkgwedge
To: None <gnats-bugs@gnats.netbsd.org>
From: None <John.P.Darrow@wheaton.edu>
List: netbsd-bugs
Date: 06/13/2001 15:04:12
>Number: 13193
>Category: pkg
>Synopsis: x11/wmavgload forces install into X11BASE with xpkgwedge
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 13 13:02:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: John Darrow
>Release: NetBSD/i386 1.5.1_BETA2 20010602; pkgsrc 20010607
>Organization:
Computing Services, Wheaton College, Wheaton, IL
>Environment:
NetBSD rebekah.wheaton.edu 1.5.1_BETA2 NetBSD 1.5.1_BETA2 (REBEKAH) #0: Thu Jun 7 06:19:18 CDT 2001 jdarrow@michal.wheaton.edu:/var/src/sys/arch/i386/compile/REBEKAH i386
>Description:
Package x11/wmavgload tries to force its install into X11BASE, even
when xpkgwedge is installed.
From bulk build:
[...]
gcc -o wmavgload -O2 -L/usr/pkg/lib -L/usr/X11R6/lib get_load.o wmavgload.o
-lXpm -lm -lXext -lX11 -L/usr/X11R6/lib -Wl,-rpath,/usr/pkg/lib:/usr/X11R6/
lib -Wl,-rpath,/usr/X11R6/lib
no man page. see wmavgload -h instead or write one :)
your complation is still successful
===> Installing for wmavgload-0.7.0
install -c -s -m 0555 -o root -g wheel wmavgload /usr/X11R6/bin/wmavgload
install in . done
ls: /usr/pkg/bin/wmavgload: No such file or directory
===> Registering installation for wmavgload-0.7.0
pkg_create: can't stat `/usr/pkg/bin/wmavgload'
wmavgload-0.7.0 requires installed package xpm-3.4k
===> Building binary package for wmavgload-0.7.0
pkg_create: can't stat `/usr/pkg/bin/wmavgload'
tar: can't add file bin/wmavgload : No such file or directory
pkg_create: tar command failed with code 256
Creating package /nsource/packages/i386/1.5/All/wmavgload-0.7.0.tgz
Registering depends: xpm-3.4k.
Using SrcDir value of /usr/pkg
Creating gzip'd tar ball in '/nsource/packages/i386/1.5/All/wmavgload-0.7.0.tgz'
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
BULK> wmavgload-0.7.0 was marked as broken:
-rw-r--r-- 1 root wheel 3173 Jun 7 14:07 .broken
>How-To-Repeat:
( cd x11/wmavgload && make install ) with xpkgwedge installed
>Fix:
Replace patch-aa with the following:
$NetBSD: patch-aa,v 1.1.1.1 1999/11/11 16:11:26 ad Exp $
--- Imakefile.orig Mon Sep 28 23:06:35 1998
+++ Imakefile Thu Nov 11 16:07:02 1999
@@ -1,8 +1,8 @@
/* installation directory is the combination of $(DESTDIR) and $(BINDIR)*/
-DESTDIR = /usr/X11R6
+DESTDIR = ${PREFIX}
BINDIR = /bin
-XPMLIB = -L/usr/lib/X11 -L/opt/X11_Contrib/lib/sparc -lXpm -lm
+XPMLIB = -lXpm -lm
DEPLIBS = $(DEPXLIB)
/* -lrpcsvc is required on SPARC or HP-UX */
@@ -10,7 +10,7 @@
LINTLIBS = $(LINTXLIB)
-EXTRA_INCLUDES = -I/opt/X11_Contrib/include
+EXTRA_INCLUDES =
EXTRA_DEFINES = -DMANY_COLORS
>Release-Note:
>Audit-Trail:
>Unformatted: