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 21.05.2011 03:28, Hisashi T Fujinaka wrote:
> On Fri, 20 May 2011, Hisashi T Fujinaka wrote:
> 
>> 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:
>>>>>> /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
>>> 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.
> 
> Whoops. Here's the mk.conf.
> 

Protect everything that is strictly pkgsrc related with:

.ifdef BSD_PKG_MK
ALLOW_VULNERABLE_PACKAGES=yes
PAPERSIZE= Letter
PASSIVE_FETCH= YES
PKG_APACHE_DEFAULT=apache22
PKG_DEFAULT_OPTIONS+= inet6
DEPENDS_TARGET= package
UPDATE_TARGET=  package
VIM_EXTRA_OPTS= --enable-cscope
PYTHON_VERSION_DEFAULT = 26

[...]
.endif

Some variables might affect the build environment.

Could you check your tree with the mtree spec of my -nb5 branch, please?
(ignore warnings about xsrc/x11)

ftp -a "http://www.netbsd.org/~jym/nb5.mtree.gz";
gzcat /tmp/nb5.mtree.gz | mtree -p /home/netbsd/netbsd-5/src/

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


Home | Main Index | Thread Index | Old Index