Subject: Re: Zoularis/Solaris 9
To: None <tech-pkg@NetBSD.ORG>
From: MLH <MLH@goathill.org>
List: tech-pkg
Date: 12/14/2002 00:42:22
On 13 Dec 2002 18:30:00 -0600, Jonathan Perkin wrote:
> 
> That was me :-)  I'm not sure what exactly I did to fix it, but I'm
> thinking it may have been something $path related, as Sun cc for me
> isn't in my regular path and I had to add it.  Set PKG_DEBUG_LEVEL to 2
> and see which file it is actually trying to link.
> 
> All works fine now for me, and it wasn't a broken cvs checkout from what
> I could see.

+ /usr/bin/true Linking wrapper:
/usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/cc 
set -x;/usr/bin/mkdir -p /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin
+ /usr/bin/mkdir -p /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin 
set -x;/usr/bin/ln -f /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/
/usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/cc
+ /usr/bin/ln -f /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/
/usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/cc 
ln: /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin is a directory
*** Error code 2

$ /bin/ln -f /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/
/usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/cc
ln: /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin is a directory

$ /usr/bin/ln -f /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/
/usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin/cc
ln: /usr/pkgsrc/pkgtools/xpkgwedge/work/.buildlink/bin is a directory

Those are the only ln's I could find in the system and cmp claims
they are the same binary.