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 20.05.2011 02:43, Hisashi T Fujinaka wrote:
>>> The failure is as follows:
>>>
>>> ( cd chown; printf '.PATH:
>>> /home/netbsd/netbsd-5/src/sbin/chown\n.CURDIR:=
>>> /home/netbsd/netbsd-5/src/sbin/chown\n.include
>>> "${.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:=
>>> /home/netbsd/netbsd-5/src/sbin/chown\n.include
>>> "${.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
>> build).
>>
>> 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?
- 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.

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index