jordansissel / fpm

Effing package management! Build packages for multiple platforms (deb, rpm, etc) with great ease and sanity.
http://fpm.readthedocs.io/en/latest/
Other
11.17k stars 1.07k forks source link

too long unix socket path (120bytes given but 108bytes max) #2052

Open MikeRochfordTR opened 8 months ago

MikeRochfordTR commented 8 months ago

I'm running into an issue trying to create an RPM.

Command:

fpm -s dir -t rpm --force --rpm-user appuser --rpm-group appuser --rpm-defattrdir 755 --name app-nodejs --description 'APP NodeJS' --version 16.14.0 --iteration 1 --epoch 0 --prefix /appserver/nodejs --chdir /appserver/nodejs --directories /appserver/nodejs .

Output:

/usr/local/share/gems/gems/fpm-1.15.1/lib/fpm/util.rb:344:in `initialize': too long unix socket path (120bytes given but 108bytes max) (ArgumentError)
    from /usr/local/share/gems/gems/fpm-1.15.1/lib/fpm/util.rb:344:in `new'
    from /usr/local/share/gems/gems/fpm-1.15.1/lib/fpm/util.rb:344:in `copy_entry'
    from /usr/local/share/gems/gems/fpm-1.15.1/lib/fpm/package/rpm.rb:557:in `block in output'
    from /usr/share/ruby/find.rb:49:in `block (2 levels) in find'
    from /usr/share/ruby/find.rb:48:in `catch'
    from /usr/share/ruby/find.rb:48:in `block in find'
    from /usr/share/ruby/find.rb:43:in `each'
    from /usr/share/ruby/find.rb:43:in `find'
    from /usr/local/share/gems/gems/fpm-1.15.1/lib/fpm/package/rpm.rb:554:in `output'
    from /usr/local/share/gems/gems/fpm-1.15.1/lib/fpm/command.rb:503:in `execute'
    from /usr/local/share/gems/gems/clamp-1.0.1/lib/clamp/command.rb:68:in `run'
    from /usr/local/share/gems/gems/fpm-1.15.1/lib/fpm/command.rb:591:in `run'
    from /usr/local/share/gems/gems/clamp-1.0.1/lib/clamp/command.rb:133:in `run'
    from /usr/local/share/gems/gems/fpm-1.15.1/bin/fpm:7:in `<top (required)>'
    from /usr/local/bin/fpm:[25](https://github.com/tr/a205090_aces_components/actions/runs/8193497940/job/22407380581#step:9:26):in `load'
    from /usr/local/bin/fpm:25:in `<main>'