NetBSD-Bugs archive

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

install/48994: pkgsrc bootstrap broken on current OS/X [10.9 w clang compiler] when using a tarball, instructions at



>Number:         48994
>Category:       install
>Synopsis:       pkgsrc bootstrap broken on current OS/X [10.9 w clang 
>compiler] when using a tarball, instructions at
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 15 14:05:00 +0000 2014
>Originator:     R P Herrold
>Release:        Tpkgsrc-2014Q2
>Organization:
self
>Environment:
mini2013:pkgsrc herrold$ uname -a
Darwin mini2013.first.owlriver.net 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 
 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
mini2013:pkgsrc herrold$
>Description:
and URL instruct6ions at:
  http://www.netbsd.org/docs/software/packages.html

Discussed in IRC channel 

seems to need (and should auto-detect) when in this environment:

  
--compiler=clang
as noted in a comment in the wiki for this arch:

http://wiki.netbsd.org/pkgsrc/pkgsrc_64bit_osx/
>How-To-Repeat:
issue 1:

a bare:

cd pkgsrc/bootstrap/
./bootstrap --unprivileged

will fail

=====

issue 2 (insufficient in package documentation)

the bootstrap cleanup instructions suggest removing 

rm -rf 
~/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20140516

but miss the need to also remove:

rm -rf ~/pkg/

=========

issue 3 (RFE)

detection, early on that one is running as non-root, should also add the:
   --unprivileged

option to the bootstrap


>Fix:
issue 1 is web presence, and I do not know the fix

issue 2 is a simple check for euid, and turning on the 
   --unprivileged
option

as to issue 3, suggesting the:
    rm -rf find ~ . -name bootstrap-mk-files-20140516

(obviously, substituting date +%Y%m%d changes)



Home | Main Index | Thread Index | Old Index