missing dependency on libyaml-0-2

Bug #1500112 reported by James Orr
12
This bug affects 1 person
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?

FeatureFreezeException:
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

Tags: wily
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

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/FreezeExceptionProcess#FeatureFreeze_for_bugfix-only_updates).

Two notes to whoever reviewing this:
* I only get an error message when attempting to browse the DARCS repo for this package from https://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 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.

Changed in haskell-stack (Ubuntu):
status: New → Confirmed
tags: added: wily
description: updated
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
Revision history for this message
Colin Watson (cjwatson) wrote :

This doesn't need an FFE. I'll sync it, thanks.

Revision history for this message
Colin Watson (cjwatson) wrote :

Synced, thanks.

Changed in haskell-stack (Ubuntu):
status: Confirmed → Fix Released
Changed in hundredpapercuts:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.