[fedora-java] Failed eclipse-findbugs noarch build due to use of %{_libdir}

Richard Fearn richardfearn at gmail.com
Mon Dec 9 13:49:42 UTC 2013


Hi,

I tried to build eclipse-findbugs (a noarch package) in rawhide yesterday
but the build failed:

  http://koji.fedoraproject.org/koji/buildinfo?buildID=483577

Here's the spec file:


http://pkgs.fedoraproject.org/cgit/eclipse-findbugs.git/tree/eclipse-findbugs.spec

The spec file passes a few locations to ant based on %{eclipse_base}, which
is defined like this:

  %global eclipse_base %{_libdir}/eclipse

I guess I've been lucky up to now because eclipse-findbugs has always built
on a 32-bit builder. Yesterday it built on a 64-bit builder where
%{_libdir} is /usr/lib, but Eclipse is installed under /usr/lib64.

I found a few tickets discussing this:

  https://bugzilla.redhat.com/show_bug.cgi?id=808983
  https://bugzilla.redhat.com/show_bug.cgi?id=847130
  https://fedorahosted.org/fpc/ticket/203

which imply %{eclipse_base} shouldn't be used.

What's the correct way to build this plugin?

Thanks,

Richard

-- 
Richard Fearn
richardfearn at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/java-devel/attachments/20131209/662ae47e/attachment.html>


More information about the java-devel mailing list