-
Notifications
You must be signed in to change notification settings - Fork 843
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
Fedora 32 package from petersen/stack2 missing gmp-devel dependency #5388
Comments
Let me take a look at that, not sure what's going on (it's okay for me personally to report it here though you could also report it under https://github.com/fedora-haskell/stack/issues, which is the correct downstream place, linked from the Copr:). Also noting that stack is now already (sub)packaged in Fedora, though F32 is still on stack 2.1 (F33 will have 2.3): I should check that it also pulls in gmp correctly... Edit well nvm the stack2 copr is only 2.1 as well (I have a newer petersen/stack-2.3 copr), but anyway I would suggest just to use the Fedora package unless Zuul really needs 2.3. |
Ah my guess is that you are actually using the Fedora package already not the copr one, since it is missing the gmp-devel dependency: I am going to fix that now... If you look at your deplist output you can see that the Fedora package is missing the So right now the best workaround is either to explicitly pull in gmp-devel (and gcc I think), or use the older stack-2.1.3.1-1.fc31 build from petersen/stack2 until the fix goes stable: the former is probably easier. |
Thank you for the details, it seems like the role would pick the copr if the fedora package is not available. Here is a change that will ensure both gmp-devel and gcc are installed: https://review.opendev.org/752225 |
Cool, I have pushed haskell-platform builds containing the fix to the stack subpackage to Fedora Bodhi: |
This was fixed in the following Fedora Updates in Sept:
(Hoping we can getting a newer version of stack in Fedora 34). This issue can be closed. |
Sorry but I'm not sure where to file this issue; so I'm taking a guess. The COPR repo at https://copr.fedorainfracloud.org/coprs/petersen/stack2/ is, I assume, somewhat offically related to this project because it's mentioned in the documentation at https://docs.haskellstack.org/en/stable/install_and_upgrade/
The Fedora 32 package appears to be missing a dependency on gmp-devel, which is required to run. Without we get
I don't quite understand why, because it seems like the .spec at https://copr-dist-git.fedorainfracloud.org/cgit/petersen/stack2/stack.git/tree/stack.spec?h=f32#n142 tries to have it as a dependency.
CC @juhp who I believe maintains this?
CC @TristanCacqueray who added this at https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-haskell-stack/tasks/main.yaml
The text was updated successfully, but these errors were encountered: