Summary: | app-arch/libarchive-3.1.1: fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | bsd+disabled, nikoli |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/app-arch%3Alibarchive-3.1.1%3A20130117-163729.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Diego Elio Pettenò (RETIRED)
2013-01-17 16:59:59 UTC
This failure occur when USE="-lzo" & you have app-arch/lzop installed. libarchive-3.1.1/libarchive/archive_read_support_filter_lzop.c: archive_read_support_filter_lzop(struct archive *_a) { ... #if defined(HAVE_LZO_LZOCONF_H) && defined(HAVE_LZO_LZO1X_H) return (ARCHIVE_OK); #else /* Return ARCHIVE_WARN since this always uses an external program. */ archive_set_error(_a, ARCHIVE_ERRNO_MISC, "Using external lzop program for lzop decompression"); return (ARCHIVE_WARN); #endif } From the above code, ARCHIVE_WARN is returned because USE="-lzo" then, since canLzop() below return true (because lzop command is available) libarchive-3.1.1/libarchive/test/test_read_filter_lzop.c: r = archive_read_support_filter_lzop(a); if (r != ARCHIVE_OK) { if (r == ARCHIVE_WARN && !canLzop()) { assertEqualInt(ARCHIVE_OK, archive_read_free(a)); skipping("lzop compression is not supported " "on this platform"); } else assertEqualIntA(a, ARCHIVE_OK, r); return; } I'm not sure how I should handle this. Maybe, this lzop test should be skipped when USE="-lzo". Can't reproduce with 3.5.1. |