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

RPM nightly release fails to install #5542

Closed
dieggsy opened this issue Dec 2, 2021 · 5 comments
Closed

RPM nightly release fails to install #5542

dieggsy opened this issue Dec 2, 2021 · 5 comments
Labels
Bug Report Item submitted using the Bug Report template Linux Issues which only occur on Linux
Milestone

Comments

@dieggsy
Copy link

dieggsy commented Dec 2, 2021

Bug Description:
Reopening in this repo as requested:

I'm using Fedora 35. I tried to install the RPM release and got the following (the last two lines are the error):

> sudo dnf install ./surge-xt-x86_64-NIGHTLY-2021-12-01-bc53d94.rpm
Last metadata expiration check: 0:22:06 ago on Wed 01 Dec 2021 08:33:00 PM EST.
Dependencies resolved.
================================================================================
 Package     Arch      Version                            Repository       Size
================================================================================
Installing:
 surge-xt    x86_64    9.NIGHTLY.2021.12.01.bc53d94-1     @commandline    141 M

Transaction Summary
================================================================================
Install  1 Package

Total size: 141 M
Installed size: 282 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/bin from install of surge-xt-9.NIGHTLY.2021.12.01.bc53d94-1.x86_64 conflicts with file from package filesystem-3.14-7.fc35.x86_64

Surge Version

  • Version: Surge XT 0.99.main.bc53d94
  • Plugin Type: VST3
  • Bitness: 64-bit

Reproduction Steps:
Steps to reproduce the behavior:

  1. Download RPM from: https://github.com/surge-synthesizer/releases-xt/releases/tag/Nightly
  2. Try to install using sudo dnf install ./surge-xt-x86_64-NIGHTLY-2021-12-01-bc53d94.rpm
  3. Installation fails with the above message

Expected Behavior:
Installation succeeds.

Computer Information (please complete the following information):

  • OS: Fedora 35
  • Host: N/A but Ardour 6

Additional Information:
As a temporary workaround, I was able to use rpmrebuild on the file and remove the line specifying /usr/bin. The resulting RPM was installable, but did not contain a standalone binary, which I now suspect is what the /usr/bin line should have been specifying.

The issue appears to be with this line, according to @baconpaul:

@dieggsy dieggsy added the Bug Report Item submitted using the Bug Report template label Dec 2, 2021
@baconpaul
Copy link
Collaborator

Yeah the files section is what you “did” install and we don’t install usr/bin. Or usr/lib/vst3 for that matter. I’ll clean it up in a sweep before the weekend and tag this issue when I do

thanks!

@baconpaul baconpaul added this to the Surge XT 1.0 milestone Dec 2, 2021
@baconpaul baconpaul added the Linux Issues which only occur on Linux label Dec 2, 2021
baconpaul added a commit to baconpaul/surge that referenced this issue Dec 2, 2021
1. RPM file has correct %files% section. Addresses surge-synthesizer#5542
2. XDG_DOCUMENTS_DIR used to resolve documents dir if set
@baconpaul
Copy link
Collaborator

So I think I have this resolved but it is super hard for me to test. I'll merge 5543 but leave this issue open until we have a confirm. Will need the nightlies to run also.

baconpaul added a commit that referenced this issue Dec 2, 2021
1. RPM file has correct %files% section. Addresses #5542
2. XDG_DOCUMENTS_DIR used to resolve documents dir if set
@baconpaul
Copy link
Collaborator

Sigh my fix blew up the nightly so no test image yet. Working on it

baconpaul added a commit to baconpaul/surge that referenced this issue Dec 2, 2021
1; Have the correct %files%
2. Dont crash on build

Addresses surge-synthesizer#5542
baconpaul added a commit that referenced this issue Dec 2, 2021
1; Have the correct %files%
2. Dont crash on build

Addresses #5542
@dieggsy
Copy link
Author

dieggsy commented Dec 3, 2021

This is fixed in the latest nightly. Thank you!

@dieggsy dieggsy closed this as completed Dec 3, 2021
@baconpaul
Copy link
Collaborator

Great thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Item submitted using the Bug Report template Linux Issues which only occur on Linux
Projects
None yet
Development

No branches or pull requests

2 participants