ximion / appstream-generator

A fast AppStream metadata generator
GNU Lesser General Public License v3.0
44 stars 29 forks source link

snapcraft: stage libzstd1 #94

Closed xnox closed 3 years ago

xnox commented 3 years ago

appstream-generator depends on libarchive, which depends on libzstd1, however it appears to not be staged into the snap. This results in libzstd1 being used from the host system which may or may not be compatible with the snap staged libarchive library. In order to produce consistent results stage libzstd1 into the snap as well.

iainlane commented 3 years ago

Hold your horses on this one. I don't believe this is the problem. The dependencies should sort it out, and at worst it should use the version from core20 which ought to be fine.

We didn't get a build for a while due to FTBFS. I've fixed that and I'll test the build which is ongoing now and report back.

xnox commented 3 years ago

Checked inside xenial lxd container, that indeed the /usr/lib/x86_64-linux-gnu/libzstd.so.1 is the one from core20 snap, not from the host.