Build FreeBSD: FAILED devel/qemu4 on x86_64-freebsd12.1 (qemu-v4.1.0-x86_64-freebsd12.1-1)
joel at rtems.org
joel at rtems.org
Tue Mar 17 06:28:46 UTC 2020
RTEMS Source Builder - Set Builder, 5 (af7f19889e4d)
Host: FreeBSD-12.1-RELEASE-p2-amd64-64bit-ELF
FreeBSD rtbf64b 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64
amd64
Build Time: 0:02:53.506857
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: qemu-v4.1.0-x86_64-freebsd12.1-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
script: 16: SB_HOST_LIBS=""
script: 17: SB_BUILD_CFLAGS="-O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/include"
script: 18: SB_BUILD_CXXFLAGS="-O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/include"
script: 19: SB_BUILD_LDFLAGS=" -L/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/lib"
script: 20: SB_BUILD_LBS=""
script: 21: SB_CFLAGS="${SB_BUILD_CFLAGS} "
script: 22: SB_CXXFLAGS="${SB_BUILD_CXXFLAGS} "
script: 23: SB_ARCH="x86_64"
script: 24: SB_OS="freebsd"
script: 25: export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
script: 26: export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
script: 27: export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
script: 28: export SB_CFLAGS SB_CXXFLAGS
script: 29: # Documentation
script: 30: SB_DOC_DIR="/home/joel/rtems-cron-5/tools/5/share/doc"
script: 31: export SB_DOC_DIR
script: 32: # Packages
script: 33: SB_PACKAGE_NAME="qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 34: SB_PACKAGE_BUILDNAME="qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 35: SB_PACKAGE_VERSION="v4.1.0"
script: 36: SB_PACKAGE_RELEASE="1"
script: 37: export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
script: 38: # Build directories
script: 39: export SB_PREFIX
script: 40: SB_BUILD_DIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 41: SB_BUILD_ROOT="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002"
script: 42: SB_BUILD_ROOT_BINDIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002/${SB_PREFIX_CLEAN}/bin"
script: 43: export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
script: 44: SB_BUILD_CXC_DIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1-cxc"
script: 45: SB_BUILD_CXC_ROOT="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002-cxc"
script: 46: SB_BUILD_CXC_ROOT_BINDIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002-cxc/${SB_PREFIX_CLEAN}/bin"
script: 47: export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
script: 48: SB_TMPROOT="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4"
script: 49: SB_TMPPREFIX="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}"
script: 50: SB_TMPBINDIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/bin"
script: 51: export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
script: 52: SB_TMPCXCROOT="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4"
script: 53: SB_TMPCXCPREFIX="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/${SB_PREFIX_CLEAN}"
script: 54: SB_TMPCXCBINDIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/${SB_PREFIX_CLEAN}/bin"
script: 55: export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
script: 56: # Extra path support
script: 57: SB_EXTRAPATH="/usr/home/joel/rtems-cron-5/rtems-source-builder/source-builder"
script: 58: # The compiler flags
script: 59:
script: 60:
script: 61: export CFLAGS_FOR_TARGET
script: 62: export CXXFLAGS_FOR_TARGET
script: 63: # Set up the path. Put the CXC path first.
script: 64: if test -n "${SB_TMPBINDIR}" ; then
script: 65: PATH="${SB_TMPBINDIR}:$PATH"
script: 66: fi
script: 67: if test -n "${SB_TMPCXCBINDIR}" ; then
script: 68: PATH="${SB_TMPCXCBINDIR}:$PATH"
script: 69: fi
script: 70: if test -n "${SB_EXTRAPATH}" ; then
script: 71: PATH="${SB_EXTRAPATH}:$PATH"
script: 72: fi
script: 73: PATH="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-staging/bin:$PATH"
script: 74:
script: 75: export PATH
script: 76: # Default environment set up.
script: 77: LANG=C
script: 78: export LANG
script: 79: unset DISPLAY || :
script: 80: umask 022
script: 81: cd "/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 82: echo "=> qemu-v4.1.0-x86_64-freebsd12.1-1: BUILD"
script: 83: echo "==> %prep:"
script: 84: build_top=$(pwd)
script: 85: source_dir_qemu="qemu-v4.1.0"
source setup: qemu-v4.1.0-x86_64-freebsd12.1-1: source qemu -q -n qemu-v4.1.0
making dir: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/sources/git
git: pull: git://git.qemu-project.org/qemu.git
git: checkout: git://git.qemu-project.org/qemu.git => v4.1.0
git: submodule: git://git.qemu-project.org/qemu.git <= dtc
script: 86: cd /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
script: 87: /bin/rm -rf qemu-v4.1.0
script: 88: ln -s /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/sources/git/qemu.git ${source_dir_qemu}
script: 89: tar_exit=$?
script: 90: cd qemu-v4.1.0
script: 91: /bin/chmod -R a+rX,g-w,o-w .
checksums: Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch: (hex: 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740) (b64: QDmfzttEssG/oala9IL38zX0LXE5Z+0vNJgKepQMN0A=) => 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
making dir: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/patches
script: 92: /bin/cat /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch | /usr/bin/patch -E -p1
checksums: qemu-4.1.0-leon3.patch: (hex: d62ff3418903f1c5eb7f6d727af0400caeb250e23cc120111930601c9ecce02a) (b64: 1i/zQYkD8cXrf21yevBADK6yUOI8wSARGTBgHJ7M4Co=) => d62ff3418903f1c5eb7f6d727af0400caeb250e23cc120111930601c9ecce02a
making dir: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/patches
script: 93: /bin/cat /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/patches/qemu-4.1.0-leon3.patch | /usr/bin/patch -E -p1
script: 94: cd ${build_top}
script: 95: SB_CXC="no"
script: 96: echo "==> clean %{buildroot}: ${SB_BUILD_ROOT}"
script: 97: /bin/rm -rf ${SB_BUILD_ROOT}
script: 98: /bin/mkdir -p ${SB_BUILD_ROOT}
script: 99: echo "==> %build:"
script:100: build_top=$(pwd)
script:101: if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
script:102: # Cross-build (Xc) if no target or the host and target match.
script:103: # Canadian-cross (Cxc) if build, host and target are all different.
script:104: if test -z "" -o "x86_64-freebsd12.1" == "" ; then
script:105: build_dir="build-xc"
script:106: else
script:107: build_dir="build-cxc"
script:108: fi
script:109: else
script:110: build_dir="build"
script:111: fi
script:112: mkdir -p ${build_dir}
script:113: cd ${build_dir}
script:114: # Host and build flags, Cross build if host and build are different and
script:115: # Cxc build if target is deifned and also different.
script:116: # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
script:117: if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
script:118: # Cross build
script:119: CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
script:120: CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
script:121: CPPFLAGS="${SB_HOST_CPPFLAGS}"
script:122: CFLAGS="${SB_HOST_CFLAGS}"
script:123: CXXFLAGS="${SB_HOST_CXXFLAGS}"
script:124: LDFLAGS="${SB_HOST_LDFLAGS}"
script:125: LDLIBS="${SB_HOST_LIBS}"
script:126: LIBS="${SB_HOST_LIBS}"
script:127: # Host
script:128: CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
script:129: CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
script:130: CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
script:131: LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
script:132: LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
script:133: LIBS_FOR_HOST="${SB_HOST_LIBS}"
script:134: CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
script:135: CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:136: CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:137: # Build
script:138: CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
script:139: CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
script:140: LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
script:141: LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
script:142: LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
script:143: CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
script:144: CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:145: CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:146: else
script:147: LDFLAGS="${SB_BUILD_LDFLAGS}"
script:148: LDLIBS="${SB_BUILD_LIBS}"
script:149: LIBS="${SB_BUILD_LIBS}"
script:150: CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:151: CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:152: CC_FOR_BUILD=${CC}
script:153: CXX_FOR_BUILD=${CXX}
script:154: fi
script:155: export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
script:156: export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
script:157: export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
script:158: if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
script:159: CROSS_PREFIX_OPTION="--cross-prefix=x86_64-freebsd12.1-"
script:160: fi
script:161: SYSROOT=$SB_TMPPREFIX
script:162: PKG_CONFIG_DEFAULT_PATH=${PKG_CONFIG_PATH} PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" CFLAGS="${CFLAGS} ${VDE_CFLAGS}" ../${source_dir_qemu}/configure --prefix=/home/joel/rtems-cron-5/tools/5 ${CROSS_PREFIX_OPTION} --make=gmake ${VDE_CONFIG} --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap
script:163: LD_LIBRARY_PATH=$SYSROOT/lib gmake -j 4 all
script:164: cd ${build_top}
script:165: echo "==> %install:"
script:166: build_top=$(pwd)
script:167: /bin/rm -rf $SB_BUILD_ROOT
script:168: cd ${build_dir}
script:169: LD_LIBRARY_PATH=$SYSROOT/lib gmake DESTDIR=$SB_BUILD_ROOT install
script:170: cd ${build_top}
script: 1: #!/bin/sh
script: 2: # ___build_pre as set up in defaults.py
script: 3: # Save the original path away.
script: 4: export SB_ORIG_PATH=${PATH}
script: 5: # Directories
script: 6: SB_PREFIX="/home/joel/rtems-cron-5/tools/5"
script: 7: SB_PREFIX_CLEAN=$(echo "/home/joel/rtems-cron-5/tools/5" | /usr/bin/sed -e 's/^\///')
script: 8: SB_SOURCE_DIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/sources"
script: 9: SB_BUILD_DIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 10: # host == build, use build; host != build, host uses host and build uses build
script: 11: SB_HOST_CPPFLAGS="-I/usr/local/include"
script: 12: # Optionally do not add includes to c/cxx flags as newer configure's complain
script: 13: SB_HOST_CFLAGS="-O2 -g -pipe "
script: 14: SB_HOST_CXXFLAGS="-O2 -g -pipe "
script: 15: SB_HOST_LDFLAGS="-L/usr/local/lib -L/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/lib"
script: 16: SB_HOST_LIBS=""
script: 17: SB_BUILD_CFLAGS="-O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/include"
script: 18: SB_BUILD_CXXFLAGS="-O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/include"
script: 19: SB_BUILD_LDFLAGS=" -L/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/lib"
script: 20: SB_BUILD_LBS=""
script: 21: SB_CFLAGS="${SB_BUILD_CFLAGS} "
script: 22: SB_CXXFLAGS="${SB_BUILD_CXXFLAGS} "
script: 23: SB_ARCH="x86_64"
script: 24: SB_OS="freebsd"
script: 25: export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
script: 26: export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
script: 27: export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
script: 28: export SB_CFLAGS SB_CXXFLAGS
script: 29: # Documentation
script: 30: SB_DOC_DIR="/home/joel/rtems-cron-5/tools/5/share/doc"
script: 31: export SB_DOC_DIR
script: 32: # Packages
script: 33: SB_PACKAGE_NAME="qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 34: SB_PACKAGE_BUILDNAME="qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 35: SB_PACKAGE_VERSION="v4.1.0"
script: 36: SB_PACKAGE_RELEASE="1"
script: 37: export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
script: 38: # Build directories
script: 39: export SB_PREFIX
script: 40: SB_BUILD_DIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 41: SB_BUILD_ROOT="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002"
script: 42: SB_BUILD_ROOT_BINDIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002/${SB_PREFIX_CLEAN}/bin"
script: 43: export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
script: 44: SB_BUILD_CXC_DIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1-cxc"
script: 45: SB_BUILD_CXC_ROOT="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002-cxc"
script: 46: SB_BUILD_CXC_ROOT_BINDIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002-cxc/${SB_PREFIX_CLEAN}/bin"
script: 47: export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
script: 48: SB_TMPROOT="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4"
script: 49: SB_TMPPREFIX="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}"
script: 50: SB_TMPBINDIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/${SB_PREFIX_CLEAN}/bin"
script: 51: export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
script: 52: SB_TMPCXCROOT="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4"
script: 53: SB_TMPCXCPREFIX="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/${SB_PREFIX_CLEAN}"
script: 54: SB_TMPCXCBINDIR="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/${SB_PREFIX_CLEAN}/bin"
script: 55: export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
script: 56: # Extra path support
script: 57: SB_EXTRAPATH="/usr/home/joel/rtems-cron-5/rtems-source-builder/source-builder"
script: 58: # The compiler flags
script: 59:
script: 60:
script: 61: export CFLAGS_FOR_TARGET
script: 62: export CXXFLAGS_FOR_TARGET
script: 63: # Set up the path. Put the CXC path first.
script: 64: if test -n "${SB_TMPBINDIR}" ; then
script: 65: PATH="${SB_TMPBINDIR}:$PATH"
script: 66: fi
script: 67: if test -n "${SB_TMPCXCBINDIR}" ; then
script: 68: PATH="${SB_TMPCXCBINDIR}:$PATH"
script: 69: fi
script: 70: if test -n "${SB_EXTRAPATH}" ; then
script: 71: PATH="${SB_EXTRAPATH}:$PATH"
script: 72: fi
script: 73: PATH="/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-staging/bin:$PATH"
script: 74:
script: 75: export PATH
script: 76: # Default environment set up.
script: 77: LANG=C
script: 78: export LANG
script: 79: unset DISPLAY || :
script: 80: umask 022
script: 81: cd "/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1"
script: 82: echo "=> qemu-v4.1.0-x86_64-freebsd12.1-1: CLEAN"
script: 83: echo "==> %clean:"
removing: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
making dir: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
write script: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1/do-build
write script: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1/do-clean
building: qemu-v4.1.0-x86_64-freebsd12.1-1
run: /bin/sh -ex /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1/do-build
+ export 'SB_ORIG_PATH=/home/joel/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/joel/bin'
+ SB_PREFIX=/home/joel/rtems-cron-5/tools/5
+ echo /home/joel/rtems-cron-5/tools/5
+ /usr/bin/sed -e 's/^\///'
+ SB_PREFIX_CLEAN=home/joel/rtems-cron-5/tools/5
+ SB_SOURCE_DIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/sources
+ SB_BUILD_DIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
+ SB_HOST_CPPFLAGS=-I/usr/local/include
+ SB_HOST_CFLAGS='-O2 -g -pipe '
+ SB_HOST_CXXFLAGS='-O2 -g -pipe '
+ SB_HOST_LDFLAGS='-L/usr/local/lib -L/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/lib'
+ SB_HOST_LIBS=''
+ SB_BUILD_CFLAGS='-O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include'
+ SB_BUILD_CXXFLAGS='-O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include'
+ SB_BUILD_LDFLAGS=' -L/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/lib'
+ SB_BUILD_LBS=''
+ SB_CFLAGS='-O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include '
+ SB_CXXFLAGS='-O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include '
+ SB_ARCH=x86_64
+ SB_OS=freebsd
+ export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
+ export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
+ export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
+ export SB_CFLAGS SB_CXXFLAGS
=> qemu-v4.1.0-x86_64-freebsd12.1-1: BUILD
+ SB_DOC_DIR=/home/joel/rtems-cron-5/tools/5/share/doc
+ export SB_DOC_DIR
==> %prep:
+ SB_PACKAGE_NAME=qemu-v4.1.0-x86_64-freebsd12.1-1
+ SB_PACKAGE_BUILDNAME=qemu-v4.1.0-x86_64-freebsd12.1-1
+ SB_PACKAGE_VERSION=v4.1.0
+ SB_PACKAGE_RELEASE=1
+ export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
+ export SB_PREFIX
+ SB_BUILD_DIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
+ SB_BUILD_ROOT=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002
+ SB_BUILD_ROOT_BINDIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002/home/joel/rtems-cron-5/tools/5/bin
+ export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
+ SB_BUILD_CXC_DIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1-cxc
+ SB_BUILD_CXC_ROOT=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002-cxc
+ SB_BUILD_CXC_ROOT_BINDIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002-cxc/home/joel/rtems-cron-5/tools/5/bin
+ export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
+ SB_TMPROOT=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4
+ SB_TMPPREFIX=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5
+ SB_TMPBINDIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin
+ export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
+ SB_TMPCXCROOT=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4
+ SB_TMPCXCPREFIX=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/home/joel/rtems-cron-5/tools/5
+ SB_TMPCXCBINDIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin
+ export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
+ SB_EXTRAPATH=/usr/home/joel/rtems-cron-5/rtems-source-builder/source-builder
+ export CFLAGS_FOR_TARGET
+ export CXXFLAGS_FOR_TARGET
+ test -n /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin
+ PATH=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin:/home/joel/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/joel/bin
+ test -n /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin
+ PATH=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin:/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin:/home/joel/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/joel/bin
+ test -n /usr/home/joel/rtems-cron-5/rtems-source-builder/source-builder
+ PATH=/usr/home/joel/rtems-cron-5/rtems-source-builder/source-builder:/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin:/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin:/home/joel/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/joel/bin
+ PATH=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-staging/bin:/usr/home/joel/rtems-cron-5/rtems-source-builder/source-builder:/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002-cxc/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin:/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/bin:/home/joel/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/joel/bin
+ export PATH
+ LANG=C
+ export LANG
+ unset DISPLAY
+ umask 022
+ cd /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
+ echo '=> qemu-v4.1.0-x86_64-freebsd12.1-1: BUILD'
+ echo '==> %prep:'
+ pwd
+ build_top=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
+ source_dir_qemu=qemu-v4.1.0
+ cd /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
+ /bin/rm -rf qemu-v4.1.0
+ ln -s /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/sources/git/qemu.git qemu-v4.1.0
+ tar_exit=0
+ cd qemu-v4.1.0
+ /bin/chmod -R a+rX,g-w,o-w .
+ /bin/cat /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
+ /usr/bin/patch -E -p1
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c
|index d2d161b..032a0e4 100644
|--- a/hw/usb/host-libusb.c
|+++ b/hw/usb/host-libusb.c
--------------------------
Patching file hw/usb/host-libusb.c using Plan A...
Hunk #1 succeeded at 156 (offset 13 lines).
done
+ /bin/cat /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/patches/qemu-4.1.0-leon3.patch
+ /usr/bin/patch -E -p1
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hw/misc/grlib_ahb_apb_pnp.c b/hw/misc/grlib_ahb_apb_pnp.c
|index 7338461694..eaaedbfbcc 100644
|--- a/hw/misc/grlib_ahb_apb_pnp.c
|+++ b/hw/misc/grlib_ahb_apb_pnp.c
--------------------------
Patching file hw/misc/grlib_ahb_apb_pnp.c using Plan A...
Hunk #1 succeeded at 228.
done
+ cd /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
+ SB_CXC=no
==> clean %{buildroot}: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002
+ echo '==> clean %{buildroot}: /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002'
+ /bin/rm -rf /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002
+ /bin/mkdir -p /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-v4.1.0-x86_64-freebsd12.1-1-1002
+ echo '==> %build:'
==> %build:
+ pwd
+ build_top=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1
+ test x86_64-freebsd12.1 '!=' x86_64-freebsd12.1
+ build_dir=build
+ mkdir -p build
+ cd build
+ test x86_64-freebsd12.1 '!=' x86_64-freebsd12.1
+ LDFLAGS=' -L/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/lib'
+ LDLIBS=''
+ LIBS=''
+ echo '/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include'
+ sed -e 's,-std=gnu99 ,,'
+ CC='/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include'
+ echo '/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include'
+ sed -e 's,-std=gnu99 ,,'
+ CXX='/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include'
+ CC_FOR_BUILD='/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include'
+ CXX_FOR_BUILD='/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/include'
+ export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
+ export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
+ export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
+ test x86_64-freebsd12.1 '!=' x86_64-freebsd12.1
+ SYSROOT=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5
+ PKG_CONFIG_DEFAULT_PATH='' PKG_CONFIG_PATH=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4 LD_LIBRARY_PATH=/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/lib LDFLAGS='-Wl,-rpath -Wl,/home/joel/rtems-cron-5/tools/5/lib -L/usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1002/devel/qemu4/home/joel/rtems-cron-5/tools/5/lib ' CFLAGS=' ' ../qemu-v4.1.0/configure '--prefix=/home/joel/rtems-cron-5/tools/5' '--make=gmake' --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap
Fatal Python error: Py_Initialize: can't initialize sys standard streams
OSError: [Errno 9] Bad file descriptor
Current thread 0x00000008009e2000 (most recent call first):
Abort trap (core dumped)
ERROR: Cannot use 'python3', Python 2 >= 2.7 or Python 3 is required.
Use --python=/path/to/python to specify a supported Python.
shell cmd failed: /bin/sh -ex /usr/home/joel/rtems-cron-5/rtems-source-builder/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1/do-build
error: building qemu-v4.1.0-x86_64-freebsd12.1-1
See error report: rsb-report-qemu-v4.1.0-x86_64-freebsd12.1-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
Build Set: devel/qemu4
config: devel/libiconv-1.14-1.cfg
config: devel/gettext-0.18.3.1-1.cfg
package: gettext-0.18.3.1-x86_64-freebsd12.1-1
building: gettext-0.18.3.1-x86_64-freebsd12.1-1
sizes: gettext-0.18.3.1-x86_64-freebsd12.1-1: 116.168MB (installed: 13.245MB)
cleaning: gettext-0.18.3.1-x86_64-freebsd12.1-1
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-freebsd12.1-1.txt
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-freebsd12.1-1.xml
config: devel/libffi-3.0.13-1.cfg
config: devel/pixman-0.32.4-1.cfg
config: devel/glib-2.46.2-1.cfg
config: devel/qemu4-git-1.cfg
package: qemu-v4.1.0-x86_64-freebsd12.1-1
git: pull: git://git.qemu-project.org/qemu.git
git: checkout: git://git.qemu-project.org/qemu.git => v4.1.0
git: submodule: git://git.qemu-project.org/qemu.git <= dtc
building: qemu-v4.1.0-x86_64-freebsd12.1-1
error: building qemu-v4.1.0-x86_64-freebsd12.1-1
Build FAILED
See error report: rsb-report-qemu-v4.1.0-x86_64-freebsd12.1-1.txt
error: building qemu-v4.1.0-x86_64-freebsd12.1-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Mar 17 01:28:39 2020
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: af7f19889e4d0787d40929a5cc7e4eb873b1d8fc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-freebsd12.1-1
Config: devel/gettext-0.18.3.1-1.cfg
Summary:
GetText offers to programmers, translators, and even users, a well
integrated set of tools and documentation.
URL:
http://www.gnu.org/software/gettext/
Version:
0.18.3.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_gettext="gettext-0.18.3.1"
%setup source gettext -q -n gettext-0.18.3.1
%setup patch gettext -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_gettext}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Mar 17 01:28:39 2020
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: af7f19889e4d0787d40929a5cc7e4eb873b1d8fc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-freebsd12.1-1
Config: devel/gettext-0.18.3.1-1.cfg
Summary:
GetText offers to programmers, translators, and even users, a well
integrated set of tools and documentation.
URL:
http://www.gnu.org/software/gettext/
Version:
0.18.3.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_gettext="gettext-0.18.3.1"
%setup source gettext -q -n gettext-0.18.3.1
%setup patch gettext -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_gettext}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
More information about the build
mailing list