Build FreeBSD: PASSED databases/sqlite.bset on x86_64-freebsd12.0
chrisj at rtems.org
chrisj at rtems.org
Mon Aug 26 09:41:20 UTC 2019
RTEMS Source Builder - Set Builder, 5 (d7f11a79bca2)
Host: FreeBSD-12.0-RELEASE-p3-amd64-64bit-ELF
FreeBSD hihi 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64 amd64
Build Time: 0:00:08.714640
Sizes
=====
No packages built
Output
======
config: databases/sqlite-3.8.8.1-1.cfg
package: sqlite-3.8.8.1-arm-rtems5-1
download: http://www.sqlite.org/2015/sqlite-src-3080801.zip -> sources/sqlite-src-3080801.zip
building: sqlite-3.8.8.1-arm-rtems5-1
sizes: sqlite-3.8.8.1-arm-rtems5-1: 40.022MB (installed: 5.390MB)
cleaning: sqlite-3.8.8.1-arm-rtems5-1
reporting: databases/sqlite-3.8.8.1-1.cfg -> sqlite-3.8.8.1-arm-rtems5-1.txt
reporting: databases/sqlite-3.8.8.1-1.cfg -> sqlite-3.8.8.1-arm-rtems5-1.xml
staging: sqlite-3.8.8.1-arm-rtems5-1 -> /build/rtems/bsps/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging
cleaning: sqlite-3.8.8.1-arm-rtems5-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Aug 26 19:41:20 2019
==============================================================================
Report: databases/sqlite-3.8.8.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: d7f11a79bca2e79e98218cc0c41c9be8a23509b9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) databases/sqlite-3.8.8.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) databases/sqlite-3.8.8.1-1.cfg
------------------------------------------------------------------------------
Package: sqlite-3.8.8.1-arm-rtems5-1
Config: databases/sqlite-3.8.8.1-1.cfg
Summary:
SQLite is an in-process library that implements a
self-contained, serverless, zero-configuration,
transactional SQL database engine.
URL:
http://www.sqlite.org/
Version:
3.8.8.1
Release:
1
Sources: 1
1: http://www.sqlite.org/2015/sqlite-src-3080801.zip
sha512: 4f09228cb0c9c608e492da6e480afe3d27a63e27ccdcf33a88d5e56427f0846efab8930c81026b8e608f1bbb8d63e8d937dd26571deb828617f7efa27a765950
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_sqlite="sqlite-src-3080801"
%setup source sqlite -q -n sqlite-src-3080801
%setup patch sqlite -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-freebsd12.0" != "arm-rtems5" ; 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 "arm-rtems5" == "" ; 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.0" != "arm-rtems5" ; then
# Cross build
CC=$(echo "arm-rtems5-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "arm-rtems5-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
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}"
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}"
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}"
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
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LIBS_FOR_BUILS
CFLAGS="${CFLAGS} -DSQLITE_OMIT_WAL=1 -DSQLITE_ENABLE_COLUMN_METADATA=1"
../${source_dir_sqlite}/configure \
--host=arm-rtems5 \
--prefix=/build/rtems/bsps/5 \
--bindir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/bin \
--exec_prefix=/build/rtems/bsps/5/arm-rtems5/beagleboneblack \
--includedir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/lib/include \
--libdir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/lib \
--libexecdir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/libexec \
--mandir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/share/man \
--infodir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/share/info \
--datadir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/share \
--disable-largefile \
--disable-tcl \
--disable-readline \
--disable-amalgamation
gmake -j 16 sqlite3.h libsqlite3.la
touch sqlite3
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}
/bin/rm $SB_BUILD_ROOT/build/rtems/bsps/5/arm-rtems5/beagleboneblack/bin/sqlite3
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Aug 26 19:41:20 2019
==============================================================================
Report: databases/sqlite-3.8.8.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: d7f11a79bca2e79e98218cc0c41c9be8a23509b9
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) databases/sqlite-3.8.8.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) databases/sqlite-3.8.8.1-1.cfg
------------------------------------------------------------------------------
Package: sqlite-3.8.8.1-arm-rtems5-1
Config: databases/sqlite-3.8.8.1-1.cfg
Summary:
SQLite is an in-process library that implements a
self-contained, serverless, zero-configuration,
transactional SQL database engine.
URL:
http://www.sqlite.org/
Version:
3.8.8.1
Release:
1
Sources: 1
1: http://www.sqlite.org/2015/sqlite-src-3080801.zip
sha512: 4f09228cb0c9c608e492da6e480afe3d27a63e27ccdcf33a88d5e56427f0846efab8930c81026b8e608f1bbb8d63e8d937dd26571deb828617f7efa27a765950
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_sqlite="sqlite-src-3080801"
%setup source sqlite -q -n sqlite-src-3080801
%setup patch sqlite -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-freebsd12.0" != "arm-rtems5" ; 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 "arm-rtems5" == "" ; 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.0" != "arm-rtems5" ; then
# Cross build
CC=$(echo "arm-rtems5-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "arm-rtems5-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
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}"
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}"
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}"
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
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LIBS_FOR_BUILS
CFLAGS="${CFLAGS} -DSQLITE_OMIT_WAL=1 -DSQLITE_ENABLE_COLUMN_METADATA=1"
../${source_dir_sqlite}/configure \
--host=arm-rtems5 \
--prefix=/build/rtems/bsps/5 \
--bindir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/bin \
--exec_prefix=/build/rtems/bsps/5/arm-rtems5/beagleboneblack \
--includedir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/lib/include \
--libdir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/lib \
--libexecdir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/libexec \
--mandir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/share/man \
--infodir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/share/info \
--datadir=/build/rtems/bsps/5/arm-rtems5/beagleboneblack/share \
--disable-largefile \
--disable-tcl \
--disable-readline \
--disable-amalgamation
gmake -j 16 sqlite3.h libsqlite3.la
touch sqlite3
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}
/bin/rm $SB_BUILD_ROOT/build/rtems/bsps/5/arm-rtems5/beagleboneblack/bin/sqlite3
More information about the build
mailing list