[ebuild U ] sys-kernel/genkernel-4.3.16::gentoo [4.3.10::gentoo] USE="firmware (-ibm)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 0 KiB >> Compiling source in /var/tmp/portage/sys-kernel/genkernel-4.3.16/work/genkernel-4.3.16 ... make -j24 PREFIX=/usr install -D genkernel.conf build/genkernel.conf install -D gen_arch.sh build/gen_arch.sh install -D gen_bootloader.sh build/gen_bootloader.sh install -D gen_cmdline.sh build/gen_cmdline.sh install -D gen_compile.sh build/gen_compile.sh install -D gen_configkernel.sh build/gen_configkernel.sh install -D gen_determineargs.sh build/gen_determineargs.sh install -D gen_funcs.sh build/gen_funcs.sh install -D gen_initramfs.sh build/gen_initramfs.sh install -D gen_moddeps.sh build/gen_moddeps.sh install -D gen_package.sh build/gen_package.sh install -D gen_worker.sh build/gen_worker.sh install -D path_expander.py build/path_expander.py install -d build/temp/ install -d build install -D doc/genkernel.8.txt build/doc/genkernel.8.txt install-xattr: setxattr() failed: Operation not permitted install-xattr: setxattr() failed: Operation not permitted install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:193: build/gen_arch.sh] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:193: build/genkernel.conf] Error 1 make: *** [Makefile:193: build/gen_bootloader.sh] Error 1 install-xattr: setxattr() failed: Operation not permitted install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:193: build/gen_determineargs.sh] Error 1 install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:193: build/gen_cmdline.sh] Error 1 make: *** [Makefile:193: build/gen_compile.sh] Error 1 install-xattr: setxattr() failed: Operation not permitted install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:193: build/gen_funcs.sh] Error 1 make: *** [Makefile:193: build/gen_moddeps.sh] Error 1 install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:193: build/gen_worker.sh] Error 1 install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:193: build/gen_configkernel.sh] Error 1 install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:193: build/gen_initramfs.sh] Error 1 install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:193: build/path_expander.py] Error 1 install-xattr: setxattr() failed: Operation not permitted echo -e "VERSION_BCACHE_TOOLS=1.1_p20230217\n" "VERSION_BOOST=1.79.0\n" "VERSION_BTRFS_PROGS=6.7.1\n" "VERSION_BUSYBOX=1.36.1\n" "VERSION_COREUTILS=9.4\n" "VERSION_CRYPTSETUP=2.6.1\n" "VERSION_DMRAID=1.0.0.rc16-3\n" "VERSION_DROPBEAR=2022.83\n" "VERSION_EUDEV=3.2.10\n" "VERSION_EXPAT=2.5.0\n" "VERSION_E2FSPROGS=1.47.0\n" "VERSION_FUSE=2.9.9\n" "VERSION_GPG=1.4.23\n" "VERSION_HWIDS=20210613\n" "VERSION_ISCSI=2.1.8\n" "VERSION_JSON_C=0.17\n" "VERSION_KMOD=31\n" "VERSION_LIBAIO=0.3.113\n" "VERSION_LIBGCRYPT=1.10.3\n" "VERSION_LIBGPGERROR=1.47\n" "VERSION_LIBXCRYPT=4.4.36\n" "VERSION_LVM=2.03.22\n" "VERSION_LZO=2.10\n" "VERSION_MDADM=4.2\n" "VERSION_MULTIPATH_TOOLS=\n" "VERSION_POPT=1.19\n" "VERSION_STRACE=6.7\n" "VERSION_THIN_PROVISIONING_TOOLS=0.9.0\n" "VERSION_UNIONFS_FUSE=2.0\n" "VERSION_USERSPACE_RCU=0.14.0\n" "VERSION_UTIL_LINUX=2.39.3\n" "VERSION_XFSPROGS=6.4.0\n" "VERSION_XZ=5.4.2\n" "VERSION_ZLIB=1.3.1\n" "VERSION_ZSTD=1.5.5\n" > build/temp/versions make: *** [Makefile:193: build/gen_package.sh] Error 1 echo /usr > build/PREFIX install-xattr: setxattr() failed: Operation not permitted make: *** [Makefile:190: build/doc/genkernel.8.txt] Error 1 echo /usr/bin > build/BINDIR cat build/temp/versions defaults/software.sh > build/software.sh echo /etc > build/SYSCONFDIR echo /usr/share/man > build/MANDIR touch build/build-config [31;01m*[0m ERROR: sys-kernel/genkernel-4.3.16::gentoo failed (compile phase): [31;01m*[0m emake failed Reproducible: Always
Created attachment 911605 [details] genkernel.tar.gz
Please provide emerge --info. What type of filesystem does /var/tmp/portage live on? Do you have xattr support disabled there?
(In reply to Mike Gilbert from comment #2) > Please provide emerge --info. > Was already included in attachment > emerge.info Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r5, 6.11.10-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-6.11.10-gentoo-x86_64-x86_64-AMD_Ryzen_9_7900X3D_12-Core_Processor-with-glibc2.40 KiB Mem: 31978544 total, 25711904 free KiB Swap: 38881276 total, 38881276 free Timestamp of repository gentoo: Wed, 27 Nov 2024 07:30:00 +0000 Head commit of repository gentoo: 25b82d9c03d4b0b0a0151af9c6ea13fb1d7e656d Timestamp of repository steam-overlay: Sun, 17 Nov 2024 05:33:32 +0000 Head commit of repository steam-overlay: 443e064b607a92dbad15243732698edc0b411b43 sh bash 5.2_p37 ld GNU ld (Gentoo 2.42 p6) 2.42.0 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.5::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.5.2::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.12.7_p1::gentoo, 3.13.0::gentoo dev-lang/rust: 1.81.0-r100::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-apps/systemd: 256.7::gentoo sys-devel/binutils: 2.42-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/clang: 18.1.8::gentoo sys-devel/gcc: 14.2.1_p20241116::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/llvm: 18.1.8-r1::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r5::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-verify-jobs: 1 sync-rsync-verify-max-age: 3 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: local location: /var/db/repos/local masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=znver4 -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" CXXFLAGS="-O2 -march=znver4 -pipe" DISTDIR="/mnt/win_drv_d/distfiles2" 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 -march=znver4 -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 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="-O2 -march=znver4 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" LINGUAS="de" 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 aacs acl acpi activities alsa amd64 avif bluetooth bluray branding bzip2 cairo cdda cdr cec cet crypt cryptsetup css cups dav1d dbus declarative device-mapper djvu dmraid dri dts dvb dvd dvdr ebook encode epub exif ffmpeg flac flatpak fuse gdbm gif google gphoto2 gpm gtk gui heif iconv icu idn ipv6 joystick jpeg kde kdesu kf6compat kwallet ladspa lcms libnotify libtirpc lirc lm-sensors logrotate lv2 lvm lz4 lzma lzo mad mdadm mjpeg mng mobi mp3 mp4 mpeg mtp multilib multimedia ncurses networkmanager nfs nls ntfs ogg opencl openexr opengl openmp opus pam pango pcre pdf pipewire plasma png policykit postscript ppds pulseaudio qml qt5 qt6 rar raw readline samba scanner screencast sdl seccomp semantic-desktop sftp share smartcard sound speech spell spice ssl startup-notification svg svt-av1 systemd taglib test-rust theora thumbnail tiff touchpad tpm truetype udev udf udisks uefi unicode upower usb v4l vaapi vcd vdpau vnc vorbis vpx vulkan wayland webp widgets wifi wmf wxwidgets x264 x265 xattr xcb xft xml xpm xv xvid xvmc yubikey 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 stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver" 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="ruby32" VIDEO_CARDS="amdgpu radeon radeonsi intel nouveau 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, 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 > What type of filesystem does /var/tmp/portage live on? tmpfs from fstab: tmpfs /var/tmp/portage tmpfs uid=portage,gid=portage,mode=755,size=17000M,noatime 0 0 > Do you have xattr support disabled there? I do not think so. What surprises me is that this installation is 8 years old, and in all that time all updates from genkernel have been installed without any problems. genlop -t genkernel * sys-kernel/genkernel Tue Apr 26 16:39:34 2016 >>> sys-kernel/genkernel-3.4.52.3 merge time: 1 minute and 24 seconds. ... Thu Jul 4 00:46:39 2024 >>> sys-kernel/genkernel-4.3.10 merge time: 18 seconds.
If you unmount that tmpfs or set a new PORTAGE_TMPDIR, does it succeed?
I had the same problem for a few week on genkernel and last week glib started throwing similar errors. I set FEATURES="-xattr" and USE="-xattr", then first rebuilt portage. Afterwards, genkernel and glib finished compiling without error. Not sure if this is the "proper" way to fix it, but I don't need xattr on my filesystems or OS as far as I know. Adding myself to CC on this bug to follow if there is a different way to fix this compile error. Also, I have CONFIG_TMPFS_XATTR set in my .config, so not sure why it doesn't work.