-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
.deb's produce "corrupt builds" when building on an openSUSE system, and installing on a debian one. #737
Comments
Funny thing is, I believe I've made debs on red hat/cent machines and they've worked fine. |
Yes, I'm rather perplexed as well... |
Hmm.. Is there any chance you can upload your corrupt .deb file somewhere I can download it? |
@zackp30 thanks! I can confirm that |
|
This works, too:
|
I had a look at dpkg's source code and it's not entirely obvious what is causing the failure. I'll have to build a custom version with extra debugging to figure out what's going on. |
I just encountered the same problem. I am using openSUSE for development. Any ideas? Did you have any success @jordansissel |
@Rush thank you so much for confirming this. I'll see about setting up an openSUSE vm so I can reproduce this. |
I had similar issues with SuSe. The solution for me was set --format=gnu instead --format=posix in tar compression |
Sorry to dig up an old bug report but this is still an issue for me. How do I apply the workaround proposed by @diegopdomingos ? How can I tell fpm to use --format=gnu when using tar compression? |
@diegopdomingos @jordansissel I am facing same issue on OpenSUSE, fpm version used is 1.11.0. |
Above issue can be resolved on SLES distro by using |
Command:
fpm -s gem -t deb --verbose fpm
Output:
Installing using
dpkg -i rubygems-fpm_1.1.0_all.deb
:However, .deb's created on Ubuntu systems do work.
I would prefer to keep using openSUSE for all my build systems.
Thanks!
The text was updated successfully, but these errors were encountered: