Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922496 - media-gfx/imv-4.4.0[gif] fails to build with media-libs/libnsgif-1.0.0
Summary: media-gfx/imv-4.4.0[gif] fails to build with media-libs/libnsgif-1.0.0
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL: https://git.sr.ht/~exec64/imv/commit/...
Whiteboard: Workaround dep applied
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-19 13:25 UTC by CaptainBlood
Modified: 2024-02-20 23:01 UTC (History)
3 users (show)

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


Attachments
dependent failing rebuild log (media-gfx:imv-4.4.0:20240119-133809.log.gz,5.99 KB, application/gzip)
2024-01-19 13:25 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-01-19 13:25:55 UTC
Created attachment 882626 [details]
dependent failing rebuild log

::gentoo forces www-client/netsurf-3.10-r7->3.11 where USE=gif forces media-libs/libnsgif-0.2.1-r3->-1.0.0, causing media-gfx/imv-4.4.0[gif] to rebuild.
The later fails.
----------------------------------
Unsure which package to address...
----------------------------------
emerge --info
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r9, 6.7.0-gentoo-std x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.7.0-gentoo-std-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-glibc2.38
KiB Mem:     3933652 total,    379204 free
KiB Swap:   65535996 total,  65243700 free
Timestamp of repository gentoo: Thu, 18 Jan 2024 21:15:01 +0000
Head commit of repository gentoo: 9a7a003f6e5df44ebb42faa9de2f7c4c5f7843f5
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.75.0::pg_overlay
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             10.5.0::gentoo, 11.4.1_p20230824::gentoo, 12.3.1_p20230825::gentoo, 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

4
gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 10000
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
AR="gcc-ar"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
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.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y 			--alphabetical 			--ask-enter-invalid 			--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y  	--autounmask-write y              --complete-graph y  			--misspell-suggestions n 			--noconfmem 			--nospinner  			--tree 			--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=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
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 multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=core2 -mtune=native -O2 -pipe -Wa,-mbranches-within-32B-boundaries "
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/     http://gentoo.mirror.root.lu/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,-fuse-ld=bfd "
LEX="flex"
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
NM="gcc-nm"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
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="gcc-ranlib"
SHELL="/bin/bash"
USE="amd64 asm custom-cflags emacs eselect-ldso fortran gentoo-vm gtk-doc minimal ocamlopt split-usr test-rust verify-sig" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" PHP_TARGETS="php8-1" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel"
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, MAKE, MAKEFLAGS, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 jhancock 2024-01-19 16:54:56 UTC
Same behavior and (roughly) logs on my end. Holding back media-libs/libnsgif solves it, at least as a temporary workaround. My /etc/portage/package.mask/holds contains the following:

>media-libs/libnsgif-0.2.1-r3

My estimation is that there are breaking changes in libnsgif given the wide version disparity.
Comment 2 Ionen Wolkens gentoo-dev 2024-01-19 19:45:57 UTC
Seems it breaks media-gfx/ahoviewer too.

Guess this is being filed as a imv bug but they're likely work to do on libnsgif side too (e.g. subslot due to SONAME change).

About imv, note that it has no upstream currently (it's looking for a new maintainer), so probably can't expect updates from there. I could temporarily do a <1.0.0 check but on the long term and without patches, odds are I'll have to remove USE=gif (gif can still be viewed with freeimage[gif] but they won't be animated).
Comment 3 Larry the Git Cow gentoo-dev 2024-01-19 20:07:19 UTC
The bug has been referenced in the following commit(s):

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

commit d9bb1d561d34d9fe3ca9d8643e12824b88f306e4
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-01-19 20:04:12 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-01-19 20:04:12 +0000

    media-gfx/imv: depend on <media-libs/libnsgif-1 for now
    
    Patches welcome to fix this (can use has_version if needed), given
    upstream currently has no maintainer.
    
    If libnsgif maintainer want to cleanup the old nsgif, feel free to
    just mask USE=gif here. gif can still be viewed with freeimage but
    will no longer be animated.
    
    Bug: https://bugs.gentoo.org/922496
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-gfx/imv/{imv-4.4.0.ebuild => imv-4.4.0-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-01-19 21:34:56 UTC
The bug has been referenced in the following commit(s):

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

commit ace8fa3145480ad521fef86a219d5d8ca69c8e6a
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-01-19 21:18:01 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-01-19 21:34:45 +0000

    media-libs/libnsgif: add $PV subslot
    
    Bug: https://bugs.gentoo.org/922496
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../libnsgif/{libnsgif-1.0.0.ebuild => libnsgif-1.0.0-r1.ebuild}      | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 5 Michael Orlitzky gentoo-dev 2024-01-19 21:46:29 UTC
There are definitely breaking changes in libnsgif (https://git.netsurf-browser.org/libnsgif.git), but maybe it's not too bad of an update, because I don't see any major overhaul within netsurf itself.

I didn't notice the missing subslot. I added it.
Comment 6 Ionen Wolkens gentoo-dev 2024-02-20 23:01:44 UTC
Looks like upstream decided to work on this again a bit after all, albeit currently opted to just set a upper bound for nsgif too so 4.5.0 won't solve this.