Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 09:25:38 -0400 (EDT)
From:      Steve Bertrand <iaccounts@northnetworks.ca>
To:        Jeremy Gaddis <jeremy@gaddis.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make buildworld fails on 4.8-release
Message-ID:  <20030428092345.K22519-100000@diana.northnetworks.ca>
In-Reply-To: <1051150476.23923.10.camel@jupiter.main.gaddis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> I have been attempting a `make buildworld` on a new 4.8-RELEASE
> machine.  I installed the sources from the CD from the sysinstall
> user interface.  They haven't been cvsuped, updated, or modified
> in any way.
>
> The machine in question is a Sony Vaio desktop, 1.2GHz Celeron,
> 512 MB HDD, 60 GB IDE HDD, IDE DVD-ROM and CD-RW's, and onboard
> video (i815), audio (AC'97), and network (RTL8139).
>
> Output from `uname -a` and relevant portions of the buildworld.out
> file appear below.  In case I haven't included enough of the
> buildworld.out file to be help, it is available in its complete
> form at http://www.gaddis.org/buildworld.out.bz2 (247,618 bytes).
>
> Any help, information, or suggestions would be greatly appreciated.

First thing I try when buildworld fails is:

# rm -rvf /usr/obj
# rm -rvf /usr/src/*
# cvsup -L 2 -g /path/to/supfile

Then attempt to rebuild from scratch. You may want to backup your original
source/obj trees if you have already compiled a custom kernel though.

Regards,

Steve Bertrand


>
> Thanks,
> j.
>
> --
> Jeremy L. Gaddis   <jeremy@gaddis.org>   <http://www.gaddis.org>;
>
>
>
> [jeremy@JUPITER:ttyp0:~]$ uname -a
> FreeBSD jupiter.main.gaddis.org 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Mon
> Apr 14 03:32:53 EST 2003
> root@jupiter.main.gaddis.org:/usr/src/sys/compile/JUPITER  i386
>
>
>
> [jeremy@JUPITER:ttyp0:~]$ cat buildworld.out
> Script started on Wed Apr 23 20:35:43 2003
> bash-2.05b# cd /usr/src
> bash-2.05b# make buildworld
>
> --------------------------------------------------------------
> >>> Rebuilding the temporary build tree
> --------------------------------------------------------------
>
> [snip]
>
> ===> usr.bin/kdump
> sh /usr/src/usr.bin/kdump/mkioctls /usr/obj/usr/src/i386/usr/include >
> ioctl.c
> In file included from :78:
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:860: warning:
> `EATAUSRCMD' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/asr/osd_unix.h:265: warning:
> this is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:861: warning:
> `DPT_SIGNATURE' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/asr/osd_unix.h:269: warning:
> this is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:862: warning:
> `DPT_NUMCTRLS' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/asr/osd_unix.h:274: warning:
> this is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:863: warning:
> `DPT_CTRLINFO' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/asr/osd_unix.h:276: warning:
> this is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:864: warning:
> `DPT_SYSINFO' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/asr/osd_unix.h:282: warning:
> this is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:865: warning:
> `DPT_BLINKLED' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/asr/osd_unix.h:288: warning:
> this is the location of the previous definition
> In file included from :80:
> /usr/obj/usr/src/i386/usr/include/sys/dev/iir/iir.h:381: warning:
> `LUN_MASK' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:138: warning: this
> is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/iir/iir.h:382: warning:
> `TARGET_MASK' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:135: warning: this
> is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/iir/iir.h:383: warning:
> `BUS_MASK' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:136: warning: this
> is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/iir/iir.h:384: warning:
> `HBA_MASK' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:137: warning: this
> is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/iir/iir.h:386: warning:
> `minor2lun' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:143: warning: this
> is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/iir/iir.h:387: warning:
> `minor2target' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:140: warning: this
> is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/iir/iir.h:388: warning:
> `minor2bus' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:141: warning: this
> is the location of the previous definition
> /usr/obj/usr/src/i386/usr/include/sys/dev/iir/iir.h:389: warning:
> `minor2hba' redefined
> /usr/obj/usr/src/i386/usr/include/sys/dev/dpt/dpt.h:142: warning: this
> is the location of the previous definition
> In file included from :104:
> /usr/obj/usr/src/i386/usr/include/sys/i386/ibcs2/ibcs2_socksys.h:31:
> i386/ibcs2/ibcs2_types.h: No such file or directory
> In file included from :131:
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:51:
> opt_pcvt.h: No such file or directory
> In file included from /usr/obj/usr/src/i386/usr/include/sys/param.h:104,
>                  from
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:58,
>                  from :131:
> /usr/obj/usr/src/i386/usr/include/machine/limits.h:71: warning:
> `INT_MAX' redefined
> /usr/obj/usr/src/i386/usr/include/machine/if_wl_wavelan.h:149: warning:
> this is the location of the previous definition
> In file included from
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:58,
>                  from :131:
> /usr/obj/usr/src/i386/usr/include/sys/param.h:214: warning: `MAX'
> redefined
> /usr/obj/usr/src/i386/usr/include/sys/contrib/ipfilter/netinet/ip_compat.h:319: warning: this is the location of the previous definition
> In file included from :131:
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:100:
> i386/isa/pcvt/pcvt_conf.h: No such file or directory
> In file included from :131:
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:104:
> dev/kbd/kbdreg.h: No such file or directory
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:105:
> dev/kbd/atkbdcreg.h: No such file or directory
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:115:
> i386/isa/isa_device.h: No such file or directory
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:121:
> i386/isa/icu.h: No such file or directory
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:129:
> i386/isa/isa.h: No such file or directory
> In file included from :131:
> /usr/obj/usr/src/i386/usr/include/sys/i386/isa/pcvt/pcvt_hdr.h:259:
> #error "Supported keyboard scancode sets are 1 and 2 only (for now)!!!"
> In file included from :135:
> /usr/obj/usr/src/i386/usr/include/sys/memrange.h:19: warning:
> `MDF_ACTIVE' redefined
> /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:115: warning: this
> is the location of the previous definition
> In file included from :147:
> /usr/obj/usr/src/i386/usr/include/sys/wormio.h:102: warning:
> `CDRIOCBLANK' redefined
> /usr/obj/usr/src/i386/usr/include/sys/cdrio.h:88: warning: this is the
> location of the previous definition
> rm -f .depend
> mkdep -f .depend -a    -I/usr/src/usr.bin/kdump/../ktrace
> -I/usr/src/usr.bin/kdump/../..  /usr/src/usr.bin/kdump/kdump.c ioctl.c
> /usr/src/usr.bin/kdump/../ktrace/subr.c
> In file included from ioctl.c:102:
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:860: warning:
> `EATAUSRCMD' redefined
> /usr/src/usr.bin/kdump/../../sys/dev/asr/osd_unix.h:265: warning: this
> is the location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:861: warning:
> `DPT_SIGNATURE' redefined
> /usr/src/usr.bin/kdump/../../sys/dev/asr/osd_unix.h:269: warning: this
> is the location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:862: warning:
> `DPT_NUMCTRLS' redefined
> /usr/src/usr.bin/kdump/../../sys/dev/asr/osd_unix.h:274: warning: this
> is the location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:863: warning:
> `DPT_CTRLINFO' redefined
> /usr/src/usr.bin/kdump/../../sys/dev/asr/osd_unix.h:276: warning: this
> is the location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:864: warning:
> `DPT_SYSINFO' redefined
> /usr/src/usr.bin/kdump/../../sys/dev/asr/osd_unix.h:282: warning: this
> is the location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:865: warning:
> `DPT_BLINKLED' redefined
> /usr/src/usr.bin/kdump/../../sys/dev/asr/osd_unix.h:288: warning: this
> is the location of the previous definition
> In file included from ioctl.c:104:
> /usr/src/usr.bin/kdump/../../sys/dev/iir/iir.h:381: warning: `LUN_MASK'
> redefined
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:138: warning: this is the
> location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/iir/iir.h:382: warning:
> `TARGET_MASK' redefined
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:135: warning: this is the
> location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/iir/iir.h:383: warning: `BUS_MASK'
> redefined
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:136: warning: this is the
> location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/iir/iir.h:384: warning: `HBA_MASK'
> redefined
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:137: warning: this is the
> location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/iir/iir.h:386: warning: `minor2lun'
> redefined
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:143: warning: this is the
> location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/iir/iir.h:387: warning:
> `minor2target' redefined
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:140: warning: this is the
> location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/iir/iir.h:388: warning: `minor2bus'
> redefined
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:141: warning: this is the
> location of the previous definition
> /usr/src/usr.bin/kdump/../../sys/dev/iir/iir.h:389: warning: `minor2hba'
> redefined
> /usr/src/usr.bin/kdump/../../sys/dev/dpt/dpt.h:142: warning: this is the
> location of the previous definition
> In file included from ioctl.c:128:
> /usr/src/usr.bin/kdump/../../sys/i386/ibcs2/ibcs2_socksys.h:31:
> i386/ibcs2/ibcs2_types.h: No such file or directory
> In file included from ioctl.c:155:
> /usr/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:51:
> opt_pcvt.h: No such file or directory
> In file included from ioctl.c:155:
> /usr/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:100:
> i386/isa/pcvt/pcvt_conf.h: No such file or directory
> In file included from ioctl.c:155:
> /usr/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:104:
> dev/kbd/kbdreg.h: No such file or directory
> /usr/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:105:
> dev/kbd/atkbdcreg.h: No such file or directory
> /usr/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:115:
> i386/isa/isa_device.h: No such file or directory
> /usr/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:121:
> i386/isa/icu.h: No such file or directory
> /usr/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:129:
> i386/isa/isa.h: No such file or directory
> In file included from ioctl.c:155:
> /usr/src/usr.bin/kdump/../../sys/i386/isa/pcvt/pcvt_hdr.h:259: #error
> "Supported keyboard scancode sets are 1 and 2 only (for now)!!!"
> In file included from ioctl.c:159:
> /usr/obj/usr/src/i386/usr/include/sys/memrange.h:19: warning:
> `MDF_ACTIVE' redefined
> /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:115: warning: this
> is the location of the previous definition
> In file included from ioctl.c:171:
> /usr/obj/usr/src/i386/usr/include/sys/wormio.h:102: warning:
> `CDRIOCBLANK' redefined
> /usr/obj/usr/src/i386/usr/include/sys/cdrio.h:88: warning: this is the
> location of the previous definition
> ioctl.c:627: macro `_IOR' used with only 2 args
> mkdep: compile failed
> *** Error code 1
>
> Stop in /usr/src/usr.bin/kdump.
> *** Error code 1
>
> Stop in /usr/src/usr.bin.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
> bash-2.05b# exit
> exit
>
> Script done on Wed Apr 23 21:03:56 2003
>
>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030428092345.K22519-100000>