Build FreeBSD: FAILED devel/qemu on x86_64-freebsd13.0 (qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1)

OAR Tester rtems-tester at oarcorp.com
Wed Dec 22 17:18:19 UTC 2021


RTEMS Source Builder - Set Builder, 5 (6225eadda1de)
warning: exe: absolute exe found in path: (__objdump) /usr/bin/objdump

Host: FreeBSD-13.0-RELEASE-amd64-64bit-ELF
       FreeBSD VM-FreeBSD13.rtems.com 13.0-RELEASE FreeBSD 13.0-RELEASE #0
       releng/13.0-n244733-ea31abc261f: Fri Apr  9 04:24:09 UTC 2021
       root at releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
       amd64 amd64

Build Time: 0:03:04.487309

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
script: 16: SB_HOST_LIBS=""
script: 17: SB_BUILD_CFLAGS="-O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/${SB_PREFIX_CLEAN}/include"
script: 18: SB_BUILD_CXXFLAGS="-O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/${SB_PREFIX_CLEAN}/include"
script: 19: SB_BUILD_LDFLAGS=" -L/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/${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/tester/rtems-cron-5/tools/5/share/doc"
script: 31: export SB_DOC_DIR
script: 32: # Packages
script: 33: SB_PACKAGE_NAME="qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1"
script: 34: SB_PACKAGE_BUILDNAME="qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1"
script: 35: SB_PACKAGE_VERSION="42d58e7c6760cb9c55627c28ae538e27dcf2f144"
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/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1"
script: 41: SB_BUILD_ROOT="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003"
script: 42: SB_BUILD_ROOT_BINDIR="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003/${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/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-cxc"
script: 45: SB_BUILD_CXC_ROOT="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003-cxc"
script: 46: SB_BUILD_CXC_ROOT_BINDIR="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003-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/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu"
script: 49: SB_TMPPREFIX="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/${SB_PREFIX_CLEAN}"
script: 50: SB_TMPBINDIR="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/${SB_PREFIX_CLEAN}/bin"
script: 51: export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
script: 52: SB_TMPCXCROOT="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu"
script: 53: SB_TMPCXCPREFIX="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-cxc/devel/qemu/${SB_PREFIX_CLEAN}"
script: 54: SB_TMPCXCBINDIR="/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-cxc/devel/qemu/${SB_PREFIX_CLEAN}/bin"
script: 55: export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
script: 56: # Extra path support
script: 57: SB_EXTRAPATH="/usr/home/tester/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/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-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/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1"
script: 82: echo "=> qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1: CLEAN"
script: 83: echo "==> %clean:"
removing: /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
making dir: /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
write script: /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1/do-build
write script: /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1/do-clean
building: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
run: /bin/sh -ex  /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1/do-build
+ export 'SB_ORIG_PATH=/home/tester/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/tester/bin'
+ SB_PREFIX=/home/tester/rtems-cron-5/tools/5
+ echo /home/tester/rtems-cron-5/tools/5
+ /usr/bin/sed -e 's/^\///'
+ SB_PREFIX_CLEAN=home/tester/rtems-cron-5/tools/5
+ SB_SOURCE_DIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/sources
+ SB_BUILD_DIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-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/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/lib'
+ SB_HOST_LIBS=''
+ SB_BUILD_CFLAGS='-O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include'
+ SB_BUILD_CXXFLAGS='-O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include'
+ SB_BUILD_LDFLAGS=' -L/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/lib'
+ SB_BUILD_LBS=''
+ SB_CFLAGS='-O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include '
=> qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1: BUILD
+ SB_CXXFLAGS='-O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include '
+ SB_ARCH=x86_64
==> %prep:
+ 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
+ SB_DOC_DIR=/home/tester/rtems-cron-5/tools/5/share/doc
+ export SB_DOC_DIR
+ SB_PACKAGE_NAME=qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
+ SB_PACKAGE_BUILDNAME=qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
+ SB_PACKAGE_VERSION=42d58e7c6760cb9c55627c28ae538e27dcf2f144
+ SB_PACKAGE_RELEASE=1
+ export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
+ export SB_PREFIX
+ SB_BUILD_DIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
+ SB_BUILD_ROOT=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003
+ SB_BUILD_ROOT_BINDIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003/home/tester/rtems-cron-5/tools/5/bin
+ export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
+ SB_BUILD_CXC_DIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-cxc
+ SB_BUILD_CXC_ROOT=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003-cxc
+ SB_BUILD_CXC_ROOT_BINDIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003-cxc/home/tester/rtems-cron-5/tools/5/bin
+ export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
+ SB_TMPROOT=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu
+ SB_TMPPREFIX=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5
+ SB_TMPBINDIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/bin
+ export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
+ SB_TMPCXCROOT=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu
+ SB_TMPCXCPREFIX=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-cxc/devel/qemu/home/tester/rtems-cron-5/tools/5
+ SB_TMPCXCBINDIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-cxc/devel/qemu/home/tester/rtems-cron-5/tools/5/bin
+ export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
+ SB_EXTRAPATH=/usr/home/tester/rtems-cron-5/rtems-source-builder/source-builder
+ export CFLAGS_FOR_TARGET
+ export CXXFLAGS_FOR_TARGET
+ test -n /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/bin
+ PATH=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/bin:/home/tester/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/tester/bin
+ test -n /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-cxc/devel/qemu/home/tester/rtems-cron-5/tools/5/bin
+ PATH=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-cxc/devel/qemu/home/tester/rtems-cron-5/tools/5/bin:/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/bin:/home/tester/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/tester/bin
+ test -n /usr/home/tester/rtems-cron-5/rtems-source-builder/source-builder
+ PATH=/usr/home/tester/rtems-cron-5/rtems-source-builder/source-builder:/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-cxc/devel/qemu/home/tester/rtems-cron-5/tools/5/bin:/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/bin:/home/tester/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/tester/bin
+ PATH=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-staging/bin:/usr/home/tester/rtems-cron-5/rtems-source-builder/source-builder:/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003-cxc/devel/qemu/home/tester/rtems-cron-5/tools/5/bin:/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/bin:/home/tester/rtems-cron-5/tools/5/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/tester/bin
+ export PATH
+ LANG=C
+ export LANG
+ unset DISPLAY
+ umask 022
+ cd /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
+ echo '=> qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1: BUILD'
+ echo '==> %prep:'
+ pwd
+ build_top=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
+ source_dir_qemu=qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144
+ cd /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
+ /bin/rm -rf qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144
+ ln -s /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/sources/git/qemu.git qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144
+ tar_exit=0
+ cd qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144
+ /bin/chmod -R a+rX,g-w,o-w .
+ /bin/cat /usr/home/tester/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 149 (offset 6 lines).
done
+ /bin/cat /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/patches/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch
+ /usr/bin/patch -E -p1
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 9155cb270dde1b4c3749396931f7c22ca54f1e4e Mon Sep 17 00:00:00 2001
|From: Jiri Gaisler <jiri at gaisler.se>
|Date: Thu, 9 Oct 2014 13:05:25 +0200
|Subject: [PATCH 1/3] LEON3: Add emulation of AMBA plug&play
|
|AMBA plug&play is used by kernels to probe available devices (Timers,
|UART, etc...). This is a static declaration of devices implemented in
|QEMU. In the future, a more advanced version could compute those
|information directly from the device tree.
|
|Signed-off-by: Fabien Chouteau <chouteau at adacore.com>
|---
| hw/sparc/Makefile.objs   |   1 +
| hw/sparc/grlib_ambapnp.c | 149 +++++++++++++++++++++++++++++++++++++++++++++++
| hw/sparc/leon3.c         |   3 +
| include/hw/sparc/grlib.h |  22 +++++++
| 4 files changed, 175 insertions(+)
| create mode 100644 hw/sparc/grlib_ambapnp.c
|
|diff --git a/hw/sparc/Makefile.objs b/hw/sparc/Makefile.objs
|index c987b5b..e763701 100644
|--- a/hw/sparc/Makefile.objs
|+++ b/hw/sparc/Makefile.objs
--------------------------
Patching file hw/sparc/Makefile.objs using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hw/sparc/grlib_ambapnp.c b/hw/sparc/grlib_ambapnp.c
|new file mode 100644
|index 0000000..dd53004
|--- /dev/null
|+++ b/hw/sparc/grlib_ambapnp.c
--------------------------
(Creating file hw/sparc/grlib_ambapnp.c...)
Patching file hw/sparc/grlib_ambapnp.c using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c
|index 751392e..2962539 100644
|--- a/hw/sparc/leon3.c
|+++ b/hw/sparc/leon3.c
--------------------------
Patching file hw/sparc/leon3.c using Plan A...
Hunk #1 succeeded at 207.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/include/hw/sparc/grlib.h b/include/hw/sparc/grlib.h
|index 470ce72..5c098df 100644
|--- a/include/hw/sparc/grlib.h
|+++ b/include/hw/sparc/grlib.h
--------------------------
Patching file include/hw/sparc/grlib.h using Plan A...
No such line 122 in input file, ignoring
Hunk #1 succeeded at 117 (offset -6 lines).
Hmm...  Ignoring the trailing garbage.
done
+ /bin/cat /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/patches/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch
+ /usr/bin/patch -E -p1
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 7e45912c10fef97d1ade487ac65a0def2c940768 Mon Sep 17 00:00:00 2001
|From: Jiri Gaisler <jiri at gaisler.se>
|Date: Wed, 15 Oct 2014 21:51:23 +0200
|Subject: [PATCH 2/3] LEON3: Build AMBA plug and play records from high-level
| constants.
|
|Move creation of plug and play into associated devices when possible.
|This makes it easy to add new records when new devices are added.
|---
| hw/sparc/grlib_ambapnp.c | 99 +++++++++++++++++++++++-------------------------
| hw/sparc/leon3.c         |  8 ++--
| include/hw/sparc/grlib.h | 55 ++++++++++++++++++++++++++-
| 3 files changed, 104 insertions(+), 58 deletions(-)
|
|diff --git a/hw/sparc/grlib_ambapnp.c b/hw/sparc/grlib_ambapnp.c
|index dd53004..fb21841 100644
|--- a/hw/sparc/grlib_ambapnp.c
|+++ b/hw/sparc/grlib_ambapnp.c
--------------------------
Patching file hw/sparc/grlib_ambapnp.c using Plan A...
Hunk #1 succeeded at 38.
Hunk #2 succeeded at 70.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c
|index 2962539..0ff2b27 100644
|--- a/hw/sparc/leon3.c
|+++ b/hw/sparc/leon3.c
--------------------------
Patching file hw/sparc/leon3.c using Plan A...
Hunk #1 succeeded at 138.
Hunk #2 succeeded at 210.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/include/hw/sparc/grlib.h b/include/hw/sparc/grlib.h
|index 5c098df..daebb33 100644
|--- a/include/hw/sparc/grlib.h
|+++ b/include/hw/sparc/grlib.h
--------------------------
Patching file include/hw/sparc/grlib.h using Plan A...
Hunk #1 succeeded at 32.
Hunk #2 succeeded at 92 (offset -2 lines).
Hunk #3 succeeded at 125 (offset -2 lines).
Hunk #4 succeeded at 136 (offset -2 lines).
Hunk #5 succeeded at 148 (offset -4 lines).
Hunk #6 succeeded at 177 (offset -2 lines).
Hmm...  Ignoring the trailing garbage.
done
+ /bin/cat /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/patches/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch
+ /usr/bin/patch -E -p1
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From d8eb7955d5c62c4490df343e90e22c4a495278d3 Mon Sep 17 00:00:00 2001
|From: Jiri Gaisler <jiri at gaisler.se>
|Date: Sat, 27 Sep 2014 21:13:57 +0200
|Subject: [PATCH 3/3] LEON3: Init UART, timers and CPU if we run a RAM image
| without loader.
|
|---
| hw/char/grlib_apbuart.c  | 2 +-
| hw/sparc/leon3.c         | 5 +++++
| hw/timer/grlib_gptimer.c | 6 ++++++
| 3 files changed, 12 insertions(+), 1 deletion(-)
|
|diff --git a/hw/char/grlib_apbuart.c b/hw/char/grlib_apbuart.c
|index 35ef661..da266ba 100644
|--- a/hw/char/grlib_apbuart.c
|+++ b/hw/char/grlib_apbuart.c
--------------------------
Patching file hw/char/grlib_apbuart.c using Plan A...
Hunk #1 succeeded at 262.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c
|index 0ff2b27..5d91bc9 100644
|--- a/hw/sparc/leon3.c
|+++ b/hw/sparc/leon3.c
--------------------------
Patching file hw/sparc/leon3.c using Plan A...
Hunk #1 succeeded at 60.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/hw/timer/grlib_gptimer.c b/hw/timer/grlib_gptimer.c
|index d655bb2..a05304d 100644
|--- a/hw/timer/grlib_gptimer.c
|+++ b/hw/timer/grlib_gptimer.c
--------------------------
Patching file hw/timer/grlib_gptimer.c using Plan A...
Hunk #1 succeeded at 345.
Hmm...  Ignoring the trailing garbage.
done
+ /bin/cat /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/patches/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
+ /usr/bin/patch -E -p1
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 851489a73e99e156baee267d6162e31abfaa66a9 Mon Sep 17 00:00:00 2001
|From: Hesham ALMatary <heshamelmatary at gmail.com>
|Date: Thu, 2 Apr 2015 17:47:25 +0100
|Subject: [PATCH] openrisc: terminate qemu process upon receiving a halt
| signal.
|
|or1ksim simulator currently handles "l.nop 0xC" instruction as
|a halt signal. Do the same for QEMU.
|
|Signed-off-by: Hesham ALMatary  <heshamelmatary at gmail.com>
|---
| target-openrisc/translate.c | 5 +++++
| 1 file changed, 5 insertions(+)
|
|diff --git a/target-openrisc/translate.c b/target-openrisc/translate.c
|index dc76789..5fa8ede 100644
|--- a/target-openrisc/translate.c
|+++ b/target-openrisc/translate.c
--------------------------
Patching file target-openrisc/translate.c using Plan A...
Hunk #1 succeeded at 750.
Hmm...  Ignoring the trailing garbage.
done
+ cd /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
==> clean %{buildroot}: /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003
+ SB_CXC=no
+ echo '==> clean %{buildroot}: /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003'
+ /bin/rm -rf /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003
+ /bin/mkdir -p /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1-1003
+ echo '==> %build:'
==> %build:
+ pwd
+ build_top=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
+ test x86_64-freebsd13.0 '!=' x86_64-freebsd13.0
+ build_dir=build
+ mkdir -p build
+ cd build
+ test x86_64-freebsd13.0 '!=' x86_64-freebsd13.0
+ LDFLAGS=' -L/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/lib'
+ LDLIBS=''
+ LIBS=''
+ echo '/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include'
+ sed -e 's,-std=gnu99 ,,'
+ CC='/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include'
+ echo '/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include'
+ sed -e 's,-std=gnu99 ,,'
+ CXX='/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include'
+ CC_FOR_BUILD='/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/include'
+ CXX_FOR_BUILD='/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/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-freebsd13.0 '!=' x86_64-freebsd13.0
+ SYSROOT=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5
+ PKG_CONFIG_DEFAULT_PATH='' PKG_CONFIG_PATH=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu LD_LIBRARY_PATH=/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/lib LDFLAGS='-Wl,-rpath -Wl,/home/tester/rtems-cron-5/tools/5/lib -L/usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1003/devel/qemu/home/tester/rtems-cron-5/tools/5/lib ' CFLAGS=' ' ../qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144/configure '--prefix=/home/tester/rtems-cron-5/tools/5' '--make=gmake' --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap --disable-smartcard-nss

ERROR: Cannot use 'python', Python 2.4 or later is required.
       Note that Python 3 or later is not yet supported.
       Use --python=/path/to/python to specify a supported Python.

shell cmd failed: /bin/sh -ex  /usr/home/tester/rtems-cron-5/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1/do-build
error: building qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
  See error report: rsb-report-qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: devel/qemu
Build Set: devel/autotools-internal.bset
config: devel/autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-freebsd13.0-1
download: https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz -> sources/autoconf-2.69.tar.gz
building: autoconf-2.69-x86_64-freebsd13.0-1
sizes: autoconf-2.69-x86_64-freebsd13.0-1: 7.501MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-freebsd13.0-1
config: devel/automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-freebsd13.0-1
download: https://ftp.gnu.org/gnu/automake/automake-1.12.6.tar.gz -> sources/automake-1.12.6.tar.gz
Creating source directory: patches
download: https://devel.rtems.org/raw-attachment/ticket/2616/automake-1.12.6-bugzilla.redhat.com-1239379.diff -> patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff
building: automake-1.12.6-x86_64-freebsd13.0-1
sizes: automake-1.12.6-x86_64-freebsd13.0-1: 8.327MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-freebsd13.0-1
config: devel/libtool-2.4.2-1.cfg
package: libtool-2.4.2-x86_64-freebsd13.0-1
download: https://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz -> sources/libtool-2.4.2.tar.gz
building: libtool-2.4.2-x86_64-freebsd13.0-1
sizes: libtool-2.4.2-x86_64-freebsd13.0-1: 11.994MB (installed: 0.000B)
cleaning: libtool-2.4.2-x86_64-freebsd13.0-1
cleaning: autoconf-2.69-x86_64-freebsd13.0-1
cleaning: automake-1.12.6-x86_64-freebsd13.0-1
cleaning: libtool-2.4.2-x86_64-freebsd13.0-1
Build Sizes: usage: 11.994MB total: 6.883MB (sources: 6.864MB, patches: 19.412KB, installed 0.000B)
Build Set: Time 0:00:13.087894
config: devel/libiconv-1.14-1.cfg
config: devel/gettext-0.18.3.1-1.cfg
package: gettext-0.18.3.1-x86_64-freebsd13.0-1
download: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz -> sources/gettext-0.18.3.1.tar.gz
building: gettext-0.18.3.1-x86_64-freebsd13.0-1
sizes: gettext-0.18.3.1-x86_64-freebsd13.0-1: 163.129MB (installed: 20.681MB)
cleaning: gettext-0.18.3.1-x86_64-freebsd13.0-1
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-freebsd13.0-1.txt
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-freebsd13.0-1.xml
config: devel/libffi-3.0.13-1.cfg
package: libffi-3.0.13-x86_64-freebsd13.0-1
download: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz -> sources/libffi-3.0.13.tar.gz
download: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff -> patches/libffi-pkg-config-lib64-fix.diff
 redirect: https://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
building: libffi-3.0.13-x86_64-freebsd13.0-1
sizes: libffi-3.0.13-x86_64-freebsd13.0-1: 4.506MB (installed: 126.738KB)
cleaning: libffi-3.0.13-x86_64-freebsd13.0-1
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-freebsd13.0-1.txt
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-freebsd13.0-1.xml
config: devel/pixman-0.40.0-1.cfg
package: pixman-0.40.0-x86_64-freebsd13.0-1
download: http://cairographics.org/releases/pixman-0.40.0.tar.gz -> sources/pixman-0.40.0.tar.gz
 redirect: https://www.cairographics.org/releases/pixman-0.40.0.tar.gz
building: pixman-0.40.0-x86_64-freebsd13.0-1
sizes: pixman-0.40.0-x86_64-freebsd13.0-1: 61.797MB (installed: 9.941MB)
cleaning: pixman-0.40.0-x86_64-freebsd13.0-1
reporting: devel/pixman-0.40.0-1.cfg -> pixman-0.40.0-x86_64-freebsd13.0-1.txt
reporting: devel/pixman-0.40.0-1.cfg -> pixman-0.40.0-x86_64-freebsd13.0-1.xml
config: devel/glib-2.48.2-1.cfg
package: glib-2.48.2-x86_64-freebsd13.0-1
download: http://ftp.gnome.org/pub/gnome/sources/glib/2.48/glib-2.48.2.tar.xz -> sources/glib-2.48.2.tar.xz
 redirect: https://mirror.umd.edu/gnome/sources/glib/2.48/glib-2.48.2.tar.xz
download: https://gitlab.gnome.org/GNOME/glib/commit/566e1d61a500267c7849ad0b2552feec9c9a29a6.patch -> patches/566e1d61a500267c7849ad0b2552feec9c9a29a6.patch
 redirect: https://gitlab.gnome.org/GNOME/glib/-/commit/566e1d61a500267c7849ad0b2552feec9c9a29a6.patch
building: glib-2.48.2-x86_64-freebsd13.0-1
sizes: glib-2.48.2-x86_64-freebsd13.0-1: 144.391MB (installed: 21.714MB)
cleaning: glib-2.48.2-x86_64-freebsd13.0-1
reporting: devel/glib-2.48.2-1.cfg -> glib-2.48.2-x86_64-freebsd13.0-1.txt
reporting: devel/glib-2.48.2-1.cfg -> glib-2.48.2-x86_64-freebsd13.0-1.xml
config: devel/qemu-git-1.cfg
package: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
Creating source directory: sources/git
git: clone: git://git.qemu-project.org/qemu.git -> sources/git/qemu.git
git: clean: git://git.qemu-project.org/qemu.git
git: pull: git://git.qemu-project.org/qemu.git
git: checkout: git://git.qemu-project.org/qemu.git => 42d58e7c6760cb9c55627c28ae538e27dcf2f144
git: submodule: git://git.qemu-project.org/qemu.git <= dtc
download: http://patchwork.ozlabs.org/patch/406903/raw -> patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
 redirect: http://patchwork.ozlabs.org/project/qemu-devel/patch/1415176522-5944-1-git-send-email-...<see log>
download: https://gaisler.org/qemu/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch -> patches/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch
download: https://gaisler.org/qemu/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch -> patches/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch
download: https://gaisler.org/qemu/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch -> patches/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch
download: http://git.rtems.org/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process...<see log> -> patches/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
 redirect: https://git.rtems.org/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-proces...<see log>
building: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
error: building qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
Build FAILED
  See error report: rsb-report-qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1.txt
error: building qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-freebsd13.0-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Dec 22 11:15:47 2021
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 6225eadda1deda470fdc7b626c8af35bd4fb9a92
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd13.0-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-freebsd13.0" != "x86_64-freebsd13.0" ; 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-freebsd13.0" == "" ; 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-freebsd13.0" != "x86_64-freebsd13.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.0-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/tester/rtems-cron-5/tools/5  --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec_prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include  --libdir=/home/tester/rtems-cron-5/tools/5/lib  --libexecdir=/home/tester/rtems-cron-5/tools/5/libexec  --mandir=/home/tester/rtems-cron-5/tools/5/share/man  --infodir=/home/tester/rtems-cron-5/tools/5/share/info  --datadir=/home/tester/rtems-cron-5/tools/5/share  --build=x86_64-freebsd13.0 --host=x86_64-freebsd13.0
  gmake -j 8 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> Wed Dec 22 11:15:47 2021
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 6225eadda1deda470fdc7b626c8af35bd4fb9a92
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd13.0-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-freebsd13.0" != "x86_64-freebsd13.0" ; 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-freebsd13.0" == "" ; 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-freebsd13.0" != "x86_64-freebsd13.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.0-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/tester/rtems-cron-5/tools/5  --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec_prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include  --libdir=/home/tester/rtems-cron-5/tools/5/lib  --libexecdir=/home/tester/rtems-cron-5/tools/5/libexec  --mandir=/home/tester/rtems-cron-5/tools/5/share/man  --infodir=/home/tester/rtems-cron-5/tools/5/share/info  --datadir=/home/tester/rtems-cron-5/tools/5/share  --build=x86_64-freebsd13.0 --host=x86_64-freebsd13.0
  gmake -j 8 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> Wed Dec 22 11:15:52 2021
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 6225eadda1deda470fdc7b626c8af35bd4fb9a92
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/libffi-3.0.13-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
Package: libffi-3.0.13-x86_64-freebsd13.0-1
 Config: devel/libffi-3.0.13-1.cfg
 Summary:
  LibFFI provides a portable, high level programming interface to
  various calling conventions.
 URL:
  https://sourceware.org/libffi/
 Version:
  3.0.13
 Release:
  1
  Sources: 1
    1: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
       sha256: 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
  Patches: 1
    1: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
       sha256: f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
 Preparation:
  build_top=$(pwd)
  source_dir_libffi="libffi-3.0.13"
  %setup source libffi -q -n libffi-3.0.13
  %setup patch libffi -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd13.0" != "x86_64-freebsd13.0" ; 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-freebsd13.0" == "" ; 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-freebsd13.0" != "x86_64-freebsd13.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.0-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_libffi}/configure  --prefix=/home/tester/rtems-cron-5/tools/5  --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec_prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include  --libdir=/home/tester/rtems-cron-5/tools/5/lib  --libexecdir=/home/tester/rtems-cron-5/tools/5/libexec  --mandir=/home/tester/rtems-cron-5/tools/5/share/man  --infodir=/home/tester/rtems-cron-5/tools/5/share/info  --datadir=/home/tester/rtems-cron-5/tools/5/share  --build=x86_64-freebsd13.0 --host=x86_64-freebsd13.0
  gmake -j 8 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> Wed Dec 22 11:15:52 2021
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 6225eadda1deda470fdc7b626c8af35bd4fb9a92
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/libffi-3.0.13-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
Package: libffi-3.0.13-x86_64-freebsd13.0-1
 Config: devel/libffi-3.0.13-1.cfg
 Summary:
  LibFFI provides a portable, high level programming interface to
  various calling conventions.
 URL:
  https://sourceware.org/libffi/
 Version:
  3.0.13
 Release:
  1
  Sources: 1
    1: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
       sha256: 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
  Patches: 1
    1: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
       sha256: f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
 Preparation:
  build_top=$(pwd)
  source_dir_libffi="libffi-3.0.13"
  %setup source libffi -q -n libffi-3.0.13
  %setup patch libffi -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd13.0" != "x86_64-freebsd13.0" ; 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-freebsd13.0" == "" ; 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-freebsd13.0" != "x86_64-freebsd13.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.0-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_libffi}/configure  --prefix=/home/tester/rtems-cron-5/tools/5  --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec_prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include  --libdir=/home/tester/rtems-cron-5/tools/5/lib  --libexecdir=/home/tester/rtems-cron-5/tools/5/libexec  --mandir=/home/tester/rtems-cron-5/tools/5/share/man  --infodir=/home/tester/rtems-cron-5/tools/5/share/info  --datadir=/home/tester/rtems-cron-5/tools/5/share  --build=x86_64-freebsd13.0 --host=x86_64-freebsd13.0
  gmake -j 8 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> Wed Dec 22 11:16:04 2021
==============================================================================
Report: devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 6225eadda1deda470fdc7b626c8af35bd4fb9a92
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/pixman-0.40.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
Package: pixman-0.40.0-x86_64-freebsd13.0-1
 Config: devel/pixman-0.40.0-1.cfg
 Summary:
  Pixman is a low-level software library for pixel manipulation,
  providing features such as image compositing and trapezoid
  rasterization.
 URL:
  http://www.pixman.org/
 Version:
  0.40.0
 Release:
  1
  Sources: 1
    1: http://cairographics.org/releases/pixman-0.40.0.tar.gz
       sha512: 063776e132f5d59a6d3f94497da41d6fc1c7dca0d269149c78247f0e0d7f520a25208d908cf5e421d1564889a91da44267b12d61c0bd7934cd54261729a7de5f
  Patches: 0
 Preparation:
  build_top=$(pwd)
  source_dir_pixman="pixman-0.40.0"
  %setup source pixman -q -n pixman-0.40.0
  %setup patch pixman -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd13.0" != "x86_64-freebsd13.0" ; 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-freebsd13.0" == "" ; 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-freebsd13.0" != "x86_64-freebsd13.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.0-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_pixman}/configure  --prefix=/home/tester/rtems-cron-5/tools/5  --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec_prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include  --libdir=/home/tester/rtems-cron-5/tools/5/lib  --libexecdir=/home/tester/rtems-cron-5/tools/5/libexec  --mandir=/home/tester/rtems-cron-5/tools/5/share/man  --infodir=/home/tester/rtems-cron-5/tools/5/share/info  --datadir=/home/tester/rtems-cron-5/tools/5/share  --build=x86_64-freebsd13.0 --host=x86_64-freebsd13.0  --disable-gtk  --disable-libpng
  gmake -j 8 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> Wed Dec 22 11:16:04 2021
==============================================================================
Report: devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 6225eadda1deda470fdc7b626c8af35bd4fb9a92
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/pixman-0.40.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
Package: pixman-0.40.0-x86_64-freebsd13.0-1
 Config: devel/pixman-0.40.0-1.cfg
 Summary:
  Pixman is a low-level software library for pixel manipulation,
  providing features such as image compositing and trapezoid
  rasterization.
 URL:
  http://www.pixman.org/
 Version:
  0.40.0
 Release:
  1
  Sources: 1
    1: http://cairographics.org/releases/pixman-0.40.0.tar.gz
       sha512: 063776e132f5d59a6d3f94497da41d6fc1c7dca0d269149c78247f0e0d7f520a25208d908cf5e421d1564889a91da44267b12d61c0bd7934cd54261729a7de5f
  Patches: 0
 Preparation:
  build_top=$(pwd)
  source_dir_pixman="pixman-0.40.0"
  %setup source pixman -q -n pixman-0.40.0
  %setup patch pixman -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd13.0" != "x86_64-freebsd13.0" ; 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-freebsd13.0" == "" ; 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-freebsd13.0" != "x86_64-freebsd13.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.0-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_pixman}/configure  --prefix=/home/tester/rtems-cron-5/tools/5  --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec_prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include  --libdir=/home/tester/rtems-cron-5/tools/5/lib  --libexecdir=/home/tester/rtems-cron-5/tools/5/libexec  --mandir=/home/tester/rtems-cron-5/tools/5/share/man  --infodir=/home/tester/rtems-cron-5/tools/5/share/info  --datadir=/home/tester/rtems-cron-5/tools/5/share  --build=x86_64-freebsd13.0 --host=x86_64-freebsd13.0  --disable-gtk  --disable-libpng
  gmake -j 8 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> Wed Dec 22 11:16:38 2021
==============================================================================
Report: devel/glib-2.48.2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 6225eadda1deda470fdc7b626c8af35bd4fb9a92
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/glib-2.48.2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/glib-2.48.2-1.cfg
------------------------------------------------------------------------------
Package: glib-2.48.2-x86_64-freebsd13.0-1
 Config: devel/glib-2.48.2-1.cfg
 Summary:
  GLib provides the core application building blocks for
  libraries and applications written in C.
 URL:
  https://developer.gnome.org/glib/
 Version:
  2.48.2
 Release:
  1
  Sources: 1
    1: http://ftp.gnome.org/pub/gnome/sources/glib/2.48/glib-2.48.2.tar.xz
       sha256: f25e751589cb1a58826eac24fbd4186cda4518af772806b666a3f91f66e6d3f4
  Patches: 1
    1: https://gitlab.gnome.org/GNOME/glib/commit/566e1d61a500267c7849ad0b2552feec9c9a29a6.patch
       sha512: Mz3YZfEOLgNA6eSUzg8y1yiGk0S5YFbYmWRcGyrcRHhmu8mUzuneWmsj6OYXG09zAvBLApxrEGqvaI0iJNhAMg==
 Preparation:
  build_top=$(pwd)
  source_dir_glib="glib-2.48.2"
  %setup source glib -q -n glib-2.48.2
  %setup patch glib -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd13.0" != "x86_64-freebsd13.0" ; 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-freebsd13.0" == "" ; 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-freebsd13.0" != "x86_64-freebsd13.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.0-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
  SYSROOT=$SB_TMPPREFIX
  PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig  PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT  LD_LIBRARY_PATH=$SYSROOT/lib  ../${source_dir_glib}/configure  --prefix=/home/tester/rtems-cron-5/tools/5  --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec_prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include  --libdir=/home/tester/rtems-cron-5/tools/5/lib  --libexecdir=/home/tester/rtems-cron-5/tools/5/libexec  --mandir=/home/tester/rtems-cron-5/tools/5/share/man  --infodir=/home/tester/rtems-cron-5/tools/5/share/info  --datadir=/home/tester/rtems-cron-5/tools/5/share  --build=x86_64-freebsd13.0 --host=x86_64-freebsd13.0  --with-sysroot=$SYSROOT  --disable-dtrace  --with-pcre=internal
  LD_LIBRARY_PATH=$SYSROOT/lib  gmake -j 8 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> Wed Dec 22 11:16:38 2021
==============================================================================
Report: devel/glib-2.48.2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 6225eadda1deda470fdc7b626c8af35bd4fb9a92
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/glib-2.48.2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/glib-2.48.2-1.cfg
------------------------------------------------------------------------------
Package: glib-2.48.2-x86_64-freebsd13.0-1
 Config: devel/glib-2.48.2-1.cfg
 Summary:
  GLib provides the core application building blocks for
  libraries and applications written in C.
 URL:
  https://developer.gnome.org/glib/
 Version:
  2.48.2
 Release:
  1
  Sources: 1
    1: http://ftp.gnome.org/pub/gnome/sources/glib/2.48/glib-2.48.2.tar.xz
       sha256: f25e751589cb1a58826eac24fbd4186cda4518af772806b666a3f91f66e6d3f4
  Patches: 1
    1: https://gitlab.gnome.org/GNOME/glib/commit/566e1d61a500267c7849ad0b2552feec9c9a29a6.patch
       sha512: Mz3YZfEOLgNA6eSUzg8y1yiGk0S5YFbYmWRcGyrcRHhmu8mUzuneWmsj6OYXG09zAvBLApxrEGqvaI0iJNhAMg==
 Preparation:
  build_top=$(pwd)
  source_dir_glib="glib-2.48.2"
  %setup source glib -q -n glib-2.48.2
  %setup patch glib -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-freebsd13.0" != "x86_64-freebsd13.0" ; 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-freebsd13.0" == "" ; 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-freebsd13.0" != "x86_64-freebsd13.0" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd13.0-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd13.0-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
  SYSROOT=$SB_TMPPREFIX
  PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig  PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT  LD_LIBRARY_PATH=$SYSROOT/lib  ../${source_dir_glib}/configure  --prefix=/home/tester/rtems-cron-5/tools/5  --bindir=/home/tester/rtems-cron-5/tools/5/bin  --exec_prefix=/home/tester/rtems-cron-5/tools/5  --includedir=/home/tester/rtems-cron-5/tools/5/include  --libdir=/home/tester/rtems-cron-5/tools/5/lib  --libexecdir=/home/tester/rtems-cron-5/tools/5/libexec  --mandir=/home/tester/rtems-cron-5/tools/5/share/man  --infodir=/home/tester/rtems-cron-5/tools/5/share/info  --datadir=/home/tester/rtems-cron-5/tools/5/share  --build=x86_64-freebsd13.0 --host=x86_64-freebsd13.0  --with-sysroot=$SYSROOT  --disable-dtrace  --with-pcre=internal
  LD_LIBRARY_PATH=$SYSROOT/lib  gmake -j 8 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