Hi,

[  464s] error: File must begin with "/": GPL-2.0+
[  464s] error: File must begin with "/": COPYING
[  464s] error: File not found:

Seems like you're not using correct gbs configuration. Support for %license tag accepting non-absolute paths has been added in RPM 4.11 if I remember correctly and your rpm version clearly doesn't accept it. Could you share your ~/.gbs.conf file? What profile you are trying to build for? Depending on profile different url should be used. For example this is url for ia32 mobile: url = http://download.tizen.org/snapshots/tizen/mobile/latest/repos/mobile/ia32/packages/

More about configuration files: https://source.tizen.org/documentation/reference/git-build-system/configuration-file

Regards,
Jacek

On 03/05/2014 07:13 PM, Suresh Kanzariya wrote:
Hi,

I just clone the git from gerrit and try to build it using 'gbs build
-A i586', it compile well but at last it failed.

>From the log I don't understand one thing, what is /home/abuild..
path, I don't have such path in my system?

Here is the log.

[  461s] 6019 blocks
[  461s] + /usr/lib/rpm/check-buildroot
[  461s] + /usr/lib/rpm//brp-compress
[  462s] + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
[  463s] + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
[  464s] + /usr/lib/rpm/brp-python-bytecompile
[  464s] + /usr/lib/rpm/brp-python-hardlink
[  464s] + /usr/lib/rpm/tizen/find-docs.sh
/home/abuild/rpmbuild/BUILDROOT/util-linux-2.24-0.i386
[  464s] Processing files: util-linux-2.24-0.i586
[  464s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv
[  464s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K
[  464s]
[  464s] error: File must begin with "/": GPL-2.0+
[  464s] error: File must begin with "/": COPYING
[  464s] error: File not found:
/home/abuild/rpmbuild/BUILDROOT/util-linux-2.24-0.i386/usr/bin/nsenter
[  464s]
[  464s]
[  464s] RPM build errors:
[  464s]     File must begin with "/": GPL-2.0+
[  464s]     File must begin with "/": COPYING
[  464s]     File not found:
/home/abuild/rpmbuild/BUILDROOT/util-linux-2.24-0.i386/usr/bin/nsenter
warning: build failed, Leaving the logs in
/data/GBS-ROOT/local/repos/tizen/i586/logs/fail/util-linux-2.24-0/log.txt
info: *** Build Status Summary ***
=== the following packages failed to build due to rpmbuild issue (1) ===
util-linux: 
/data/GBS-ROOT/local/repos/tizen/i586/logs/fail/util-linux-2.24-0/log.txt
=== Total succeeded built packages: (0) ===
info: generated html format report:
      /data/GBS-ROOT/local/repos/tizen/i586/index.html
info: generated RPM packages can be found from local repo:
      /data/GBS-ROOT/local/repos/tizen/i586/RPMS
info: generated source RPM packages can be found from local repo:
      /data/GBS-ROOT/local/repos/tizen/i586/SRPMS
info: build logs can be found in:
      /data/GBS-ROOT/local/repos/tizen/i586/logs
info: build roots located in:
      /data/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.*
error: <gbs>some packages failed to be built

I am trying to build Tizen image on x86 (Ubuntu 12.04) platform and
wanted to run it using qemu, How can i generate tizen image for qemu?


Thanks.

-Suresh
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev



--
Jacek Bukarewicz
Samsung R&D Institute Poland
Samsung Electronics
[email protected]

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to