Build FreeBSD: PASSED net/protobuf.bset on x86_64-freebsd12.0

chrisj at rtems.org chrisj at rtems.org
Mon Aug 26 09:43:48 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:33.480173

Sizes
=====

No packages built
Output
======

config: net/protobuf-2.6.1-1.cfg
package: protobuf-2.6.1-arm-rtems5-1
download: https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz -> sources/protobuf-2.6.1.tar.gz
 redirect: https://github-production-release-asset-2e65be.s3.amazonaws.com/23357588/0a2433bc-5a29...<see log>
building: protobuf-2.6.1-arm-rtems5-1
sizes: protobuf-2.6.1-arm-rtems5-1: 232.548MB (installed: 87.769MB)
cleaning: protobuf-2.6.1-arm-rtems5-1
reporting: net/protobuf-2.6.1-1.cfg -> protobuf-2.6.1-arm-rtems5-1.txt
reporting: net/protobuf-2.6.1-1.cfg -> protobuf-2.6.1-arm-rtems5-1.xml
staging: protobuf-2.6.1-arm-rtems5-1 -> /build/rtems/bsps/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging
cleaning: protobuf-2.6.1-arm-rtems5-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Aug 26 19:43:48 2019
==============================================================================
Report: net/protobuf-2.6.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) net/protobuf-2.6.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) net/protobuf-2.6.1-1.cfg
------------------------------------------------------------------------------
Package: protobuf-2.6.1-arm-rtems5-1
 Config: net/protobuf-2.6.1-1.cfg
 Summary:
  Protocol buffers are Googles language-neutral,
  platform-neutral, extensible mechanism for serializing
  structured data.
 URL:
  https://developers.google.com/protocol-buffers/
 Version:
  2.6.1
 Release:
  1
  Sources: 1
    1: https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
       sha512: 818ac4ad24aca84d214d14ac860a75c14494528821af144d3cb603f69c94d4500512814be6d62cc82973804ebfa99eb94d9f034b309f53cadb622603a7886a3e
  Patches: 0
 Preparation:
  build_top=$(pwd)
  source_dir_protobuf="protobuf-2.6.1"
  %setup source protobuf -q -n protobuf-2.6.1
  %setup patch protobuf -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
  ../${source_dir_protobuf}/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 \
  --with-protoc=true
  gmake -j 16 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> Mon Aug 26 19:43:48 2019
==============================================================================
Report: net/protobuf-2.6.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) net/protobuf-2.6.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) net/protobuf-2.6.1-1.cfg
------------------------------------------------------------------------------
Package: protobuf-2.6.1-arm-rtems5-1
 Config: net/protobuf-2.6.1-1.cfg
 Summary:
  Protocol buffers are Googles language-neutral,
  platform-neutral, extensible mechanism for serializing
  structured data.
 URL:
  https://developers.google.com/protocol-buffers/
 Version:
  2.6.1
 Release:
  1
  Sources: 1
    1: https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.gz
       sha512: 818ac4ad24aca84d214d14ac860a75c14494528821af144d3cb603f69c94d4500512814be6d62cc82973804ebfa99eb94d9f034b309f53cadb622603a7886a3e
  Patches: 0
 Preparation:
  build_top=$(pwd)
  source_dir_protobuf="protobuf-2.6.1"
  %setup source protobuf -q -n protobuf-2.6.1
  %setup patch protobuf -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
  ../${source_dir_protobuf}/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 \
  --with-protoc=true
  gmake -j 16 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}


More information about the build mailing list