Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 940469

Summary: net-mail/notmuch-0.38.3 fails to build with USE=doc
Product: Gentoo Linux Reporter: Jorge <jorge+git>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: jorge+git
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-mail/notmuch-0.38.3 (USE="crypt doc python") build log
Unconditionally install the Info manual and manpages

Description Jorge 2024-09-28 21:41:55 UTC
I have net-mail/notmuch-0.38.3 built with USE=-doc, which means it lacks the info manual and manpages.  When trying to build with USE=doc, I get a build failure as it tries to build the HTML docs.  My system is mostly amd64 stable.  I have some ~amd64 packages, but I avoid ~amd64 packages with too many installed revdeps.  I looked at notmuch-0.38.3 ebuild and I don't think I have installed the ~amd64 version of any of its dependencies.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge net-mail/notmuch-0.38.3 with USE=doc

Actual Results:  
notmuch fails to build

Expected Results:  
notmuch should build and provide the Info manual and manpages
Comment 1 Jorge 2024-09-28 21:42:55 UTC
Created attachment 904125 [details]
net-mail/notmuch-0.38.3 (USE="crypt doc python") build log
Comment 2 Jorge 2024-09-28 21:45:10 UTC
    $ USE=doc emerge -pqv '=net-mail/notmuch-0.38.3::gentoo'

    Local copy of remote index is up-to-date and will be used.
    [ebuild   R   ] net-mail/notmuch-0.38.3  USE="crypt doc* python -apidoc -debug -emacs -mutt -nmbug -test"

    $ USE=doc emerge --info '=net-mail/notmuch-0.38.3::gentoo'
    Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-13, glibc-2.39-r6, 6.6.52-gentoo x86_64)
=    ================================================================
                             System Settings
=    ================================================================
    System uname: Linux-6.6.52-gentoo-x86_64-11th_Gen_Intel-R-_Core-TM-_i7-11800H_@_2.30GHz-with-glibc2.39
    KiB Mem:    16122852 total,   1128004 free
    KiB Swap:   28213244 total,  27664380 free
    Timestamp of repository gentoo: Sat, 28 Sep 2024 10:30:00 +0000
    Head commit of repository gentoo: 726a91bab3cd4cefb7ac02d83b8f6c18394aa719
    Timestamp of repository guru: Sat, 28 Sep 2024 03:51:02 +0000
    Head commit of repository guru: f26d80b793f92a547a8ab0ca1cdc7ca7098d2e33

    sh bash 5.2_p26-r6
    ld GNU ld (Gentoo 2.42 p3) 2.42.0
    app-misc/pax-utils:        1.3.7::gentoo
    app-shells/bash:           5.2_p26-r6::gentoo
    dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
    dev-build/automake:        1.16.5-r2::gentoo
    dev-build/cmake:           3.30.2::gentoo
    dev-build/libtool:         2.4.7-r4::gentoo
    dev-build/make:            4.4.1-r1::gentoo
    dev-build/meson:           1.5.1::gentoo
    dev-java/java-config:      2.3.4::gentoo
    dev-lang/perl:             5.40.0::gentoo
    dev-lang/python:           3.12.6_p2::gentoo
    dev-lang/rust:             1.80.1::gentoo
    sys-apps/baselayout:       2.15::gentoo
    sys-apps/sandbox:          2.39::gentoo
    sys-apps/systemd:          255.11::gentoo
    sys-devel/binutils:        2.42-r1::gentoo
    sys-devel/binutils-config: 5.5.2::gentoo
    sys-devel/clang:           18.1.8::gentoo
    sys-devel/gcc:             13.3.1_p20240614::gentoo
    sys-devel/gcc-config:      2.11::gentoo
    sys-devel/lld:             18.1.8::gentoo
    sys-devel/llvm:            18.1.8-r1::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-metamanifest: yes
        sync-rsync-verify-jobs: 1
        sync-rsync-verify-max-age: 3

    guru
        location: /var/db/repos/guru
        sync-type: git
        sync-uri: https://github.com/gentoo-mirror/guru.git
        masters: gentoo
        volatile: False

    jorge
        location: /etc/root-unison/root-stow-folding/all~Gentoo--misc/var/db/repos/jorge
        masters: gentoo
        volatile: True

    Binary Repositories:

    gentoobinhost
        priority: 99
        sync-uri: https://gentoo.c3sl.ufpr.br/releases/amd64/binpackages/23.0/x86-64-v3

    Installed sets: @all--text, @mail
    ACCEPT_KEYWORDS="amd64"
    ACCEPT_LICENSE="@FREE"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-march=native -O3 -pipe"
    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/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 -O3 -pipe"
    DISTDIR="/var/cache/distfiles"
    EMERGE_DEFAULT_OPTS="-j3 -l9 -A --keep-going --buildpkg-exclude="acct-group/* acct-user/* app-containers/crun app-emacs/* app-eselect/* dev-python/* dev-java/* dev-lua/* dev-perl/* dev-ruby/* dev-php/* dev-tex/* dev-texlive/* x11-themes/* sys-firmware/* sys-kernel/* virtual/* */*-bin app-containers/containerd app-containers/docker app-containers/docker-cli app-containers/runc app-containers/podman app-misc/cheat app-shells/fzf dev-go/go-md2man dev-go/go-tools dev-go/golangci-lint dev-go/gopls dev-util/android-tools" --usepkg-exclude="acct-group/* acct-user/* app-containers/crun app-emacs/* app-eselect/* dev-python/* dev-java/* dev-lua/* dev-perl/* dev-ruby/* dev-php/* dev-tex/* dev-texlive/* x11-themes/* sys-firmware/* sys-kernel/* virtual/* */*-bin app-containers/containerd app-containers/docker app-containers/docker-cli app-containers/runc app-containers/podman app-misc/cheat app-shells/fzf dev-go/go-md2man dev-go/go-tools dev-go/golangci-lint dev-go/gopls dev-util/android-tools""
    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 -O3 -pipe"
    FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
    FFLAGS="-march=native -O3 -pipe"
    GENTOO_MIRRORS="https://gentoo.c3sl.ufpr.br/ https://mirror.rackspace.com/gentoo/ https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.c3sl.ufpr.br/ http://mirror.leaseweb.com/gentoo/ http://mirror.rackspace.com/gentoo/"
    LANG="en_US.UTF-8"
    LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
    LEX="flex"
    LINGUAS="en pt pt_BR"
    MAKEOPTS="-j8 -l8"
    PKGDIR="/var/cache/binpkgs"
    PORTAGE_BZIP2_COMMAND="/bin/bzip2"
    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"
    RUSTFLAGS="-C target-cpu=native"
    SHELL="/bin/bash"
    USE="X aac acl acpi alsa amd64 archive avif bash-completion bluetooth boost branding brotli bzip2 cairo cdda cdr cet colord crypt cuda cups dav1d dbus doc dri dts eds emacs encode evo exif firmware flac flatpak fontconfig gdbm gdk-pixbuf gif gnome gnome-keyring gnome-online-accounts gnome-shell google gphoto2 gpm grub gsettings gstreamer gtk gui harfbuzz heif hostonly iconv icu imagemagick introspection ios ipv6 jingle jit jpeg jpegxl keeshare keyring kf6compat lcms libaom libnotify libplacebo libtirpc libvirt libxml2 lto lzip lzma mad magic man mng mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nfs nls nvdec nvenc nvme ogg omemo opengl openmp opus pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio qml qt5 qt6 rdp readline rustfmt samba sdl seccomp sndfile sound spell spice ssl startup-notification svg svg2 svt-av1 sysprof systemd tar test-rust theora tiff tpm tracker truetype udev udisks uefi unicode upower usb usbredir vaapi vdpau vorbis vpx vulkan wayland webp wifi wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf 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 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US es pt pt-BR" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel nvidia" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

=    ================================================================
                            Package Settings
=    ================================================================

    net-mail/notmuch-0.38.3::gentoo was built with the following:
    USE="crypt python -apidoc -debug -doc -emacs -mutt -nmbug -test" ABI_X86="(64)" PYTHON_TARGETS="python3_12 -pypy3 -python3_10 -python3_11"
Comment 3 Greg Kubaryk 2024-09-29 01:17:17 UTC
The doc flag is not (supposed to be) tied to info and man pages; they are supposed to be installed unconditionally. That said, if notmuch[doc] exists, it should work. :)
Comment 4 Jorge 2024-09-29 01:25:12 UTC
Yes, a few hours ago I have locally modified the ebuild to unconditionally install the Info manual and the manpages.  I is working.  I will attach it.  I have also made some other minor changes in comments (capitalization, punctuation) and avoided one shellcheck warning by replacing "@" -> "*" in the line:
    [[ ${test_failures} ]] && die "Tests failed: ${test_failures[*]}"
Comment 5 Jorge 2024-09-29 01:27:20 UTC
Created attachment 904126 [details]
Unconditionally install the Info manual and manpages