[Sugar-devel] [sugar-build] Landing the chroot branch

Daniel Narvaez dwnarvaez at gmail.com
Sat Jul 13 20:10:02 EDT 2013


I suspect this is because rpm is configured or built differently on suse.

Instead of trying to ensure we have the right configuration on each distro,
I think it's easier to use prebuilt chroots. That will reduce the amount of
code which we need to ensure works cross distro. The dependencies becomes
just python, tar and xz.

I pushed that change. Can you retry and see if it works better?


On 13 July 2013 10:05, Daniel Narvaez <dwnarvaez at gmail.com> wrote:

> Hi Daniel,
>
> thanks for testing! Which version of open suse are you using?
>
>
> On 13 July 2013 07:35, Daniel Francis <francis at sugarlabs.org> wrote:
>
>> On Friday, July 12, 2013 12:22:43 PM Daniel Narvaez wrote:
>> > This feels ready to land now. I'll leave it there in bug fixing only
>> mode
>> > for another few days. Please switch to the chroot branch as soon as you
>> > can, when we land you will just need to switch to master, but that won't
>> > trigger a rebuild or anything.
>>
>> Hi,
>>
>> I'm trying it on OpenSuse and I got the following relevant errors and
>> warnings
>> in the log:
>>
>> warning: /tmp/tmp3Fw169/fedora-release.noarch.rpm: Header V3 RSA/SHA256
>> Signature, key ID fb4b18e6: NOKEY
>> http://fedora.c3sl.ufpr.br/linux/updates/19/x86_64/repodata/repomd.xml:
>> [Errno
>> -1] repomd.xml does not match metalink for updates
>> Trying other mirror.
>>
>> (After a very long package list)
>> --> Finished Dependency Resolution
>> Error: Package: rpm-4.11.1-1.fc19.x86_64 (updates)
>>            Requires: popt(x86-64) >= 1.10.2.1
>>            Available: popt-1.13-14.fc19.x86_64 (fedora)
>>                popt(x86-64) = 1.13-14.fc19
>> Error: Package: udev-195-13.11.1.x86_64 (base)
>>            Requires: /sbin/mkinitrd
>>            Available: mkinitrd-2.7.2-3.2.1.i586 (base)
>>                Not found
>>  You could try using --skip-broken to work around the problem
>>  You could try running: rpm -Va --nofiles --nodigest
>> Traceback (most recent call last):
>>   File
>> "/home/dfrancis/sugar-build/build/out/sandbox-host/install/bin/broot",
>> line 5, in <module>
>>     main.main()
>>   File "/home/dfrancis/sugar-build/build/out/sandbox-
>> host/install/lib/python2.7/site-packages/broot/main.py", line 81, in main
>>     create(options.mirror)
>>   File "/home/dfrancis/sugar-build/build/out/sandbox-
>> host/install/lib/python2.7/site-packages/broot/main.py", line 25, in
>> create
>>     root.create(mirror)
>>   File "/home/dfrancis/sugar-build/build/out/sandbox-
>> host/install/lib/python2.7/site-packages/broot/root.py", line 159, in
>> create
>>     self._builder.create(mirror)
>>   File "/home/dfrancis/sugar-build/build/out/sandbox-
>> host/install/lib/python2.7/site-packages/broot/builder.py", line 91, in
>> create
>>     "yum"])
>>   File "/usr/lib64/python2.7/subprocess.py", line 511, in check_call
>>     raise CalledProcessError(retcode, cmd)
>> subprocess.CalledProcessError: Command '['yum', '-y', '--installroot',
>> u'/var/lib/broot/sugar-build-fpjOF', 'install', 'yum']' returned non-zero
>> exit
>> status 1
>>
>> Cheers,
>> Daniel Francis.
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
>
> --
> Daniel Narvaez
>



-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130714/3f06f26a/attachment.html>


More information about the Sugar-devel mailing list