[Fedora-packaging] BuildError: mismatch when analyzing $PACKAGE

Darryl L. Pierce dpierce at redhat.com
Tue May 1 14:23:26 UTC 2012


On Tue, May 01, 2012 at 09:15:39AM -0500, Rex Dieter wrote:
> Darryl L. Pierce wrote:
> 
> > I've built my newly approved package and am hitting this strange
> > problem.
> > 
> > I am able to build the Fedora 17 and Rawhide without a problem. But on
> > Fedora 16 the build [1] fails with the error in $SUBJECT shows up:
> > 
> > BuildError: mismatch when analyzing
> > rubygem-qpid-doc-0.16.0-10.fc16.noarch.rpm
> > 
> > The output [2] shows that the filenames for the generated rdoc files are
> > different between i686 and x86_64 platforms. Since these filenames are a
> > function of the gem install and are not under the control of my gem, I
> > have no idea how I would fix this error or get past it.
> > 
> > Any help or suggestions on what to do?
> 
> you have 2 options:
> 
> 1.  find why the docs are producing different output on different archs, and 
> fix it.  suggestion: ask your upstreams for help and guidance.

This is the result of either the Ruby gem or rdoc commands that are used
to install my package (a Ruby gem) and not a function of my gem itself.
I'll go look at the changelog for both of those tools to see if
something changed between the versions on F16 and F17+.

> 2.  in the meantime, you may want to consider making the pkg arch'd as a 
> workaround.

Ajax recommended this to me in IRC. So for F16 the -doc package is
arch-specific.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120501/154dd6eb/attachment.sig>


More information about the packaging mailing list