Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831079 - dev-lang/mono-6.12.0.122 fails to compile with ccache installed, but not enabled
Summary: dev-lang/mono-6.12.0.122 fails to compile with ccache installed, but not enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-12 18:15 UTC by Marco Di Fresco
Modified: 2022-01-13 01:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,380.96 KB, text/plain)
2022-01-12 21:26 UTC, Marco Di Fresco
Details
environment (environment,145.71 KB, text/plain)
2022-01-12 21:27 UTC, Marco Di Fresco
Details
make.conf (with ccache ENABLED) (make.conf,1.38 KB, text/plain)
2022-01-12 21:27 UTC, Marco Di Fresco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Di Fresco 2022-01-12 18:15:59 UTC
Hello,
emerge wanted to recompile dev-lang/mono-6.12.0.122 due to the KERNEL="(-linux%*) flag, but it kept failing mentioning a problem with ccache.

I tried again with "env FEATURES="-ccache"", but I get the same error.

I opened a forum post (https://forums.gentoo.org/viewtopic-p-8688261.html) and we discovered that the issue was because I had ccache installed, but not enabled on make.conf (probably I have it installed by using GentooLTO).

Once ccache was enabled on make.conf (FEATURES="ccache ...."), mono got emerged fine.

# emerge --info '=dev-lang/mono-6.12.0.122::gentoo'
Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.1, glibc-2.33-r7, 5.15.10-zen1-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.10-zen1-x86_64-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.33
KiB Mem:    32840820 total,    840964 free
KiB Swap:   33555452 total,  22680836 free
Timestamp of repository gentoo: Tue, 11 Jan 2022 23:30:01 +0000
Head commit of repository gentoo: fe65a8571619719875728832eb0c6fdbc052a203
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
ccache version 4.5.1 [disabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p8::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo
dev-lang/rust:             1.56.1::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.21.4::gentoo
dev-util/meson:            0.59.4::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-apps/systemd:          249.7::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             10.3.1_p20211126::gentoo, 11.2.1_p20211127::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::gentoo
Repositories:

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

local-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

FireBurn
    location: /var/lib/layman/FireBurn
    sync-type: laymansync
    sync-uri: git://github.com/FireBurn/Overlay.git
    masters: gentoo
    priority: 50

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

earshark
    location: /var/lib/layman/earshark
    sync-type: laymansync
    sync-uri: https://github.com/Chemrat/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

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

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

lto-overlay
    location: /var/lib/layman/lto-overlay
    sync-type: laymansync
    sync-uri: https://github.com/InBetweenNames/gentooLTO.git
    masters: gentoo
    priority: 50

nitratesky
    location: /var/lib/layman/nitratesky
    sync-type: laymansync
    sync-uri: https://github.com/VTimofeenko/nitratesky.git
    masters: gentoo
    priority: 50

panther
    location: /var/lib/layman/panther
    sync-type: laymansync
    sync-uri: https://github.com/orangeturtle739/panther.git
    masters: gentoo
    priority: 50

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

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

zGentoo
    location: /var/lib/layman/zGentoo
    sync-type: laymansync
    sync-uri: https://lab.retarded.farm/zappel/zGentoo.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O3 -pipe -fomit-frame-pointer"
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/terminfo"
CXXFLAGS="-march=znver3 -O3 -pipe -fomit-frame-pointer -march=znver3 -O3 -pipe"
DISTDIR="/usr/portage/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=znver3 -O3 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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=znver3 -O3 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j32 -l32"
PKGDIR="/usr/portage/packages"
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 bash-completion bluetooth branding bzip2 cairo cdda cdr cli crypt css cuda cups dbus declarative dri dts dvd dvdr emboss encode exif flac fortran gdbm gif gimp gpm gui handbook hddtemp iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc lm_sensors mad mng mp3 mp4 mpeg mtp multilib ncurses nls nptl nvidia ofx ogg openal opencl opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 readline samba scanner screencast sdl seccomp semantic-desktop smartcard spell split-usr ssh ssl startup-notification svg systemd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan wayland widgets win32codecs wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="32 64" 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_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 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="hp" USERLAND="GNU" 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, LEX, LFLAGS, LIBTOOL, 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-lang/mono-6.12.0.122::gentoo was built with the following:
USE="minimal nls -doc -pax-kernel -xen" ABI_X86="32 (64) (-x32)"
CFLAGS="-march=znver3 -O3 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed"
CXXFLAGS="-march=znver3 -O3 -pipe -fomit-frame-pointer -march=znver3 -O3 -pipe -Wl,-O1 -Wl,--as-needed"



# emerge -pqv '=dev-lang/mono-6.12.0.122::gentoo'
[ebuild   R   ] dev-lang/mono-6.12.0.122  USE="minimal nls -doc -pax-kernel -xen" ABI_X86="32 (64) (-x32)"


The complete build log: https://mclo.gs/FBGIO3s
The ebuild environment file: https://mclo.gs/qIgEb1f
_________________
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-12 19:18:42 UTC
Please attach the logs here, compressed if needed, as they'll expire otherwise.
Comment 2 Marco Di Fresco 2022-01-12 21:26:43 UTC
Created attachment 761995 [details]
build.log
Comment 3 Marco Di Fresco 2022-01-12 21:27:00 UTC
Created attachment 761996 [details]
environment
Comment 4 Marco Di Fresco 2022-01-12 21:27:45 UTC
Created attachment 761997 [details]
make.conf (with ccache ENABLED)
Comment 5 Marco Di Fresco 2022-01-12 21:28:09 UTC
(In reply to Sam James from comment #1)
> Please attach the logs here, compressed if needed, as they'll expire
> otherwise.

Hi Sam,
I have attached the log as requested.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-13 01:44:17 UTC
https://bugs.gentoo.org/830562#c1
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-13 01:44:21 UTC
(In reply to Sam James from comment #6)
> https://bugs.gentoo.org/830562#c1

Thanks!