While installing media-video/movit on a headless box (i.e. no X) as a dependency for media-libs/mlt it has failed to compile. This is because without the X flag set globally media-libs/libepoxy does not have the X USE flag set either, which results in epoxy/glx.h not getting installed. ebuild should require the X USE flag set for libepoxy. Reproducible: Always Steps to Reproduce: 1. emerge -1 movit Actual Results: Excerpt from the build log: libtool: compile: x86_64-pc-linux-gnu-g++ -MMD -MP -Wall -march=znver2 -O3 -pipe -std=gnu++11 -fvisibility-inlines-hidden -I/tmp/portage/media-video/movit-1.6.3-r1/work/googletest-release-1.8.1/googletest/include -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/eigen3 -c dither_effect.cpp -fPIC -DPIC -o .libs/dither_effect.o libtool: compile: x86_64-pc-linux-gnu-g++ -MMD -MP -Wall -march=znver2 -O3 -pipe -std=gnu++11 -fvisibility-inlines-hidden -I/tmp/portage/media-video/movit-1.6.3-r1/work/googletest-release-1.8.1/googletest/include -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/eigen3 -c complex_modulate_effect.cpp -fPIC -DPIC -o .libs/compl ex_modulate_effect.o libtool: compile: x86_64-pc-linux-gnu-g++ -MMD -MP -Wall -march=znver2 -O3 -pipe -std=gnu++11 -fvisibility-inlines-hidden -I/tmp/portage/media-video/movit-1.6.3-r1/work/googletest-release-1.8.1/googletest/include -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/eigen3 -c overlay_effect.cpp -fPIC -DPIC -o .libs/overlay_effect .o libtool: compile: x86_64-pc-linux-gnu-g++ -MMD -MP -Wall -march=znver2 -O3 -pipe -std=gnu++11 -fvisibility-inlines-hidden -I/tmp/portage/media-video/movit-1.6.3-r1/work/googletest-release-1.8.1/googletest/include -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/eigen3 -c vignette_effect.cpp -fPIC -DPIC -o .libs/vignette_effe ct.o util.cpp:21:10: fatal error: epoxy/glx.h: No such file or directory 21 | #include <epoxy/glx.h> | ^~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:127: util.lo] Error 1 make: *** Waiting for unfinished jobs.... Expected Results: Successful compilation. >>> emerge --info Portage 3.0.47 (python 3.10.11-final-0, default/linux/amd64/17.1/systemd, gcc-11, glibc-2.37-r3, 6.3.4-gentoo-r1 x86_64) ================================================================= System uname: Linux-6.3.4-gentoo-r1-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.37 KiB Mem: 131867768 total, 127244904 free KiB Swap: 4194296 total, 4194296 free Timestamp of repository gentoo: Sun, 11 Jun 2023 06:15:01 +0000 Head commit of repository gentoo: f855eb72f29b937d2d5388b2c56c8979ad38683a Head commit of repository sinustrom: c80f6c4d017938e9a923e9c4eb9ea5ab8dc4dfa6 sh bash 5.2_p15-r3 ld GNU ld (Gentoo 2.40 p5) 2.40.0 distcc 3.4 x86_64-pc-linux-gnu [disabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r3::gentoo dev-lang/perl: 5.36.1-r2::gentoo dev-lang/python: 3.10.11::gentoo, 3.11.3::gentoo dev-lang/rust: 1.69.0-r1::gentoo dev-util/cmake: 3.26.4-r1::gentoo dev-util/meson: 1.1.0::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/sandbox: 2.30-r1::gentoo sys-apps/systemd: 253.4::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.4::gentoo sys-devel/gcc: 11.3.1_p20230525::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.4::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://barbican.sinustrom.net/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sinustrom location: /var/db/repos/sinustrom sync-type: git sync-uri: https://github.com/zpuskas/sinustrom-gentoo-overlay.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=znver2 -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=znver2 -O3 -pipe" DISTDIR="/var/cache/portage/distfiles" 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=znver2 -O3 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr" FFLAGS="-march=znver2 -O3 -pipe" GENTOO_MIRRORS="rsync://barbican.sinustrom.net/gentoo-distfiles/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j32" PKGDIR="/var/cache/portage/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="/tmp" SHELL="/bin/zsh" USE="7zip acl acpi amd64 bash-completion bzip2 cli crypt cuda dri fortran gdbm gmp hardened iconv ipv6 libtirpc lto lzma multilib ncurses nls nptl nvidia opencl opengl openmp pam pcre posix readline seccomp smp sockets split-usr ssl systemd test-rust threads udev unicode usb vim-syntax xattr zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo grpc gzip http_addition http_fancyindex limit_conn limit_req map memcached mirror proxy referer rewrite scgi split_clients ssi userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f0faf077d6c2d22bd8b028dbe44e6c88365d89c commit 0f0faf077d6c2d22bd8b028dbe44e6c88365d89c Author: Patrick Lauer <patrick@gentoo.org> AuthorDate: 2023-06-12 08:22:06 +0000 Commit: Patrick Lauer <patrick@gentoo.org> CommitDate: 2023-06-12 08:22:25 +0000 media-video/movit: Improve libexpoxy dep Closes: https://bugs.gentoo.org/908393 Signed-off-by: Patrick Lauer <patrick@gentoo.org> media-video/movit/movit-1.6.3-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)