Build Linux: PASSED devel/qemu4 on x86_64-linux-gnu

joel at rtems.org joel at rtems.org
Sun Jun 7 02:27:13 UTC 2020


RTEMS Source Builder - Set Builder, 5 (a137ab845165)

Host: Linux-3.10.0-1127.10.1.el7.x86_64-x86_64-with-centos-7.8.2003-Core
       Linux devel.oarcorp.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3
       14:28:03 UTC 2020 x86_64 x86_64

Build Time: 0:11:38.060131

Sizes
=====

Maximum build usage: 5.303GB
Total size: 1.123GB
Installed : 695.434MB
Sources: 454.465MB
Patches: 40.144KB

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-linux-gnu-1
building: gettext-0.18.3.1-x86_64-linux-gnu-1
sizes: gettext-0.18.3.1-x86_64-linux-gnu-1: 158.427MB (installed: 20.198MB)
cleaning: gettext-0.18.3.1-x86_64-linux-gnu-1
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-linux-gnu-1.txt
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-linux-gnu-1.xml
config: devel/libffi-3.0.13-1.cfg
package: libffi-3.0.13-x86_64-linux-gnu-1
building: libffi-3.0.13-x86_64-linux-gnu-1
sizes: libffi-3.0.13-x86_64-linux-gnu-1: 5.710MB (installed: 449.231KB)
cleaning: libffi-3.0.13-x86_64-linux-gnu-1
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-linux-gnu-1.txt
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-linux-gnu-1.xml
config: devel/pixman-0.32.4-1.cfg
package: pixman-0.32.4-x86_64-linux-gnu-1
building: pixman-0.32.4-x86_64-linux-gnu-1
sizes: pixman-0.32.4-x86_64-linux-gnu-1: 66.750MB (installed: 15.798MB)
cleaning: pixman-0.32.4-x86_64-linux-gnu-1
reporting: devel/pixman-0.32.4-1.cfg -> pixman-0.32.4-x86_64-linux-gnu-1.txt
reporting: devel/pixman-0.32.4-1.cfg -> pixman-0.32.4-x86_64-linux-gnu-1.xml
config: devel/glib-2.46.2-1.cfg
package: glib-2.46.2-x86_64-linux-gnu-1
building: glib-2.46.2-x86_64-linux-gnu-1
sizes: glib-2.46.2-x86_64-linux-gnu-1: 158.540MB (installed: 23.417MB)
cleaning: glib-2.46.2-x86_64-linux-gnu-1
reporting: devel/glib-2.46.2-1.cfg -> glib-2.46.2-x86_64-linux-gnu-1.txt
reporting: devel/glib-2.46.2-1.cfg -> glib-2.46.2-x86_64-linux-gnu-1.xml
config: devel/qemu4-git-1.cfg
package: qemu-v4.1.0-x86_64-linux-gnu-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-linux-gnu-1
sizes: qemu-v4.1.0-x86_64-linux-gnu-1: 4.624GB (installed: 635.583MB)
cleaning: qemu-v4.1.0-x86_64-linux-gnu-1
reporting: devel/qemu4-git-1.cfg -> qemu-v4.1.0-x86_64-linux-gnu-1.txt
reporting: devel/qemu4-git-1.cfg -> qemu-v4.1.0-x86_64-linux-gnu-1.xml
installing: gettext-0.18.3.1-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
installing: libffi-3.0.13-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
installing: pixman-0.32.4-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
installing: glib-2.46.2-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
installing: qemu-v4.1.0-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
cleaning: gettext-0.18.3.1-x86_64-linux-gnu-1
cleaning: libffi-3.0.13-x86_64-linux-gnu-1
cleaning: pixman-0.32.4-x86_64-linux-gnu-1
cleaning: glib-2.46.2-x86_64-linux-gnu-1
cleaning: qemu-v4.1.0-x86_64-linux-gnu-1
Build Sizes: usage: 5.303GB total: 1.123GB (sources: 454.465MB, patches: 40.144KB, installed 695.434MB)
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:17:08 2020
==============================================================================
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: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-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-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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-linux-gnu --host=x86_64-linux-gnu
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:17:08 2020
==============================================================================
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: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-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-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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-linux-gnu --host=x86_64-linux-gnu
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:17:12 2020
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-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-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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/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-linux-gnu --host=x86_64-linux-gnu
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:17:12 2020
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-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-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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/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-linux-gnu --host=x86_64-linux-gnu
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:17:29 2020
==============================================================================
Report: devel/pixman-0.32.4-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/pixman-0.32.4-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/pixman-0.32.4-1.cfg
------------------------------------------------------------------------------
Package: pixman-0.32.4-x86_64-linux-gnu-1
 Config: devel/pixman-0.32.4-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.32.4
 Release:
  1
  Sources: 1
    1: http://cairographics.org/releases/pixman-0.32.4.tar.gz
       sha256: 80c7ed420e8a3ae749800241e6347c3d55681296cab71384be7969cd9e657e84
  Patches: 0
 Preparation:
  build_top=$(pwd)
  source_dir_pixman="pixman-0.32.4"
  %setup source pixman -q -n pixman-0.32.4
  %setup patch pixman -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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/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-linux-gnu --host=x86_64-linux-gnu  --disable-gtk  --disable-libpng
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:17:29 2020
==============================================================================
Report: devel/pixman-0.32.4-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/pixman-0.32.4-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/pixman-0.32.4-1.cfg
------------------------------------------------------------------------------
Package: pixman-0.32.4-x86_64-linux-gnu-1
 Config: devel/pixman-0.32.4-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.32.4
 Release:
  1
  Sources: 1
    1: http://cairographics.org/releases/pixman-0.32.4.tar.gz
       sha256: 80c7ed420e8a3ae749800241e6347c3d55681296cab71384be7969cd9e657e84
  Patches: 0
 Preparation:
  build_top=$(pwd)
  source_dir_pixman="pixman-0.32.4"
  %setup source pixman -q -n pixman-0.32.4
  %setup patch pixman -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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/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-linux-gnu --host=x86_64-linux-gnu  --disable-gtk  --disable-libpng
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:18:05 2020
==============================================================================
Report: devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/glib-2.46.2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
Package: glib-2.46.2-x86_64-linux-gnu-1
 Config: devel/glib-2.46.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.46.2
 Release:
  1
  Sources: 1
    1: http://ftp.gnome.org/pub/gnome/sources/glib/2.46/glib-2.46.2.tar.xz
       sha256: 5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db
  Patches: 1
    1: https://gaisler.se/qemu/glib-2.46.2-werror.patch
       sha256: 389c00993f2890edaff6774d0dcfc7fcc99e92795ba913443fb9ec522f44a443
 Preparation:
  build_top=$(pwd)
  source_dir_glib="glib-2.46.2"
  %setup source glib -q -n glib-2.46.2
  %setup patch glib -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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/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-linux-gnu --host=x86_64-linux-gnu  --with-sysroot=$SYSROOT  --disable-dtrace  --with-pcre=internal
  LD_LIBRARY_PATH=$SYSROOT/lib  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:18:05 2020
==============================================================================
Report: devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/glib-2.46.2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
Package: glib-2.46.2-x86_64-linux-gnu-1
 Config: devel/glib-2.46.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.46.2
 Release:
  1
  Sources: 1
    1: http://ftp.gnome.org/pub/gnome/sources/glib/2.46/glib-2.46.2.tar.xz
       sha256: 5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db
  Patches: 1
    1: https://gaisler.se/qemu/glib-2.46.2-werror.patch
       sha256: 389c00993f2890edaff6774d0dcfc7fcc99e92795ba913443fb9ec522f44a443
 Preparation:
  build_top=$(pwd)
  source_dir_glib="glib-2.46.2"
  %setup source glib -q -n glib-2.46.2
  %setup patch glib -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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/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-linux-gnu --host=x86_64-linux-gnu  --with-sysroot=$SYSROOT  --disable-dtrace  --with-pcre=internal
  LD_LIBRARY_PATH=$SYSROOT/lib  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:27:09 2020
==============================================================================
Report: devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/qemu4-git-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
Package: qemu-v4.1.0-x86_64-linux-gnu-1
 Config: devel/qemu4-git-1.cfg
 Summary:
  Qemu is a simulator of various processors.
 URL:
  http://www.qemu.org/
 Version:
  v4.1.0
 Release:
  1
  Sources: 1
    1: git://git.qemu-project.org/qemu.git?pull?checkout=v4.1.0?submodule=dtc
       No checksum
  Patches: 1
    1: pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
       sha256: 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
    2: https://gaisler.se/qemu/qemu-4.1.0-leon3.patch
       sha256: d62ff3418903f1c5eb7f6d727af0400caeb250e23cc120111930601c9ecce02a
 Preparation:
  build_top=$(pwd)
  source_dir_qemu="qemu-v4.1.0"
  %setup source qemu -q -n qemu-v4.1.0
  %setup patch qemu -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
  CROSS_PREFIX_OPTION="--cross-prefix=x86_64-linux-gnu-"
  fi
  SYSROOT=$SB_TMPPREFIX
  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=make    ${VDE_CONFIG}  --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap
  LD_LIBRARY_PATH=$SYSROOT/lib  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  LD_LIBRARY_PATH=$SYSROOT/lib  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun  6 21:27:09 2020
==============================================================================
Report: devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: a137ab845165d87d238a69631b52def24007c91c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/qemu4-git-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
Package: qemu-v4.1.0-x86_64-linux-gnu-1
 Config: devel/qemu4-git-1.cfg
 Summary:
  Qemu is a simulator of various processors.
 URL:
  http://www.qemu.org/
 Version:
  v4.1.0
 Release:
  1
  Sources: 1
    1: git://git.qemu-project.org/qemu.git?pull?checkout=v4.1.0?submodule=dtc
       No checksum
  Patches: 1
    1: pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
       sha256: 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
    2: https://gaisler.se/qemu/qemu-4.1.0-leon3.patch
       sha256: d62ff3418903f1c5eb7f6d727af0400caeb250e23cc120111930601c9ecce02a
 Preparation:
  build_top=$(pwd)
  source_dir_qemu="qemu-v4.1.0"
  %setup source qemu -q -n qemu-v4.1.0
  %setup patch qemu -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu" == "" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "g++ ${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
  if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
  CROSS_PREFIX_OPTION="--cross-prefix=x86_64-linux-gnu-"
  fi
  SYSROOT=$SB_TMPPREFIX
  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=make    ${VDE_CONFIG}  --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap
  LD_LIBRARY_PATH=$SYSROOT/lib  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  LD_LIBRARY_PATH=$SYSROOT/lib  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}


More information about the build mailing list