Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699006 - app-emulation/lxd should depend on || ( >=dev-util/xdelta-3.1.0:3 <dev-util/xdelta-3.1.0:3[lzma] ) - Failed to update the image" err="Failed to run: xdelta3 -f -d -s ...: xdelta3: unavailable secondary compressor: LZMA: XD3_INTERNAL
Summary: app-emulation/lxd should depend on || ( >=dev-util/xdelta-3.1.0:3 <dev-util/x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-31 09:00 UTC by Hoess
Modified: 2021-07-14 13:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hoess 2019-10-31 09:00:20 UTC
When the xdelta is built without USE=lzma following error occurred when starting/launching a container:

="Failed to update the image" err="Failed to run: xdelta3 -f -d -s /var/lib/lxd/images/d9[...]: xdelta3: unavailable secondary compressor: LZMA: XD3_INTERNAL" 

Reproducible: Always
Comment 1 Joonas Niilola gentoo-dev 2020-09-24 08:17:23 UTC
Hi, 

is still still an issue? I've build xdelta without lzma and have no issues running lxd here. Although I'm wondering should it be made into RDEPEND, need to test it.
Comment 2 Hoess 2020-09-24 10:06:03 UTC
Not sure, long time since I ran into this.

Since it was a runtime problem, I assume it may be depending
on what type of container-image you use, in my case it was 
Debian9, if I recall correctly.
Comment 3 Joonas Niilola gentoo-dev 2020-12-15 07:20:45 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388383a270033c1f5fd6f519ad3e985e751d2c5e

I was able to run run debian containers with these optional packages, please re-open if this isn't enough and I'll investigate further.
Comment 4 Larry the Git Cow gentoo-dev 2021-07-14 13:04:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6291b63df3c98ce328fa4bd198b0fc5e4d5eebd

commit e6291b63df3c98ce328fa4bd198b0fc5e4d5eebd
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-07-14 13:04:04 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-07-14 13:04:52 +0000

    app-emulation/lxd: add a dep for xdelta[lzma]
    
     - looks like increasing amount of containers need this to uncompress
       the container image. Might affect lxc too.
    
    Bug: https://bugs.gentoo.org/699006
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/lxd/{lxd-4.0.6.ebuild => lxd-4.0.6-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)