Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2019 07:36:03 GMT
From:      pkg-fallout@FreeBSD.org
To:        royger@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][emulators/xen-kernel] Failed for xen-kernel-4.12.0_2 in build
Message-ID:  <201906290736.x5T7a3m9057396@beefy12.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     royger@FreeBSD.org
Last committer: royger@FreeBSD.org
Ident:          $FreeBSD: head/emulators/xen-kernel/Makefile 504632 2019-06-20 15:25:42Z royger $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p505192_s349446/logs/xen-kernel-4.12.0_2.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p505192_s349446
Log:

=>> Building emulators/xen-kernel
build started at Sat Jun 29 07:34:01 UTC 2019
port directory: /usr/ports/emulators/xen-kernel
package name: xen-kernel-4.12.0_2
building for: FreeBSD head-amd64-default-job-06 13.0-CURRENT FreeBSD 13.0-CURRENT 1300034 amd64
maintained by: royger@FreeBSD.org
Makefile ident:      $FreeBSD: head/emulators/xen-kernel/Makefile 504632 2019-06-20 15:25:42Z royger $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300031
Jail OSVERSION: 1300034
Job Id: 06




!!! Jail is newer than host. (Jail: 1300034, Host: 1300031) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300034
UNAME_v=FreeBSD 13.0-CURRENT 1300034
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
royger@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/xen-kernel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/xen-kernel/work  HOME=/wrkdirs/usr/ports/emulators/xen-kernel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/xen-kernel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/xen-kernel/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/xen-kernel/work  HOME=/wrkdirs/usr/ports/emulators/xen-kernel/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/xen-kernel/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-prote
 ctor-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install   -m 555"  BSD_INSTALL_LIB="install   -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python2.7  PYTHON_LIBDIR=lib/python2.7  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python2.7/site-packages  PYTHON_SUFFIX=27  PYTHON_VER=2.7  PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xen"  EXAMPLESDIR="share/examples/xen"  DATADIR="share/xen"  WWWDIR="www/xen"  ETCDIR="etc/xen"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/xen DOCSDIR=/usr/local/share/doc/xen EXAMPLESDIR=/usr/local/share/examples/xen  WWWDIR=/usr/local/www/xen ETCDIR=/usr/local/etc/xen
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (branches/release_80 363030) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300034
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   xen-kernel-4.12.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.11.1.txz
[head-amd64-default-job-06] Installing pkg-1.11.1...
[head-amd64-default-job-06] Extracting pkg-1.11.1: .......... done
===>   xen-kernel-4.12.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xen-kernel-4.12.0_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by xen-kernel-4.12.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by xen-kernel-4.12.0_2 for building
=> SHA256 Checksum OK for xen-4.12.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by xen-kernel-4.12.0_2 for building
===>  Extracting for xen-kernel-4.12.0_2
=> SHA256 Checksum OK for xen-4.12.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for xen-kernel-4.12.0_2
===>  Applying extra patch /usr/ports/emulators/xen-kernel/files/0001-x86-tsx-Implement-controls-for-RTM-force-abort-mode.patch with -p1
===>  Applying extra patch /usr/ports/emulators/xen-kernel/files/0001-x86-msr-Shorten-ARCH_CAPABILITIES_-constants.patch with -p1
===>  Applying extra patch /usr/ports/emulators/xen-kernel/files/0002-x86-spec-ctrl-Extend-repoline-safey-calcuations-for-.patch with -p1
===>  Applying extra patch /usr/ports/emulators/xen-kernel/files/xsa297-4.12-1.patch with -p1
===>  Applying extra patch /usr/ports/emulators/xen-kernel/files/xsa297-4.12-2.patch with -p1
===>  Applying extra patch /usr/ports/emulators/xen-kernel/files/xsa297-4.12-3.patch with -p1
<snip>
mkdir -p compat/.xlat/hvm
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+hvm/hvm_op\.h[[:blank:]]*$,,p' >compat/.xlat/hvm/hvm_op.lst.new
if ! cmp -s compat/.xlat/hvm/hvm_op.lst.new compat/.xlat/hvm/hvm_op.lst; then mv -f compat/.xlat/hvm/hvm_op.lst.new compat/.xlat/hvm/hvm_op.lst; else rm -f compat/.xlat/hvm/hvm_op.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/hvm/hvm_op.h || exit $?; \
done <compat/.xlat/hvm/hvm_op.lst >compat/.xlat/hvm/hvm_op.h.new
mv -f compat/.xlat/hvm/hvm_op.h.new compat/.xlat/hvm/hvm_op.h
mkdir -p compat/.xlat/hvm
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+hvm/hvm_vcpu\.h[[:blank:]]*$,,p' >compat/.xlat/hvm/hvm_vcpu.lst.new
if ! cmp -s compat/.xlat/hvm/hvm_vcpu.lst.new compat/.xlat/hvm/hvm_vcpu.lst; then mv -f compat/.xlat/hvm/hvm_vcpu.lst.new compat/.xlat/hvm/hvm_vcpu.lst; else rm -f compat/.xlat/hvm/hvm_vcpu.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/hvm/hvm_vcpu.h || exit $?; \
done <compat/.xlat/hvm/hvm_vcpu.lst >compat/.xlat/hvm/hvm_vcpu.h.new
mv -f compat/.xlat/hvm/hvm_vcpu.h.new compat/.xlat/hvm/hvm_vcpu.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+kexec\.h[[:blank:]]*$,,p' >compat/.xlat/kexec.lst.new
if ! cmp -s compat/.xlat/kexec.lst.new compat/.xlat/kexec.lst; then mv -f compat/.xlat/kexec.lst.new compat/.xlat/kexec.lst; else rm -f compat/.xlat/kexec.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/kexec.h || exit $?; \
done <compat/.xlat/kexec.lst >compat/.xlat/kexec.h.new
mv -f compat/.xlat/kexec.h.new compat/.xlat/kexec.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+memory\.h[[:blank:]]*$,,p' >compat/.xlat/memory.lst.new
if ! cmp -s compat/.xlat/memory.lst.new compat/.xlat/memory.lst; then mv -f compat/.xlat/memory.lst.new compat/.xlat/memory.lst; else rm -f compat/.xlat/memory.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/memory.h || exit $?; \
done <compat/.xlat/memory.lst >compat/.xlat/memory.h.new
mv -f compat/.xlat/memory.h.new compat/.xlat/memory.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+physdev\.h[[:blank:]]*$,,p' >compat/.xlat/physdev.lst.new
if ! cmp -s compat/.xlat/physdev.lst.new compat/.xlat/physdev.lst; then mv -f compat/.xlat/physdev.lst.new compat/.xlat/physdev.lst; else rm -f compat/.xlat/physdev.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/physdev.h || exit $?; \
done <compat/.xlat/physdev.lst >compat/.xlat/physdev.h.new
mv -f compat/.xlat/physdev.h.new compat/.xlat/physdev.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+platform\.h[[:blank:]]*$,,p' >compat/.xlat/platform.lst.new
if ! cmp -s compat/.xlat/platform.lst.new compat/.xlat/platform.lst; then mv -f compat/.xlat/platform.lst.new compat/.xlat/platform.lst; else rm -f compat/.xlat/platform.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/platform.h || exit $?; \
done <compat/.xlat/platform.lst >compat/.xlat/platform.h.new
mv -f compat/.xlat/platform.h.new compat/.xlat/platform.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+pmu\.h[[:blank:]]*$,,p' >compat/.xlat/pmu.lst.new
if ! cmp -s compat/.xlat/pmu.lst.new compat/.xlat/pmu.lst; then mv -f compat/.xlat/pmu.lst.new compat/.xlat/pmu.lst; else rm -f compat/.xlat/pmu.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/pmu.h || exit $?; \
done <compat/.xlat/pmu.lst >compat/.xlat/pmu.h.new
mv -f compat/.xlat/pmu.h.new compat/.xlat/pmu.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+sched\.h[[:blank:]]*$,,p' >compat/.xlat/sched.lst.new
if ! cmp -s compat/.xlat/sched.lst.new compat/.xlat/sched.lst; then mv -f compat/.xlat/sched.lst.new compat/.xlat/sched.lst; else rm -f compat/.xlat/sched.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/sched.h || exit $?; \
done <compat/.xlat/sched.lst >compat/.xlat/sched.h.new
mv -f compat/.xlat/sched.h.new compat/.xlat/sched.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+tmem\.h[[:blank:]]*$,,p' >compat/.xlat/tmem.lst.new
if ! cmp -s compat/.xlat/tmem.lst.new compat/.xlat/tmem.lst; then mv -f compat/.xlat/tmem.lst.new compat/.xlat/tmem.lst; else rm -f compat/.xlat/tmem.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/tmem.h || exit $?; \
done <compat/.xlat/tmem.lst >compat/.xlat/tmem.h.new
mv -f compat/.xlat/tmem.h.new compat/.xlat/tmem.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+trace\.h[[:blank:]]*$,,p' >compat/.xlat/trace.lst.new
if ! cmp -s compat/.xlat/trace.lst.new compat/.xlat/trace.lst; then mv -f compat/.xlat/trace.lst.new compat/.xlat/trace.lst; else rm -f compat/.xlat/trace.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/trace.h || exit $?; \
done <compat/.xlat/trace.lst >compat/.xlat/trace.h.new
mv -f compat/.xlat/trace.h.new compat/.xlat/trace.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+vcpu\.h[[:blank:]]*$,,p' >compat/.xlat/vcpu.lst.new
if ! cmp -s compat/.xlat/vcpu.lst.new compat/.xlat/vcpu.lst; then mv -f compat/.xlat/vcpu.lst.new compat/.xlat/vcpu.lst; else rm -f compat/.xlat/vcpu.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/vcpu.h || exit $?; \
done <compat/.xlat/vcpu.lst >compat/.xlat/vcpu.h.new
mv -f compat/.xlat/vcpu.h.new compat/.xlat/vcpu.h
mkdir -p compat/.xlat
grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 's,[[:blank:]]+xenoprof\.h[[:blank:]]*$,,p' >compat/.xlat/xenoprof.lst.new
if ! cmp -s compat/.xlat/xenoprof.lst.new compat/.xlat/xenoprof.lst; then mv -f compat/.xlat/xenoprof.lst.new compat/.xlat/xenoprof.lst; else rm -f compat/.xlat/xenoprof.lst.new; fi
export PYTHON=/usr/local/bin/python2.7; \
while read what name; do \
	/bin/sh /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/tools/get-fields.sh "$what" compat_$name compat/xenoprof.h || exit $?; \
done <compat/.xlat/xenoprof.lst >compat/.xlat/xenoprof.h.new
mv -f compat/.xlat/xenoprof.h.new compat/.xlat/xenoprof.h
cat compat/.xlat/xen.h compat/.xlat/arch-x86/pmu.h compat/.xlat/arch-x86/xen-x86_32.h compat/.xlat/arch-x86/xen.h compat/.xlat/arch-x86/xen-mca.h compat/.xlat/argo.h compat/.xlat/event_channel.h compat/.xlat/grant_table.h compat/.xlat/hvm/dm_op.h compat/.xlat/hvm/hvm_op.h compat/.xlat/hvm/hvm_vcpu.h compat/.xlat/kexec.h compat/.xlat/memory.h compat/.xlat/physdev.h compat/.xlat/platform.h compat/.xlat/pmu.h compat/.xlat/sched.h compat/.xlat/tmem.h compat/.xlat/trace.h compat/.xlat/vcpu.h compat/.xlat/xenoprof.h >compat/xlat.h.new
mv -f compat/xlat.h.new compat/xlat.h
for i in public/event_channel.h public/trace.h public/elfnote.h public/tmem.h public/platform.h public/physdev.h public/grant_table.h public/vm_event.h public/callback.h public/sched.h public/features.h public/xen.h public/version.h public/device_tree_defs.h public/xenoprof.h public/xencomm.h public/nmi.h public/vcpu.h public/xen-compat.h public/argo.h public/kexec.h public/errno.h public/memory.h public/pmu.h public/hvm/params.h public/hvm/hvm_vcpu.h public/hvm/hvm_info_table.h public/hvm/ioreq.h public/hvm/hvm_op.h public/hvm/hvm_xs_strings.h public/hvm/dm_op.h public/hvm/e820.h public/hvm/pvdrivers.h public/io/vscsiif.h public/io/libxenvchan.h public/io/usbif.h public/io/pciif.h public/io/netif.h public/io/xenbus.h public/io/fbif.h public/io/tpmif.h public/io/fsif.h public/io/sndif.h public/io/blkif.h public/io/console.h public/io/displif.h public/io/ring.h public/io/protocols.h public/io/kbdif.h public/io/xs_wire.h; do \
    clang -x c -ansi -Wall -Werror -include stdint.h \
          -S -o /dev/null $i || exit 1; \
    echo $i; \
done >headers.chk.new
mv headers.chk.new headers.chk
rm -f headers99.chk.new
echo "#include "\"public/io/9pfs.h\" | clang -x c -std=c99 -Wall -Werror -include stdint.h  -include string.h -S -o /dev/null - || exit $?; echo public/io/9pfs.h >> headers99.chk.new;  echo "#include "\"public/io/pvcalls.h\" | clang -x c -std=c99 -Wall -Werror -include stdint.h  -include string.h -S -o /dev/null - || exit $?; echo public/io/pvcalls.h >> headers99.chk.new;
mv headers99.chk.new headers99.chk
rm -f headers++.chk.new
if ! clang++ -v >/dev/null 2>&1; then                                  \
    touch headers++.chk.new;                                                     \
    exit 0;                                                           \
fi;                                                                   \
 echo "#include "\"public/domctl.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/domctl.h >> headers++.chk.new;  echo "#include "\"public/event_channel.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/event_channel.h >> headers++.chk.new;  echo "#include "\"public/trace.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/trace.h >> headers++.chk.new;  echo "#include "\"public/elfnote.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/elfnote.h >> headers++.chk.new;  echo "#include "\"public/tmem.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -
 o /dev/null - || exit $?; echo public/tmem.h >> headers++.chk.new;  echo "#include "\"public/platform.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/platform.h >> headers++.chk.new;  echo "#include "\"public/physdev.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/physdev.h >> headers++.chk.new;  echo "#include "\"public/grant_table.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/grant_table.h >> headers++.chk.new;  echo "#include "\"public/vm_event.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/vm_event.h >> headers++.chk.new;  echo "#include "\"public/callback.h\" | clang++ -x c++ -std=gnu++
 98 -Wall -Werror -D__XEN_TOOLS__ -include st!
 dint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/callback.h >> headers++.chk.new;  echo "#include "\"public/sched.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/sched.h >> headers++.chk.new;  echo "#include "\"public/features.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/features.h >> headers++.chk.new;  echo "#include "\"public/xen.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/xen.h >> headers++.chk.new;  echo "#include "\"public/version.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/version.h >> headers++.chk.new;  echo "#include "\"public/device_tree_defs.h\" | c
 lang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/device_tree_defs.h >> headers++.chk.new;  echo "#include "\"public/xenoprof.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/xenoprof.h >> headers++.chk.new;  echo "#include "\"public/xencomm.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/xencomm.h >> headers++.chk.new;  echo "#include "\"public/nmi.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/nmi.h >> headers++.chk.new;  echo "#include "\"public/vcpu.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/vcpu.
 h >> headers++.chk.new;  echo "#include "\"p!
 ublic/xen!
 -compat.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/xen-compat.h >> headers++.chk.new;  echo "#include "\"public/argo.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/argo.h >> headers++.chk.new;  echo "#include "\"public/kexec.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/kexec.h >> headers++.chk.new;  echo "#include "\"public/errno.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/errno.h >> headers++.chk.new;  echo "#include "\"public/sysctl.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/sy
 sctl.h >> headers++.chk.new;  echo "#include "\"public/memory.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/memory.h >> headers++.chk.new;  echo "#include "\"public/pmu.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/pmu.h >> headers++.chk.new;  echo "#include "\"public/hvm/params.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/params.h >> headers++.chk.new;  echo "#include "\"public/hvm/hvm_vcpu.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/hvm_vcpu.h >> headers++.chk.new;  echo "#include "\"public/hvm/hvm_info_table.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -
 include stdint.h -include public/xen.h  -S -!
 o /dev/nu!
 ll - || exit $?; echo public/hvm/hvm_info_table.h >> headers++.chk.new;  echo "#include "\"public/hvm/ioreq.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/ioreq.h >> headers++.chk.new;  echo "#include "\"public/hvm/save.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/save.h >> headers++.chk.new;  echo "#include "\"public/hvm/hvm_op.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/hvm_op.h >> headers++.chk.new;  echo "#include "\"public/hvm/hvm_xs_strings.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/hvm_xs_strings.h >> headers++.chk.new;  echo "#include "\"public/hvm/dm_op.h\"
  | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/dm_op.h >> headers++.chk.new;  echo "#include "\"public/hvm/e820.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/e820.h >> headers++.chk.new;  echo "#include "\"public/hvm/pvdrivers.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/hvm/pvdrivers.h >> headers++.chk.new;  echo "#include "\"public/xsm/flask_op.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/xsm/flask_op.h >> headers++.chk.new;  echo "#include "\"public/io/vscsiif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/nul
 l - || exit $?; echo public/io/vscsiif.h >> !
 headers++!
 .chk.new;  echo "#include "\"public/io/libxenvchan.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/libxenvchan.h >> headers++.chk.new;  echo "#include "\"public/io/usbif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/usbif.h >> headers++.chk.new;  echo "#include "\"public/io/pciif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/pciif.h >> headers++.chk.new;  echo "#include "\"public/io/netif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/netif.h >> headers++.chk.new;  echo "#include "\"public/io/pvcalls.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdin
 t.h -include public/xen.h  -include cstring -S -o /dev/null - || exit $?; echo public/io/pvcalls.h >> headers++.chk.new;  echo "#include "\"public/io/xenbus.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/xenbus.h >> headers++.chk.new;  echo "#include "\"public/io/fbif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/fbif.h >> headers++.chk.new;  echo "#include "\"public/io/tpmif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/tpmif.h >> headers++.chk.new;  echo "#include "\"public/io/fsif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/fsif.h >> headers++.chk.new;  echo "#include "\
 "public/io/sndif.h\" | clang++ -x c++ -std=g!
 nu++98 -W!
 all -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/sndif.h >> headers++.chk.new;  echo "#include "\"public/io/9pfs.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -include cstring -S -o /dev/null - || exit $?; echo public/io/9pfs.h >> headers++.chk.new;  echo "#include "\"public/io/blkif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/blkif.h >> headers++.chk.new;  echo "#include "\"public/io/console.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/console.h >> headers++.chk.new;  echo "#include "\"public/io/displif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/di
 splif.h >> headers++.chk.new;  echo "#include "\"public/io/ring.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/ring.h >> headers++.chk.new;  echo "#include "\"public/io/protocols.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/protocols.h >> headers++.chk.new;  echo "#include "\"public/io/kbdif.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/kbdif.h >> headers++.chk.new;  echo "#include "\"public/io/xs_wire.h\" | clang++ -x c++ -std=gnu++98 -Wall -Werror -D__XEN_TOOLS__ -include stdint.h -include public/xen.h  -S -o /dev/null - || exit $?; echo public/io/xs_wire.h >> headers++.chk.new;
mv headers++.chk.new headers++.chk
gmake -C xen/lib/x86 all
gmake[5]: Entering directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/lib/x86'
/usr/local/bin/python2.7 /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/../xen/tools/gen-cpuid.py -i /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/../xen/include/public/arch-x86/cpufeatureset.h -o cpuid-autogen.h.new
if ! cmp -s cpuid-autogen.h.new cpuid-autogen.h; then mv -f cpuid-autogen.h.new cpuid-autogen.h; else rm -f cpuid-autogen.h.new; fi
gmake[5]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/lib/x86'
rm compat/argo.c compat/hvm/dm_op.i compat/xen.c compat/kexec.i compat/tmem.i compat/grant_table.i compat/arch-x86/xen-x86_32.c compat/sched.c compat/vcpu.c compat/xen.i compat/trace.i compat/features.i compat/callback.c compat/hvm/hvm_vcpu.c compat/version.i compat/arch-x86/pmu.i compat/event_channel.i compat/arch-x86/xen.i compat/elfnote.c compat/arch-x86/xen-mca.i compat/hvm/dm_op.c compat/pmu.i compat/platform.i compat/kexec.c compat/tmem.c compat/nmi.i compat/physdev.i compat/elfnote.i compat/physdev.c compat/vcpu.i compat/hvm/hvm_op.i compat/trace.c compat/features.c compat/arch-x86_32.c compat/arch-x86/pmu.c compat/event_channel.c compat/memory.c compat/arch-x86/xen.c compat/argo.i compat/arch-x86/xen-mca.c compat/version.c compat/arch-x86_32.i compat/pmu.c compat/platform.c compat/memory.i compat/sched.i compat/nmi.c compat/callback.i compat/xenoprof.c compat/hvm/hvm_vcpu.i compat/hvm/hvm_op.c compat/xenoprof.i compat/grant_table.c compat/arch-x86/xen-x86_32.i
gmake[4]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include'
gmake -f /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/Rules.mk -C arch/x86 asm-offsets.s
gmake[4]: Entering directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86'
clang -E -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ -include /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/config.h '-D__OBJECT_FILE__="asm-macros.i"' -MMD -MF ./.asm-macros.i.d -DXEN_BUILD_EFI -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/mach-generic -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/mach-default -DXEN_IMG_OFFSET=0x200000 '-D__OBJECT_LABEL__=arch$x86$asm_macros.i' -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_AS_VMX -DHAVE_AS_SSE4_2 -DHAVE_AS_EPT -DHAVE_AS_RDRAND -DHAVE_AS_FSGSBASE -DHAVE_AS_RDSEED -U__OBJECT_LABEL__ -DHAVE_AS_QUOTED_SYM '-D__OBJECT_LABEL__=arch/x86/asm-macr
 os.i' -DHAVE_AS_INVPCID -DHAVE_AS_NEGATIVE_TRUE -mno-red-zone -fpic -fno-asynchronous-unwind-tables -mno-sse -DGCC_HAS_VISIBILITY_ATTRIBUTE -DBUILD_ID_EFI -D__ASSEMBLY__ -P asm-macros.c -o asm-macros.i
echo '#if 0' >/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new
echo '.if 0' >>/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new
echo '#endif' >>/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new
echo 'asm ( ".include \"/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h\"" );' >>/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new
echo '#if 0' >>/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new
echo '.endif' >>/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new
cat asm-macros.i >>/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new
echo '#endif' >>/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new
if ! cmp -s /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h; then mv -f /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h; else rm -f /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/asm-macros.h.new; fi
clang -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ -include /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/config.h '-D__OBJECT_FILE__="asm-offsets.s"' -MMD -MF ./.asm-offsets.s.d -DXEN_BUILD_EFI -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/mach-generic -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/mach-default -DXEN_IMG_OFFSET=0x200000 '-D__OBJECT_LABEL__=arch$x86$asm_offsets.s' -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_AS_VMX -DHAVE_AS_SSE4_2 -DHAVE_AS_EPT -DHAVE_AS_RDRAND -DHAVE_AS_FSGSBASE -DHAVE_AS_RDSEED -U__OBJECT_LABEL__ -DHAVE_AS_QUOTED_SYM '-D__OBJECT_LABEL__=arch/x86/asm-offs
 ets.s' -DHAVE_AS_INVPCID -DHAVE_AS_NEGATIVE_TRUE -mno-red-zone -fpic -fno-asynchronous-unwind-tables -mno-sse -DGCC_HAS_VISIBILITY_ATTRIBUTE -DBUILD_ID_EFI -S -o asm-offsets.s x86_64/asm-offsets.c
gmake[4]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86'
gmake -f /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/Rules.mk include/asm-x86/asm-offsets.h
gmake[4]: Entering directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen'
gmake[4]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen'
gmake -f /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/Rules.mk -C arch/x86 /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/xen
gmake[4]: Entering directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86'
sed "s! $PWD/! !" .asm-offsets.s.d >.asm-offsets.s.d2.tmp && mv -f .asm-offsets.s.d2.tmp .asm-offsets.s.d2
sed "s! $PWD/! !" .asm-macros.i.d >.asm-macros.i.d2.tmp && mv -f .asm-macros.i.d2.tmp .asm-macros.i.d2
gmake -f /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/Rules.mk -C /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/boot built_in.o
gmake[5]: Entering directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/boot'
gmake -f build32.mk cmdline.S CMDLINE_DEPS="defs.h /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/stdbool.h video.h"
gmake[6]: Entering directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/boot'
clang -m32 -march=i686 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions -Werror -fno-asynchronous-unwind-tables -fno-builtin -g0 -msoft-float -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/../xen/include  -c -fpic cmdline.c -o cmdline.o
/usr/local/bin/ld -melf_i386_fbsd -N -T build32.lds -o cmdline.lnk cmdline.o
objdump -h cmdline.lnk | sed -n '/[0-9]/{s,00*,0,g;p;}' | \
	while read idx name sz rest; do \
		case "$name" in \
		.got.plt) \
			test $sz != 0c || continue; \
			echo "Error: non-empty $name: 0x$sz" >&2; \
			exit $(expr $idx + 1);; \
		esac; \
	done
objcopy -O binary -R .got.plt cmdline.lnk cmdline.bin
(od -v -t x cmdline.bin | tr -s ' ' | awk 'NR > 1 {print s} {s=$0}' | \
sed 's/ /,0x/g' | sed 's/,0x$//' | sed 's/^[0-9]*,/ .long /') >cmdline.S
gmake[6]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/boot'
gmake -f build32.mk reloc.S RELOC_DEPS="defs.h /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/stdbool.h /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/multiboot.h /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/multiboot2.h /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/public/arch-x86/hvm/start_info.h"
gmake[6]: Entering directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/boot'
clang -m32 -march=i686 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions -Werror -fno-asynchronous-unwind-tables -fno-builtin -g0 -msoft-float -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/../xen/include  -c -fpic reloc.c -o reloc.o
/usr/local/bin/ld -melf_i386_fbsd -N -T build32.lds -o reloc.lnk reloc.o
objdump -h reloc.lnk | sed -n '/[0-9]/{s,00*,0,g;p;}' | \
	while read idx name sz rest; do \
		case "$name" in \
		.got.plt) \
			test $sz != 0c || continue; \
			echo "Error: non-empty $name: 0x$sz" >&2; \
			exit $(expr $idx + 1);; \
		esac; \
	done
objcopy -O binary -R .got.plt reloc.lnk reloc.bin
(od -v -t x reloc.bin | tr -s ' ' | awk 'NR > 1 {print s} {s=$0}' | \
sed 's/ /,0x/g' | sed 's/,0x$//' | sed 's/^[0-9]*,/ .long /') >reloc.S
gmake[6]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/boot'
clang -D__ASSEMBLY__ -m64 -DBUILD_ID -fno-strict-aliasing -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-local-typedefs -O2 -fomit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ -include /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/config.h '-D__OBJECT_FILE__="head.o"' -MMD -MF ./.head.o.d -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/mach-generic -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/mach-default -DXEN_IMG_OFFSET=0x200000 '-D__OBJECT_LABEL__=arch$x86$boot$head.o' -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_AS_VMX -DHAVE_AS_SSE4_2 -DHAVE_AS_EPT -DHAVE_AS_RDRAND -DHAVE_AS_FSGSBASE -DHAVE_AS_RDSEED -U__OBJECT_LABEL__ -DHAVE_AS_QUOTED_SYM '-D__OBJECT_LABEL__=arch/x86/boot/head.o' -DHAVE_AS_INVPCID -DHAV
 E_AS_NEGATIVE_TRUE -mno-red-zone -fpic -fno-asynchronous-unwind-tables -mno-sse -DGCC_HAS_VISIBILITY_ATTRIBUTE -Wa,-I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include -c head.S -o head.o
/usr/local/bin/ld    -melf_x86_64_fbsd  -r -o built_in.o head.o
gmake[5]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/boot'
gmake -f /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/Rules.mk -C /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/efi built_in.o
gmake[5]: Entering directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/efi'
clang -m64 -DBUILD_ID -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-local-typedefs   -O2 -fomit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ -include /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/xen/config.h '-D__OBJECT_FILE__="boot.o"'  -MMD -MF ./.boot.o.d  -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/mach-generic -I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include/asm-x86/mach-default -DXEN_IMG_OFFSET=0x200000 '-D__OBJECT_LABEL__=arch$x86$efi$boot.o' -msoft-float -fno-stack-protector -fno-exceptions -Wnested-externs -DHAVE_AS_VMX -DHAVE_AS_SSE4_2 -DHAVE_AS_EPT -DHAVE_AS_RDRAND -DHAVE_AS_FSGSBASE -DHAVE_AS_RDSEED -U__OBJECT_LABEL__ -DHAVE_AS_QUOTED_SYM '-D__OBJECT_LABEL__=arch/x86/efi/boot.o' -DHAVE_AS_INVPCID -DHAVE_
 AS_NEGATIVE_TRUE  -mno-red-zone -fpic -fno-asynchronous-unwind-tables -mno-sse  -DGCC_HAS_VISIBILITY_ATTRIBUTE -Wa,-I/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/include   -fshort-wchar -DINIT_SECTIONS_ONLY -c boot.c -o boot.o
objcopy -I ihex -O binary buildid.ihex buildid.o
objcopy: elf_nextscn failed: Invalid argument
gmake[5]: *** [Makefile:4: buildid.o] Error 1
gmake[5]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/efi'
gmake[4]: *** [/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/Rules.mk:184: /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86/efi/built_in.o] Error 2
gmake[4]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/arch/x86'
gmake[3]: *** [Makefile:143: /wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen/xen] Error 2
gmake[3]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen'
gmake[2]: *** [Makefile:45: build] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0/xen'
gmake[1]: *** [Makefile:55: build-xen] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/xen-kernel/work/xen-4.12.0'
*** Error code 2

Stop.
make: stopped in /usr/ports/emulators/xen-kernel



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