Subject: Re: current: macppc_installboot fails on fs
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Niels S. Eliasen <nse@delfi-konsult.com>
List: port-macppc
Date: 12/19/2007 19:30:04
Hi Izumi
Den 19/12/2007 kl. 15.28 skrev Izumi Tsutsui:

> nse@delfi-konsult.com wrote:
>
>>> Is it really makewrapper in your log?
>> I do not have any file by that name
>
> You may have lines like this in build log:
> ---
> cc  -O -o nbmake *.o
> #    objdir  /usr/obj.i386/tools
> ===> TOOLDIR path:     /usr/src/tooldir.NetBSD-4.0-i386
> ===> DESTDIR path:     /usr/src/destdir.i386
> ===> RELEASEDIR path:  /usr/src/releasedir
> ===> Created /usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake
> ===> makewrapper:      /usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake- 
> i386
> ===> Updated /usr/src/tooldir.NetBSD-4.0-i386/bin/nbmake-i386
> ---
>
>>> Isn't it "${TOOLDIR}/nbmake-macppc"?
>> aaaahh... it is... and where could I find any description for this ?
>
> In src/BUILDING?
>
> Maybe it is not well explained because build.sh script
> is recommended rather than using makewrapper directly
> but distrib/cdrom is not designed to be supported by build.sh.
> src/distrib/cdrom depends on third party software (mkisofs) and
> will be superseded by "build.sh iso-image" once our makefs(8)
> gets MacOS extension support on creating cd9660 fs.
>
>> and still ... why is this not built by default?
>
> It is. See the above log and src/build.sh around line 1073.
ok.. my mistake.. I meant the macppc_installboot ... not the  
makewrapper .. and having a look at both BUILDING and build.sh
it is not blindingly obvious that "makewrapper" equals "nbmake- 
macppc" (in my case)
>
>> cc -O -I. -I/usr/src/distrib/cdrom/macppc_installboot   -o
>> macppc_installboot installboot.lo cd9660.lo cd9660_util.lo
>> cd9660.lo(.text+0x138): In function `cd9660_match':
>> : undefined reference to `be16dec'
>
> Hmm, maybe no one has tried this on big endian machines.
> I'll take a look at it but may I ask again NetBSD version
> of your compile host? Recent -current or other release?
The NetBSD version I'm running on the powerbook is a 3.1 kernel and  
most likely a 2.x userland (from 2004....yep! happily chugging  
along! ) ;-)
> ---
> Izumi Tsutsui

regards
niels