tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: Build and install just /usr/xsrc



On Thu, 10 Nov 2016, the wise matthew green wrote:

it's a lot easier to simply set XORGFLAVOUR=Xorg and run a full build.sh
run on some box (it could be a fast x86.):

  % ./build.sh -V XORGFLAVOUR=Xorg -x -m alpha -jN distribution sets

and the install the generated x*.tgz.

I did a crosscompile build as explained in the handbook, but it fails with the same error as when building it on the PWS itself:

8 warnings and 16 errors generated.

*** Failed target:  ident.lo
*** Failed command: cc -O -DFONTENC_NO_LIBFONT -DFREETYPE2 -DXFREE86_FT2 -DFT_CONFIG_OPTION_SYSTEM_ZLIB -DFONT_ENCODINGS_DIRECTORY=\"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\" -I/mnt/storage/1/netbsd/usr/src/obj/destdir.alpha/usr/X11R6/include -I/mnt/storage/1/netbsd/usr/src/obj/destdir.alpha/usr/X11R6/include/freetype2 -I/mnt/storage/1/netbsd/usr/src/obj/destdir.alpha/usr/X11R6/include/X11/fonts -I/mnt/storage/1/netbsd/usr/xsrc/xfree/xc/lib/font/include -I/mnt/storage/1/netbsd/usr/xsrc/xfree/xc/include/fonts -DDARWIN_NO_CARBON -c -o ident.lo.o /mnt/storage/1/netbsd/usr/xsrc/xfree/xc/programs/mkfontscale/ident.c
*** Error code 1

Stop.
nbmake[8]: stopped in /mnt/storage/1/netbsd/usr/src/x11/tools/mkfontscale

*** Failed target:  dependall
*** Failed command: cd "/mnt/storage/1/netbsd/usr/src/x11/tools/mkfontscale"; /mnt/storage/1/netbsd/usr/src/obj/tooldir.FreeBSD-11.0-STABLE-amd64/bin/nbmake realall
*** Error code 1

Stop.
nbmake[7]: stopped in /mnt/storage/1/netbsd/usr/src/x11/tools/mkfontscale

*** Failed target:  dependall-mkfontscale
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="x11/tools/"; real="/mnt/storage/1/netbsd/usr/src/x11/tools" ;; *) this="x11/tools/${dir}/"; real="/mnt/storage/1/netbsd/usr/src/x11/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/storage/1/netbsd/usr/src/obj/tooldir.FreeBSD-11.0-STABLE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget mkfontscale dependall
*** Error code 1

Stop.
nbmake[6]: stopped in /mnt/storage/1/netbsd/usr/src/x11/tools

*** Failed target:  do-tools
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="x11/"; real="/mnt/storage/1/netbsd/usr/src/x11" ;; *) this="x11/${dir}/"; real="/mnt/storage/1/netbsd/usr/src/x11/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/storage/1/netbsd/usr/src/obj/tooldir.FreeBSD-11.0-STABLE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools dependall
*** Error code 1

Stop.
nbmake[5]: stopped in /mnt/storage/1/netbsd/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="/mnt/storage/1/netbsd/usr/src/x11" ;; *) this="x11/${dir}/"; real="/mnt/storage/1/netbsd/usr/src/x11/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/storage/1/netbsd/usr/src/obj/tooldir.FreeBSD-11.0-STABLE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-tools
*** Error code 1

Stop.
nbmake[4]: stopped in /mnt/storage/1/netbsd/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="/mnt/storage/1/netbsd/usr/src" ;; *) this="${dir}/"; real="/mnt/storage/1/netbsd/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/storage/1/netbsd/usr/src/obj/tooldir.FreeBSD-11.0-STABLE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget x11 build
*** Error code 1

Stop.
nbmake[3]: stopped in /mnt/storage/1/netbsd/usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/mnt/storage/1/netbsd/usr/src" ;; *) this="${dir}/"; real="/mnt/storage/1/netbsd/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/storage/1/netbsd/usr/src/obj/tooldir.FreeBSD-11.0-STABLE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-x11
*** Error code 1

Stop.
nbmake[2]: stopped in /mnt/storage/1/netbsd/usr/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/mnt/storage/1/netbsd/usr/src" ;; *) this="${dir}/"; real="/mnt/storage/1/netbsd/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/storage/1/netbsd/usr/src/obj/tooldir.FreeBSD-11.0-STABLE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake[1]: stopped in /mnt/storage/1/netbsd/usr/src

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/mnt/storage/1/netbsd/usr/src" ;; *) this="${dir}/"; real="/mnt/storage/1/netbsd/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/storage/1/netbsd/usr/src/obj/tooldir.FreeBSD-11.0-STABLE-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . distribution
*** Error code 1

Stop.
nbmake: stopped in /mnt/storage/1/netbsd/usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***


--
Truth is the most valuable thing we have -- so let us economize it.
		-- Mark Twain


Home | Main Index | Thread Index | Old Index