RFC: definition of noarch [was Re: why koji try to build on ppc when ExcludeArch ppc?]

Farkas Levente lfarkas at lfarkas.org
Fri Nov 14 23:37:03 UTC 2008


Farkas Levente wrote:
> Jason L Tibbitts III wrote:
>> Actually, the problem is pretty clear: you simply cannot do what
>> you're trying to do.
>>
>> If your package won't even build on PPC, it simply can't be noarch.
>> The ExcludeArch: case for noarch packages is for those with runtime
>> dependencies that aren't available for all architectures.  That's not
>> the case you're seeing.
>>
>> Your options are either to wait until the JRE bug is fixed or make
>> your package arch-specific.
> 
> no it's not that easy. the question is:
> what the noarch means?
> - it should have to be run on any arch?
> or
> - it should have to be run _AND_ build on any arch?
> this package is a pure java package which is noarch the the result
> gstreamer-java-1.0-1.fc10.noarch.rpm can be run on any arch,
> BUT as there is a bug in #468831 in     	
> java-1.6.0-openjdk on ppc it can't be compiled on ppc.
> so if eg. there is a bug in python compiler or in the python interpreter
> on ppc then the python packages no longer noarch packages?

ok so according to the comment in
https://bugzilla.redhat.com/show_bug.cgi?id=471602
the bug is in my definition of noarch:-(

but as i'm not agree with you, the only thing what can i do to try to
change this rules:-)

according to your definition:
- a noarch package can't contain ExcludeArch in it's spec file (if it's
really the case it should have to be documented and put into rpmlint).
- if a package can build on i386, x86_64 then (even if it's not an arch
dependent package) should have to be i386, x86_64 packages. or otherwise
we've to wait (may be even years) to be fixed the compiler or the
runtime or ... on ppc.
- and then an i386 package can be repackage as noarch!?

what will happened if more archs from secondary architectures (arm,
ia64, s390, sparc) will be added to fedora's primary arch? then we've to
wait for all bugs in all arch independent language's compiler, runtime,
interpreter, etc. for a noarch packages?

imho: the definition of noarch should have to be:
- can be build and run on all arch except on the ExcludeArch's arch.

imho: the koji should have to work as:
all package should have to be build on it own arch and if it's noarch
then it can be build on any buildhost if it's arch not among the
ExcludeArch's arch.


-- 
  Levente                               "Si vis pacem para bellum!"




More information about the fedora-devel-list mailing list