Build of dev-tex/minted crashes because it because the hypdoc.sty file is not found. Reproducible: Always Steps to Reproduce: 1. emerge dev-tex/minted Actual Results: Build step fails to complete. Expected Results: Build should have completed and package then installed. Portage 3.0.63 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r6, 6.6.30-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-6.6.30-gentoo-x86_64-x86_64-AMD_Ryzen_7_5800H_with_Radeon_Graphics-with-glibc2.39 KiB Mem: 65206096 total, 39589904 free KiB Swap: 268419068 total, 268407244 free Timestamp of repository gentoo: Mon, 17 Jun 2024 00:30:01 +0000 Head commit of repository gentoo: 8c24602b80cc074c1aa02ca3c7f0aea50f0f7b91 Timestamp of repository haskell: Sun, 16 Jun 2024 22:48:45 +0000 Head commit of repository haskell: 6ac60f4db63c75ae194035bfcba54a644f6614c5 sh bash 5.1_p16-r11 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-r11::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.28.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.0-r1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.38.2-r3::gentoo dev-lang/python: 3.11.9-r1::gentoo, 3.12.3-r1::gentoo dev-lang/rust: 1.77.1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/sandbox: 2.38::gentoo sys-apps/systemd: 255.7::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo sys-devel/gcc: 13.2.1_p20240210::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE linux-fw-redistributable no-source-code MPEG-4 NVIDIA-r2 bh-luxi sun-bcla-jai NVIDIA-CUDA PUEL-11" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2" DISTDIR="/var/cache/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=native -O2" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j 17" 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" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cddb cdr cet context crypt cups cxx dbus declarative dhcp doc dri dts dvd dvdr emacs encode exif fdk ffmpeg firewalld flac fribidi gdbm gif gpm gstreamer gtk gui guile gzip handbook harfbuzz iconv icu iptables ipv6 java javascript jbig jit jpeg jpeg2k kde kf6compat kwallet lcms libffi libnotify libtirpc lto lvm lz4 lzma lzo mad matroska mmap mng mp3 mp4 mpeg mpi multilib musicbrainz ncurses network-manager networkmanager nls numa nvenc ocaml ocamlopt ogg opencl opengl opengli openh264 openmp pam pango pcre pdf perl pgo pipewire plasma png policykit postgres postscript ppds pulseaudio python qml qt5 quicktime readline sasl screencast sdl seccomp semantic-desktop sound source speex spell ssl ssp startup-notification subversion svg system-bootstrap systemd test-rust theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vnc vorbis vulkan wayland widgets wifi wxwidgets x264 x265 xattr xcb xetex xft xml xv xvid zip zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics libinput keyboard mouse" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 895940 [details] This is the build log.
I managed to build and install the package
The command that I used to build the package was: USE="-doc" emerge --one-shot dev-tex/minted Clearly there is a problem with the doc use flag in the ebuild file.
After doing the build with -doc use flag and then when I did 'emerge -uADN @world' the package did build with with doc use flag. This is probably important an important detail in trying to reproduce the build error.
I had similar symptoms while upgrading to texlive-2023, except that instead of hypdoc.sty it complained about fvextra.sty missing. On my system both files are part of dev-texlive/texlive-latexextra-2023_p69752-r3: /usr/share/texmf-dist/tex/latex/fvextra/fvextra.sty /usr/share/texmf-dist/tex/latex/hypdoc/hypdoc.sty Merging dev-tex/minted-2.9 first with USE="-doc" seems to be a valid workaround. Either directly after merging with USE="-doc" or after installation of =app-text/texlive-2023 it seems to merge fine with USE="doc" as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f189a4b5abf31af0a16cb29ef7e24f014cd1767 commit 6f189a4b5abf31af0a16cb29ef7e24f014cd1767 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2024-06-21 15:44:33 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2024-06-21 15:44:33 +0000 dev-tex/minted: add dev-texlive/texlive-latexextra to BDEPEND Closes: https://bugs.gentoo.org/934435 Signed-off-by: Florian Schmaus <flow@gentoo.org> dev-tex/minted/minted-2.9.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)