You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build a tomcat-7.0.50 package on docker container which has dependencies. These dependencies are already in my yum repo and I'm able to install using yum command. But trying with fpm-cook I'm getting the below error.
Building package recipes/fpm-cookery/tomcat-7.0.50 (type fpm-cookery)
cd recipes/fpm-cookery/tomcat-7.0.50
fpm-cook --pkg-dir /tmp/rpm-build/artifacts/ --color
Support for Ruby 1.8.x in Addressable is deprecated.
===> Starting package creation for sri-apache-tomcat-7.0.50 (centos, rpm)
===>
===> Verifying build_depends and depends with Puppet
===> Verifying package: sri-apr = 1.1.29
===> Verifying package: sri-tomcat-jar = 7.0.50
===> Missing/wrong version packages: sri-apr = 1.1.29, sri-tomcat-jar = 7.0.50
===> Running as root; installing missing/wrong version build_depends and depends with Puppet
===> Installing package: sri-apr = 1.1.29
FATAL: While processing depends package 'sri-apr = 1.1.29':
FATAL: Execution of '/usr/bin/yum -d 0 -e 0 -y list sri-apr = 1.1.29' returned 1: Error: No matching Packages to list
FATAL: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list sri-apr = 1.1.29' returned 1: Error: No matching Packages to list
exit 1
But trying to dig about that package on that container, I'm getting the below result
[
Hello,
I'm trying to build a tomcat-7.0.50 package on docker container which has dependencies. These dependencies are already in my yum repo and I'm able to install using yum command. But trying with fpm-cook I'm getting the below error.
[[email protected] single]$ sudo docker run -ti --rm -v $(pwd):/tmp/rpm-build docker.sri.com/tops-base/build "cd /tmp/rpm-build; ./build.sh recipes/fpm-cookery/tomcat-7.0.50"
Support for Ruby 1.8.x in Addressable is deprecated.
===> Starting package creation for sri-apache-tomcat-7.0.50 (centos, rpm)
===>
===> Verifying build_depends and depends with Puppet
===> Verifying package: sri-apr = 1.1.29
===> Verifying package: sri-tomcat-jar = 7.0.50
===> Missing/wrong version packages: sri-apr = 1.1.29, sri-tomcat-jar = 7.0.50
===> Running as root; installing missing/wrong version build_depends and depends with Puppet
===> Installing package: sri-apr = 1.1.29
FATAL: While processing depends package 'sri-apr = 1.1.29':
FATAL: Execution of '/usr/bin/yum -d 0 -e 0 -y list sri-apr = 1.1.29' returned 1: Error: No matching Packages to list
FATAL: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list sri-apr = 1.1.29' returned 1: Error: No matching Packages to list
But trying to dig about that package on that container, I'm getting the below result
[
[email protected] single]$ sudo docker run -ti --rm -v$(pwd):/tmp/rpm-build docker.sri.com/tops-base/build "/usr/bin/yum -d 0 -e 0 -y list sri-apr = 1.1.29/usr/bin/yum -d 0 -e 0 -y list sri-apr = 1.1.29; echo $ ?"
Available Packages
sri-apr.x86_64 1.1.29-0 updates-sri
0
Can you please give me a suggestion how to solve this issue. My versions are fpm-cookery (0.32.0), ruby 1.8.7.
The text was updated successfully, but these errors were encountered: