OSBuilder for 13.2.7

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

OSBuilder for 13.2.7

Lionel Laské
Hi all,

I would like to generate OSBuilder for XO-4 to create my custom build on a XO-4 using OLPC 13.2.7.
I've installed OLPC 13.2.7 on the XO-4 following instructions here [1].
I've installed os-build tool following instructions here [2].
But when I'm launching "make", I've got a message telling:

   make[1]: Nothing to be done for 'all'.

Could you confirm that the procedure described here [2] is compatible with 13.2.7 ?
If no, is there anyone that could help me to update the procedure ?
If yes, what this message means ?

Thanks in advance for your help.

Best regards from France.

         Lionel.



_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

James Cameron-2
I've never typed make.  I run the builder directly.

On Sat, Sep 17, 2016 at 11:17:21AM +0200, Lionel Laské wrote:

> Hi all,
>
> I would like to generate OSBuilder for XO-4 to create my custom build on a XO-4
> using OLPC 13.2.7.
> I've installed OLPC 13.2.7 on the XO-4 following instructions here [1].
> I've installed os-build tool following instructions here [2].
> But when I'm launching "make", I've got a message telling:
>
>    make[1]: Nothing to be done for 'all'.
>
> Could you confirm that the procedure described here [2] is compatible with
> 13.2.7 ?
> If no, is there anyone that could help me to update the procedure ?
> If yes, what this message means ?
>
> Thanks in advance for your help.
>
> Best regards from France.
>
>          Lionel.
>
> [1] [1]http://wiki.laptop.org/go/Release_notes/13.2.7#XO-4
> [2] [2]http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware
>
> References:
>
> [1] http://wiki.laptop.org/go/Release_notes/13.2.7#XO-4
> [2] http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware

> _______________________________________________
> Devel mailing list
> [hidden email]
> http://lists.laptop.org/listinfo/devel


--
James Cameron
http://quozl.netrek.org/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

James Cameron-2
In reply to this post by Lionel Laské
Okay, I see the problem.

Instead of "make", please type "(cd bin && make)" then proceed with the next steps on the page.

For your interest, in the bin directory you'll find the zhashfs program source, which has to be built before starting the builder.  Only has to happen once after cloning.  All the rest of olpc-os-builder is in Python and doesn't need compilation.

On Sat, Sep 17, 2016 at 11:17:21AM +0200, Lionel Laské wrote:

> Hi all,
>
> I would like to generate OSBuilder for XO-4 to create my custom build on a XO-4
> using OLPC 13.2.7.
> I've installed OLPC 13.2.7 on the XO-4 following instructions here [1].
> I've installed os-build tool following instructions here [2].
> But when I'm launching "make", I've got a message telling:
>
>    make[1]: Nothing to be done for 'all'.
>
> Could you confirm that the procedure described here [2] is compatible with
> 13.2.7 ?
> If no, is there anyone that could help me to update the procedure ?
> If yes, what this message means ?
>
> Thanks in advance for your help.
>
> Best regards from France.
>
>          Lionel.
>
> [1] [1]http://wiki.laptop.org/go/Release_notes/13.2.7#XO-4
> [2] [2]http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware
>
> References:
>
> [1] http://wiki.laptop.org/go/Release_notes/13.2.7#XO-4
> [2] http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware

> _______________________________________________
> Devel mailing list
> [hidden email]
> http://lists.laptop.org/listinfo/devel


--
James Cameron
http://quozl.netrek.org/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

Lionel Laské
In reply to this post by James Cameron-2

Thanks for your answer.
I've launched 'make' because it's mentioned here [1]. But the zhashfs is present in the bin directory.
BTW it don't works when I'm tried. The build fail on KspostStage (see full log below).
Any idea ?

           Lionel.



bash-4.2# ./osbuilder.py examples/olpc-os-13.2.7-xo4.ini

 * OLPC OS builder v7.0.9

 * Running part prepare base prepare.05.selinux.sh...

 * Running part prepare sd_card_image prepare.05.zhashfs.sh...

 * Running part prepare buildnr_from_cfg prepare.10.buildnr.sh...

 * Running part prepare xo4 prepare.10.model.sh...

 * Running part ksmain base ksmain.10.core.inc...

 * Running part ksmain repos ksmain.50.repos.py...

Reading repository information for http://rpmdropbox.laptop.org/f18-xo4

Reading package information from http://rpmdropbox.laptop.org/f18-xo4/repodata/primary.xml.gz

Reading repository information for http://rpmdropbox.laptop.org/f18

Reading package information from http://rpmdropbox.laptop.org/f18/repodata/primary.xml.gz

 * Running part ksmain base ksmain.50.timezone.sh...

 * Running part kspkglist base kspkglist.10.core.inc...

 * Running part kspkglist base kspkglist.11.olpcupdate.sh...

 * Running part kspkglist bluetooth kspkglist.50.bluetooth.inc...

 * Running part kspkglist gnome kspkglist.50.gnome.inc...

 * Running part kspkglist osk kspkglist.50.osk.inc...

 * Running part kspkglist sugar kspkglist.50.sugar.inc...

 * Running part kspkglist xo4 kspkglist.50.xo4.inc...

 * Running part kspkglist x11 kspkglist.60.misc.inc...

 * Running part kspost base kspost.05.mount_shared.nochroot.sh...

 * Running part kspost base kspost.10.core.inc...

 * Running part kspost base kspost.10.strip_locale.sh...

 * Running part kspost base kspost.10.version_number.sh...

 * Running part kspost bluetooth kspost.50.bluetooth.inc...

 * Running part kspost sugar kspost.50.gconf.inc...

 * Running part kspost base kspost.50.lang_kbd_overrides.sh...

 * Running part kspost sugar kspost.50.misc.inc...

 * Running part kspost base kspost.50.olpcupdate.sh...

 * Running part kspost osk kspost.50.osk-config.sh...

 * Running part kspost base kspost.50.stripdebug.nochroot.inc...

 * Running part kspost gnome kspost.50.tweaks.inc...

 * Running part kspost xo4 kspost.50.xo4-tweaks.inc...

 * Running part kspost yumcfg kspost.50.yumcfg.py...

Reading repository information for http://rpmdropbox.laptop.org/f18/

Reading package information from http://rpmdropbox.laptop.org/f18//repodata/primary.xml.gz

Reading repository information for http://rpmdropbox.laptop.org/f18-xo4/

Reading package information from http://rpmdropbox.laptop.org/f18-xo4//repodata/primary.xml.gz

 * Running part kspost base kspost.50.zip_bootfiles.nochroot.inc...

 * Running part kspost sugar kspost.51.favoritesview.sh...

 * Running part kspost sugar_activity_group kspost.60.activities.py...

 * Running part kspost x11 kspost.60.misc.inc...

 * Running part kspost sugar_activity_group kspost.60.nochroot.activities.py...

Trying group URL http://wiki.laptop.org/go/Activities/13.2.7

Found activity group: None

Examining org.laptop.sugar.Jukebox v32: http://download.sugarlabs.org/activities/4045/jukebox-32.xo

Using cache; size and name match.

Examining org.laptop.Oficina v65: http://download.sugarlabs.org/activities/4082/paint-65.xo

Using cache; size and name match.

Examining org.laptop.wp-nature-images v8: http://wiki.laptop.org/images/5/5e/NatureImages-8.xol

Using cache; size and name match.

Examining org.laptop.TamTamJam v68: http://download.sugarlabs.org/activities/4060/tamtamjam-68.xo

Using cache; size and name match.

Examining org.laptop.Chat v82: http://download.sugarlabs.org/activities/4069/chat-82.xo

Using cache; size and name match.

Examining org.laptop.AcousticMeasure v35: http://download.sugarlabs.org/activities/4264/distance-35.xo

Using cache; size and name match.

Examining org.laptop.Terminal v44: http://download.sugarlabs.org/activities/4043/terminal-44.xo

Using cache; size and name match.

Examining org.laptop.StopWatchActivity v18.1: http://dev.laptop.org/~gonzalo/activities/StopWatch-18.1.xo

Using cache; size and name match.

Examining vu.lux.olpc.Maze v26: http://download.sugarlabs.org/activities/4071/maze-26.xo

Using cache; size and name match.

Examining edu.mit.media.ScratchActivity v25: http://dev.laptop.org/~gonzalo/activities/Scratch-25.xo

Using cache; size and name match.

Examining org.laptop.HelpActivity v20: http://download.sugarlabs.org/activities/4051/help-20.xo

Using cache; size and name match.

Examining info.dicts.dictionary-ml v8: http://wiki.laptop.org/images/0/05/TranslationDictionary-8.xol

Using cache; size and name match.

Examining org.laptop.ImageViewerActivity v62: http://download.sugarlabs.org/activities/4032/image_viewer-62.xo

Using cache; size and name match.

Examining org.jamendo.music v5: http://wiki.laptop.org/images/9/9e/JamendoMusic-5.xol

Using cache; size and name match.

Examining org.sugarlabs.MusicKeyboard v8.2: http://download.sugarlabs.org/activities/4564/music_keyboard-8.2.xo

HTTP error: 404

HTTP error: 404

HTTP error: 404

HTTP error: 404

HTTP error: 404

Could not reach http://download.sugarlabs.org/activities/4564/music_keyboard-8.2.xo

 * Caught error, cleanup and then bail out.

 * Running part cleanup base cleanup.50.cleanup.sh...

ERROR: Failure in KspostStage: module sugar_activity_group, part kspost.60.nochroot.activities.py, error code 1

bash-4.2#


2016-09-17 12:26 GMT+02:00 James Cameron <[hidden email]>:
I've never typed make.  I run the builder directly.

On Sat, Sep 17, 2016 at 11:17:21AM +0200, Lionel Laské wrote:
> Hi all,
>
> I would like to generate OSBuilder for XO-4 to create my custom build on a XO-4
> using OLPC 13.2.7.
> I've installed OLPC 13.2.7 on the XO-4 following instructions here [1].
> I've installed os-build tool following instructions here [2].
> But when I'm launching "make", I've got a message telling:
>
>    make[1]: Nothing to be done for 'all'.
>
> Could you confirm that the procedure described here [2] is compatible with
> 13.2.7 ?
> If no, is there anyone that could help me to update the procedure ?
> If yes, what this message means ?
>
> Thanks in advance for your help.
>
> Best regards from France.
>
>          Lionel.
>
> [1] [1]http://wiki.laptop.org/go/Release_notes/13.2.7#XO-4
> [2] [2]http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware
>
> References:
>
> [1] http://wiki.laptop.org/go/Release_notes/13.2.7#XO-4
> [2] http://wiki.laptop.org/go/OS_Builder/Run_on_XO_hardware

> _______________________________________________
> Devel mailing list
> [hidden email]
> http://lists.laptop.org/listinfo/devel


--
James Cameron
http://quozl.netrek.org/


_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

James Cameron-2
On Sat, Sep 17, 2016 at 09:20:05PM +0200, Lionel Laské wrote:
>
> Thanks for your answer.
> I've launched 'make' because it's mentioned here [1].

Thanks for the explanation, but please reload the page if it still
says just "make".  It was edited after your mail.

> But the zhashfs is present in the bin directory.

Good.

> BTW it don't works when I'm tried. The build fail on KspostStage
> (see full log below).  Any idea ?
> [...]
> Examining org.sugarlabs.MusicKeyboard v8.2: http://download.sugarlabs.org/
> activities/4564/music_keyboard-8.2.xo
>
> HTTP error: 404

During an outage of activities.sugarlabs.org in July, builds failed
because the activity download links on wiki.laptop.org were invalid.
The links to activity bundles on download.sugarlabs.org continued to
function.  So I changed our page to use the better URLs.

I made a typo.  Digit transposition.  It wasn't noticed because my
build system used cached files, and other people doing builds use
their own activity lists.

You can see the edit history of the activity list page here:

http://wiki.laptop.org/index.php?title=Activities/13.2.7&action=history

Now that I've fixed the typo, try the build again, so we can find out
what next will fail.

--
James Cameron
http://quozl.netrek.org/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

Lionel Laské


2016-09-19 6:35 GMT+02:00 James Cameron <[hidden email]>:


Now that I've fixed the typo, try the build again, so we can find out
what next will fail.


Thanks James.
Next issue seems to be related to a 404 error loading a Fedora package.
Following is the detail.

           Lionel.


bash-4.2# ./osbuilder.py examples/olpc-os-13.2.7-xo4.ini 
 * OLPC OS builder v7.0.9
 * Running part prepare base prepare.05.selinux.sh...
 * Running part prepare sd_card_image prepare.05.zhashfs.sh...
 * Running part prepare buildnr_from_cfg prepare.10.buildnr.sh...
 * Running part prepare xo4 prepare.10.model.sh...
 * Running part ksmain base ksmain.10.core.inc...
 * Running part ksmain repos ksmain.50.repos.py...
Reading repository information for http://rpmdropbox.laptop.org/f18-xo4
Reading repository information for http://rpmdropbox.laptop.org/f18
 * Running part ksmain base ksmain.50.timezone.sh...
 * Running part kspkglist base kspkglist.10.core.inc...
 * Running part kspkglist base kspkglist.11.olpcupdate.sh...
 * Running part kspkglist bluetooth kspkglist.50.bluetooth.inc...
 * Running part kspkglist gnome kspkglist.50.gnome.inc...
 * Running part kspkglist osk kspkglist.50.osk.inc...
 * Running part kspkglist sugar kspkglist.50.sugar.inc...
 * Running part kspkglist xo4 kspkglist.50.xo4.inc...
 * Running part kspkglist x11 kspkglist.60.misc.inc...
 * Running part kspost base kspost.05.mount_shared.nochroot.sh...
 * Running part kspost base kspost.10.core.inc...
 * Running part kspost base kspost.10.strip_locale.sh...
 * Running part kspost base kspost.10.version_number.sh...
 * Running part kspost bluetooth kspost.50.bluetooth.inc...
 * Running part kspost sugar kspost.50.gconf.inc...
 * Running part kspost base kspost.50.lang_kbd_overrides.sh...
 * Running part kspost sugar kspost.50.misc.inc...
 * Running part kspost base kspost.50.olpcupdate.sh...
 * Running part kspost osk kspost.50.osk-config.sh...
 * Running part kspost base kspost.50.stripdebug.nochroot.inc...
 * Running part kspost gnome kspost.50.tweaks.inc...
 * Running part kspost xo4 kspost.50.xo4-tweaks.inc...
 * Running part kspost yumcfg kspost.50.yumcfg.py...
Reading repository information for http://rpmdropbox.laptop.org/f18/
Reading repository information for http://rpmdropbox.laptop.org/f18-xo4/
 * Running part kspost base kspost.50.zip_bootfiles.nochroot.inc...
 * Running part kspost sugar kspost.51.favoritesview.sh...
 * Running part kspost sugar_activity_group kspost.60.activities.py...
 * Running part kspost x11 kspost.60.misc.inc...
 * Running part kspost sugar_activity_group kspost.60.nochroot.activities.py...
Found activity group: None
Examining org.laptop.sugar.Jukebox v32: http://download.sugarlabs.org/activities/4045/jukebox-32.xo
Using cache; size and name match.
Using cache; size and name match.
Examining org.laptop.wp-nature-images v8: http://wiki.laptop.org/images/5/5e/NatureImages-8.xol
Using cache; size and name match.
Using cache; size and name match.
Using cache; size and name match.
Examining org.laptop.AcousticMeasure v35: http://download.sugarlabs.org/activities/4264/distance-35.xo
Using cache; size and name match.
Using cache; size and name match.
Examining org.laptop.StopWatchActivity v18.1: http://dev.laptop.org/~gonzalo/activities/StopWatch-18.1.xo
Using cache; size and name match.
Using cache; size and name match.
Examining edu.mit.media.ScratchActivity v25: http://dev.laptop.org/~gonzalo/activities/Scratch-25.xo
Using cache; size and name match.
Examining org.laptop.HelpActivity v20: http://download.sugarlabs.org/activities/4051/help-20.xo
Using cache; size and name match.
Using cache; size and name match.
Examining org.laptop.ImageViewerActivity v62: http://download.sugarlabs.org/activities/4032/image_viewer-62.xo
Using cache; size and name match.
Using cache; size and name match.
Using cache; size and name match.
Using cache; size and name match.
Using cache; size and name match.
Examining tv.alterna.Clock v18.1: http://dev.laptop.org/~quozl/Clock-18.1.xo
Using cache; size and name match.
Using cache; size and name match.
Examining org.laptop.TurtleArtActivity v213: http://download.sugarlabs.org/activities/4027/turtleblocks-213.xo
Using cache; size and name match.
Using cache; size and name match.
Using cache; size and name match.
Using cache; size and name match.
Examining org.laptop.AbiWordActivity v97: http://download.sugarlabs.org/activities/4201/write-97.xo
Using cache; size and name match.
Examining org.laptop.MeasureActivity v53: http://download.sugarlabs.org/activities/4197/measure-53.xo
Using cache; size and name match.
Examining org.laptop.sugar.ReadActivity v117: http://download.sugarlabs.org/activities/4028/read-117.xo
Using cache; size and name match.
Examining org.laptop.WebActivity v157.3: http://download.sugarlabs.org/activities/4024/browse-157.3.xo
Using cache; size and name match.
Examining info.dicts.wikislice-chemistry v8: http://wiki.laptop.org/images/f/fe/WikisliceChemistry-en-8.xol
Using cache; size and name match.
Examining info.dicts.worldfactbook.small v6: http://wiki.laptop.org/images/a/af/WorldFactbookMaps-6.xol
Using cache; size and name match.
Using cache; size and name match.
Using cache; size and name match.
Examining org.laptop.biology v9: http://wiki.laptop.org/images/3/3c/Biology-9.xol
Using cache; size and name match.
Using cache; size and name match.
Using cache; size and name match.
Examining org.laptop.wikibooks v8: http://wiki.laptop.org/images/7/77/Wikibooks-8.xol
Using cache; size and name match.
Using cache; size and name match.
Examining org.icdlbooks.icdl v8: http://wiki.laptop.org/images/3/34/ICDL-8.xol
Using cache; size and name match.
Examining com.jotaro.ImplodeActivity v15.2: http://people.sugarlabs.org/quozl/Implode-15.2.xo
Using cache; size and name match.
Examining org.laptop.sugar.GetBooksActivity v16: http://download.sugarlabs.org/activities/4304/get_books-16.xo
Using cache; size and name match.
Examining org.laptop.RecordActivity v102: http://download.sugarlabs.org/activities/4081/record-102.xo
Using cache; size and name match.
 * Running part kspost sugar_activities_extra kspost.60.nochroot.activities.sh...
 * Running part kspost sugar kspost.60.protect.sh...
 * Running part kspost sugar kspost.75.install_bundles.inc...
 * Running part kspost base kspost.85.umount_shared.nochroot.sh...
 * Running part kspost sugar kspost.90.nochroot.shrink_activities.inc...
 * Running part kspost sugar kspost.91.patch.inc...
 * Running part kspost x11 kspost.99.gconf-normalize.inc...
 * Running part build base build.40.imagecreate.py...
Building directly into FS image...
INFO:root:Extending sparse file /oob/olpc-os-builder/build/imgcreate-sZdmpa/tmp-DEsgOT/ext3fs.img to 4294967296
INFO:root:Losetup add /dev/loop0 mapping to /oob/olpc-os-builder/build/imgcreate-sZdmpa/tmp-DEsgOT/ext3fs.img
INFO:root:Formating ext4 filesystem on /dev/loop0
INFO:root:Tuning filesystem on /dev/loop0
INFO:root:Extending sparse file /oob/olpc-os-builder/build/imgcreate-sZdmpa/tmp-DEsgOT/ext3fs.img to 4294967296
INFO:root:Mounting /dev/loop0 at /oob/olpc-os-builder/build/imgcreate-sZdmpa/install_root
WARNING:root:Skipping (/sys/fs/selinux,/sys/fs/selinux) because source doesn't exist.
INFO:root:Unable to unmount /oob/olpc-os-builder/build/imgcreate-sZdmpa/install_root//var/cache/yum normally, using lazy unmount
INFO:root:lazy umount succeeded on /oob/olpc-os-builder/build/imgcreate-sZdmpa/install_root//var/cache/yum
lazy umount succeeded on /oob/olpc-os-builder/build/imgcreate-sZdmpa/install_root//var/cache/yum
INFO:root:Unmounting directory /oob/olpc-os-builder/build/imgcreate-sZdmpa/install_root
INFO:root:Losetup remove /dev/loop0
Traceback (most recent call last):
  File "/oob/olpc-os-builder/modules/base/build.40.imagecreate.py", line 57, in <module>
    sys.exit(main())
  File "/oob/olpc-os-builder/modules/base/build.40.imagecreate.py", line 41, in main
    creator.install()
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 641, in install
    ayum.setup(yum_conf, self._instroot)
  File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line 104, in setup
    self.doTsSetup()
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 129, in doTsSetup
    return self._getTs()
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 137, in _getTs
    if not remove_only and self._tsInfo.pkgSack is None:
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 131, in <lambda>
    pkgSack = property(fget=lambda self: self._getPkgSack(),
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 128, in _getPkgSack
    self._pkgSack = self._pkgSackCtor()
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 76, in __call__
    return self.ayum.pkgSack
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1014, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 780, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 352, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 223, in populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 313, in _check_db_version
    return repo._check_db_version(mdtype)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1440, in _check_db_version
    repoXML = self.repoXML
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1626, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1622, in _getRepoXML
    self._loadRepoXML(text=self.ui_id)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1613, in _loadRepoXML
    return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1587, in _groupLoadRepoXML
    if self._commonLoadRepoXML(text):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1412, in _commonLoadRepoXML
    result = self._getFileRepoXML(local, text)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1190, in _getFileRepoXML
    size=102400) # setting max size as 100K
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1004, in _getFile
    raise Errors.NoMoreMirrorsRepoError(errstr, errors)
yum.Errors.NoMoreMirrorsRepoError: failure: repodata/repomd.xml from fedora: [Errno 256] No more mirrors to try.
https://fr2.rpmfind.net/linux/fedora-secondary/releases/18/Everything/armhfp/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 404 Not Found"
https://mirrors.nic.cz/fedora-secondary/releases/18/Everything/armhfp/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 404 Not Found"
http://ftp.nluug.nl/os/Linux/distr/fedora-secondary/releases/18/Everything/armhfp/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 404 Not Found"
https://ftp-stud.hs-esslingen.de/pub/fedora-secondary/releases/18/Everything/armhfp/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 404 Not Found"
 * Caught error, cleanup and then bail out.
 * Running part cleanup base cleanup.50.cleanup.sh...
ERROR: Failure in BuildStage: module base, part build.40.imagecreate.py, error code 1
bash-4.2# 

 


_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

James Cameron-2
On Thu, Sep 22, 2016 at 10:12:54PM +0200, Lionel Laské wrote:
> Next issue seems to be related to a 404 error loading a Fedora package.
> Following is the detail.
> [...]
> yum.Errors.NoMoreMirrorsRepoError: failure: repodata/repomd.xml from fedora:
> [Errno 256] No more mirrors to try.
> [56]https://fr2.rpmfind.net/linux/fedora-secondary/releases/18/Everything/
> armhfp/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned
> error: 404 Not Found"

Thanks, the problem did reproduce on our build system, and is fixed in
the v7.0 branch of the olpc-os-builder repository.  Please pull my
patch "configs: fedora repository mirrors".

http://dev.laptop.org/git/projects/olpc-os-builder/commit/?h=v7.0&id=7e2b9a90ea0182f045e8c983e75200f0c4cb6c21

Then repeat your build.

My build ran to completion.  It had to be restarted a few times to
deal with temporary failures of download.sugarlabs.org, but that's
outside my control.

Compared to 13.2.7, the build has Sugar 0.109.0.2, with activity
updates Chat-82, Clock-18.1, Measure-53, and Speak-52.  Also a new
kernel and olpc-powerd package for camera support.

Result is the same as if 13.2.7 is installed followed by "yum upgrade"
and Sugar Software Update.

--
James Cameron
http://quozl.netrek.org/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

Lionel Laské
Thanks James.
It perfectly works now.

Best regards from France.

        Lionel.


2016-09-23 2:33 GMT+02:00 James Cameron <[hidden email]>:
On Thu, Sep 22, 2016 at 10:12:54PM +0200, Lionel Laské wrote:
> Next issue seems to be related to a 404 error loading a Fedora package.
> Following is the detail.
> [...]
> yum.Errors.NoMoreMirrorsRepoError: failure: repodata/repomd.xml from fedora:
> [Errno 256] No more mirrors to try.
> [56]https://fr2.rpmfind.net/linux/fedora-secondary/releases/18/Everything/
> armhfp/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned
> error: 404 Not Found"

Thanks, the problem did reproduce on our build system, and is fixed in
the v7.0 branch of the olpc-os-builder repository.  Please pull my
patch "configs: fedora repository mirrors".

http://dev.laptop.org/git/projects/olpc-os-builder/commit/?h=v7.0&id=7e2b9a90ea0182f045e8c983e75200f0c4cb6c21

Then repeat your build.

My build ran to completion.  It had to be restarted a few times to
deal with temporary failures of download.sugarlabs.org, but that's
outside my control.

Compared to 13.2.7, the build has Sugar 0.109.0.2, with activity
updates Chat-82, Clock-18.1, Measure-53, and Speak-52.  Also a new
kernel and olpc-powerd package for camera support.

Result is the same as if 13.2.7 is installed followed by "yum upgrade"
and Sugar Software Update.

--
James Cameron
http://quozl.netrek.org/


_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

Lionel Laské
In reply to this post by James Cameron-2

Hi James,

Just a follow up on this thread because I've got an issue customizing my build.
I've changed the line:

[sugar_activity_group]

url=http://wiki.laptop.org/go/Activities


to:

[sugar_activity_group]

url=http://wiki.laptop.org/go/Activities/G1G1


My objective is to include more activities.
I've got an issue at the end of the build (see message below).
It seams related to content (Biology here) included in Browse activity.

Is it still possible to use G1G1 group or should I mention and download myself locally all activities ?

Best regards.

         Lionel.



caution: excluded filename not matched:  mimetype

caution: excluded filename not matched:  mimetype

caution: excluded filename not matched:  mimetype

Traceback (most recent call last):

  File "/bin/olpc-library-update", line 175, in <module>

    cp.readfp(codecs.open(info_file_path, 'r', 'utf-8'))

  File "/usr/lib/python2.7/codecs.py", line 881, in open

    file = __builtin__.open(filename, mode, buffering)

IOError: [Errno 13] Permission denied: u'/home/olpc/Library/Biology/library/library.info'

ERROR:root:Error creating Live CD : %post script failed with code 1

INFO:root:Unmounting directory /oob/olpc-os-builder/build/imgcreate-u5YUwK/install_root

WARNING:root:Unmounting directory /oob/olpc-os-builder/build/imgcreate-u5YUwK/install_root failed, using lazy umount

Unmounting directory /oob/olpc-os-builder/build/imgcreate-u5YUwK/install_root failed, using lazy umount

INFO:root:lazy umount succeeded on /oob/olpc-os-builder/build/imgcreate-u5YUwK/install_root

lazy umount succeeded on /oob/olpc-os-builder/build/imgcreate-u5YUwK/install_root

INFO:root:Losetup remove /dev/loop0

 * Caught error, cleanup and then bail out.

 * Running part cleanup base cleanup.50.cleanup.sh...

ERROR: Failure in BuildStage: module base, part build.40.imagecreate.py, error code 1

bash-4.2#





2016-09-23 2:33 GMT+02:00 James Cameron <[hidden email]>:
On Thu, Sep 22, 2016 at 10:12:54PM +0200, Lionel Laské wrote:
> Next issue seems to be related to a 404 error loading a Fedora package.
> Following is the detail.
> [...]
> yum.Errors.NoMoreMirrorsRepoError: failure: repodata/repomd.xml from fedora:
> [Errno 256] No more mirrors to try.
> [56]https://fr2.rpmfind.net/linux/fedora-secondary/releases/18/Everything/
> armhfp/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned
> error: 404 Not Found"

Thanks, the problem did reproduce on our build system, and is fixed in
the v7.0 branch of the olpc-os-builder repository.  Please pull my
patch "configs: fedora repository mirrors".

http://dev.laptop.org/git/projects/olpc-os-builder/commit/?h=v7.0&id=7e2b9a90ea0182f045e8c983e75200f0c4cb6c21

Then repeat your build.

My build ran to completion.  It had to be restarted a few times to
deal with temporary failures of download.sugarlabs.org, but that's
outside my control.

Compared to 13.2.7, the build has Sugar 0.109.0.2, with activity
updates Chat-82, Clock-18.1, Measure-53, and Speak-52.  Also a new
kernel and olpc-powerd package for camera support.

Result is the same as if 13.2.7 is installed followed by "yum upgrade"
and Sugar Software Update.

--
James Cameron
http://quozl.netrek.org/


_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OSBuilder for 13.2.7

James Cameron-2
It is not possible to use the G1G1 group as is.  Many activities would
be downgraded and some won't work properly in 13.2.7.  You found one.

Much ambiguity on the Wiki page, so I've made many edits:

        http://wiki.laptop.org/go/OS_Builder/Add_additional_Activities

Please re-read the page and choose a method.

Briefly, cause of the error is in content collection Biology; version
10 released around 2010 contains a library.info file with protection
from read.  As there was no substantial change from version 9 to
version 10, you can use version 9 instead.

Because you added the letters G1G1, our Wiki page
http://wiki.laptop.org/go/Activities/G1G1/13.2 was used for versions,
and this was last updated by Daniel Drake in May 2013.  You might have
got the idea to use G1G1 from the Wiki page, hence the edits.

You can also find documentation on sugar_activity_group in the
modules/sugar_activity_group/README file of the builder repository.

Hope that helps.

On Sun, Oct 02, 2016 at 09:31:17PM +0200, Lionel Laské wrote:

>
> Hi James,
>
> Just a follow up on this thread because I've got an issue customizing my build.
> I've changed the line:
>
> [sugar_activity_group]
>
> url=[1]http://wiki.laptop.org/go/Activities
>
> to:
>
> [sugar_activity_group]
>
> url=[2]http://wiki.laptop.org/go/Activities/G1G1
>
> My objective is to include more activities.
> I've got an issue at the end of the build (see message below).
> It seams related to content (Biology here) included in Browse activity.
>
> Is it still possible to use G1G1 group or should I mention and download myself
> locally all activities ?
>
> Best regards.
>
>          Lionel.
>
> caution: excluded filename not matched:  mimetype
>
> caution: excluded filename not matched:  mimetype
>
> caution: excluded filename not matched:  mimetype
>
> Traceback (most recent call last):
>
>   File "/bin/olpc-library-update", line 175, in <module>
>
>     cp.readfp(codecs.open(info_file_path, 'r', 'utf-8'))
>
>   File "/usr/lib/python2.7/codecs.py", line 881, in open
>
>     file = __builtin__.open(filename, mode, buffering)
>
> IOError: [Errno 13] Permission denied: u'/home/olpc/Library/Biology/library/[3]
> library.info'
>
> ERROR:root:Error creating Live CD : %post script failed with code 1
>
> INFO:root:Unmounting directory /oob/olpc-os-builder/build/imgcreate-u5YUwK/
> install_root
>
> WARNING:root:Unmounting directory /oob/olpc-os-builder/build/imgcreate-u5YUwK/
> install_root failed, using lazy umount
>
> Unmounting directory /oob/olpc-os-builder/build/imgcreate-u5YUwK/install_root
> failed, using lazy umount
>
> INFO:root:lazy umount succeeded on /oob/olpc-os-builder/build/imgcreate-u5YUwK/
> install_root
>
> lazy umount succeeded on /oob/olpc-os-builder/build/imgcreate-u5YUwK/
> install_root
>
> INFO:root:Losetup remove /dev/loop0
>
>  * Caught error, cleanup and then bail out.
>
>  * Running part cleanup base cleanup.50.cleanup.sh...
>
> ERROR: Failure in BuildStage: module base, part [4]build.40.imagecreate.py,
> error code 1
>
> bash-4.2#
>
> 2016-09-23 2:33 GMT+02:00 James Cameron <[5][hidden email]>:
>
>     On Thu, Sep 22, 2016 at 10:12:54PM +0200, Lionel Laské wrote:
>     > Next issue seems to be related to a 404 error loading a Fedora package.
>     > Following is the detail.
>     > [...]
>     > yum.Errors.NoMoreMirrorsRepoError: failure: repodata/repomd.xml from
>     fedora:
>     > [Errno 256] No more mirrors to try.
>     > [56][6]https://fr2.rpmfind.net/linux/fedora-secondary/releases/18/
>     Everything/
>     > armhfp/os/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL
>     returned
>     > error: 404 Not Found"
>
>     Thanks, the problem did reproduce on our build system, and is fixed in
>     the v7.0 branch of the olpc-os-builder repository.  Please pull my
>     patch "configs: fedora repository mirrors".
>
>     [7]http://dev.laptop.org/git/projects/olpc-os-builder/commit/?h=v7.0&id=
>     7e2b9a90ea0182f045e8c983e75200f0c4cb6c21
>
>     Then repeat your build.
>
>     My build ran to completion.  It had to be restarted a few times to
>     deal with temporary failures of [8]download.sugarlabs.org, but that's
>     outside my control.
>
>     Compared to 13.2.7, the build has Sugar 0.109.0.2, with activity
>     updates Chat-82, Clock-18.1, Measure-53, and Speak-52.  Also a new
>     kernel and olpc-powerd package for camera support.
>
>     Result is the same as if 13.2.7 is installed followed by "yum upgrade"
>     and Sugar Software Update.
>
>     --
>     James Cameron
>     [9]http://quozl.netrek.org/
>
> References:
>
> [1] http://wiki.laptop.org/go/Activities
> [2] http://wiki.laptop.org/go/Activities/G1G1
> [3] http://library.info/
> [4] http://build.40.imagecreate.py/
> [5] mailto:[hidden email]
> [6] https://fr2.rpmfind.net/linux/fedora-secondary/releases/18/Everything/
> [7] http://dev.laptop.org/git/projects/olpc-os-builder/commit/?h=v7.0&id=7e2b9a90ea0182f045e8c983e75200f0c4cb6c21
> [8] http://download.sugarlabs.org/
> [9] http://quozl.netrek.org/

--
James Cameron
http://quozl.netrek.org/
_______________________________________________
Devel mailing list
[hidden email]
http://lists.laptop.org/listinfo/devel
Loading...