Failed eclipse-findbugs noarch build due to use of %{_libdir}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux