missing dependency on libyaml-0-2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Fix Released
|
Medium
|
Unassigned | ||
haskell-stack (Debian) |
Fix Released
|
Unknown
|
|||
haskell-stack (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
After sudo apt-get install haskell-stack on a fresh install of 15.10, and running stack upgrade, I received the complaint:
stack: error while loading shared libraries: libyaml-0.so.2: cannot open shared object file: No such file or directory
After sudo apt-get install libyaml-0-2, I was able to run stack upgrade successfully.
Possibly a missing dependency in the deb?
FeatureFreezeEx
This issue should be fixed in haskell-stack 0.1.2.0-2, which is the latest version available in Debian unstable. Could this be synced to Ubuntu Wily?
Changelog
haskell-stack (0.1.2.0-2) unstable; urgency=medium
* Add ${shlibs:Depends} substvar, to pull in dependency on libyaml.
* Add dependencies on make and libgmp-dev, so that stack setup works.
Thanks to Tom Fitzhenry for reporting these two issues. Closes: 797446
-- Joachim Breitner <email address hidden> Tue, 01 Sep 2015 18:43:05 -0700
Changed in haskell-stack (Debian): | |
status: | Unknown → Fix Released |
Changed in haskell-stack (Ubuntu): | |
importance: | Undecided → Medium |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
description: | updated |
Changed in hundredpapercuts: | |
status: | Confirmed → Fix Released |
Thanks for taking your time to report this issue and help making Ubuntu better.
I was able to reproduce this issue by following the steps to reproduce with haskell-stack 0.1.2.0-1 on Ubuntu Wily. After installing libyaml-0-2 the error message went away.
I did some research and found a similar bug report in Debian, see the task under Affects. In fact, this issue should be fixed in 0.1.2.0-2 and libyaml-0-2 is now listed as a dependency (https:/ /packages. debian. org/sid/ haskell- stack).
Since haskell-stack 0.1.2.0-2 seems to be a bugfix-only release, we can try to get a FreezeException and sync the latest version from Debian (https:/ /wiki.ubuntu. com/FreezeExcep tionProcess# FeatureFreeze_ for_bugfix- only_updates).
Two notes to whoever reviewing this: /tracker. debian. org/pkg/ haskell- stack, but http:// bazaar. launchpad. net/~ubuntu- branches/ debian/ sid/haskell- stack/sid/ revision/ 3 should be the corresponding change.
* I only get an error message when attempting to browse the DARCS repo for this package from https:/
* I know there has been/is some ongoing haskell transition, but I don't know how this package fits into that or whether it might not be a concern.