System setup of tinderboxes

Christian Lohmaier lohmaier at googlemail.com
Tue May 2 10:10:08 UTC 2017


Hi Jens,

On Tue, May 2, 2017 at 9:20 AM, Jens Carl <j.carl43 at gmx.de> wrote:
>
> is it possible to get the system setup of the tinderboxes so I can recreate
> one for my own gcc test runs. I mean the OS and installed packages.

There are various tinderboxes, not all share the same setup.

The baseline system (used by the TDF provided binaries, and the the
tinderboxes 76 and 77 (x86) is using CentOS 6 and devtools repository
to get newer compiler version:

the salt snippet looks something like the following and should get you
~the same setup except for gstreamer 1.0 stuff, that right now is
local to the build-user/not installed systemwide.
glib, gstreamer and gst-plugins-base are compiled like this (adjust
version accordingly):

export PATH=/opt/rh/devtoolset-2/root/usr/bin:$PATH
for file in *; do tar -xf $file; done
cd glib-2.50.0
./configure --disable-libmount --with-pcre=internal --prefix=$HOME/gst10-deps
make
make install
cd ../gstreamer-1.8.3
PKG_CONFIG_PATH=$HOME/gst10-deps/lib/pkgconfig ./configure
--prefix=$HOME/gst10-deps
make
make install
cd ../gst-plugins-base-1.8.3
PKG_CONFIG_PATH=$HOME/gst10-deps/lib/pkgconfig ./configure
--prefix=$HOME/gst10-deps
make
make install

and then are injected into the LibreOffice build by setting
GSTREAMER_1_0_CFLAGS=-pthread
-I/home/buildslave/gst10-deps/include/gstreamer-1.0
-I/home/buildslave/gst10-deps/lib/gstreamer-1.0/include
-I/home/buildslave/gst10-deps/include/glib-2.0
-I/home/buildslave/gst10-deps/lib/glib-2.0/include
GSTREAMER_1_0_CFLAGS=-pthread
-I/home/buildslave/gst10-deps/include/gstreamer-1.0
-I/home/buildslave/gst10-deps/lib/gstreamer-1.0/include
-I/home/buildslave/gst10-deps/include/glib-2.0
-I/home/buildslave/gst10-deps/lib/glib-2.0/include


rest of the build-deps is covered below:

# https://people.centos.org/tru/devtools-2/
/etc/yum.repos.d/devtools-2.repo:
  file:
    - managed
    - source: salt://centos6_buildbot/devtools-2.repo
    - require_in:
        - pkg: lobuilddeps_baseline

# contains updated make and doxygen
# http://dev-downloads.libreoffice.org/centos_builddeps/
/etc/yum.repos.d/tdf-buildtools.repo:
  file:
    - managed
    - source: salt://centos6_buildbot/tdf-buildtools.repo
    - require_in:
        - pkg: lobuilddeps_baseline

# byobu and man not really build-dep, but of course nice to have :-)
lobuilddeps_baseline:
  pkg.installed:
    - pkgs:
      - GConf2-devel
      - bison
      - ccache
      - cups-devel
      - dbus-glib-devel
      - devtoolset-2-binutils
      - devtoolset-2-gcc-c++
      - devtoolset-2-gdb
      - dpkg-dev
      - doxygen
      - flex
      - gitk
      - gperf
      - gstreamer-plugins-base-devel
      - gtk2-devel
      - java-1.8.0-openjdk-devel
      - kdelibs-devel
      - kdelibs3-devel
      - man
      - perl-Archive-Zip
      - qemu-guest-agent
      - rpm-build
      - byobu
      - zip

# c++11 requires space between macro and literal
/usr/include/QtCore/qobjectdefs.h:
  file.replace:
    - pattern: ^# define QLOCATION "\\0"__FILE__":"QTOSTRING\(__LINE__\)$
    - repl: '# define QLOCATION "\\0" __FILE__ ":" QTOSTRING(__LINE__)'
    - require:
        - pkg: lobuilddeps_baseline


More information about the LibreOffice mailing list