[Dev] GBS build: 22 failed out of 836

Gerken, Stephen sgerken at jaguarlandrover.com
Wed Dec 4 18:47:34 GMT 2013


Hi Qiang;

Thanks for your analysis.

My custom gbs conf contents are:
[general]
tmpdir=/var/tmp/
profile = profile.tizen3.0
work_dir=.

[repo.tizen3.0_x86]
url=${work_dir}/pre-built/toolchain-x86/

[repo.tizen3.0_ivi]
#url=http://download.tizen.org/releases/daily/tizen/ivi/latest/
url=http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/

[profile.tizen3.0]
repos=repo.tizen3.0_x86,repo.tizen3.0_ivi
buildconf=${work_dir}/scm/meta/build-config/build.conf

The above custom gbs conf is intended to pull from the latest ivi.

The build.conf referenced in the gbs conf is not custom.  The build conf is
a symlink
to Tizen:IVI:Release.build.conf.  The contents of that file are:
Patterntype: rpm-md comps
Release: <CI_CNT>.<B_CNT>
Support: build
Support: build-compare build-mkbaselibs
Support: rpmlint-mini rpmlint-tizen


FileProvides: /usr/sbin/groupadd pwdutils
Prefer: util-linux
Prefer: nfc-manager
Prefer: nfc-manager-devel
Prefer: nfc-common-lib-devel
Prefer: nfc-common-lib
Prefer: nfc-manager-neard
Prefer: nfc-manager-neard-devel
Prefer: libtapi-devel

%define gcc_version 48

%define _with_ivi 1
%define _with_wayland 1
%define _with_tizen 1
%define _with_mesa 1
%define _with_desktop 1
%define _with_wrt_option_bluetooth 1
%define _with_wrt_option_msg_port 1
%define _with_wrt_option_call_history 1
%define _with_bluetooth_frwk_libnotification 1
%define _with_audio_session_manager 1
%define _with_audio_session_manager_with_murphy 1


# mesa
Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) pkgconfig(gl)
Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1_cm)
pkgconfig(gl)
#Prefer: mesa-libEGL
Prefer: nfc-manager-neard
Prefer: nfc-common-lib-neard
Prefer: calendar-service-devel

%ifarch i586
Target: i686-tizen-linux
%endif

%ifarch armv7hl
Target: armv7hl-tizen-linux
%endif

%ifarch armv7l
Target: armv7l-tizen-linux
%endif

%ifarch %arm armv7l
Hostarch: x86_64
# cross build support for the build hosts
Preinstall: qemu-linux-user
Keep: qemu-linux-user
%endif

%ifarch armv7hl
Preinstall: qemu-accel-armv7hl
Runscripts: qemu-accel-armv7hl
Preinstall: util-linux libmount libblkid libuuid
%endif
%ifarch armv7l
Preinstall: qemu-accel-armv7l
Runscripts: qemu-accel-armv7l
Preinstall: util-linux libmount libblkid libuuid
%endif
%ifarch armv7el
Preinstall: qemu-accel-armv7el
Runscripts: qemu-accel-armv7el
Preinstall: util-linux libmount libblkid libuuid
%endif

ExportFilter: ^qemu-linux-user.*\.x86_64\.rpm$ . armv7el armv7l armv7hl

ExportFilter: ^qemu-accel-armv7hl.*\.x86_64\.rpm$ .  armv7hl
ExportFilter: ^qemu-accel-armv7l.*\.x86_64\.rpm$ .  armv7l
ExportFilter: ^qemu-accel-armv7el.*\.x86_64\.rpm$ .  armv7el
ExportFilter: \.x86_64\.rpm$ x86_64


Preinstall: setup filesystem
RunScripts: setup

Preinstall: bash bzip2 coreutils diffutils grep rpm
Preinstall: glibc libacl libattr
Preinstall: libcap
Preinstall: libgcc_s1
Preinstall: libpopt sed tar zlib
Preinstall: libncurses libreadline
Preinstall: libelf libbz2
Preinstall: liblzma
Preinstall: nss nspr libfreebl3 libsoftokn3
Preinstall: libmagic
Preinstall: liblua
Preinstall: smack libsmack libxml2 libmagic  libmagic-data
Preinstall: libsqlite
Preinstall: rpm-security-plugin

VMinstall: perl libmount libblkid libext2fs libuuid  grep libpcre util-linux

Required: binutils gcc glibc rpm-build libtool

Support: glibc-locale
Support: perl
Support: hostname
Support: cpio findutils
Support: file findutils zlib bzip2
Support: gzip hostname net-tools
Support: make  patch sed  gawk tar grep coreutils pkg-config
Support: m4  tzdata
Support: util-linux
Support: less
Support: which  elfutils
Support: update-alternatives

# TO REMOVE
Support: gcc-c++

Keep: cpp%{gcc_version} gcc%{gcc_version} gcc%{gcc_version}-ada
libstdc++%{gcc_version}
Keep: libstdc++%{gcc_version}-devel gcc%{gcc_version}-c++
Keep: cpp gcc libstdc++
Keep: pam
Keep: binutils cpp  libmagic-data file findutils gawk gcc  gcc-c++
Keep: gdbm gzip libada libunwind  glibc-devel libpcre xz-lzma-compat
Keep: make  gmp libcap groff cpio
Keep: patch rpm-build  nss nspr elfutils python grep libgcc gcc-c++
Keep: kernel-headers  perl-libs perl
Keep: pkgconfig glib2 tizen-rpm-config
Keep: libmpc libmpfr libppl libgmp libppl_c
Keep: libcloog libppl libgmpxx
Keep: nss-softokn-freebl libmagic libmagic-data
Keep: setup
Keep: update-alternatives
Prefer: libstdc++%{gcc_version} libgcc%{gcc_version}
Prefer: libstdc++%{gcc_version}-32bit libstdc++%{gcc_version}-64bit

Substitute: gettext gettext-tools


%ifarch x86_64
Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
%else
Substitute: glibc-devel-32bit
%endif


#%__global_cflags -O2 -g2 -feliminate-unused-debug-types -pipe -Wall
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
 --param=ssp-buffer-size=32 -Wformat -Wformat-security

Optflags: x86_64 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
 --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0
-m64 -march=corei7 -msse4.2  -mtune=corei7-avx -mfpmath=sse
-fasynchronous-unwind-tables -fno-omit-frame-pointer  -fipa-cp-clone

Optflags: armv7l -O2 -g2 -feliminate-unused-debug-types -pipe -Wall
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
 --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0
-march=armv7-a -mtune=cortex-a8 -mlittle-endian  -mfpu=vfpv3
-mfloat-abi=softfp -D__SOFTFP__

Macros:

%profile ivi
%_with_ivi 1
%_with_wayland 1
%_with_tizen 1
%_with_mesa 1
%_with_desktop 1
%check exit 0
%run_check_section 0
%opensuse_bs 1
%_default_patch_fuzz   2
%_with_wrt_option_bluetooth 1
%_with_wrt_option_msg_port 1
%_with_wrt_option_call_history 1
%_with_bluetooth_frwk_libnotification 1
%_with_audio_session_manager 1
%_with_audio_session_manager_with_murphy 1

%tizen_version 3.0
%tizen 3.0

%vendor tizen
%_vendor tizen

This build.conf file is dated 28 Sep 2013, and the
Tizen:IVI:Release.build.conf file is dated 25 Sep 2013.




Steve Gerken
-------------------
Linux Developer
MSX, as broker for Jaguar Land Rover

One World Trade Center, 121 SW Salmon Street, 11th Floor, Portland, Oregon,
97204
Email: sgerken at jaguarlandrover.com


On 4 December 2013 02:51, Zhang, Qiang Z <qiang.z.zhang at intel.com> wrote:

>  Hi Stephen,
>
>
>
> You build status looks good.
>
>
>
> Could you please provide your build conf? as you specified a customized
> one(gbs.tizen-3_0-ivi-jlr.conf), is it downloaded from ivi latest repo?
>
>
>
> Below is issue summary:
>
> 1 *caused by gbs export from pristine-tar (will be fixed in next version
> of gbs, which will be released next week)*
>
> python-elementary-tizen3.0-i586
>
> python-evas-tizen3.0-i586
>
> python-edje-tizen3.0-i586
>
> python-ecore-tizen3.0-i586
>
>
>
> 2 *util-linux is one of pre-install packages (This is expected)*
>
> util-linux-tizen3.0-i586
>
>
>
> 3 failed in obs too
>
> org.tizen.pwlock-tizen3.0-i586
>
> wrt-setting-tizen3.0-i586
>
>
>
> 4 cross-i386-binutils-tizen3.0-i586
>
> This packages should not be built, only for i586 build, so does not affect
> final image .
>
>
>
> 5 fail at cc or ld, may be caused by inconsistent between source and repo
>
> gcd-tizen3.0-i586
>
> aul-tizen3.0-i586
>
> libffi48-tizen3.0-i586
>
> ico-uxf-device-input-controller-tizen3.0-i586
>
> ico-uxf-homescreen-sample-apps-tizen3.0-i586
>
> openavb-tizen3.0-i586
>
> bc-tizen3.0-i586
>
> gettext-tizen3.0-i586
>
> qemu-tizen3.0-i586
>
>
>
> We will give more details reason tomorrow.
>
>
>
> 6 caused by build conf: need compare you build conf and the one in remote
> repo.
>
> wrt-plugins-ivi:
>
>   have choice for libmessage-port.so.1 needed by wrt-plugins-tizen:
> libmessage-port message-port
>
> wrt-plugins-tizen:
>
>   have choice for pkgconfig(message-port): message-port-devel
> libmessage-port-devel
>
>
>
> Thanks
>
> Qiang
>
>
>
>
>
>
>
> *From:* dev-bounces at lists.tizen.org [mailto:dev-bounces at lists.tizen.org] *On
> Behalf Of *Gerken, Stephen
> *Sent:* Wednesday, December 4, 2013 5:45 AM
> *To:* dev at lists.tizen.org
> *Subject:* [Dev] GBS build: 22 failed out of 836
>
>
>
> Hi all,
>
>
>
> Yesterday I updated source for Tizen 3.0 IVI and attempted a clean GBS
> build.  It finished today with 22 packages failing to build, out of 836
> total.  Is this considered normal?
>
>
>
> My gbs configuration file is gbs.tizen-3_0-ivi-jlr.conf and its contents
> are:
>
> [general]
>
> tmpdir=/var/tmp/
>
> profile = profile.tizen3.0
>
> work_dir=.
>
>
>
> [repo.tizen3.0_x86]
>
> url=${work_dir}/pre-built/toolchain-x86/
>
>
>
> [repo.tizen3.0_ivi]
>
> #url=http://download.tizen.org/releases/daily/tizen/ivi/latest/
>
> url=http://download.tizen.org/releases/daily/tizen/ivi/ivi/latest/
>
>
>
> [profile.tizen3.0]
>
> repos=repo.tizen3.0_x86,repo.tizen3.0_ivi
>
> buildconf=${work_dir}/scm/meta/build-config/build.conf
>
>
>
>
>
> My gbs command was:
>
> gbs -c ./gbs.tizen-3_0-ivi-jlr.conf build -A i586 --threads 4 --clean-once
> --exclude=texinfo,systemd
>
>
>
>
>
> And the tail of the gbs output was:
>
> error: *** Error Summary ***
>
> === the following packages failed to build due to missing build
> dependencies (5) ===
>
> cross-i386-gcc48-icecream-backend:
>
>   nothing provides cross-i386-binutils
>
> wrt-plugins-ivi:
>
>   have choice for libmessage-port.so.1 needed by wrt-plugins-tizen:
> libmessage-port message-port
>
> gcc48-testresults:
>
>   nothing provides fastjar
>
>   nothing provides dejagnu
>
> wrt-plugins-tizen:
>
>   have choice for pkgconfig(message-port): message-port-devel
> libmessage-port-devel
>
> libgcj48:
>
>   nothing provides fastjar
>
>
>
> === the following packages failed to build due to rpmbuild issue (17) ===
>
> python-elementary-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/python-elementary-1.7.0-0/log
>
> python-evas-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/python-evas-1.7.0-0/log
>
> openavb-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/openavb-20130814-1/log
>
> python-edje-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/python-edje-1.7.0-0/log
>
> python-ecore-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/python-ecore-1.7.0-0/log
>
> cross-i386-binutils-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/cross-i386-binutils-2.23.1-0/log
>
> ico-uxf-device-input-controller-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/ico-uxf-device-input-controller-0.9.04-1.1/log
>
> org.tizen.pwlock-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/org.tizen.pwlock-0.4.0-1/log
>
> gcd-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/gcd-1.0-1/log
>
> bc-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/bc-1.06-0/log
>
> aul-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/aul-0.0.286-1/log
>
> wrt-setting-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/wrt-setting-0.0.53-1/log
>
> qemu-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/qemu-1.6.0-0/log
>
> libffi48-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/libffi48-4.8.2-1/log
>
> util-linux-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/util-linux-2.22.2-0/log
>
> ico-uxf-homescreen-sample-apps-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/ico-uxf-homescreen-sample-apps-0.9.5-1.1/log
>
> gettext-tizen3.0-i586:
> /home/sgerken/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/gettext-0.18.1.1-2/log
>
>
>
> error: <gbs>rpmbuild fails
>
>
>
>
>
>
>   Steve Gerken
>
> -------------------
> Linux Developer
> MSX, as broker for Jaguar Land Rover
>
> One World Trade Center, 121 SW Salmon Street, 11th Floor, Portland,
> Oregon, 97204
>
> Email: sgerken at jaguarlandrover.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20131204/33757d0a/attachment-0001.html>


More information about the Dev mailing list