Current-Users archive

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

Re: Can I get some crossbuilding help (rescue/chown not building)

On Sat, 21 May 2011, Jean-Yves Migeon wrote:

On 20.05.2011 02:43, Hisashi T Fujinaka wrote:
The failure is as follows:

( cd chown; printf '.PATH:
"${.CURDIR}/Makefile"\n' | /usr/cross/amd64-stable/bin/nbmake -f-
CRUNCHEDPROG=1 DBG="-Os" depend ) nbmake: "(stdin)" line 3: Cannot
open /home/netbsd/netbsd-5/src/sbin/chown/Makefile nbmake: Fatal
errors encountered -- cannot continue

nbmake: stopped in /usr/obj/stable/amd64/rescue/chown

*** Failed target:  chown_make *** Failed command: ( cd chown; printf
'.PATH: /home/netbsd/netbsd-5/src/sbin/chown\n.CURDIR:=
"${.CURDIR}/Makefile"\n' | /usr/cross/amd64-stable/bin/nbmake -f-
CRUNCHEDPROG=1 DBG="-Os" depend ) *** Error code 1

Stop. nbmake: stopped in /home/netbsd/netbsd-5/src/rescue

Wild guess: -j8 can create lots of processes and files descriptors for
parallel builds, and you have probably hit the limit (for unprivileged

Try increasing some limits (by going root), then su back to your user:

Nope. I forgot, I did it without that (you can tell by the missing
build lines you get when you do a parallel build).

Next in the list would be:
- anything special in /etc/mk.conf?

I don't think so. I'll attach it.

- is it a clean checkout of src for -nb5? chown moved from /usr/sbin to
/sbin in -current, you probably checked out an inconsistent tree.

Yes. Several different machines die in the same place. 5.1.0_PATCH
compiles fine.

Hisashi T Fujinaka -
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

Home | Main Index | Thread Index | Old Index