pkgsrc-Bugs archive

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

pkg/36020: do-install not setting PATH



>Number:         36020
>Category:       pkg
>Synopsis:       do-install not setting PATH
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 17 00:05:00 +0000 2007
>Originator:     reed%reedmedia.net@localhost
>Release:        NetBSD 3.99.24
>Organization:
  Jeremy C. Reed
>Environment:
        
        
System: NetBSD glacier.reedmedia.net 3.99.24 NetBSD 3.99.24 (JCR20060802) #0: 
Mon Sep 25 12:22:43 CDT 2006 
reed@new-host-8:/usr/src/sys/arch/i386/compile/JCR20060802 i386
Architecture: i386
Machine: i386
>Description:
Installing mail/uw-imap on ubuntu failed and my LOCALBASE is not part of 
my path.

See my extra debugging here. pkgsrc's PATH is defined by not set in the 
shell's environment.

...
n                                        include/c-client/*)                
src="/opt/pkgsrc/pkgsrc/mail/imap-uw/work/imap-2004g/c-client/`/usr/bin/base
name 
$entry`";       dest="/usr/pkg/$entry";                         
/usr/bin/install -c -o root -g root -m 444 $src $dest;                  
esac;                  done
echo PATH is 
/opt/pkgsrc/pkgsrc/mail/imap-uw/work/.wrapper/bin:/opt/pkgsrc/pkgsrc/mail/im
ap-uw/work/.buildlink/bin:/opt/pkgsrc/pkgsrc/mail/imap-uw/work/.tools/bin:/o
pt/pkgsrc/pkgsrc/mail/imap-uw/work/.gcc/bin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
PATH is 
/opt/pkgsrc/pkgsrc/mail/imap-uw/work/.wrapper/bin:/opt/pkgsrc/pkgsrc/mail/im
ap-uw/work/.buildlink/bin:/opt/pkgsrc/pkgsrc/mail/imap-uw/work/.tools/bin:/o
pt/pkgsrc/pkgsrc/mail/imap-uw/work/.gcc/bin:/usr/pkg/bin:/usr/local/sbin:/us
r/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
echo shell PATH is $PATH
shell PATH is 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:
/sbin:/usr/sbin:/sbin:/usr/sbin
libtool --mode=install /usr/bin/install -c -o root -g root -m 555 
/opt/pkgsrc/pkgsrc/mail/imap-uw/work/imap-2004g/c-client/libc-client.la 
/usr/pkg/lib
/bin/sh: libtool: not found
*** Error code 127

(I noticed this on March 9.)

>How-To-Repeat:
        
>Fix:
Make sure PATH includes the work/.*/bin directories during do-install target. 

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index