broken (cross)build (was Re: [CUWiN-Dev] [Fwd: Problem of building Soekris 4526])

David Young dyoung at pobox.com
Fri Aug 11 00:38:19 CDT 2006


On Wed, Aug 09, 2006 at 03:48:24PM -0500, Bill Comisky wrote:
> On 8/8/06, Bill Comisky <bcomisky at pobox.com> wrote:
> >On Mon, 7 Aug 2006, David Young wrote:
> >
> >> On Mon, Aug 07, 2006 at 05:15:38PM -0500, Bill Comisky wrote:
> >>> On 8/7/06, David Young <dyoung at pobox.com> wrote:
> >>>> On Mon, Aug 07, 2006 at 02:57:23PM -0500, David Young wrote:
> >>>>> On Mon, Aug 07, 2006 at 01:43:53PM -0500, David Young wrote:
> >>>>>> On Mon, Aug 07, 2006 at 01:12:51PM -0500, Bill Comisky wrote:
> >>>>>>> yes, the nightly builds do a clean build every time, starts by
> >>>>>>> deleting $BUILDDIR/
> >>>>>>
> >>>>>> Ok.
> >>>>>>
> >>>>>> Looks like my from-scratch build on cuw has already passed the
> >>>> host-mkdep
> >>>>>> stage.  Now I will kick off a build on one of OJC's Linux servers.
> >>>>>
> >>>>> The cuw build finished successfully.  I've just started a build on 
> >Linux.
> >>>>> I will keep you posted.
> >>>>
> >>>> I had to make a small change before the 'upgrade' step would finish, 
> >but
> >>>> I just built an Elan upgrade file on a Linux host.  Here is 'uname -a',
> >>>>
> >>>> Linux emma 2.4.29 #21 Thu Jan 20 17:11:39 PST 2005 i686 unknown unknown
> >>>> GNU/Linux
> >>>
> >>> Thanks for testing.. you are still building with the 30-Jun-2006
> >>> snapshot?  Maybe I'll try to nail down the revision things stopped
> >>> working here, if I can. And make sure my source didn't get corrupted
> >>> somehow.  BTW, my mkstaboot command line looks like:
> >>>
> >>> ./mkstaboot -a i386 -P pwds -b /home/bcomisky/cuwin/netbsd/build.cuwin
> >>> -s /home/bcomisky/cuwin/netbsd/cuwin-netbsd-snap-30-Jun-2006/src -U
> >>> /home/bcomisky/cuwin/images/cuwin-0.6.0+.4106.tar.gz
> >>
> >> I built using sources that are only slightly different
> >> from the 30 Jun sources.  I made a new snapshot,
> >> 
> ><file://cuw.ojctech.com/u4/dyoung-scratch/cuwin-netbsd-snap-07-Aug-2006.tgz>.
> >>
> >
> >The new sources made a difference, a clean 'upgrade' build runs to
> >completion after a small tweak to image.subr.  However, even though the
> >build completes OK, the return code from mkstaboot is 1.
> >
> >Also, subsequent (not-clean) builds starting from the 'flash' and
> >'kernel' steps are exiting prematurely:
> >
> >mkstaboot: finished step 'distrib'
> >./mkstaboot: exiting prematurely
> >error code 1 from mkstaboot
> >
> >I'm checking this from the command line to rule out weirdness from the
> >nightly build script.
> >
> >Bill
> 
> I spoke too soon, after building cleanly once with the virgin untar'd
> source, the build is now failing in the same spot as before.   This is
> a clean (no -o -u) rebuild after deleting $BUILDDIR, and it fails here
> as before:
> 
> [.. snip ..]
> dependall ===> host-mkdep
> install ===> host-mkdep
> mkdir -p /home/bcomisky/cuwin/netbsd/build.cuwin/T/bin
> cp host-mkdep /home/bcomisky/cuwin/netbsd/build.cuwin/T/bin/nbhost-mkdep
> cp: cannot stat `host-mkdep': No such file or directory
> 
> *** Failed target:  
> /home/bcomisky/cuwin/netbsd/build.cuwin/T/bin/nbhost-mkdep
> *** Failed command: cp host-mkdep
> /home/bcomisky/cuwin/netbsd/build.cuwin/T/bin/nbhost-mkdep
> *** Error code 1
> [.. snip ..]
> 
> I just looked and my src/ directory tree is now littered with .o and .d 
> files..
> Deja vu, that seems familiar, but I can't remember what caused it before.

Does the OBJDIR ($BUILDDIR/O/) exist?  Anything in there?

Dave

-- 
David Young             OJC Technologies
dyoung at ojctech.com      Urbana, IL * (217) 278-3933


More information about the CU-Wireless-Dev mailing list