pkgsrc-Bugs archive

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

Re: pkg/30573: pkgsrc bootstrap fails on Mac OS X



fvdl%netbsd.org@localhost wrote:

>> Number:         30573
[snip]
>> Description:
> pkgsrc fails to bootstrap on Mac OS X 10.4.1 (Darwin 8.1.0) with
> pkgsrc as of 2005-06-20.
[snip]
> ( 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.

"Me too"

Bootstrapping pkgsrc fails with the same error on DragonFly 1.3-Preview.

The problem is discussed on tech-pkg@,
<URL:http://mail-index.netbsd.org/tech-pkg/2005/06/10/0019.html>
<URL:http://mail-index.netbsd.org/tech-pkg/2005/06/10/0015.html>.

The suggested workaround (#defining HAVE_DIRNAME) works for
DragonFly 1.3-Preview.

-- 
Martin Karlsson




Home | Main Index | Thread Index | Old Index