In this situation, you'd better exclude packages that make cyclic
dependency.

In example,

$
accel_pkgs="bash,bzip2-libs,c-ares,cmake,coreutils,diffutils,eglibc,elfutils-libelf,elfutils-libs,elfutils,fdupes,file,findutils,gawk,gmp,gzip,libacl,libattr,libcap,libcurl,libfile,libgcc,liblua,libstdc++,make,mpc,mpfr,ncurses-libs,nodejs,nspr,nss-softokn-freebl,nss,openssl,patch,popt,rpm-build,rpm-libs,rpm,sed,sqlite,tar,xz-libs,zlib,binutils,gcc"
$ gbs build -A armv7l --threads=4 --clean-once
--exclude=${accel_pkgs},filesystem,aul,libmm-sound,libtool

For more details, check out following site.

https://source.tizen.org/documentation/developer-guide/getting-started-guide/building-packages-locally-gbs

Regards,
Gyeonghwan Hong.

2015-08-26 16:51 GMT+09:00 Leon Anavi <[email protected]>:

> Hi Joey,
>
> I am forwarding your email to the Tizen Dev mailing list as the issue your
> are having while building Tizen 2.2 with GBS is related to the development
> of the Tizen distribution itself.
>
> If you are also interested in the upstream of Tizen, aka Tizen 3 profiles,
> I encourage you also to try building Tizen using the Yocto Project (imho it
> is easier and more convenient than GBS):
> https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto_Project
>
> Best regards,
> Leon
>
>
> -------- Forwarded Message -------- Subject: [Tizen Application-dev] An
> error occur when I build tizen2.2 Date: Wed, 26 Aug 2015 07:14:08 +0000 From:
> Joey Wu (吴智立) <[email protected]> <[email protected]> To:
> [email protected] <[email protected]>
> <[email protected]>
>
>
>
> HI guys,
>
>
>
> Error log as below:
>
>
>
> *joeywu@ss5:~/projects/tizen_opensource$ gbs build -A armv7l --threads=4 *
> *info: generate repositories ...*
>
> *info: start building packages from:
> /home/joeywu/projects/tizen_opensource (git)*
> *2015-08-26 14:59 +0800*
>
> *info: prepare sources...*
> *info: start export source from:
> /home/joeywu/projects/tizen_opensource/toolchains/rpm ...*
> *error: RPM error while parsing rpm-python.spec: can't parse specfile*
> * (error: License field must be present in package: (main package))*
> *error: <gbs>Failed to export packaging files from git tree*
> *info: start export source from:
> /home/joeywu/projects/tizen_opensource/toolchains/rpm ...*
> *info: Creating (native) source archive rpm-4.9.1.tar.bz2 from 'HEAD'*
> *error: RPM error while parsing rpm-python.spec: can't parse specfile*
> * (error: License field must be present in package: (main package))*
> *error: <gbs>Failed to export packaging files from git tree*
> *info: retrieving repo metadata...*
> *info: parsing package data...*
> *warning: gstreamer-vaapi: build arch not compatible: i386 i486 i586 i686
> athlon*
> *warning: mmfw-sysconf-simulator: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: libwsbm: build arch not compatible: i386 i486 i586 i686 athlon*
> *warning: cross-armv5tel-gcc-accel: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: cross-armv5tel-gcc: build arch not compatible: i386 i486 i586
> i686 athlon*
> *warning: cross-armv6l-gcc-accel: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: cross-armv6l-gcc: build arch not compatible: i386 i486 i586 i686
> athlon*
> *warning: cross-armv7hl-gcc-accel: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: cross-armv7hl-gcc: build arch not compatible: i386 i486 i586
> i686 athlon*
> *warning: cross-armv7l-gcc-accel: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: cross-armv7l-gcc: build arch not compatible: i386 i486 i586 i686
> athlon*
> *warning: cross-armv7nhl-gcc-accel: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: cross-armv7nhl-gcc: build arch not compatible: i386 i486 i586
> i686 athlon*
> *warning: cross-armv5tel-binutils-accel: build arch not compatible: i386
> i486 i586 i686 athlon*
> *warning: cross-armv5tel-binutils: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: cross-armv6l-binutils-accel: build arch not compatible: i386
> i486 i586 i686 athlon*
> *warning: cross-armv6l-binutils: build arch not compatible: i386 i486 i586
> i686 athlon*
> *warning: cross-armv7hl-binutils-accel: build arch not compatible: i386
> i486 i586 i686 athlon*
> *warning: cross-armv7hl-binutils: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: cross-armv7l-binutils-accel: build arch not compatible: i386
> i486 i586 i686 athlon*
> *warning: cross-armv7l-binutils: build arch not compatible: i386 i486 i586
> i686 athlon*
> *warning: cross-armv7nhl-binutils-accel: build arch not compatible: i386
> i486 i586 i686 athlon*
> *warning: cross-armv7nhl-binutils: build arch not compatible: i386 i486
> i586 i686 athlon*
> *warning: cross-mipsel-binutils-accel: build arch not compatible: i386
> i486 i586 i686 athlon*
> *warning: cross-mipsel-binutils: build arch not compatible: i386 i486 i586
> i686 athlon*
> *warning: syslinux: build arch not compatible: i386 i486 i586 i686 athlon
> x86_64*
> *warning: pvr-bin-mdfld: build arch not compatible: i386 i486 i586 i686
> athlon x86_64*
> *warning: psb-headers: build arch not compatible: i386 i486 i586 i686
> athlon*
> *warning: system-plugin-ia-generic: build arch not compatible: i386 i486
> i586 i686 athlon x86_64*
> *info: building repo metadata ...*
> *info: package dependency resolving ...*
> *warning: circle found: gcc->binutils->gettext->gcc*
> *info: circle found, exit...*
> *error: <gbs>some packages failed to be built*
>
>
>
>
>
> this is my .gbs.config file:
>
> *  1 [general]*
> *  2 tmpdir=/var/tmp/*
> *  3 profile = profile.tizen2.2*
> *  4 work_dir=.*
> *  5 *
> *  6 [repo.tizen2.2_arm]*
> *  7 url=${work_dir}/pre-built/toolchain-arm/*
> *  8 *
> *  9 [repo.tizen2.2_x86]*
> * 10 url=${work_dir}/pre-built/toolchain-x86/*
> * 11 *
> * 12 [repo.tizen2.2]*
> * 13 url = http://download.tizen.org/releases/2.2/tizen-2.2/
> <http://download.tizen.org/releases/2.2/tizen-2.2/>*
> * 14 *
> * 15 [profile.tizen2.2]*
> * 16 repos=repo.tizen2.2_arm, repo.tizen2.2_x86, repo.tizen2.2*
> * 17 buildconf=${work_dir}/scm/meta/build-config/build.conf*
>
>
>
>
>
> RG
>
> Joey
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.tizen.org/listinfo/dev
>
>


-- 
Gyeonghwan Hong (RedCarrottt)
Embedded Software Lab.
Sungkyunkwan University
[email protected]
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to