Skip to content
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

uninitialized constant FPM::Package::Deb::Zlib (NameError) #1746

Closed
jean-christophe-manciot opened this issue Jan 14, 2021 · 3 comments
Closed

Comments

@jean-christophe-manciot

Debian bullseye
fpm 1.11.0
ruby 1:2.7+2
zlib1g-dev 1:1.2.11.dfsg-2

Building a deb package leads to:

...
Converting dir to deb {:level=>:info}
Traceback (most recent call last):
	9: from /usr/local/bin/fpm:23:in `<main>'
	8: from /usr/local/bin/fpm:23:in `load'
	7: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/bin/fpm:7:in `<top (required)>'
	6: from /var/lib/gems/2.7.0/gems/clamp-1.0.1/lib/clamp/command.rb:133:in `run'
	5: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/command.rb:574:in `run'
	4: from /var/lib/gems/2.7.0/gems/clamp-1.0.1/lib/clamp/command.rb:68:in `run'
	3: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/command.rb:487:in `execute'
	2: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/package/deb.rb:494:in `output'
	1: from /var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/package/deb.rb:494:in `tap'
/var/lib/gems/2.7.0/gems/fpm-1.11.0/lib/fpm/package/deb.rb:495:in `block in output': uninitialized constant FPM::Package::Deb::Zlib (NameError)

Same issue when installing fpm with ruby2.3 (by changing the symlink /usr/bin/ruby --> ruby2.3 instead of ruby2.7) then trying to build the package.

@jean-christophe-manciot
Copy link
Author

Same issue with fpm 1.10.2 & ruby2.7.

@jervi
Copy link

jervi commented Jan 15, 2021

Duplicate of #1739

@jordansissel
Copy link
Owner

Fixed in FPM 1.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants