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 Development

 
 
LinkBack Thread Tools
 
Old 05-01-2011, 06:46 AM
Eric Smith
 
Default problem with packaging Java program (clapham) for EL6: noarch vs. ExclusiveArch

My package for clapham, a railroad diagram generator, was recently approved:
https://bugzilla.redhat.com/show_bug.cgi?id=668240

There's no problem with Rawhide, F15, and F14, but I ran into a problem
with EL6. The package is noarch (being pure Java), and it seems to be
fine with i686 and x86_64, but he update system notified me of broken
dependencies for the PPC64 arch:

package: clapham-0.1.003-4.el6.noarch from fedora-epel-testing-6-ppc64
unresolved deps:
java>= 1:1.6.0
batik

I expect that this is true for other architectures as well. The problem
seems to be that the batik library only builds on x86-64 and i686 (using
an ExclusiveArch tag). Perhaps that is due to java-1.6.0-openjdk not
being available on other architectures, though I didn't research that
since the lack of batik is sufficient to prevent clapham from building.

I thought perhaps the appropriate thing to do would be to add the same
ExclusiveArch tag to clapham, but that results in not being able to
build at all, apparently because of clapham being a noarch package:

$ rpmbuild --rebuild clapham-0.1.003-5.fc16.src.rpm
Installing clapham-0.1.003-5.fc16.src.rpm
error: Architecture is not included: noarch

Is there some way to have a noarch package that only builds for (or is
only pushed for) specific architectures? Or is there some other correct
resolution for this kind of problem?

Thanks!
Eric

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 05-01-2011, 08:35 PM
Kevin Kofler
 
Default problem with packaging Java program (clapham) for EL6: noarch vs. ExclusiveArch

Eric Smith wrote:
> Is there some way to have a noarch package that only builds for (or is
> only pushed for) specific architectures? Or is there some other correct
> resolution for this kind of problem?

AFAIK, you can only use ExcludeArch for noarch packages, not ExclusiveArch.

Kevin Kofler

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 07:18 AM.

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