Created attachment 351784 [details] build.log Tests are succeeded if media-libs/imlib2-1.4.5 is built with USE="gif jpeg png" Tests are failed if media-libs/imlib2-1.4.5 is built with USE="-gif -jpeg -png" Build.log attached. emerge --info Portage 2.1.12.2 (default/linux/amd64/13.0/developer, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo-BADO x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.8.13-gentoo-BADO-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.2 KiB Mem: 8166320 total, 652488 free KiB Swap: 0 total, 0 free Timestamp of tree: Fri, 21 Jun 2013 22:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p45 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/ccache: 3.1.9 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.69 sys-devel/automake: 1.12.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo pinkbyte ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/bound/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --jobs=3" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS="-j9" PKGDIR="/bound/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/bound/portage" PORTDIR_OVERLAY="/bound/overlays/pinkbyte" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 multilib nls threads" ABI_X86="64" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="ru ru_RU" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" USERLAND="GNU" VIDEO_CARDS="nvidia" USE_PYTHON="2.7" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This is still the case with 2.19 A simple: IUSE="test" DEPEND="test? ( media-libs/imlib2[gif,jpeg,png] )" Construction aught to fix this up. Alternatively, a way of nuking tests under unideal test conditions might work also.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c82aa744b4a1977da04bb28a5e3b1fc86cf99688 commit c82aa744b4a1977da04bb28a5e3b1fc86cf99688 Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2019-04-02 18:56:33 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2019-04-02 18:59:33 +0000 media-gfx/feh: add test dep on media-libs/imlib2[gif,jpeg,png] Closes: https://bugs.gentoo.org/474556 Closes: https://bugs.gentoo.org/633802 Signed-off-by: Tim Harder <radhermit@gentoo.org> media-gfx/feh/feh-3.1.1.ebuild | 1 + media-gfx/feh/feh-3.1.3.ebuild | 1 + 2 files changed, 2 insertions(+)