Unable to build .deb on CentOS 7
See original GitHub issue- Version: 22.8.0
- Electron Version: 4.2.12
- Target: deb
Using CentOS 7, trying to build the deb
target results in the error:
• building target=deb arch=x64 file=dist/fusion-studio-1.0.0.deb
⨯ cannot execute cause=exit status 1
out={:timestamp=>"2020-08-24T21:14:14.387644+0000", :message=>"Debian packaging tools generally labels all files in /etc as config files, as mandated by policy, so fpm defaults to this behavior for deb packages. You can disable this default behavior with --deb-no-default-config-files flag", :level=>:warn}
{:timestamp=>"2020-08-24T21:14:19.913860+0000", :message=>"Process failed: tar failed (exit code 13). Full command was:[\"tar\", \"-C\", \"/tmp/package-dir-staging-5c743428c7444b1ff42b5ad5cf599def8409df7c6dc2c7adfd96f6c4b4ec\", \"-I'/home/centos/fusion-studio/node_modules/app-builder-bin/linux/x64/app-builder'\", \"--numeric-owner\", \"--owner\", \"0\", \"--numeric-owner\", \"--group\", \"0\", \"-cf\", \"/tmp/package-deb-build-839e95f41e62bed56baf5181cdfc288e7916041bdb9f84fcb1dabab39ba4/data.tar.xz\", \".\"]", :level=>:error}
command=/home/centos/.cache/electron-builder/fpm/fpm-1.9.3-2.3.1-linux-x86_64/fpm -s dir --force -t deb -d libgtk-3-0 -d libnotify4 -d libnss3 -d libxss1 -d libxtst6 -d xdg-utils -d libatspi2.0-0 -d libuuid1 -d libappindicator3-1 -d libsecret-1-0 --deb-compression xz --architecture amd64 --name fusion-studio-electron --after-install /tmp/t-AwDEjt/0-after-install --after-remove /tmp/t-AwDEjt/1-after-remove --description '
Fusion Studio' --version 1.0.0 --package /home/centos/fusion-studio/dist/fusion-studio-1.0.0.deb --maintainer 'Evolved Binary <tech@evolvedbinary.com>' --url 'https://github.com/evolvedbinary/fusion-studio#readme' --vendor 'Evolved Binary <tech@evolvedbinary.com>' --category database --license GPL-3.0 '/home/centos/fusion-studio/dist/linux-unpacked/=/opt/Fusion Studio' /home/centos/fusion-studio/resources/icons/16x16.png=/usr/share/icons/hicolor/16x16/apps/fusion-studio-electron.png /home/centos/fusion-studio/resources/icons/32x32.png=/usr/share/icons/hicolor/32x32/apps/fusion-studio-electron.png /home/centos/fusion-studio/resources/icons/48x48.png=/usr/share/icons/hicolor/48x48/apps/fusion-studio-electron.png /home/centos/fusion-studio/resources/icons/64x64.png=/usr/share/icons/hicolor/64x64/apps/fusion-studio-electron.png /home/centos/fusion-studio/resources/icons/128x128.png=/usr/share/icons/hicolor/128x128/apps/fusion-studio-electron.png /home/centos/fusion-studio/resources/icons/256x256.png=/usr/share/icons/hicolor/256x256/apps/fusion-studio-electron.png /home/centos/fusion-studio/resources/icons/512x512.png=/usr/share/icons/hicolor/512x512/apps/fusion-studio-electron.png /home/centos/fusion-studio/resources/icons/1024x1024.png=/usr/share/icons/hicolor/1024x1024/apps/fusion-studio-electron.png '/tmp/t-AwDEjt/4-Fusion Studio.desktop=/usr/share/applications/fusion-studio-electron.desktop'
workingDir=
error Command failed with exit code 1.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12
Top Results From Across the Web
Can't Install build-essential on CentOS - Unix Stack Exchange
I believe this still should work. sudo yum groupinstall 'Development Tools'.
Read more >Building binary deb packages: a practical guide
Building binary deb packages: a practical guide ... How to ship your apps on Debian and derivatives. A deb file is an archive...
Read more >How to Create .deb Packages for Debian, Ubuntu and Linux ...
7. Now generate package: shell) dpkg- deb -- build /home/USER/debpkgs/my-program_version_architecture The package will be in ...
Read more >Why golang binary that compiled in Debian 9 , cant launch in ...
Unfortunately, it appears that your execution target (CentOS 7) has an incompatible ABI. You can verify by compiling with cgo disabled, e.g.: $ ......
Read more >Chapter 6. Building the package - Debian
build binary packages ( fakeroot debian/rules binary ). make the .dsc file. make the .changes file, using dpkg-genchanges.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes this is still an outstanding issue that we need help solving.
@mmaietta We were targeting CentOS and as old a version as we could to ensure the greatest glibc compatibly of our binaries. CentOS typically has a much more conservative (older) version of glibc. glibc versions seem to be forward compatible, but not always backwards compatible.