Build FreeBSD: PASSED devel/qemu4 on x86_64-freebsd12.1
joel at rtems.org
joel at rtems.org
Sat Jun 27 09:18:23 UTC 2020
RTEMS Source Builder - Set Builder, 5.1.0-rc1
Host: FreeBSD-12.1-RELEASE-p3-amd64-64bit-ELF
FreeBSD rtbf64b 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC amd64
amd64
Build Time: 0:37:53.799863
Sizes
=====
Maximum build usage: 3.544GB
Total size: 612.889MB
Installed : 536.660MB
Sources: 76.208MB
Patches: 21.097KB
Output
======
Build Set: devel/qemu4
config: devel/libiconv-1.14-1.cfg
config: devel/gettext-0.18.3.1-1.cfg
package: gettext-0.18.3.1-x86_64-freebsd12.1-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/gettext-0.18.3.1.tar.gz -> sources/gettext-0.18.3.1.tar.gz
building: gettext-0.18.3.1-x86_64-freebsd12.1-1
sizes: gettext-0.18.3.1-x86_64-freebsd12.1-1: 116.281MB (installed: 13.245MB)
cleaning: gettext-0.18.3.1-x86_64-freebsd12.1-1
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-freebsd12.1-1.txt
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-freebsd12.1-1.xml
config: devel/libffi-3.0.13-1.cfg
package: libffi-3.0.13-x86_64-freebsd12.1-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/libffi-3.0.13.tar.gz -> sources/libffi-3.0.13.tar.gz
Creating source directory: patches
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/libffi-pkg-config-lib64-fix.diff -> patches/libffi-pkg-config-lib64-fix.diff
building: libffi-3.0.13-x86_64-freebsd12.1-1
sizes: libffi-3.0.13-x86_64-freebsd12.1-1: 4.511MB (installed: 130.511KB)
cleaning: libffi-3.0.13-x86_64-freebsd12.1-1
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-freebsd12.1-1.txt
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-freebsd12.1-1.xml
config: devel/pixman-0.40.0-1.cfg
package: pixman-0.40.0-x86_64-freebsd12.1-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/pixman-0.40.0.tar.gz -> sources/pixman-0.40.0.tar.gz
building: pixman-0.40.0-x86_64-freebsd12.1-1
sizes: pixman-0.40.0-x86_64-freebsd12.1-1: 29.934MB (installed: 1.906MB)
cleaning: pixman-0.40.0-x86_64-freebsd12.1-1
reporting: devel/pixman-0.40.0-1.cfg -> pixman-0.40.0-x86_64-freebsd12.1-1.txt
reporting: devel/pixman-0.40.0-1.cfg -> pixman-0.40.0-x86_64-freebsd12.1-1.xml
config: devel/glib-2.46.2-1.cfg
package: glib-2.46.2-x86_64-freebsd12.1-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/glib-2.46.2.tar.xz -> sources/glib-2.46.2.tar.xz
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/glib-2.46.2-werror.patch -> patches/glib-2.46.2-werror.patch
building: glib-2.46.2-x86_64-freebsd12.1-1
sizes: glib-2.46.2-x86_64-freebsd12.1-1: 110.698MB (installed: 13.404MB)
cleaning: glib-2.46.2-x86_64-freebsd12.1-1
reporting: devel/glib-2.46.2-1.cfg -> glib-2.46.2-x86_64-freebsd12.1-1.txt
reporting: devel/glib-2.46.2-1.cfg -> glib-2.46.2-x86_64-freebsd12.1-1.xml
config: devel/qemu4-git-1.cfg
package: qemu-4.1.0-x86_64-freebsd12.1-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/qemu-4.1.0.tar.xz -> sources/qemu-4.1.0.tar.xz
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/Provide-the-missing-LI...<see log> -> patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/qemu-4.1.0-leon3.patch -> patches/qemu-4.1.0-leon3.patch
building: qemu-4.1.0-x86_64-freebsd12.1-1
sizes: qemu-4.1.0-x86_64-freebsd12.1-1: 3.020GB (installed: 507.978MB)
cleaning: qemu-4.1.0-x86_64-freebsd12.1-1
reporting: devel/qemu4-git-1.cfg -> qemu-4.1.0-x86_64-freebsd12.1-1.txt
reporting: devel/qemu4-git-1.cfg -> qemu-4.1.0-x86_64-freebsd12.1-1.xml
installing: gettext-0.18.3.1-x86_64-freebsd12.1-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
installing: libffi-3.0.13-x86_64-freebsd12.1-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
installing: pixman-0.40.0-x86_64-freebsd12.1-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
installing: glib-2.46.2-x86_64-freebsd12.1-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
installing: qemu-4.1.0-x86_64-freebsd12.1-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
cleaning: gettext-0.18.3.1-x86_64-freebsd12.1-1
cleaning: libffi-3.0.13-x86_64-freebsd12.1-1
cleaning: pixman-0.40.0-x86_64-freebsd12.1-1
cleaning: glib-2.46.2-x86_64-freebsd12.1-1
cleaning: qemu-4.1.0-x86_64-freebsd12.1-1
Build Sizes: usage: 3.544GB total: 612.889MB (sources: 76.208MB, patches: 21.097KB, installed 536.660MB)
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 03:45:31 2020
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-freebsd12.1-1
Config: devel/gettext-0.18.3.1-1.cfg
Summary:
GetText offers to programmers, translators, and even users, a well
integrated set of tools and documentation.
URL:
http://www.gnu.org/software/gettext/
Version:
0.18.3.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_gettext="gettext-0.18.3.1"
%setup source gettext -q -n gettext-0.18.3.1
%setup patch gettext -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_gettext}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 03:45:31 2020
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-freebsd12.1-1
Config: devel/gettext-0.18.3.1-1.cfg
Summary:
GetText offers to programmers, translators, and even users, a well
integrated set of tools and documentation.
URL:
http://www.gnu.org/software/gettext/
Version:
0.18.3.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_gettext="gettext-0.18.3.1"
%setup source gettext -q -n gettext-0.18.3.1
%setup patch gettext -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_gettext}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 03:45:42 2020
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-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-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_libffi}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 03:45:42 2020
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-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-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_libffi}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1
gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 03:46:18 2020
==============================================================================
Report: devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-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-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_pixman}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1 --disable-gtk --disable-libpng
gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 03:46:18 2020
==============================================================================
Report: devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-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-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_pixman}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1 --disable-gtk --disable-libpng
gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 03:48:43 2020
==============================================================================
Report: devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-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-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
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.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1 --with-sysroot=$SYSROOT --disable-dtrace --with-pcre=internal
LD_LIBRARY_PATH=$SYSROOT/lib gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 03:48:44 2020
==============================================================================
Report: devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-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-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
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.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1 --with-sysroot=$SYSROOT --disable-dtrace --with-pcre=internal
LD_LIBRARY_PATH=$SYSROOT/lib gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 04:17:48 2020
==============================================================================
Report: devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/qemu4-git-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
Package: qemu-4.1.0-x86_64-freebsd12.1-1
Config: devel/qemu4-git-1.cfg
Summary:
Qemu is a simulator of various processors.
URL:
http://www.qemu.org/
Version:
4.1.0
Release:
1
Sources: 1
1: https://download.qemu.org/qemu-4.1.0.tar.xz
sha512: gv1RcCp7mxsAsvG9O0qDK4AkkBjbuhrdCwpz59S+5FKv1FV0tNjffORHfYcR872kygcqGm3iWJXJPrIc94/Esg==
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-4.1.0"
%setup source qemu -q -n qemu-4.1.0
%setup patch qemu -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
CROSS_PREFIX_OPTION="--cross-prefix=x86_64-freebsd12.1-"
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.1.0-rc1/tools/5 ${CROSS_PREFIX_OPTION} --make=gmake ${VDE_CONFIG} --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap --disable-nettle
LD_LIBRARY_PATH=$SYSROOT/lib gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
LD_LIBRARY_PATH=$SYSROOT/lib gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 04:17:48 2020
==============================================================================
Report: devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/qemu4-git-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
Package: qemu-4.1.0-x86_64-freebsd12.1-1
Config: devel/qemu4-git-1.cfg
Summary:
Qemu is a simulator of various processors.
URL:
http://www.qemu.org/
Version:
4.1.0
Release:
1
Sources: 1
1: https://download.qemu.org/qemu-4.1.0.tar.xz
sha512: gv1RcCp7mxsAsvG9O0qDK4AkkBjbuhrdCwpz59S+5FKv1FV0tNjffORHfYcR872kygcqGm3iWJXJPrIc94/Esg==
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-4.1.0"
%setup source qemu -q -n qemu-4.1.0
%setup patch qemu -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-freebsd12.1" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
# Cross build
CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
if test "x86_64-freebsd12.1" != "x86_64-freebsd12.1" ; then
CROSS_PREFIX_OPTION="--cross-prefix=x86_64-freebsd12.1-"
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.1.0-rc1/tools/5 ${CROSS_PREFIX_OPTION} --make=gmake ${VDE_CONFIG} --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap --disable-nettle
LD_LIBRARY_PATH=$SYSROOT/lib gmake -j 4 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
LD_LIBRARY_PATH=$SYSROOT/lib gmake DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
More information about the build
mailing list