Snap depends on libtinfo.so.5 but does not embed it

Bug #1866109 reported by Robie Basak
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
git-ubuntu
Fix Released
High
Unassigned

Bug Description

Unconfirmed report from ~logan: https://paste.ubuntu.com/p/P8BNxZmYsP/

Installing libtinfo5 apparently fixed it.

Simplified steps to reproduce. Start with fresh Focal.

$ snap run --shell git-ubuntu
$ quilt
/snap/core/current/bin/bash: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Tags: snap

Related branches

Revision history for this message
Bryce Harrington (bryce) wrote :

Yep, I run into this frequently, and also work around it by just manually installing libtinfo5.

Guessing that when the snap was created, libtinfo5 was present by default, but in newer ubuntu releases are on libtinfo6.

I wonder what's changed in libtinfo6, and if it would be better to update to that version when embedding this into the snap?

Changed in usd-importer:
status: New → Confirmed
Revision history for this message
Robie Basak (racb) wrote :

Christian just hit this (see dupe).

The snap packaging needs an overhaul. Moving to core20 would make things much simpler, but will probably mutate all these edge case problems. Our snap dates from before core18 even existed, so there are a large number of workarounds for that, and snap packaging methodology has changed significantly since, too.

So if possible (ie. workarounds are trivial) I'd like to move to core20 first and see how many of these other snap packaging related problems and other bugs just solve themselves.

Robie Basak (racb)
description: updated
Changed in usd-importer:
status: Confirmed → Triaged
importance: Undecided → High
Robie Basak (racb)
Changed in usd-importer:
status: Triaged → In Progress
assignee: nobody → Robie Basak (racb)
Revision history for this message
Robie Basak (racb) wrote :

Fixed in 69bf644.

Changed in usd-importer:
status: In Progress → Fix Committed
assignee: Robie Basak (racb) → nobody
Revision history for this message
Robie Basak (racb) wrote : Fix released in git-ubuntu

Fix released in git-ubuntu version 1.0

Changed in usd-importer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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