Re: still newbie, #2: rpmbuild & deps madness.

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

 




Il 22/02/2015 12:46, Alec Leamas ha scritto:
On 22/02/15 12:09, gil wrote:

Il 22/02/2015 11:58, Alec Leamas ha scritto:
Greetings, gurus!


So, I have have successfully built two dependencies (thanks for all
help!), and now going for the third which requires the the first two.
The build is OK, but rpmbuild crashes with a simple message:

Exception: Following dependencies were not resolved and requires
cannot be generated. Either remove the dependency from pom.xml or add
proper packages to BuildRequires:
com.hifiremote:DecodeIrCaller:1314 required by org.harctoolbox:IrpMaster

But, things are not simple (?):

$ rpm -q --whatprovides 'mvn(com.hifiremote:DecodeIrCaller)'
DecodeIrCaller-0.1.1-1.fc21.noarch

I. e., rpmbuild does not find the installed maven-generated package
DecodeIrCaller even though it provides the proper things(?) The
package looks OK to my silly eyes:

$ rpm -ql DecodeIrCaller
/usr/share/java/DecodeIrCaller.jar
/usr/share/maven-metadata/DecodeIrCaller.xml
/usr/share/maven-poms/DecodeIrCaller
/usr/share/maven-poms/DecodeIrCaller/DecodeIrCaller.pom

Spec of built package: http://paste.fedoraproject.org/188869/60250414
Spec of DecodeIrCaller: http://ur1.ca/js0d7


Any hint?

remove this in DecodeIrCaller.spec
mv %{buildroot}/usr/lib/java/%{name} %{buildroot}%{_javadir}
jni should live and stay in _jnidir aka /usr/lib/java

Thanks, that was actually a good catch. Still, the result after fixing is the same.

Cheers!

maybe there is something of wrong in your pom file

--alec

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

--
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