[meego-packaging] Substitute use in ARM prjconf breaks package deps

Anas Nashif nashif at linux.intel.com
Mon Feb 7 03:29:42 PST 2011


On 7 Feb 2011, at 09:27, Jan-Simon Möller wrote:

> Am Montag, 7. Februar 2011, 10:08:13 schrieb Carsten Munk:
>> Hi,
>> 
>> # Substitute: doxygen doxygen-x86-arm
>> # Substitute: fdupes fdupes-x86-arm
>> # Substitute: findutils findutils-x86-arm
>> # Substitute: gawk gawk-x86-arm
>> # Substitute: patch patch-x86-arm
> 
> Whohoo ... NEVER EVER use Substitute:  for these cross-speedup packages.
> The design is explicitely for them to be "add-on" to the original package.


a *-x86-arm package requires the original package, so both are install using the substitute, but yes, the side effect is that it was pulled as runtime.
> 
> By using substitute *-x86-arm will be installed on the target as dependency.
> 
> Going through the prjconf now ... 

We need a better solution for this type of package then, we can have them in pre-install of course.

Anas

> 
> Best,
> Jan-Simon
>> 
>> This seems to break packages and modify their dependancies a little
>> too much (Requires: findutils -> Requires: findutils-x86-arm in
>> .spec), causing cross compiler packages to be installed into ARM
>> images.
>> 
>> Check out http://build.meego.com/package/binary?arch=armv7el&filename=prelink-0.4.2-7.10.armv7l.rpm&package=prelink&project=Trunk&repository=standard
>> (Requires: side) as well as build log for it..
>> 
>> /Carsten
>> _______________________________________________
>> MeeGo-packaging mailing list
>> MeeGo-packaging at meego.com
>> http://lists.meego.com/listinfo/meego-packaging
>> 
> 
> _______________________________________________
> MeeGo-packaging mailing list
> MeeGo-packaging at meego.com
> http://lists.meego.com/listinfo/meego-packaging



More information about the MeeGo-packaging mailing list