pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36991: pkgfind hardcodes pkgsrc path



>Number:         36991
>Category:       pkg
>Synopsis:       pkgfind hardcodes pkgsrc path
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 15 09:05:00 +0000 2007
>Originator:     Jan Danielsson
>Release:        NetBSD/amd64 4.0 RC1
>Organization:
Confuse A Cat Inc.
>Environment:
NetBSD nl102-238-202.student.uu.se 4.0_RC1 NetBSD 4.0_RC1 (ANCABOOT) #0: Thu 
Sep 13 22:40:06 CEST 2007  
jan%nl102-238-202.student.uu.se@localhost:/home/jan/netbsd4/anca/obj.amd64/usr/src/sys/arch/amd64/compile/ANCABOOT
 amd64

>Description:
I have pkgsrc in /home/pkgsrc/pkgsrc, but I build binary packages in a pkg_comp 
chroot. I installed pkgfind (pkgtools/pkgfind) from my binary package built 
inside pkg_comp. The results are:

$ pkgfind wmnet
pkgfind: /usr/pkgsrc: No such file or directory

Isn't there a better way to determine where pkgsrc is during runtime?

>How-To-Repeat:
Build pkgfind binary package in a chroot with a different pkgsrc path than 
outside the chroot. Install the binary package outside the chroot. Try to use 
the newly installed pkgfind.

>Fix:
None.




Home | Main Index | Thread Index | Old Index