-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
Failed to make RPM package on Ubuntu and Fedora 41 #3701
Comments
More test results:
|
Additionally:
|
Fedora 41 not working appears to be due to https://github.com/electron-userland/electron-installer-redhat not being compatible with rpm 4.2 changes. electron-installer-redhat sets app files to be installed under BUILD/usr. Meanwhile rpm 4.2 sets up the build directory to be under a sub directory. The cause of breaking changes: rpm-software-management/rpm#2078 |
Has the issue has been solved upto now. As I am trying to build on Fedora 41 and it is still not working. |
For me on Fedora 41 the solution that worked was to change the argument of
Although I'm not sure if it is correct for every use case so I didn't open pull request. |
Pre-flight checklist
Electron Forge version
7.4.0
Electron version
31.3.0
Operating system
Ubuntu 24.04
Last known working Electron Forge version
7.4.0
Expected behavior
Try to make .rpm package but failed with errors
Actual behavior
Failed with the below errors:
Steps to reproduce
Additional information
forge.config.ts
package.json
The text was updated successfully, but these errors were encountered: