[Dextrose] Error while building image with Dextrose

Abhishek Singh abhishek.singh at olenepal.org
Tue Feb 21 05:42:03 EST 2012


On 02/21/2012 04:25 PM, Abhishek Singh wrote:
> On 02/21/2012 04:10 PM, Abhishek Singh wrote:
>> On 02/21/2012 02:06 PM, Jerry Vonau wrote:
>>> On Tue, 2012-02-21 at 11:24 +0545, Abhishek Singh wrote:
>>>> On 02/21/2012 08:59 AM, Abhishek Singh wrote:
>>>>> On 02/20/2012 09:23 PM, Anish Mangal wrote:
>>>>>> On Mon, Feb 20, 2012 at 08:49, Abhishek Singh
>>>>>> <abhishek.singh at olenepal.org> wrote:
>>>>>>> On 02/20/2012 03:45 PM, Jerry Vonau wrote:
>>>>>>>> On Mon, 2012-02-20 at 13:42 +0545, Abhishek Singh wrote:
>>> < snip >
>>>>>>>>> Hi,
>>>>>>>>>      I've been trying to build an image for XO-1 using dextrose (most
>>>>>>>>> recent pull from the git repository) using the pre-shipped
>>>>>>>>> "config/dextrose3-xo1-nognome.ini". The build process gave me many
>>>>>>>>> errors, along with the "ldconfig: permission denied" which I later
>>>>>>>>> found it to be (somehow) related with SELinux. After disabling
>>>>>>>>> SELinux, I didn't see the ldconfig error. But still I'm unable to make
>>>>>>>>> a build.
>>>>>>>>>
>>>>>>>>> The error message are available at :
>>>>>>>>>       * http://fpaste.org/F2gA/
>>>>>>>>>       * http://fpaste.org/P6xG/
>>>>>>>>>
>>>>>>>>> Any solutions??
>>>>>>>>>
>>> OK, I see whats going on here, your building without gnome, but
>>> modules/x11/kspost.60.misc.inc is used by both sugar and gnome.
>>>
>>> This is the line that the build is failing at:
>>>
>>> # remove unneccesary package mesa-dri-drivers (#11036)
>>> rpm -e --nodeps mesa-dri-drivers
>>>
>>> The nognome.ini file would not be adding that rpm to the mix, that
>>> dependency would be pulled in if your build included gnome. This rpm is
>>> not present so the build fails. 
>>>
>>> To fix this issue I just pushed:
>>> http://git.sugarlabs.org/dextrose/mainline/commit/e3fb5f495e2c05fc311b16574a276dedb3782391
>>>
>>> Do a git pull to pick up the latest changes, don't delete the rpm cache,
>>> and try building again.
>>>
>>> Jerry
>>>
>>>
>>>
>>>>>>>> Think you may of ran out of free space on your build box.
>>>>>>>>
>>>>>>>> Jerry
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> Jerry,
>>>>>>>        I still have 51GB free space on my HDD.
>>>>>>>
>>>>>>> --
>>>>>>> Abhishek Singh
>>>>>>> System Engineer
>>>>>>> Open Learning Exchange (OLE) Nepal
>>>>>>> साझा शिक्षा ई-पाटी
>>>>>>> http://www.olenepal.org
>>>>>>> Tel: +977-1-5544441 ext. 102
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dextrose mailing list
>>>>>>> Dextrose at lists.sugarlabs.org
>>>>>>> http://lists.sugarlabs.org/listinfo/dextrose
>>>>>>>
>>>>> Hi Anish,
>>>>>     The same problem occurred when I used the olpc-os-builder. This
>>>>> problem repeats every time I try to make a build. I'll now delete the
>>>>> RPM cache and rebuild and share the whole log with you.
>>>>>
>>>> The same problem repeated again even after I deleted the cached RPMs. In
>>>> face I deleted the build/cache/imgcreate directory. The build log is
>>>> available at http://fpaste.org/vw7w/
>>>>
>>>> Thanks.
>>>>
>>>> _______________________________________________
>>>> Dextrose mailing list
>>>> Dextrose at lists.sugarlabs.org
>>>> http://lists.sugarlabs.org/listinfo/dextrose
>> Thank Jerry,
>>           I tried to pull your commits, but "git pull" says "Already
>> up-to-date". After pulling in your changes manually, I was able to make
>> a build. But there were intermediate errors (which didn't stop the
>> build). I'm yet to check the image.
>>
>> Thanks.
>>
> Also that the rpm error pops up every time I use the rpm command on the
> newly installed image.
>
> rpmdb:  __db_meta_setup:   /var/lib/rpm/Name: unexpected file type or format
> error: cannot open Name index using db3 - Invalid argument (22)
> rpmdb:  __db_meta_setup:  /var/lib/rpm/Name: unexpected file type for format
>
> I'm not sure what's causing this error.
>
Also that yum list command returns an error:
CRITICAL: yum.cli: Config Error: Error accessing file for config file:
///tmp/yum.mod.conf

-- 
Abhishek Singh
System Engineer
Open Learning Exchange (OLE) Nepal
साझा शिक्षा ई-पाटी
http://www.olenepal.org
Tel: +977-1-5544441 ext. 102


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20120221/39f1a177/attachment.pgp>


More information about the Dextrose mailing list