pkgsrc-Bugs archive

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

pkg/28480: buildlink errors when using distcc



>Number:         28480
>Category:       pkg
>Synopsis:       buildlink errors when using distcc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 30 17:51:00 +0000 2004
>Originator:     j+nbsd%2004.salmi.ch@localhost
>Release:        NetBSD 2.0
>Organization:
>Environment:
System: NetBSD grouper.salmi.ch 2.0 NetBSD 2.0 (GROUPER) #0: Mon Nov 29 
22:16:38 UTC 2004 
root%himo.salmi.ch@localhost:/build/nbsd/sys/arch/i386/compile/GROUPER i386
Architecture: i386
Machine: i386
>Description:
Using PKGSRC_COMPILER='distcc gcc' makes building some packages fail.
>How-To-Repeat:
Set PKGSRC_COMPILER='distcc gcc' in /etc/mk.conf, and try to build e.g.
www/apache or mail/mutt-devel:

$ cd pkgsrc/www/apache && make
[...]
===> wrapper-message [apache-1.3.33nb1] ===> Creating toolchain wrappers for 
apache-1.3.33nb1
--- buildlink-db1-db185-h ---
cannot create /build/pkg/www/apache/work/.buildlink/include/db_185.h: directory 
nonexistent
*** [buildlink-db1-db185-h] Error code 2
1 error

make: stopped in /usr/pkgsrc/www/apache
*** Error code 2
[...]

$ cd ../../mail/mutt-devel && make
[...]
===> wrapper-message [mutt-1.5.6nb1] ===> Creating toolchain wrappers for 
mutt-1.5.6nb1
--- buildlink-ncurses-extra-includes ---
touch: /build/pkg/mail/mutt-devel/work/.buildlink/include/term.h: No such file 
or directory
*** [buildlink-ncurses-extra-includes] Error code 1
1 error

make: stopped in /usr/pkgsrc/mail/mutt-devel
*** Error code 2
[...]

When running make again without running the clean first target this error
does not occur. Somehow the missing directories are created in the meantime.
>Fix:
Don't know, maybe mkdir -p before creating the files?




Home | Main Index | Thread Index | Old Index