Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949116 - dev-libs/libzip-1.11.3[-ssl] test failure; hmac-error.test encryption method not supported
Summary: dev-libs/libzip-1.11.3[-ssl] test failure; hmac-error.test encryption method ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-31 11:18 UTC by unhappy-ending
Modified: 2025-02-04 20:02 UTC (History)
1 user (show)

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


Attachments
test failure log (libzip-failure.log,161.96 KB, text/x-log)
2025-01-31 11:23 UTC, unhappy-ending
Details
test pass log (libzip-pass.log,161.80 KB, text/x-log)
2025-01-31 11:25 UTC, unhappy-ending
Details
test log (LastTest.log,114.77 KB, text/x-log)
2025-02-01 08:35 UTC, unhappy-ending
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unhappy-ending 2025-01-31 11:18:36 UTC
See title.

Reproducible: Always

Steps to Reproduce:
1. disable USE flag ssl
2. try to merge

Actual Results:  
test failure

Expected Results:  
Assuming to be expected behavior

Seems there was a new test introduced in 1.11.3 that requires being able to decrypt during the test phase.
Comment 1 unhappy-ending 2025-01-31 11:23:59 UTC
Created attachment 917987 [details]
test failure log
Comment 2 unhappy-ending 2025-01-31 11:25:13 UTC
Created attachment 917988 [details]
test pass log
Comment 3 unhappy-ending 2025-01-31 11:27:57 UTC
Portage 3.0.67 (python 3.12.8-final-0, default/linux/amd64/23.0/llvm/systemd, gcc-13, glibc-2.40-r8, 6.12.6-clang x86_64)
=================================================================
System uname: Linux-6.12.6-clang-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.40
KiB Mem:    32818808 total,  11782384 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 31 Jan 2025 03:03:26 +0000
Head commit of repository gentoo: 1db287c87c71147db92abdb66fca7e5dc3409522

Head commit of repository audio-overlay: 20bf7b1970d2e2e20ed33f6b9563a659190ae368

Head commit of repository brave-overlay: ea7079dea7c5faed0d400943ca6df3240f022193

Head commit of repository cg: a54603b250daee7ebf481b2d09585aed771a3e0e

Head commit of repository guru: 920de3159d632cb18d50ecb702309b1d9a8f2081

Head commit of repository parona-overlay: db6e80063a7f70787b9a0bf7e311371879c001c5

Head commit of repository steam-overlay: 5b7b6d25a1094a4e96c16532cb4f1a757fb00654

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.8_p1::gentoo, 3.13.1_p1-r100::gentoo
dev-lang/rust-bin:         1.84.0::gentoo
llvm-core/clang:           18.1.8-r6::gentoo
llvm-core/lld:             18.1.8::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.43::gentoo
sys-apps/systemd:          257.2::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20241220::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
location: /etc/portage/repos/gentoo
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo.git
priority: 0
eclass-overrides: unhappy-ending
volatile: True

audio-overlay
location: /etc/portage/repos/audio-overlay
sync-type: git
sync-uri: https://github.com/gentoo-audio/audio-overlay.git
masters: gentoo
priority: 50
eclass-overrides: audio-overlay
volatile: True

brave-overlay
location: /etc/portage/repos/brave-overlay
sync-type: git
sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
masters: gentoo
priority: 50
eclass-overrides: brave-overlay
volatile: True

cg
location: /etc/portage/repos/cg
sync-type: git
sync-uri: https://github.com/brothermechanic/cg
masters: gentoo
priority: 50
eclass-overrides: cg
volatile: True

guru
location: /etc/portage/repos/guru
sync-type: git
sync-uri: https://anongit.gentoo.org/git/repo/proj/guru
masters: gentoo
priority: 50
eclass-overrides: guru
volatile: True

parona-overlay
location: /etc/portage/repos/parona-overlay
sync-type: git
sync-uri: https://gitlab.com/Parona/parona-overlay
masters: gentoo
priority: 50
eclass-overrides: parona-overlay
volatile: True

steam-overlay
location: /etc/portage/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/anyc/steam-overlay
masters: gentoo
priority: 50
eclass-overrides: steam-overlay
volatile: True

unhappy-ending
location: /etc/portage/repos/unhappy-ending
masters: gentoo
priority: 100
eclass-overrides: unhappy-ending
volatile: True

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_llvm

Installed sets: @desktop-apps, @desktop-emulation, @dev-qt, @kde-apps, @kde-frameworks, @kde-misc, @kde-plasma, @production-audio, @production-video, @steam-client, @steam-runtime, @system-hardware, @system-kernel, @system-tools, @toolchain-llvm
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ADDR2LINE="llvm-addr2line"
AR="llvm-ar"
AS="llvm-as"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CPP="clang-cpp"
CXX="clang++"
CXXFILT="llvm-cxxfilt"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/etc/portage/package.distfiles"
EMERGE_DEFAULT_OPTS="-a -l12 --alphabetical --autounmask=n --columns --quiet-build --quiet-unmerge-warn --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox split-log strict test unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O3 -pipe"
GCOV="llvm-cov"
GENTOO_MIRRORS="http://distfiles.gentoo.org /etc/portage/package.mirrors"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LD="ld.lld"
LDFLAGS="-Wl,--as-needed"
LEX="flex"
LINGUAS="*"
MAKEOPTS="-j16 -l12"
NM="llvm-nm"
OBJCOPY="llvm-objcopy"
OBJDUMP="llvm-objdump"
PKGDIR="/etc/portage/package.distfiles/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/etc/portage/package.tmp"
RANLIB="llvm-ranlib"
READELF="llvm-readelf"
RUSTFLAGS=""
SHELL="/bin/bash"
SIZE="llvm-size"
STRINGS="llvm-strings"
STRIP="llvm-strip"
USE="acl aes amd64 avx avx2 bzip2 cet clang crypt f16c fma3 gdbm iconv ipv6 libtirpc llvm-libunwind mmx mmxext multilib ncurses nls openmp pam pclmul pcre popcnt rdrand readline seccomp sha sse sse2 sse3 sse4_1 sse4_2 sse4a sslssse3 systemd test test-rust udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gcc_13" CALLIGRA_FEATURES="karbon sheets words" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="*" LLVM_SLOT="18" LLVM_TARGETS="BPF NVPTX SPIRV X86" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-1" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel nvidia virgl zink"
Unset:  ARFLAGS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GPROF, INSTALL_MASK, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, YACC, YFLAGS
Comment 4 Paul Zander 2025-01-31 15:21:20 UTC
> Tests failed. When you file a bug, please attach the following file: 
> /etc/portage/package.tmp/portage/dev-libs/libzip-1.11.3/work/libzip-1.11.3_build-shared/Testing/Temporary/LastTest.log

Please attach the file when the test failed and reopen.
Comment 5 unhappy-ending 2025-02-01 08:35:14 UTC
Created attachment 918017 [details]
test log
Comment 6 unhappy-ending 2025-02-01 08:36:47 UTC
91/181 Testing: hmac-error.test
91/181 Test: hmac-error.test
Command: "/usr/bin/nihtest" "-v" "hmac-error.test"
Directory: /etc/portage/package.tmp/portage/dev-libs/libzip-1.11.3/work/libzip-1.11.3_build-shared/regress
"hmac-error.test" start time: Feb 01 03:32 EST
Output:
----------------------------------------------------------
/etc/portage/package.tmp/portage/dev-libs/libzip-1.11.3/work/libzip-1.11.3/regress/hmac-error.test:1: test case failed
output differs:
-The quick brown fox jumps over t quazy dog
error output differs:
-can't read file at index '0': CRC error
+can't open file at index '0': Encryption method not supported
hmac-error -- FAIL: output, error output
<end of output>
Test time =   0.06 sec
----------------------------------------------------------
Test Failed.
"hmac-error.test" end time: Feb 01 03:32 EST
"hmac-error.test" time elapsed: 00:00:00
----------------------------------------------------------
Comment 7 Larry the Git Cow gentoo-dev 2025-02-04 20:02:17 UTC
The bug has been closed via the following commit(s):

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

commit 9b62b97e5103c40f6e28e7d6bc1b5492b8f60644
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-02-04 19:56:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-02-04 19:56:46 +0000

    dev-libs/libzip: tests require USE=ssl
    
    Closes: https://bugs.gentoo.org/949116
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/libzip/libzip-1.11.2-r1.ebuild | 2 +-
 dev-libs/libzip/libzip-1.11.3.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)