Subject: build.sh fails (something is wrong in xset)
To: None <current-users@NetBSD.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: current-users
Date: 12/03/2004 19:55:25
NetBSD NBSD1 2.99.10 NetBSD 2.99.10 (GENERIC-$Revision: 1.628 $) #0: Tue
Oct 26 12:32:03 NOVST 2004
ianzag@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1 i386
Sources completely updated from CVS about 4 hours ago.
---cut---
Build parameters:
Build script /usr/src/build.sh
Top dir /usr/build
Machine i386
Tools dir /usr/build/tools/i386
Obj dir /usr/build/obj/i386
Dest dir /usr/build/dest/i386
Release dir /usr/build/release
===> build.sh command: /usr/src/build.sh -mi386 -O/usr/build/obj/i386
-T/usr/build/tools/i386 -D/usr/build/dest/i386 -R/usr/build/release -x
-u distribution sets
===> build.sh started: Fri Dec 3 19:22:06 NOVT 2004
===> MACHINE: i386
===> MACHINE_ARCH: i386
===> TOOLDIR path: /usr/build/tools/i386
===> DESTDIR path: /usr/build/dest/i386
===> RELEASEDIR path: /usr/build/release
===> makewrapper: /usr/build/tools/i386/bin/nbmake-i386
===> Updated /usr/build/tools/i386/bin/nbmake-i386
build ===> . (with: NOPOSTINSTALL=1)
Build started at: Fri Dec 3 19:22:10 NOVT 2004
check-tools ===> .
obj ===> .
obj ===> tools
[snip]
dependall ===> x11/Xserver/hw/xfree86/drivers/tdfx
dependall ===> x11/Xserver/hw/xfree86/drivers/trident
dependall ===> x11/Xserver/hw/xfree86/drivers/vga
dependall ===> x11/Xserver/hw/xfree86/drivers/wsfb
# compile wsfb/wsfb_driver.o
/usr/build/tools/i386/bin/i386--netbsdelf-gcc -O2 -Werror -DSHAPE
-DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT
-DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS
-DAVOID_GLYPHBLT -DSINGLEDEPTH -DXvExtension -DXFree86Server
-DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DNDEBUG
-DXINPUT -DXFreeXDGA -DXF86VIDMODE -DX_BYTE_ORDER=X_LITTLE_ENDIAN
-DXFree86LOADER -DIN_MODULE -DXFree86Module
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/dummy
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/common
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/os-support
-I/usr/xsrc/xfree/xc/programs/Xserver/include
-I/usr/xsrc/xfree/xc/programs/Xserver/mi
-I/usr/xsrc/xfree/xc/programs/Xserver/fb
-I/usr/xsrc/xfree/xc/programs/Xserver/mfb
-I/usr/build/dest/i386/usr/X11R6/include/X11
-I/usr/xsrc/xfree/xc/include/fonts
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/ramdac
-I/usr/xsrc/xfree/xc/programs/Xserver/Xext
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/xf1bpp
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/xf4bpp
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/rac
-I/usr/xsrc/xfree/xc/programs/Xserver/miext/shadow
-I/usr/build/dest/i386/usr/X11R6/include/X11/extensions
-I/usr/xsrc/xfree/xc/programs/Xserver/render
-I/usr/build/obj/i386/x11/Xserver/include -DCSRG_BASED -DFUNCPROTO=15
-DNARROWPROTO -I/usr/build/dest/i386/usr/X11R6/include -nostdinc
-isystem /usr/build/dest/i386/usr/include -c
/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/wsfb/wsfb_driver.c
-o wsfb_driver.o.tmp
/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/wsfb/wsfb_driver.c:
In function `wsfb_open':
/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/wsfb/wsfb_driver.c:290:
error: `O_NONBLOCK' undeclared (first use in this function)
/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/wsfb/wsfb_driver.c:290:
error: (Each undeclared identifier is reported only once
/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/wsfb/wsfb_driver.c:290:
error: for each function it appears in.)
/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/wsfb/wsfb_driver.c:290:
error: `O_EXCL' undeclared (first use in this function)
*** Failed target: wsfb_driver.o
*** Failed command: /usr/build/tools/i386/bin/i386--netbsdelf-gcc -O2
-Werror -DSHAPE -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP
-DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR
-DGCCUSESGAS -DAVOID_GLYPHBLT -DSINGLEDEPTH -DXvExtension
-DXFree86Server -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG
-DXResExtension -DNDEBUG -DXINPUT -DXFreeXDGA -DXF86VIDMODE
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXFree86LOADER -DIN_MODULE
-DXFree86Module
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/dummy
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/common
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/os-support
-I/usr/xsrc/xfree/xc/programs/Xserver/include
-I/usr/xsrc/xfree/xc/programs/Xserver/mi
-I/usr/xsrc/xfree/xc/programs/Xserver/fb
-I/usr/xsrc/xfree/xc/programs/Xserver/mfb
-I/usr/build/dest/i386/usr/X11R6/include/X11
-I/usr/xsrc/xfree/xc/include/fonts
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/ramdac
-I/usr/xsrc/xfree/xc/programs/Xserver/Xext
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/xf1bpp
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/xf4bpp
-I/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/rac
-I/usr/xsrc/xfree/xc/programs/Xserver/miext/shadow
-I/usr/build/dest/i386/usr/X11R6/include/X11/extensions
-I/usr/xsrc/xfree/xc/programs/Xserver/render
-I/usr/build/obj/i386/x11/Xserver/include -DCSRG_BASED -DFUNCPROTO=15
-DNARROWPROTO -I/usr/build/dest/i386/usr/X11R6/include -nostdinc
-isystem /usr/build/dest/i386/usr/include -c
/usr/xsrc/xfree/xc/programs/Xserver/hw/xfree86/drivers/wsfb/wsfb_driver.c
-o wsfb_driver.o.tmp
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/Xserver/hw/xfree86/drivers/wsfb
*** Failed target: dependall
*** Failed command: cd /usr/src/x11/Xserver/hw/xfree86/drivers/wsfb;
/usr/build/tools/i386/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/Xserver/hw/xfree86/drivers/wsfb
*** Failed target: dependall-wsfb
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="x11/Xserver/hw/xfree86/drivers/";
real="/usr/src/x11/Xserver/hw/xfree86/drivers" ;; *)
this="x11/Xserver/hw/xfree86/drivers/${dir}/";
real="/usr/src/x11/Xserver/hw/xfree86/drivers/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget wsfb dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/Xserver/hw/xfree86/drivers
*** Failed target: dependall-drivers
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="x11/Xserver/hw/xfree86/"; real="/usr/src/x11/Xserver/hw/xfree86"
;; *) this="x11/Xserver/hw/xfree86/${dir}/";
real="/usr/src/x11/Xserver/hw/xfree86/${dir}" ;; esac; show=${this:-.};
echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget drivers dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/Xserver/hw/xfree86
*** Failed target: dependall-xfree86
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="x11/Xserver/hw/"; real="/usr/src/x11/Xserver/hw" ;; *)
this="x11/Xserver/hw/${dir}/"; real="/usr/src/x11/Xserver/hw/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}";
cd "${real}" && /usr/build/tools/i386/bin/nbmake _THISDIR_="${this}"
"$@" ${target}; }; _makedirtarget xfree86 dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/Xserver/hw
*** Failed target: dependall-hw
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="x11/Xserver/"; real="/usr/src/x11/Xserver" ;; *)
this="x11/Xserver/${dir}/"; real="/usr/src/x11/Xserver/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget hw dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/Xserver
*** Failed target: dependall-Xserver
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="x11/"; real="/usr/src/x11" ;; *) this="x11/${dir}/";
real="/usr/src/x11/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget Xserver dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11
*** Failed target: do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="x11/"; real="/usr/src/x11" ;; *) this="x11/${dir}/";
real="/usr/src/x11/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget . dependall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="x11/"; real="/usr/src/x11" ;; *) this="x11/${dir}/";
real="/usr/src/x11/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget . do-build
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11
*** Failed target: do-x11
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget x11 build
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . do-x11
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/build/tools/i386/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
---cut---
// wbr