[dgplug-users] How to resolve dependencies in rpmbuild command

neeraj kumar neeraj.jnumca07 at gmail.com
Thu Jun 13 05:18:02 PDT 2019


Experts,

I am trying to get the rpmbuild for *tomcat8.5.40* Getting this issue on*
CentOS 7* where the rpmbuild is failing due to some dependencies.Want to
understand how to proceed?

Should I install the dependencies first or just downloading the dependent
rpms will do? If so, where would I keep the dependent RPMs so that rpmbuild
-bb tomcat.spec picks them?

-bash-4.2# rpmbuild -bb tomcat.spec
error: Failed build dependencies:
ecj >= 1:4.4.0 is needed by tomcat-1:8.5.40-1.el7.centos.noarch
apache-commons-collections is needed by tomcat-1:8.5.40-1.el7.centos.noarch
apache-commons-daemon is needed by tomcat-1:8.5.40-1.el7.centos.noarch
apache-commons-dbcp is needed by tomcat-1:8.5.40-1.el7.centos.noarch
apache-commons-pool is needed by tomcat-1:8.5.40-1.el7.centos.noarch
tomcat-taglibs-standard is needed by tomcat-1:8.5.40-1.el7.centos.noarch
junit is needed by tomcat-1:8.5.40-1.el7.centos.noarch
geronimo-jaxrpc is needed by tomcat-1:8.5.40-1.el7.centos.noarch
wsdl4j is needed by tomcat-1:8.5.40-1.el7.centos.noarch
-bash-4.2#
Thanks,
-- 
~~ Neeraj


More information about the Users mailing list