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 Sun, 22 May 2011, Hisashi T Fujinaka wrote:

On Sun, 22 May 2011, Jean-Yves Migeon wrote:

On 22.05.2011 17:40, Hisashi T Fujinaka wrote:
I don't see why that would help, but I'll try. I have a local rsync repo
and check out of that and I don't expect the files to be exactly the
same. Did you even do a diff on the sample file I had?

Not really a diff, I looked at the tags. There's a mismatch of revision
(1.46 (yours) vs 1.47 (mine)), so I am not quite sure that your branch
is fine. According to CVS history, 1.46 is for -nb4.

You'd have to ask a CVS expert, but the revision numbers don't match up
unless you do something that's not documented somewhere easy to find if
you use the method of rsyncing the cvs repo and checking out of there.
riz told me how to do it once, and when I asked him recently on irc, he
wasn't able to remember what he told me in the past. I doubt the files
are different.

I do that because I figured rsync loaded anoncvs less than cvs. I update
my systems pretty constantly and build world several times a day, like
several others do, just for the fun of it. Hobbies don't need to make

So this went quiet and Johnny Bilquist asked privately what I meant
about my CVS differences. My status and the code is exactly the same,
but the CVS headers get weird if you do the 2-hop checkout.

In any case I progressed to the point where I'm seeing an error that
I've seen in the past. On one machine (amd64) I can't build tools. On
another machine (i386) I can get all the way through building i386 but I
get stuck at the same place on a sparc64 cross-compile:

./ -U -u release iso-image


obj ===> compat/amd64/i386/../../../gnu/lib/crtstuff4.amd64
cd: can't cd to /usr/src/compat/amd64/i386/../../../gnu/lib/crtstuff4.amd64

*** Failed target:  obj-../../../gnu/lib/crtstuff4.amd64
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) 
this="${dir}/"; real="${dir}" ;; .)
 this="compat/amd64/i386/"; real="/usr/src/compat/amd64/i386" ;; *) 
this="compat/amd64/i386/${dir}/"; real="/usr/src/compat/amd64/i3
86/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd 
"${real}" && MAKEOBJDIRPREFIX=/usr/src/com
pat/amd64/i386/obj.amd64 MKOBJDIRS=yes MKSHARE=no 
ir.NetBSD-5.1_STABLE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
_makedirtarget ../../../gnu/lib/crtstuff4.amd64 obj
*** Error code 2



./ -m sparc64 -T /usr/cross/sparc64 -U -u distribution release iso-image

#    objdir  /usr/obj/compat/sparc64/sparc.sparc64
obj ===> compat/sparc64/sparc
obj ===> compat/sparc64/sparc/../../../gnu/lib/crtstuff4.sparc64
cd: can't cd to /usr/src/compat/sparc64/sparc/../../../gnu/lib/crtstuff4.sparc64

*** Failed target:  obj-../../../gnu/lib/crtstuff4.sparc64
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) 
this="${dir}/"; real="${dir}" ;; .)
 this="compat/sparc64/sparc/"; real="/usr/src/compat/sparc64/sparc" ;; *) 
this="compat/sparc64/sparc/${dir}/"; real="/usr/src/compat
/sparc64/sparc/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: 
$@)}"; cd "${real}" && MAKEOBJDIRPREFIX=
/usr/src/compat/sparc64/sparc/obj.sparc64 MKOBJDIRS=yes MKSHARE=no 
BSD_MK_COMPAT_FILE=/usr/src/compat/sparc64/sparc/ /us
r/cross/sparc64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
_makedirtarget ../../../gnu/lib/crtstuff4.sparc64 obj
*** Error code 2

nbmake: stopped in /usr/src/compat/sparc64/sparc

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