New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packaging filenames with a $ in their name? #196

Closed
pspiertz opened this Issue Apr 2, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@pspiertz

pspiertz commented Apr 2, 2012

I encountered this during packaging Glassfish on CentOS 6.2:

fpm -s dir -t rpm -n glassfish2 -v 1.02 --iteration 4

Processing files: glassfish2-1.02-4.x86_64
error: File not found: /export/apps/package-rpm-build20120402---4155-14b33lo/BUILD/export/apps/glassfish2/imq/demo/applications/qbrowser/QBrowser$TableMouseListener.class
[ .. snip - lots of other filenames with dollar signs in them .. ]
error: File not found: /export/apps/package-rpm-build20120402--4155-14b33lo/BUILD/export/apps/glassfish2/lib/install/databases/ejbtimer$1.wal

/usr/lib/ruby/gems/1.8/gems/fpm-0.4.4/lib/fpm/util.rb:33:in safesystem': rpmbuild failed (exit code 1). Full command was:["rpmbuild", "-bb", "--define", "buildroot /tmp/package-rpm-build20120402-4155-14b33lo/BUILD", "--define", "_topdir /tmp/package-rpm-build20120402-4155-14b33lo", "--define", "_sourcedir /tmp/package-rpm-build20120402-4155-14b33lo", "--define", "_rpmdir /tmp/package-rpm-build20120402-4155-14b33lo/RPMS", "/tmp/package-rpm-build20120402-4155-14b33lo/SPECS/glassfish2.spec"] (FPM::Util::ProcessFailed) from /usr/lib/ruby/gems/1.8/gems/fpm-0.4.4/lib/fpm/package/rpm.rb:172:inoutput'
from /usr/lib/ruby/gems/1.8/gems/fpm-0.4.4/lib/fpm/command.rb:324:in execute' from /usr/lib/ruby/gems/1.8/gems/clamp-0.3.0/lib/clamp/command.rb:64:inrun'
from /usr/lib/ruby/gems/1.8/gems/clamp-0.3.0/lib/clamp/command.rb:126:in run' from /usr/lib/ruby/gems/1.8/gems/fpm-0.4.4/bin/fpm:8 from /usr/bin/fpm:19:inload'
from /usr/bin/fpm:19

@jordansissel

This comment has been minimized.

Owner

jordansissel commented Apr 4, 2012

Fixed in 9e469fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment