The error occurs as it builds the ncurses package complaining about a "bad
%if condition", RPM error "can't parse spec file".

Doesn't sound like a cycles problem to me, am I mistaken?

BTW, if I make a change to the spec file in the package (but don't check it
in), it doesn't appear to affect the build.  Is that expected?

Paul

Kind Regards

Paul Hanchett

-------------------
Infotainment Engineer
MSX on behalf of Jaguar Land Rover
One World Trade Center, 121 Southwest Salmon Street, 11th Floor, Portland,
Oregon, 97204

Email: [email protected]
-------------------

Business Details:
Jaguar Land Rover Limited
Registered Office: Abbey Road, Whitley, Coventry CV3 4LF
Registered in England No: 1672070


On Thu, Aug 22, 2013 at 3:23 AM, Zhang, Qiang Z <[email protected]>wrote:

>  This should be caused by cycles in packages, so you need specify a
> remote tizen 3.0 repo to .gbs.conf, please follow this document:****
>
> ** **
>
>
> https://source.tizen.org/documentation/developer-guide/creating-tizen-platform-image-scratch-through-local-build
> ****
>
> ** **
>
> Thanks****
>
> Qiang****
>
> ** **
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Hanchett, Paul
> *Sent:* Thursday, August 22, 2013 5:58 AM
> *To:* [email protected];
> UM-PD-Engineering-Electrical-Infotainment-Portland
> *Subject:* Re: Build failure (but partial success, too!)****
>
> ** **
>
> Did a rebuild and caught the output.  Is ncurses the problem?****
>
> ** **
>
>  info: generate repositories ...****
>
> info: start building packages from: /home/administrator/Tizen_3-0 (git)***
> *
>
> info: prepare sources...****
>
> *info: start export source from:
> /home/administrator/Tizen_3-0/platform/upstream/ncurses ...*****
>
> info: retrieving repo metadata...****
>
> info: parsing package data...****
>
> warning: qemu-accel-armv7el: build arch not compatible: x86_64****
>
> warning: qemu-accel-armv7hl: build arch not compatible: x86_64****
>
> warning: qemu-accel-armv7l: build arch not compatible: x86_64****
>
> warning: qemu-accel-armv7hl: build arch not compatible: x86_64****
>
> warning: cross-i386-gcc47-icecream-backend: build arch not compatible: ppc
> ppc64 x86_64 ia64****
>
> warning: mmfw-sysconf-cleansdk-e4x12: build arch not compatible: armv4l
> armv5l armv6l armv7l armv4b armv5l armv5b armv5el armv5eb armv5tel armv5teb
> armv6el armv6eb armv7el armv7eb armv7hl armv7nhl armv8el****
>
> warning: mmfw-sysconf-cleansdk-target: build arch not compatible: armv4l
> armv5l armv6l armv7l armv4b armv5l armv5b armv5el armv5eb armv5tel armv5teb
> armv6el armv6eb armv7el armv7eb armv7hl armv7nhl armv8el****
>
> info: building repo metadata ...****
>
> info: package dependency resolving ...****
>
> info: skipping m4-1.4.16-0 i586 ****
>
> info: skipping perl-gettext-1.05-151 i586 ****
>
> *...*****
>
>   *<SNIP>*****
>
>   *...*****
>
> info: skipping wireless-regdb-2013.01.11-0 i586 info: skipping
> fdupes-1.40-42.66 i586 ****
>
> info: skipping rsync-3.0.8-1 i586 ****
>
> info: skipping build-compare-2012.01.26-0 i586 ****
>
> info: skipping sqlite-3.7.14-0 i586 ****
>
> info: skipping xf86driproto-2.1.1-1 i586 ****
>
> info: skipping unifdef-2.8-1 i586 ****
>
> info: skipping hardlink-1.0-1 i586 ****
>
> info: skipping autoconf-2.69-0 i586 ****
>
> info: skipping cpio-2.11-3 i586 ****
>
> error: *** Error Summary *******
>
> *=== the following packages failed to build because export source files
> to build environment failed (1) ===*****
>
> *ncurses-5.9-0*****
>
> ** **
>
> === the following packages failed to build due to missing build
> dependencies (571) ===****
>
> capi-content-mime-type:****
>
>   nothing provides cmake****
>
>   nothing provides pkgconfig(dlog)****
>
>   nothing provides pkgconfig(capi-base-common)****
>
>   nothing provides pkgconfig(xdgmime)****
>
>   nothing provides libsmack.so.1(LIBSMACK) needed by rpm-security-plugin**
> **
>
> org.tizen.image-viewer:****
>
>   nothing provides pkgconfig(appcore-efl)****
>
>   nothing provides pkgconfig(elementary)****
>
>   nothing provides pkgconfig(edje)****
>
>   nothing provides pkgconfig(evas)****
>
>   nothing provides pkgconfig(ecore)****
>
>   nothing provides pkgconfig(ecore-x)****
>
>   nothing provides pkgconfig(ecore-input)****
>
>   nothing provides pkgconfig(bundle)****
>
>   nothing provides pkgconfig(sensor)****
>
>   nothing provides pkgconfig(ui-gadget-1)****
>
>   nothing provides pkgconfig(utilX)****
>
>   nothing provides pkgconfig(appsvc)****
>
>   nothing provides pkgconfig(vconf)****
>
>   nothing provides pkgconfig(dlog)****
>
>   nothing provides pkgconfig(capi-appfw-application)****
>
>   nothing provides cmake****
>
>   nothing provides edje-bin****
>
>   nothing provides embryo-bin****
>
>   nothing provides libsmack.so.1(LIBSMACK) needed by rpm-security-plugin**
> **
>
> capi-system-runtime-info:****
>
>   nothing provides cmake****
>
>   nothing provides pkgconfig(dlog)****
>
>   nothing provides pkgconfig(vconf)****
>
>   nothing provides pkgconfig(capi-base-common)****
>
>   nothing provides libsmack.so.1(LIBSMACK) needed by rpm-security-plugin**
> **
>
> doxygen:****
>
>   nothing provides flex****
>
>   nothing provides libsmack.so.1(LIBSMACK) needed by rpm-security-plugin**
> **
>
> freealut:****
>
>   nothing provides pkgconfig(openal)****
>
>   nothing provides libsmack.so.1(LIBSMACK) needed by rpm-security-plugin**
> **
>
> org.tizen.calendar:****
>
>   nothing provides pkgconfig(appcore-efl)****
>
>   nothing provides pkgconfig(appsvc)****
>
>   nothing provides pkgconfig(utilX)****
>
>   nothing provides pkgconfig(calendar-service2)****
>
>   nothing provides pkgconfig(dlog)****
>
>   nothing provides pkgconfig(accounts-svc)****
>
>   nothing provides pkgconfig(heynoti)****
>
>   nothing provides pkgconfig(contacts-service2)****
>
> *...*****
>
>   *<SNIP> Many, many "nothing provides" removed.*****
>
> *...*****
>
>   python-ecore:****
>
>   nothing provides python-devel****
>
>   nothing provides pkgconfig(dbus-python)****
>
>   nothing provides pkgconfig(ecore)****
>
>   nothing provides libsmack.so.1(LIBSMACK) needed by rpm-security-plugin**
> **
>
> python-magic:****
>
>   nothing provides python-devel****
>
>   nothing provides libsmack.so.1(LIBSMACK) needed by rpm-security-plugin**
> **
>
> ** **
>
> Thoughts?****
>
> ** **
>
>
> ****
>
> Kind Regards
>
> Paul Hanchett
>
> -------------------
> Infotainment Engineer
> MSX on behalf of Jaguar Land Rover
> One World Trade Center, 121 Southwest Salmon Street, 11th Floor, Portland,
> Oregon, 97204
>
> Email: [email protected]
> -------------------
>
> Business Details:
> Jaguar Land Rover Limited
> Registered Office: Abbey Road, Whitley, Coventry CV3 4LF ****
>
> Registered in England No: 1672070****
>
> ** **
>
> On Wed, Aug 21, 2013 at 1:10 PM, Hanchett, Paul <
> [email protected]> wrote:****
>
> Doing a fresh build, starting from a bare metal machine.****
>
> ** **
>
> So I used this 
> article<https://developer.tizen.org/help/topic/org.tizen.platform.development/html/platform_dev_env/gerrit_ssh.htm>to
>  set up my ssh, and this one to use
> repo to get the 
> source<https://source.tizen.org/documentation/developer-guide/creating-tizen-platform-image-scratch-through-local-build>tree
>  (section 2 of the document), gbs previously set up.  As best I
> understand, I'm grabbing the tizen branch so I think I'm looking at Tizen
> 3.0/IVI.  Ran****
>
>  ** **
>
>  cd ~/Tizen_3-0****
>
>  gbs build -A i586****
>
> ** **
>
> And OH BOY: It starts to build!  Joy Joy!  ****
>
> ** **
>
> Then gbs terminates with an error:  ****
>
> ** **
>
>  === the following packages failed to build due to rpmbuild issue (18) ===
> ****
>
> e2fsprogs-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/e2fsprogs-1.42.6-0/log
> ****
>
> hunspell-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/hunspell-1.3.2-0/log
> ****
>
> libtirpc-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/libtirpc-0.2.2-0/log
> ****
>
> man-db-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/man-db-2.6.3-1/log
> ****
>
> perl-Error-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/perl-Error-0.17017-7/log
> ****
>
> libSM-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/libSM-1.2.1-0/log
> ****
>
> eject-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/eject-2.1.5-25/log
> ****
>
> perl-URI-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/perl-URI-1.60-1/log
> ****
>
> cloog-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/cloog-0.15.10-0/log
> ****
>
> perl-Switch-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/perl-Switch-2.16-4/log
> ****
>
> sys-string-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/sys-string-1.1-2/log
> ****
>
> docbook_4-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/docbook_4-4.5-0/log
> ****
>
> build-initvm-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/build-initvm-20120927-0/log
> ****
>
> mmfw-sysconf-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/mmfw-sysconf-0.1.66-0/log
> ****
>
> perl-X11-Protocol-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/perl-X11-Protocol-0.56-1/log
> ****
>
> libusb-compat-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/libusb-compat-0.1.4-2/log
> ****
>
> libgpg-error-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/libgpg-error-1.10-0/log
> ****
>
> powertop-tizen3.0-i586:
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/logs/fail/powertop-2.3-1/log
> ****
>
> ** **
>
> error: <gbs>rpmbuild fails****
>
> administrator@tizen-SDK-2:~/Tizen_3-0$ ****
>
>  ** **
>
> Sample log from first file above:****
>
> ** **
>
>  [    0s] Memory limit set to 4528244KB****
>
> [    0s] Using
> BUILD_ROOT=/home/administrator/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.0**
> **
>
> [    0s] Using BUILD_ARCH=i686:i586:i486:i386:noarch****
>
> [    0s] ****
>
> [    0s] ****
>
> [    0s] tizen-SDK-2 started "build e2fsprogs.spec" at Wed Aug 21 17:57:35
> UTC 2013.****
>
> [    0s] ****
>
> [    0s] ****
>
> [    0s] processing specfile
> /home/administrator/GBS-ROOT/local/sources/tizen3.0/e2fsprogs-1.42.6-0/e2fsprogs.spec
> ...****
>
> [    0s] init_buildsystem --configdir /var/tmp/administrator-gbs
> --cachedir /home/administrator/GBS-ROOT/local/cache --repository
> /home/administrator/GBS-ROOT/local/repos/tizen3.0/i586/RPMS --repository
> /home/administrator/Tizen_3-0/pre-built/toolchain-x86/
> /home/administrator/GBS-ROOT/local/sources/tizen3.0/e2fsprogs-1.42.6-0/e2fsprogs.spec
> ...****
>
> [    0s] expanding package dependencies...****
>
> [    0s] expansion error****
>
> [    0s]   nothing provides libsmack.so.1(LIBSMACK) needed by
> rpm-security-plugin****
>
> ** **
>
>  libsmack.so.1 seems to be missing.  Did a find for the .so and it's
> missing.****
>
> ** **
>
> Looked for error logs on libsmack and didn't really find anything.  I did
> find some jira references to it missing in the build but they seemed pretty
> old...  I did see some comments along the line 'It's mssing but it's turned
> off so it shouldn't harm anyone.'****
>
> ** **
>
> I see closed bug TIVI-912 that indicates that someone has tested the
> feature, but it doesn't seem to generate any artifacts on my build system.
> ****
>
> ** **
>
> So, some questions (I'm sure there are more):****
>
> ** **
>
>    1. How do I fix the immediate error?****
>    2. Is this a bug in how tizen 3.0 is being built? ****
>
>   ** **
>
> TIA for any help you can offer!****
>
>
>
> Paul Hanchett
>
> -------------------
> Infotainment Engineer
> MSX on behalf of Jaguar Land Rover
> One World Trade Center, 121 Southwest Salmon Street, 11th Floor, Portland,
> Oregon, 97204
>
> Email: [email protected]
> -------------------
>
> Business Details:
> Jaguar Land Rover Limited
> Registered Office: Abbey Road, Whitley, Coventry CV3 4LF ****
>
> Registered in England No: 1672070****
>
> ** **
>

<<image002.gif>>

<<image001.gif>>

_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to