Problem with building PicoBSD with CURRENT tree

From: Pavlin Radoslavov (pavlin_at_icir.org)
Date: 09/03/03

  • Next message: Doug White: "Re: inetd unknown rpc/udp or rpc/tcp"
    To: freebsd-current@freebsd.org
    Date: Tue, 02 Sep 2003 21:29:28 -0700
    
    

    It appears that a recent change to src/Makefile.inc1 has broken the
    build of PicoBSD when I attempt to build CURRENT on FreeBSD-4.8
    host:

    *** PICO_OBJ is /home/possum/u0/pavlin/freebsd_src/../usr/obj-pico/picobsd/pim
    make: no target to make.
    "/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/Makefile.inc1", line 147: warning: "make -f /dev/null -m /scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/share/mk CPUTYPE=i386 -V CPUTYPE" returned non-zero status
    "/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/Makefile.inc1", line 761: warning: String comparison operator should be either == or !=
    "/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/Makefile.inc1", line 761: Malformed conditional ((!defined(NO_RESCUE) || defined(RELEASEDIR)) && (${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING} < 501101))
    "/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/Makefile.inc1", line 761: Missing dependency operator
    "/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/Makefile.inc1", line 763: if-less endif
    "/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/Makefile.inc1", line 763: Need an operator
    make: fatal errors encountered -- cannot continue

    The change that breaks the build is in revision 1.388 of Makefile.inc1; see
    http://www.freebsd.org/cgi/cvsweb.cgi/src/Makefile.inc1.diff?r1=1.387&r2=1.388

    The particular command in the release/picobsd/build/picobsd script
    that triggers the above problem is:

        eval export `cd ${SRC}; make -f Makefile.inc1 -V WMAKEENV`

    Reversing back the Makefile.inc1 change by applying the following
    simple nit does fix the problem:

    --- Makefile.inc1 Tue Sep 2 21:01:02 2003
    +++ Makefile.inc1.FIX Tue Sep 2 19:21:49 2003
    @@ -758,7 +758,7 @@
     
     .if (!defined(NO_RESCUE) || \
         defined(RELEASEDIR)) && \
    - (${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING} < 501101)
    + (${TARGET_ARCH} != ${MACHINE_ARCH} || ${BOOTSTRAPPING} < 501101 )
     _crunchide= usr.sbin/crunch/crunchide
     .endif
     

    I believe that the particular change to Makefile.inc1 was made with
    the assumption that we are always going to use the new "make" version
    that comes with FreeBSD-current.
    However, even if I use the new "make" to run the above command, I
    still have an error:

    pavlin@possum[622] ../usr/obj-pico/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/make.i386/make -f Makefile.inc1 -V WMAKEENV
    ../usr/obj-pico/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/make.i386/make: not found
    "/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/Makefile.inc1", line 147: warning: "../usr/obj-pico/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/make.i386/make -f /dev/null -m /scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/share/mk CPUTYPE=i386 -V CPUTYPE" returned non-zero status
    "/scratch/possum/u1/pavlin/FreeBSD/HEAD.cvs/src/Makefile.inc1", line 149: CPUTYPE global should be set with ?=.
    Exit 1

    Thanks,
    Pavlin

    P.S. Running make with -DALWAYS_CHECK_MAKE does not do the trick,
    because it has no effect inside Makefile.inc1 :)
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Doug White: "Re: inetd unknown rpc/udp or rpc/tcp"

    Relevant Pages

    • Re: Remote debugging
      ... msvcmon.exe -anyuseran error box pops up with:"Invalid command line ... saying:msvcmon.exe does not seem to be running on the target ... This works only when I copy the debugged application from host ... I want to debug from my notebook (XP Pro) as host to target ...
      (microsoft.public.windowsxp.embedded)
    • Re: Remote debugging
      ... that command. ... This works only when I copy the debugged application from host to ... 'password' to fill-in although I don't have any password login in the target. ... settings and made the settings to the project: ...
      (microsoft.public.windowsxp.embedded)
    • Re: tuning a parameter in xpc target with respect to time
      ... I?m trying to tune a parameter in the xpc target while the target is ... setparam command in matlab window,the parameter have a n intial value ... between the host and the PC, ...
      (comp.soft-sys.matlab)
    • Re: SmallC
      ... to the host in the form of a 3-byte movement data packet (as described ... the counter is not incremented/decremented until it is reset. ... after the mouse receives any command from the host other than the ...
      (alt.lang.asm)
    • Re: ps/2 mouse w/o int33
      ... The standard PS/2 mouse sends movement/button information to the host ... (ie, after a packet is sent to the host, the movement counters are reset.) ... They are also reset after the mouse receives any command from the host ... Host: F3 Set Sample Rate: Attempt to Enter Microsoft ...
      (comp.lang.asm.x86)