pkgsrc-Bugs archive

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

pkg/30573: pkgsrc bootstrap fails on Mac OS X



>Number:         30573
>Category:       pkg
>Synopsis:       pkgsrc bootstrap fails on Mac OS X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 21 21:18:00 +0000 2005
>Originator:     Frank van der Linden
>Release:        Mac OS X 10.4.1 (Darwin 8.1.0), pkgsrc 2005-06-20
>Organization:
NetBSD
>Environment:
Darwin frank-van-der-lindens-powerbook-g4-15.local 8.1.0 Darwin Kernel Version 
8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power 
Macintosh powerpc

>Description:
pkgsrc fails to bootstrap on Mac OS X 10.4.1 (Darwin 8.1.0) with pkgsrc as of 
2005-06-20.

pkgsrc was checked out onto a 16G UFS disk image, mounted, as suggested by the 
documentation, on /Volumes/NetBSD. I ran the bootstrap command as suggested in 
README.Darwin:

./bootstrap --prefix /Volumes/NetBSD/pkg --pkgdbdir /Volumes/NetBSD/pkgdb

It ran for a while, and then failed to compile libedit. Last lines of the 
output:

( cd libedit; make )
sh makelist -h ./common.c > common.h
sh makelist -h ./emacs.c > emacs.h
sh makelist -h ./vi.c > vi.h
sh makelist -fh vi.h emacs.h common.h > fcns.h
sh makelist -fc vi.h emacs.h common.h > fcns.c
sh makelist -bc ./vi.c ./emacs.c ./common.c > help.c
sh makelist -bh ./vi.c ./emacs.c ./common.c > help.h
gcc -g -O2 -I. -I./.. -I. -I.. -I./../libedit  -I./../libnetbsd  -c chared.c
In file included from chared.c:36:
./../tnftp.h:316: error: conflicting types for 'dirname'
/usr/include/libgen.h:39: error: previous declaration of 'dirname' was here
make[1]: *** [chared.o] Error 1
make: *** [libedit.a] Error 2
===> exited with status 2
aborted.

>How-To-Repeat:
Try to set up pkgsrc as described above.

>Fix:
Unknown.




Home | Main Index | Thread Index | Old Index