Zypper also failed on ARM chroot envrionment when using the repository http://download.tizen.org/releases/daily/2.0alpha/common/latest
Do you have any clues for solving this problem?
(--extra-pkgs option is used for installing "zypper" and loggged in by using "chroot" directly)
---Here is the Log ---
bash-4.1# zypper -n ve
Loading repository data..
Reading installed packages...
131 Problems:
Problem: augeas-libs-0.8.1-slp.1.1.armv7l is not installable
Problem: bash-4.1-slp.1.1.armv7l is not installable
Problem: binutils-2.22-slp.1.1.armv7l is not installable
Problem: bzip2-1.0.5-slp.2.1.armv7l is not installable
...
Problem: zypper-1.6.10-slp.2.1.armv7l is not installable
Problem: This request will break your system!
Problem: perl-TimeDate-1.20-slp.1.1.noarch requires perl, but this requirement cannot be provided
Problem: automake-1.11.1-slp.3.1.noarch requires perl(Carp), but this requirement cannot be provided
Problem: autoconf-2.68-slp.1.1.noarch requires perl(Carp), but this requirement cannot be provided
Problem: build-compare-2009.10.14-slp.26.1.noarch requires /bin/bash, but this requirement cannot be provided
Problem: augeas-libs-0.8.1-slp.1.1.armv7l is not installable
Solution 1: deinstallation of augeas-libs-0.8.1-slp.1.1.armv7l
Choose the above solution using '1' or skip, retry or cancel [1/s/r/c] (c): c
bash-4.1# zypper -n in elementary
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: elementary-1.0.0+svn.70492slp2+build25-slp.1.1.armv7l is not installable
Solution 1: do not install elementary-1.0.0+svn.70492slp2+build25-slp.1.1.armv7l
Choose the above solution using '1' or cancel using 'c' [1/c] (c): c
------- Original Message -------
Sender : Zhang, Qiang Z<[email protected]>
Date : 2012-11-19 17:07 (GMT+09:00)
Title : Re: [Tizen General] chroot problem
From: [email protected] [mailto:[email protected]] On Behalf Of Vijay Zanvar
Sent: Monday, November 19, 2012 2:38 PM
To: [email protected]; [email protected]
Subject: [Tizen General] chroot problem
I am facing following problmes with gbs chroot:
1) user root does not exist
$ gbs chroot -r ~/GBS-ROOT/local/scratch.i586.0/
info: chroot /home/vijaykz/GBS-ROOT/local/scratch.i586.0
su: user root does not exist
[Qiang] Could you please tell me which repo is used in your gbs.conf and which package you want to build? This should be caused by special repo.
with the -r option, gbs chroot fails since the etc/passwd has only one user (abuild).
2) The second problem is that chroot created by "gbs build" does not have essential commands like, apt-get, wget or zypper. https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-chroot explains about installing required packages inside the chrooted environment using zypper. However, the chroot is not preinstalled with zypper or apt-get!
[Qiang] You can use --extra-packs to install extra package you want, like:
$ gbs build --extra-packs=zypper,vim,wget …
Tizen is RPM based system, so apt-get is not available.
3) How do I setup network access inside the chroot? (I have copied host machine's /etc/resolv.conf to chroot.)
[Qiang] From our testing, /etc/resolv.conf is enough for network access. Any other issue?
Best,
Vijay Zanvar
|
|
_______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general

