FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 05-12-2011, 12:46 AM
Jesse Keating
 
Default pungi - x86_64 wine issue

On 5/11/11 4:46 PM, Phillip T. George wrote:
> I seem to be having an issue with wine. Well, it likely is not only
> specific to wine, but has to do with the configuration I have set up,
> which includes wine. I am building on x86_64 ... and wine has
> dependencies that are x86-32. Those dependencies are not getting
> included, so whenever the install is being ran, it complains about those
> missing dependencies. FYI, I'm doing this on Fedora 14. The missing
> RPMs are:
> wine-capi-1.3.18-1.fc14.i686.rpm
> wine-cms-1.3.18-1.fc14.i686.rpm
> wine-core-1.3.18-1.fc14.i686.rpm
> wine-ldap-1.3.18-1.fc14.i686.rpm
> wine-openal-1.3.18-1.fc14.i686.rpm
> wine-pulseaudio-1.3.18-1.fc14.i686.rpm
> wine-twain-1.3.18-1.fc14.i686.rpm
>
> Understand part of the goal is to slipstream updates as well as other
> custom RPMs into the install process.
>
> It appears that pungi is purposely ignoring these packages due to them
> not being the main architecture. What would be the method in telling
> pungi that including i686 packages is ok, as long as its a requirement
> of another package? Or is this just a bug?
>
> Thanks,
> Phillip

This is somewhere between a bug and a configuration issue. I hadn't
considered the case of a x86_64 package requiring 32bit packages. When
I made pungi stop gathering cross-arch packages I think I hardcoded it
rather than making it a setting in the kickstart file. A quick look
through the code should show you where you could fudge things to
consider compat arches again while gathering.

--
Jesse Keating RHCE (http://jkeating.livejournal.com)
Fedora Project (http://fedoraproject.org/wiki/JesseKeating)
GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub)
identi.ca (http://identi.ca/jkeating)
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 05-12-2011, 01:09 AM
"Phillip T. George"
 
Default pungi - x86_64 wine issue

On 05/11/2011 07:46 PM, Jesse Keating wrote:
> On 5/11/11 4:46 PM, Phillip T. George wrote:
>> I seem to be having an issue with wine. Well, it likely is not only
>> specific to wine, but has to do with the configuration I have set up,
>> which includes wine. I am building on x86_64 ... and wine has
>> dependencies that are x86-32. Those dependencies are not getting
>> included, so whenever the install is being ran, it complains about those
>> missing dependencies. FYI, I'm doing this on Fedora 14. The missing
>> RPMs are:
>> wine-capi-1.3.18-1.fc14.i686.rpm
>> wine-cms-1.3.18-1.fc14.i686.rpm
>> wine-core-1.3.18-1.fc14.i686.rpm
>> wine-ldap-1.3.18-1.fc14.i686.rpm
>> wine-openal-1.3.18-1.fc14.i686.rpm
>> wine-pulseaudio-1.3.18-1.fc14.i686.rpm
>> wine-twain-1.3.18-1.fc14.i686.rpm
>>
>> Understand part of the goal is to slipstream updates as well as other
>> custom RPMs into the install process.
>>
>> It appears that pungi is purposely ignoring these packages due to them
>> not being the main architecture. What would be the method in telling
>> pungi that including i686 packages is ok, as long as its a requirement
>> of another package? Or is this just a bug?
>>
>> Thanks,
>> Phillip
> This is somewhere between a bug and a configuration issue. I hadn't
> considered the case of a x86_64 package requiring 32bit packages. When
> I made pungi stop gathering cross-arch packages I think I hardcoded it
> rather than making it a setting in the kickstart file. A quick look
> through the code should show you where you could fudge things to
> consider compat arches again while gathering.
>
Right -- I was trying to figure out if it was a bug or a configuration
issue on my end somehow. Thanks for the swift response. That's very
helpful. I'll take a look through the code and fix as necessary.

-Phillip
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 05-13-2011, 03:32 PM
"Phillip T. George"
 
Default pungi - x86_64 wine issue

On 05/11/2011 08:09 PM, Phillip T. George wrote:
>
> On 05/11/2011 07:46 PM, Jesse Keating wrote:
>> On 5/11/11 4:46 PM, Phillip T. George wrote:
>>> I seem to be having an issue with wine. Well, it likely is not only
>>> specific to wine, but has to do with the configuration I have set up,
>>> which includes wine. I am building on x86_64 ... and wine has
>>> dependencies that are x86-32. Those dependencies are not getting
>>> included, so whenever the install is being ran, it complains about those
>>> missing dependencies. FYI, I'm doing this on Fedora 14. The missing
>>> RPMs are:
>>> wine-capi-1.3.18-1.fc14.i686.rpm
>>> wine-cms-1.3.18-1.fc14.i686.rpm
>>> wine-core-1.3.18-1.fc14.i686.rpm
>>> wine-ldap-1.3.18-1.fc14.i686.rpm
>>> wine-openal-1.3.18-1.fc14.i686.rpm
>>> wine-pulseaudio-1.3.18-1.fc14.i686.rpm
>>> wine-twain-1.3.18-1.fc14.i686.rpm
>>>
>>> Understand part of the goal is to slipstream updates as well as other
>>> custom RPMs into the install process.
>>>
>>> It appears that pungi is purposely ignoring these packages due to them
>>> not being the main architecture. What would be the method in telling
>>> pungi that including i686 packages is ok, as long as its a requirement
>>> of another package? Or is this just a bug?
>>>
>>> Thanks,
>>> Phillip
>> This is somewhere between a bug and a configuration issue. I hadn't
>> considered the case of a x86_64 package requiring 32bit packages. When
>> I made pungi stop gathering cross-arch packages I think I hardcoded it
>> rather than making it a setting in the kickstart file. A quick look
>> through the code should show you where you could fudge things to
>> consider compat arches again while gathering.
>>
> Right -- I was trying to figure out if it was a bug or a configuration
> issue on my end somehow. Thanks for the swift response. That's very
> helpful. I'll take a look through the code and fix as necessary.
>
> -Phillip

If anyone else runs into this issue, here's a quick and dirty way to
resolve some of the issues. This was on Fedora 14. Also note that this
causes some unnecessary packages to get included, but for now its a
temporarily workaround to make sure at least all requirements are met:
1. Install pungi via yum
2. mv /usr/lib/python2.7/site-packages/pypungi/__init__.pyo
/usr/lib/python2.7/site-packages/pypungi/__init__.pyo.orig
3. mv /usr/lib/python2.7/site-packages/pypungi/__init__.pyc
/usr/lib/python2.7/site-packages/pypungi/__init__.pyc.orig
4. Edit /usr/lib/python2.7/site-packages/pypungi/__init__.py and just
before the line...
arches.append('src') # throw source in there, filter it later

...add the lines below, being sure to use the same spacing as already in
the file:
if arch == 'x86_64':
arches.append('i686')
5. Run pungi using your normal parameters -- check to be sure additional
packages are included!

Again, this is not perfect by far, but I don't currently have time to
dig down and make it perfect

-Phillip
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 05-13-2011, 04:43 PM
Jesse Keating
 
Default pungi - x86_64 wine issue

On 5/13/11 8:32 AM, Phillip T. George wrote:
> 1. Install pungi via yum
> 2. mv/usr/lib/python2.7/site-packages/pypungi/__init__.pyo
> /usr/lib/python2.7/site-packages/pypungi/__init__.pyo.orig
> 3. mv/usr/lib/python2.7/site-packages/pypungi/__init__.pyc
> /usr/lib/python2.7/site-packages/pypungi/__init__.pyc.orig

It should not be necessary to move the .pyo and .pyc files. Python
itself will notice that the .py file modification time is newer than the
byte compiled files and use it instead.

> 4. Edit/usr/lib/python2.7/site-packages/pypungi/__init__.py and just


--
Jesse Keating RHCE (http://jkeating.livejournal.com)
Fedora Project (http://fedoraproject.org/wiki/JesseKeating)
GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub)
identi.ca (http://identi.ca/jkeating)
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 07:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org