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

Bug 849296

Summary: dev-util/ccache-4.6.1 failed to emerge with USE=doc
Product: Gentoo Linux Reporter: Leonid Kopylov <leonchik1976>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Leonid Kopylov 2022-06-02 07:20:09 UTC
# emerge -pqv '=dev-util/ccache-4.6.1::gentoo'
[ebuild   R   ] dev-util/ccache-4.6.1  USE="doc* redis static-c++ -test -verify-sig"

# emerge --info '=dev-util/ccache-4.6.1::gentoo'
Portage 3.0.30 (python 3.9.13-final-0, default/linux/arm64/17.0/desktop/gnome/systemd, gcc-11.3.0, glibc-2.35-r5, 5.18.1-gentoo-r2-arm64 aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.18.1-gentoo-r2-arm64-aarch64-with-glibc2.35
KiB Mem:    16350248 total,  10339168 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 02 Jun 2022 05:30:01 +0000
Head commit of repository gentoo: bdb0daa13780107b3ab3e0cc614b1025da6407a0
sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
ccache version 4.6.1 [disabled]
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.13::gentoo, 3.10.4_p1::gentoo, 3.11.0_beta2_p1::gentoo
dev-lang/rust-bin:         1.61.0::gentoo
dev-util/ccache:           4.6.1::gentoo
dev-util/cmake:            3.23.2::gentoo
dev-util/meson:            0.62.1::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.1::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.4::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.4::gentoo
sys-devel/llvm:            14.0.4::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r5::gentoo
Repositories:

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

brave-overlay
    location: /var/lib/layman/brave-overlay
    sync-type: laymansync
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    priority: 50

guru
    location: /var/lib/layman/guru
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="* -@EULA Microsoft-vscode Vivaldi"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /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.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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=native -O2 -pipe"
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 multilib-strict network-sandbox news parallel-fetch pid-sandbox 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 -pipe"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 accessibility acl acpi alsa ao archive arm64 audit berkdb bluetooth branding brotli bzip2 cairo cdda cddb cdr cgi cli colord cracklib crypt cups curl cxx dbi dbus designer device-mapper djvu doc dri dts dvb dvdr eds emacs encode evo examples exif experimental extras fam fbcon ffmpeg fftw flac fontconfig fortran fuse gcrypt gd gdbm geoip geolocation gif git glade glusterfs gmp gnome gnome-keyring gnome-online-accounts gnutls go gpg gphoto2 gpm gsm gssapi gstreamer gtk gtk-doc gtk3 gui guile hdf5 heif http http2 iconv icu idn imagemagick introspection iodbc ipv6 jack java javascript jemalloc jpeg jpeg2k json kerberos ladspa latex lcms ldap libass libcaca libglvnd libnotify libsamplerate libsecret libtirpc lmdb lua lvm lz4 lzma lzo mad maildir mbedtls mbox midi mng modplug mp3 mp4 mpeg mtp musepack mysql mysqli nas nautilus ncurses netlink networkmanager nfs nls nptl nss odbc ogg openal openexr opengl openmp openssl opus pam pango pcap pcre pdf perl pkcs11 plugins png policykit postgres postscript ppds pulseaudio python qt5 raw readline samba sasl screencast sdl seccomp session sndfile sndio snmp sound source speex spell split-usr sqlite ssh ssl startup-notification svg symlink syslog systemd tcl theora threads tiff tk tools tracker truetype twolame udev udisks unicode unwind upower usb utils uuid v4l vala vcd vim-syntax vnc vorbis vpx wavpack wayland webkit webp widgets wxwidgets x264 x265 xattr xcb xinerama xml xmp xpm xv xvid yaml zeroconf zip zlib zstd" ADA_TARGET="gnat_2020" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" CPU_FLAGS_X86="edsp neon thumb vfp vfpv3 vfpv4 vfp-d32 sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="virgl" 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, LEX, 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

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

dev-util/ccache-4.6.1::gentoo was built with the following:
USE="redis static-c++ -doc -test -verify-sig"
FEATURES="xattr protect-owned unmerge-orphans merge-sync buildpkg-live binpkg-logs assume-digests strict multilib-strict userpriv unknown-features-warn binpkg-docompress news config-protect-if-modified ebuild-locks usersandbox sandbox fixlafiles binpkg-multi-instance ipc-sandbox binpkg-dostrip pid-sandbox userfetch sfperms preserve-libs unmerge-logs usersync parallel-fetch qa-unresolved-soname-deps network-sandbox distlocks"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -static-libstdc++"
Comment 1 Leonid Kopylov 2022-06-02 07:20:30 UTC
Created attachment 782234 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 07:21:29 UTC
Looks like the classic ruby stuff, sadly :(

[68/82] /usr/bin/aarch64-unknown-linux-gnu-g++  -I/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build -I/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/src/third_party -I/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/src/third_party/SYSTEM  -march=native -O2 -pipe -include /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build/config.h -std=c++14 -MD -MT src/third_party/CMakeFiles/third_party.dir/url.cpp.o -MF src/third_party/CMakeFiles/third_party.dir/url.cpp.o.d -o src/third_party/CMakeFiles/third_party.dir/url.cpp.o -c /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/src/third_party/url.cpp
[69/82] cd /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build/doc && /usr/bin/asciidoctor -o AUTHORS.html -a revnumber="4.6.1" -a icons=font -a toc=left -a sectanchors -a stylesheet="/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/doc/ccache-doc.css" -b html /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/doc/AUTHORS.adoc
[31mFAILED: [0mdoc/AUTHORS.html /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build/doc/AUTHORS.html 
cd /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build/doc && /usr/bin/asciidoctor -o AUTHORS.html -a revnumber="4.6.1" -a icons=font -a toc=left -a sectanchors -a stylesheet="/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/doc/ccache-doc.css" -b html /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/doc/AUTHORS.adoc
/usr/bin/asciidoctor:9:in `load': cannot load such file -- /usr/lib64/ruby/gems/3.1.0/gems/asciidoctor-2.0.16/bin/asciidoctor (LoadError)
	from /usr/bin/asciidoctor:9:in `<main>'

Try 'eselect ruby list' and set it to one with rubygems.

*** This bug has been marked as a duplicate of bug 681886 ***
Comment 3 Leonid Kopylov 2022-06-02 07:24:47 UTC
(In reply to Sam James from comment #2)
> Looks like the classic ruby stuff, sadly :(
> 
> [68/82] /usr/bin/aarch64-unknown-linux-gnu-g++ 
> -I/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build
> -I/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/src/third_party
> -I/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/src/third_party/
> SYSTEM  -march=native -O2 -pipe -include
> /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build/config.h
> -std=c++14 -MD -MT src/third_party/CMakeFiles/third_party.dir/url.cpp.o -MF
> src/third_party/CMakeFiles/third_party.dir/url.cpp.o.d -o
> src/third_party/CMakeFiles/third_party.dir/url.cpp.o -c
> /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/src/third_party/url.
> cpp
> [69/82] cd
> /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build/doc &&
> /usr/bin/asciidoctor -o AUTHORS.html -a revnumber="4.6.1" -a icons=font -a
> toc=left -a sectanchors -a
> stylesheet="/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/doc/
> ccache-doc.css" -b html
> /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/doc/AUTHORS.adoc
> [31mFAILED: [0mdoc/AUTHORS.html
> /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build/doc/AUTHORS.
> html 
> cd /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1_build/doc &&
> /usr/bin/asciidoctor -o AUTHORS.html -a revnumber="4.6.1" -a icons=font -a
> toc=left -a sectanchors -a
> stylesheet="/var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/doc/
> ccache-doc.css" -b html
> /var/tmp/portage/dev-util/ccache-4.6.1/work/ccache-4.6.1/doc/AUTHORS.adoc
> /usr/bin/asciidoctor:9:in `load': cannot load such file --
> /usr/lib64/ruby/gems/3.1.0/gems/asciidoctor-2.0.16/bin/asciidoctor
> (LoadError)
> 	from /usr/bin/asciidoctor:9:in `<main>'
> 
> Try 'eselect ruby list' and set it to one with rubygems.
> 
> *** This bug has been marked as a duplicate of bug 681886 ***

# eselect ruby list
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems)
  [4]   ruby31 (with Rubygems) *

after switching to ruby30 - complies without any issue, thanks!
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 07:35:59 UTC
Ah, it's because asciidoctor lacks the ruby31 target for now:
- dev-ruby/asciidoctor-2.0.16::gentoo USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="-ruby26 -ruby27 -ruby30"

Glad you're sorted! And thanks for always filing these :)