[fedora-java] still newbie, #2: rpmbuild & deps madness.

Alec Leamas leamas.alec at gmail.com
Sun Feb 22 10:58:08 UTC 2015


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?


Thanks,
--alec








More information about the java-devel mailing list