Summary: | app-arch/libarchive fails test phase when compiled with USE="-zlib" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | unhappy-ending <unhappy-ending> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
test failure
test success build.log |
Description
unhappy-ending
2022-02-10 22:43:37 UTC
Created attachment 764810 [details]
test failure
Created attachment 764811 [details]
test success
Created attachment 764812 [details]
build.log
Do you have a specific use case for -zlib here? I'm not sure if this is worth addressing, maybe we should just enable zlib unconditionally. I don't have a particular use case, just happened to be testing minimal USE flags and reporting when something doesn't pass testing. Ok, thanks! I don't think REQUIRED_USE is the way to go, I'd rather either fix the test suite or remove IUSE=zlib altogether. I'll try to find some time to look at this today. Thank you for your work! I've submitted fixes for some of the test failures but it looks that in some cases the internal library state gets broken and I don't really want to investigate that deeper. At this point, an archive library without zlib doesn't sound that useful (and the gzip fallback looks incomplete/broken), so I'm just going to remove the flag. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecebf9b6aae9610454f2b94a0fc7bf429ac03d69 commit ecebf9b6aae9610454f2b94a0fc7bf429ac03d69 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-02-12 10:18:42 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-02-12 10:20:38 +0000 app-arch/libarchive: Enable zlib unconditionally Building libarchive without zlib support is not being tested properly. The library has test failures, and quite possibly also some runtime bugs. Remove the flag and enable zlib unconditionally. Closes: https://bugs.gentoo.org/833091 Signed-off-by: Michał Górny <mgorny@gentoo.org> app-arch/libarchive/libarchive-3.5.3.ebuild | 6 +++--- app-arch/libarchive/libarchive-3.6.0.ebuild | 6 +++--- app-arch/libarchive/metadata.xml | 7 ------- 3 files changed, 6 insertions(+), 13 deletions(-) |