Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891423 - sys-apps/elfix attempts to mkdir in /mnt/wslg/runtime-dir/ccache-tmp
Summary: sys-apps/elfix attempts to mkdir in /mnt/wslg/runtime-dir/ccache-tmp
Status: RESOLVED DUPLICATE of bug 887019
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-19 21:49 UTC by Michael Jones
Modified: 2023-01-19 21:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jones 2023-01-19 21:49:47 UTC
I have Gentoo running in a WSL2 container on a windows host. Normally 0 problems. Today elfix is trying to mysteriously write to a WSL specific auto-mounted directory.

emerge -1 --ignore-default-opts elfix
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-apps/elfix-0.9.5::gentoo * elfix-0.9.5.tar.gz BLAKE2B SHA512 size ;-) ...
                                           [ ok ]
 * FEATURES='assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live ccache clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr'
 * CFLAGS='-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -Wl,-O1 -Wl,--as-needed'
 * CXXFLAGS='-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -O2 -pipe -Wl,-O1 -Wl,--as-needed' * FFLAGS='-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -Wl,-O1 -Wl,--as-needed'
 * FCFLAGS='-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -Wl,-O1 -Wl,--as-needed'
 * F77FLAGS='-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -Wl,-O1 -Wl,--as-needed'
 * LDFLAGS='-Wl,-O1 -Wl,--as-needed -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -O2 -pipe'  * MAKEOPTS='-j25'
 * gcc (Gentoo Hardened 11.3.1_p20221209 p3) 11.3.1 20221209
 * g++ (Gentoo Hardened 11.3.1_p20221209 p3) 11.3.1 20221209
 * GNU ld (Gentoo 2.39 p5) 2.39.0
 * Linux mzj-genesys-wsl 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 Intel(R) Core(TM) i9-10920X CPU @ 3.50GHz GenuineIntel GNU/Linux
sys-apps/elfix: 5 minutes, 2 seconds average for 19 merges
2022-03-03T20:11:23 >>> sys-apps/elfix: 35 seconds
2022-03-04T00:07:34 >>> sys-apps/elfix: 19 seconds
2022-03-04T04:15:18 >>> sys-apps/elfix: 2 minutes, 20 seconds
2022-03-17T17:20:49 >>> sys-apps/elfix: 16 seconds
2022-04-13T14:08:24 >>> sys-apps/elfix: 37 minutes, 46 seconds
2022-04-13T19:46:39 >>> sys-apps/elfix: 2 minutes, 3 seconds
2022-04-14T00:07:00 >>> sys-apps/elfix: 2 minutes, 30 seconds
2022-05-31T14:50:40 >>> sys-apps/elfix: 3 minutes, 54 seconds
2022-05-31T21:58:00 >>> sys-apps/elfix: 48 seconds
2022-06-01T02:08:20 >>> sys-apps/elfix: 2 minutes, 53 seconds
2022-06-30T18:11:12 >>> sys-apps/elfix: 53 seconds
2022-07-11T15:28:28 >>> sys-apps/elfix: 32 minutes, 52 seconds
2022-07-27T18:06:14 >>> sys-apps/elfix: 16 seconds
2022-08-02T10:34:24 >>> sys-apps/elfix: 15 seconds
2022-09-09T14:05:59 >>> sys-apps/elfix: 2 minutes, 34 seconds
2022-10-08T14:27:22 >>> sys-apps/elfix: 18 seconds
2022-11-28T18:50:21 >>> sys-apps/elfix: 34 seconds
2022-12-04T17:23:07 >>> sys-apps/elfix: 3 minutes, 27 seconds
2022-12-14T12:32:17 >>> sys-apps/elfix: 1 minute, 9 seconds
>>> Unpacking source...
>>> Unpacking elfix-0.9.5.tar.gz to /var/tmp/portage/sys-apps/elfix-0.9.5/work
>>> Source unpacked in /var/tmp/portage/sys-apps/elfix-0.9.5/work
>>> Preparing source in /var/tmp/portage/sys-apps/elfix-0.9.5/work/elfix-0.9.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/elfix-0.9.5/work/elfix-0.9.5 ...
 * econf: updating elfix-0.9.5/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating elfix-0.9.5/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/elfix-0.9.5 --htmldir=/usr/share/doc/elfix-0.9.5/html --libdir=/usr/lib64 --disable-tests --disable-ptpax --enable-xtpax
checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
 * ACCESS DENIED:  mkdir:         /mnt/wslg/runtime-dir/ccache-tmp
 * ACCESS DENIED:  mkdir:         /mnt/wslg/runtime-dir/ccache-tmp
 * ACCESS DENIED:  mkdir:         /mnt/wslg/runtime-dir/ccache-tmp
 * ACCESS DENIED:  mkdir:         /mnt/wslg/runtime-dir/ccache-tmp
checking whether the C compiler works...  * ACCESS DENIED:  mkdir:         /mnt/wslg/runtime-dir/ccache-tmp
yes

Reproducible: Always
Comment 1 Michael Jones 2023-01-19 21:50:49 UTC
 emerge --info elfix
Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.1, gcc-11, glibc-2.36-r5, 5.15.79.1-microsoft-standard-WSL2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.79.1-microsoft-standard-WSL2-x86_64-Intel-R-_Core-TM-_i9-10920X_CPU_@_3.50GHz-with-glibc2.36
KiB Mem:    32720404 total,  31004208 free
KiB Swap:    8388608 total,   8388608 free
Timestamp of repository gentoo: Thu, 19 Jan 2023 21:32:03 +0000
Head commit of repository gentoo: 32f2d0f4b425cab1df01c006c9008b679142fcc1

Head commit of repository jonesmz-public-overlay: 72d2df2a45c6e616265ca2b47fc80c42d8a4c30d

Head commit of repository lto-overlay: a24c46a21cf51e3465d8f349a2b90b95a6c397af

Head commit of repository mv: 432dd1ddeab80007681e5682e164c38fce81c94f

Head commit of repository plex-overlay: a9b49cac39257a8ee34948128b0fa1aeb17a5a07

Head commit of repository wsdd: 5ff23bd513f2074ada36cb0599f05e7375adcc8b

Head commit of repository steam-overlay: 226725c26fa7f88b72889a494139342ca1729f82

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.7.4 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          252.4::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.6-r1::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.6::gentoo
sys-devel/llvm:            15.0.6-r1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/sync/gentoo.git
    priority: -1000
    volatile: True

jonesmz-public-overlay
    location: /var/db/repos/jonesmz-public-overlay
    sync-type: git
    sync-uri: https://github.com/jonesmz/gentoo-overlay.git
    masters: gentoo
    volatile: True

lto-overlay
    location: /var/db/repos/lto-overlay
    sync-type: git
    sync-uri: https://github.com/InBetweenNames/gentooLTO.git
    masters: gentoo mv
    volatile: True

mv
    location: /var/db/repos/mv
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/user/mv.git
    masters: gentoo
    volatile: True

plex-overlay
    location: /var/db/repos/plex-overlay
    sync-type: git
    sync-uri: https://github.com/comio/plex-overlay
    masters: gentoo
    volatile: True

wsdd
    location: /var/db/repos/wsdd-gentoo
    sync-type: git
    sync-uri: https://github.com/christgau/wsdd-gentoo
    masters: gentoo
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

Installed sets: @archive, @development-cli, @portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt"
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/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newrepo --newuse --changed-use --changed-deps --changed-slot --deep --tree --unordered-display --backtrack=3000 --complete-graph --with-bdeps=y --rebuild-if-new-rev --rebuild-if-new-ver --rebuild-if-unbuilt --rebuilt-binaries --binpkg-respect-use=y --binpkg-changed-deps=y --usepkg=y --buildpkg-exclude 'virtual/* sys-kernel/*-sources */*-bin acct-user/* acct-group/*'"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live ccache clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/etc/init.d/* /usr/share/doc/*/Changelog* /usr/share/doc/*/*/Changelog*"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j25"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="zstd"
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="acl amd64 bzip2 cli crypt dri fortran gdbm hardened iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre pie readline seccomp ssl ssp systemd test-rust udev unicode xattr xtpax zlib" 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="mmx mmxext sse sse2 mmxext sse sse3 lm cmov cx8 fpu fxsr mmx syscall sse2 cx16 lahf_lm popcnt 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="coreboot efi-64 emu qemu pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="aarch64 x86_64" QEMU_USER_TARGETS="aarch64 x86_64" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="vesa" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

sys-apps/elfix-0.9.5::gentoo was built with the following:
USE="xtpax -ptpax" ABI_X86="(64)"
CFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -Wl,-O1 -Wl,--as-needed"
CXXFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -O2 -pipe -Wl,-O1 -Wl,--as-needed"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -O2 -pipe"

mzj-genesys-wsl ~ #
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-19 21:52:01 UTC
It's not elfix, it's ccache.

*** This bug has been marked as a duplicate of bug 887019 ***