Skip to content

Instantly share code, notes, and snippets.

@morgajel
Created May 20, 2015 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morgajel/55f1ae1933668a9a57ec to your computer and use it in GitHub Desktop.
Save morgajel/55f1ae1933668a9a57ec to your computer and use it in GitHub Desktop.
fpm error
[root@myhost /]# cat /tmp/derp
/etc/hosts
/root/.bash_profile
/tmp/unique.list
[root@myhost /]# fpm --edit -s dir -a noarch --rpm-user root --rpm-group root -t rpm -n mypkg -v '6.0.0' --iteration=1 -C / --inputs=/tmp/derp
/usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/util.rb:165:in `copy_entry': Invalid argument - mknod error (Errno::EINVAL)
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/package/dir.rb:187:in `rescue in copy'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/package/dir.rb:181:in `copy'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/package/dir.rb:148:in `block in clone'
from /usr/share/ruby/find.rb:43:in `block in find'
from /usr/share/ruby/find.rb:42:in `catch'
from /usr/share/ruby/find.rb:42:in `find'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/package/dir.rb:146:in `clone'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/package/dir.rb:71:in `block in input'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/package/dir.rb:69:in `chdir'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/package/dir.rb:69:in `input'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/command.rb:332:in `block in execute'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/command.rb:331:in `each'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/command.rb:331:in `execute'
from /usr/local/share/gems/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'
from /usr/local/share/gems/gems/fpm-1.3.3/lib/fpm/command.rb:510:in `run'
from /usr/local/share/gems/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'
from /usr/local/share/gems/gems/fpm-1.3.3/bin/fpm:8:in `<top (required)>'
from /usr/local/bin/fpm:23:in `load'
from /usr/local/bin/fpm:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment