Created attachment 925160 [details] kimageformats-6.13.0:20250417-194501.log.gz 10/32 Test #3: kimageformats-read-pfm ........... Passed 0.08 sec 11/32 Test #20: kimageformats-write-hej2 .........***Failed 0.06 sec 12/32 Test #17: kimageformats-read-heif .......... Passed 0.07 sec 13/32 Test #32: kimageformats-ani ................ Passed 0.05 sec 14/32 Test #31: kimageformats-pic ................ Passed 0.06 sec 15/32 Test #19: kimageformats-read-hej2 .......... Passed 0.08 sec 16/32 Test #1: kimageformats-read-hdr ........... Passed 0.13 sec 17/32 Test #21: kimageformats-read-jp2 ........... Passed 0.12 sec 18/32 Test #11: kimageformats-read-dds ........... Passed 0.15 sec 19/32 Test #27: kimageformats-write-qoi .......... Passed 0.14 sec 20/32 Test #30: kimageformats-read-raw ........... Passed 0.14 sec 21/32 Test #15: kimageformats-read-avif .......... Passed 0.20 sec 22/32 Test #26: kimageformats-write-pic .......... Passed 0.24 sec 23/32 Test #4: kimageformats-read-psd ........... Passed 0.29 sec 24/32 Test #28: kimageformats-write-rgb .......... Passed 0.25 sec 25/32 Test #24: kimageformats-read-xcf ........... Passed 0.26 sec 26/32 Test #25: kimageformats-write-pcx .......... Passed 0.30 sec 27/32 Test #29: kimageformats-write-tga .......... Passed 0.30 sec 28/32 Test #12: kimageformats-write-dds .......... Passed 0.48 sec 29/32 Test #22: kimageformats-read-jxl ........... Passed 0.94 sec 30/32 Test #23: kimageformats-write-jxl .......... Passed 5.67 sec 31/32 Test #18: kimageformats-write-heif ......... Passed 7.06 sec 32/32 Test #16: kimageformats-write-avif ......... Passed 8.99 sec 97% tests passed, 1 tests failed out of 32 Total Test time (real) = 9.01 sec The following tests FAILED: 20 - kimageformats-write-hej2 (Failed) Errors while running CTest Output from these tests are in: /var/tmp/portage/kde-frameworks/kimageformats-6.13.0/work/kimageformats-6.13.0_build/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. * ERROR: kde-frameworks/kimageformats-6.13.0::gentoo failed (test phase) Relevant part of LastTest.log says: 20/32 Testing: kimageformats-write-hej2 20/32 Test: kimageformats-write-hej2 Command: "/var/tmp/portage/kde-frameworks/kimageformats-6.13.0/work/kimageformats-6.13.0_build/bin/writetest" "--lossless" "--no-dat a-check" "-f" "1" "hej2" Directory: /var/tmp/portage/kde-frameworks/kimageformats-6.13.0/work/kimageformats-6.13.0_build/autotests "kimageformats-write-hej2" start time: Apr 17 21:45 CEST Output: ---------------------------------------------------------- ********* Starting BASIC write tests for hej2 images ********* PASS : bw.png PASS : bwa.png PASS : rgb.png FAIL : rgba.png: re-reading the data resulted in a different image Pixel is different 0,0 0 65795 [...many more 'Pixel is different' messages...] Pixel is different 31,31 0 196866 Totals: 3 passed, 1 failed ********* Finished BASIC write tests for hej2 images ********* <end of output> Test time = 0.06 sec ---------------------------------------------------------- Test Failed. "kimageformats-write-hej2" end time: Apr 17 21:45 CEST "kimageformats-write-hej2" time elapsed: 00:00:00 ---------------------------------------------------------- # emerge --info =kde-frameworks/kimageformats-6.13.0 Portage 3.0.67 (python 3.12.10-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r8, 6.12.21-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.12.21-gentoo-x86_64-AMD_Ryzen_9_7950X3D_16-Core_Processor-with-glibc2.40 KiB Mem: 130969880 total, 83334588 free KiB Swap: 134217724 total, 134201596 free Timestamp of repository gentoo: Thu, 17 Apr 2025 08:50:00 +0000 Head commit of repository gentoo: fde4de40c30e57197f9cf0df48437f2ec9921ff8 sh dash 0.5.12-r1 ld GNU ld (Gentoo 2.44 p1) 2.44.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.10.2 [disabled] 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.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.10::gentoo, 3.13.3::gentoo dev-lang/rust: 1.84.1-r1::gentoo dev-util/ccache: 4.10.2-r1::gentoo llvm-core/clang: 19.1.7::gentoo llvm-core/lld: 19.1.7::gentoo llvm-core/llvm: 19.1.7::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.40::gentoo sys-apps/systemd: 256.10::gentoo sys-devel/binutils: 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241221::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: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 x-portage location: /usr/local/portage masters: gentoo priority: 0 volatile: True Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64-v3 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" AR="/usr/bin/gcc-ar" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver4 -mshstk -flto=16 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver4 -mshstk -flto=16 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going y --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="-O2 -pipe -frecord-gcc-switches -march=znver4 -mshstk -flto=16 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compress-build-logs config-protect-if-modified distlocks ebuild-locks 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 sign split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -frecord-gcc-switches -march=znver4 -mshstk -flto=16 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" GENTOO_MIRRORS="https://gentoo.mirror.garr.it/ https://mirror.netcologne.de/gentoo/ https://mirrors.evoluso.com/gentoo/ https://gentoo.mirrors.ovh.net/gentoo-distfiles/" LANG="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--hash-style=gnu -Wl,--sort-common" LEX="flex" MAKEOPTS="-j32 -l33" NM="/usr/bin/gcc-nm" PKGDIR="/var/cache/binpkgs" 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="/var/tmp" RANLIB="/usr/bin/gcc-ranlib" SHELL="/bin/bash" USE="X a52 aac aalib acl acpi activities adns alsa amd64 ao audiofile avif bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cet colord crypt css cups curl dbus declarative dga djvu dri dts dvd dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp gles2 gmp gnutls gphoto2 gpm graphviz gstreamer gtk gui handbook heif http2 iconv icu idn imagemagick imlib introspection ipv6 java javascript jbig jemalloc jpeg jpeg2k jpegxl kde kf6compat kwallet lame lapack lcms libass libnotify libsamplerate libtirpc llvm-libunwind lm-sensors lto lua lz4 lzma lzo mad magic man mhash mmap mng modules-sign mp3 mp4 mpeg multilib musicbrainz ncurses nls offensive ogg openal opencl opengl openmp opus pam pango pcre pdf pipewire plasma png policykit postscript ppds pulseaudio qml qt6 rdesktop readline recode samba screencast sctp sdl seccomp sndfile sockets sound speex spell sqlite ssl startup-notification svg symlink syslog systemd sysvipc taglib telemetry test test-rust theora threads tidy tiff truetype udev udisks unicode upower usb v4l vaapi vala verify-sig vim-syntax vnc vorbis vulkan wavpack wayland webp widgets win32codecs wmf wxwidgets x264 xattr xcb xft xinerama xml xpm xscreensaver xv xvid yahoo zip zlib zstd" ABI_X86="64" ADA_TARGET="gcc_14" ALSA_CARDS="hda-intel virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" CURL_QUIC="ngtcp2" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it de en de-DE en-GB en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby33" VIDEO_CARDS="amdgpu radeon radeonsi zink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= kde-frameworks/kimageformats-6.13.0::gentoo would be built with the following: USE="avif heif jpeg2k jpegxl raw test -debug -eps -openexr" ABI_X86="(64)" >>> Attempting to run pkg_info() for 'kde-frameworks/kimageformats-6.13.0' # emerge -1pqv =kde-frameworks/kimageformats-6.13.0 [ebuild U ] kde-frameworks/kimageformats-6.13.0 [6.10.0] USE="avif heif jpeg2k%* jpegxl raw test -debug -eps -openexr"
Support is new in 6.13.0.
Paolo, What versions of libheif and openjpeg do you have installed?
Gentoo has old libheif 1.18.2-r1 This failed test is most probably because of some bug, which is already fixed. I recommend upgrading libheif, there were some security fixes too.
Thanks for looking.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e0ae4efeb34b664f288cfcddabeae8163848eb4 commit 0e0ae4efeb34b664f288cfcddabeae8163848eb4 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-04-20 09:10:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-20 09:14:50 +0000 media-libs/libheif: add 1.19.7 * Fix running tests (!) as previously we weren't running cmake_src_test at all. While at it, drop useless phase definitions and embrace cmake-multilib.eclass. * Drop USE=go requirement for tests. Doesn't seem required at all now. * Drops -Werror sed as it now uses the CMake property/setting for that, but we already set that in the eclass since 689be1a4afcc8222f7d10f822789d2e1676d0829. * Fix automagic Doxygen dependency. * Move USE=go dep on dev-lang/go from RDEPEND->BDEPEND. * Fix USE=gdk-pixbuf (bug #950491). Bug: https://bugs.gentoo.org/790593 Bug: https://bugs.gentoo.org/953971 Closes: https://bugs.gentoo.org/943172 Closes: https://bugs.gentoo.org/950491 Closes: https://bugs.gentoo.org/951505 Signed-off-by: Sam James <sam@gentoo.org> media-libs/libheif/Manifest | 1 + media-libs/libheif/libheif-1.19.7.ebuild | 85 ++++++++++++++++++++++++++++++++ media-libs/libheif/libheif-9999.ebuild | 67 ++++++++++--------------- media-libs/libheif/metadata.xml | 1 + 4 files changed, 113 insertions(+), 41 deletions(-)
Can you see if that helps?
Using the media-libs/libheif-1.19.7 helps: 33/36 Test #20: kimageformats-write-hej2 ......... Passed 5.76 sec 34/36 Test #25: kimageformats-write-jxl .......... Passed 7.60 sec 35/36 Test #18: kimageformats-write-heif ......... Passed 8.23 sec 36/36 Test #16: kimageformats-write-avif ......... Passed 11.86 sec 100% tests passed, 0 tests failed out of 36
Thanks! Guess we should depend on that newer version unless someone wants to see if it's an issue in the test.
With the new libheif tests succeed just fine. Thank you.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8893d487faedd40403b0577536a4a17448edf2f2 commit 8893d487faedd40403b0577536a4a17448edf2f2 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-04-23 17:42:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-23 17:42:35 +0000 kde-frameworks/kimageformats: depend on >=media-libs/libheif-1.19.7 Tests fail with older libheif. Our libheif was pretty old, it's not clear if it was just an assumption in the tests or not, and let's not wait for something to be truly broken at runtime to find out. Closes: https://bugs.gentoo.org/953971 Signed-off-by: Sam James <sam@gentoo.org> .../{kimageformats-6.13.0.ebuild => kimageformats-6.13.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=ad864099d9b2844e12bd9cf7e20e08106c98610b commit ad864099d9b2844e12bd9cf7e20e08106c98610b Author: Sam James <sam@gentoo.org> AuthorDate: 2025-04-23 17:42:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-23 17:45:09 +0000 kde-frameworks/kimageformats: depend on >=media-libs/libheif-1.19.7 Tests fail with older libheif. Our libheif was pretty old, it's not clear if it was just an assumption in the tests or not, and let's not wait for something to be truly broken at runtime to find out. Closes: https://bugs.gentoo.org/953971 Signed-off-by: Sam James <sam@gentoo.org> kde-frameworks/kimageformats/kimageformats-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)