Subject: Re: infrastructure change: PLIST files not rebuilt
To: None <tech-pkg@netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: tech-pkg
Date: 06/04/2007 10:06:06
On Monday 04 June 2007, Mark Davies wrote:
> This might be part of the same infrastructure change, or just
> separately broken, but installing kdenetwork3 on Solaris10 now
> fails with:
[...]
> /bin/sh: bad substitution
> *** Error code 1
>
> Stop.
> bmake: stopped in /src/work/pkgsrc/net/kdenetwork3
> *** Error code 1
Seems to be in the mk/flavor/pkg/metadata.mk changes of a few days
ago:
[...]
+ /usr/pkg/bin/nawk /.*\.so\.[0-9\.]+$/ { print "/usr/pkg/"
$0 } /src/work/pkgsrc/net/kdenetwork3/work.debretts/.P
LIST_nokeywords
linklibs=/usr/pkg/lib/libkopete.so.1
/usr/pkg/lib/libkopete.so.1.0.0
/usr/pkg/lib/libkopete_msn_shared.so.0
/usr/pkg/lib/libkopete_msn_shared.so.0.0.0
/usr/pkg/lib/libkopete_oscar.so.2
/usr/pkg/lib/libkopete_oscar.so.2.0.0
/usr/pkg/lib/libkopete_videodevice.so.0
/usr/pkg/lib/libkopete_videodevice.so.0.0.0
/usr/pkg/lib/librss.so.1
/usr/pkg/lib/librss.so.1.0.0
+
test -r /usr/pkg/lib/libkopete.so.1 -a ! -x /usr/pkg/lib/libkopete.so.1 -a ! -h /usr/pkg/lib/libkopete.so.1
+
test -r /usr/pkg/lib/libkopete.so.1.0.0 -a ! -x /usr/pkg/lib/libkopete.so.1.0.0 -a ! -h /usr/pkg/lib/libkopete.s
o.1.0.0
+
test -r /usr/pkg/lib/libkopete_msn_shared.so.0 -a ! -x /usr/pkg/lib/libkopete_msn_shared.so.0 -a ! -h /usr/pkg/l
ib/libkopete_msn_shared.so.0
+
test -r /usr/pkg/lib/libkopete_msn_shared.so.0.0.0 -a ! -x /usr/pkg/lib/libkopete_msn_shared.so.0.0.0 -a ! -h /u
sr/pkg/lib/libkopete_msn_shared.so.0.0.0
+
test -r /usr/pkg/lib/libkopete_oscar.so.2 -a ! -x /usr/pkg/lib/libkopete_oscar.so.2 -a ! -h /usr/pkg/lib/libkope
te_oscar.so.2
+
test -r /usr/pkg/lib/libkopete_oscar.so.2.0.0 -a ! -x /usr/pkg/lib/libkopete_oscar.so.2.0.0 -a ! -h /usr/pkg/lib
/libkopete_oscar.so.2.0.0
+
test -r /usr/pkg/lib/libkopete_videodevice.so.0 -a ! -x /usr/pkg/lib/libkopete_videodevice.so.0 -a ! -h /usr/pkg
/lib/libkopete_videodevice.so.0
+
test -r /usr/pkg/lib/libkopete_videodevice.so.0.0.0 -a ! -x /usr/pkg/lib/libkopete_videodevice.so.0.0.0 -a ! -h
/usr/pkg/lib/libkopete_videodevice.so.0.0.0
+
test -r /usr/pkg/lib/librss.so.1 -a ! -x /usr/pkg/lib/librss.so.1 -a ! -h /usr/pkg/lib/librss.so.1
+
test -r /usr/pkg/lib/librss.so.1.0.0 -a ! -x /usr/pkg/lib/librss.so.1.0.0 -a ! -h /usr/pkg/lib/librss.so.1.0.0
+ test !=
+ continue
+ test /usr/pkg/lib/libkopete.so.1 !=
/bin/sh: bad substitution
*** Error code 1
cheers
mark