pkgsrc-Bugs archive

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

pkg/40600: pkgsrc fails to find nbsed on Solaris

>Number:         40600
>Category:       pkg
>Synopsis:       pkgsrc fails to find nbsed on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 10 13:15:00 +0000 2009
>Originator:     Rob Quinn
>Release:        pkgsrc, Solaris 10
Many of the pkgsrc tools fail to find nbsed unless I specify it in mk.conf.
This is a sample.  Another good one is "lintpkgsrc -i", which produces pages of 

#bmake fetch
pdksh: /bin/nbsed: not found
bmake: "../../mk/compiler/../../mk/compiler/" line 348: warning: "if 
/usr/pkg/sbin/pkg_info -K /var/db/pkg -qe gcc3-c; then                         
/usr/pkg/sbin/pkg_info -K /var/db/pkg -f gcc3-c |                       
/usr/xpg4/bin/grep "File:.*bin/gcc" |                            /bin/nbsed -e 
"s/.*File: *//;s/bin\/gcc.*//;q";                 else    case 
/usr/pkg/gcc3/bin/cc in                                             /usr/pkg/*) 
                                    subprefix="gcc3";  case "${subprefix}" in   
                             "")    echo "${subprefix}" ;;           *)     
echo "${subprefix}/" ;;           esac;                                         
  ;;                                      *)                                    
           echo "_GCC_SUBPREFIX_not_found/";               ;;                   
   esac;                                                    fi" returned 
non-zero status
/usr/pkgsrc/mk/flavor/pkg/list-dependencies[2]: /bin/nbsed:  not found

#grep nbsed /etc/mk.conf
TOOLS_PLATFORM.sed?=            /usr/pkg/bin/nbsed

It's possible some of my tools are out of date, I didn't find the fix until a 
few minutes ago.  I know my bmake and bootstrap-mk-files are up to date.  
pkg_install is out of date due to some other (?) bug.

Home | Main Index | Thread Index | Old Index