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

Rex Dieter rdieter at math.unl.edu
Tue May 1 14:15:39 UTC 2012


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.

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

-- rex



More information about the packaging mailing list