Expected result: bzimage is copied to /boot Actual result: cp exits with non-zero and signals failure to genkernel, the error is: cp: failed to preserve ownership Build log: * Gentoo Linux Genkernel; Version 4.0.4 * Using genkernel configuration from '/etc/genkernel.conf' ... * Running with options: all --loglevel=2 --kernel-cc=ccache gcc --makeopts=-j12 --no-clean --no-mrproper --install --no-symlink --compress-initramfs-type=xz --initramfs-overlay=/usr/src/linux/_setup/overlay --kernel-config=/usr/src/linux/.config --kerneldir=/usr/src/linux --mdadm --btrfs --disklabel --no-zfs --no-netboot --no-iscsi --no-multipath --no-lvm * ARCH 'x86_64' detected ... * Sourcing default modules_load from '/usr/share/genkernel/defaults/modules_load' ... * Sourcing arch-specific config.sh from '/usr/share/genkernel/arch/x86_64/config.sh' ... * Sourcing arch-specific modules_load from '/usr/share/genkernel/arch/x86_64/modules_load' ... * KERNEL_ARCH set to 'x86' ... * Checking for suitable kernel configuration ... * Working with Linux kernel 4.19.72-balmora-x86_64 for x86_64 * Using kernel config file '/usr/src/linux-4.19.72-gentoo/.config' ... * * Note: The version above is subject to change (depends on config and status of kernel sources). * kernel: >> Initializing ... * >> --no-clean is set; Skipping 'make clean' ... * >> --no-mrproper is set; Skipping 'make mrproper' ... * >> Running 'make oldconfig' ... * >> Ensure that CONFIG_LOCALVERSION is set ... * >> Ensure that required kernel options for genkernel's initramfs usage are set ... * >> Ensure that required kernel options for MDADM support are set ... * >> Ensure that required kernel options for early microcode loading support are set ... * >> Re-running 'make oldconfig' due to changed kernel options ... * >> Checking if required kernel options are still present ... * >> Kernel version has not changed since genkernel start * >> Compiling 4.19.72-balmora-x86_64 bzImage ... cp: failed to preserve ownership for '/boot/vmlinuz-4.19.72-balmora-x86_64': Operation not permitted * ERROR: Failed to copy '/usr/src/linux/arch/x86_64/boot/bzImage' to '/boot/vmlinuz-4.19.72-balmora-x86_64'! * Please consult '/var/log/genkernel.log' for more information and any * errors that were reported above. * * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * '/var/log/genkernel.log' so that your issue can be dealt with effectively. * * Please do *not* report kernel compilation failures as genkernel bugs! *
emerge --info Portage 2.3.95 (python 3.6.9-final-0, default/linux/amd64/17.1/systemd, gcc-8.3.0, glibc-2.29-r2, 4.19.72-balmora-z390-2020.4b x86_64) ================================================================= System uname: Linux-4.19.72-balmora-z390-2020.4b-x86_64-Intel-R-_Core-TM-_i5-9600K_CPU_@_3.70GHz-with-gentoo-2.6 KiB Mem: 32782044 total, 9888264 free KiB Swap: 16777212 total, 16777212 free Timestamp of repository gentoo: Tue, 24 Mar 2020 11:00:01 +0000 Head commit of repository gentoo: 67d4d9ce4299e8c81412a4573fa46af28d304fe9 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.32 p2) 2.32.0 ccache version 3.7.2 [enabled] app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.16::gentoo, 3.6.9::gentoo dev-util/ccache: 3.7.2::gentoo dev-util/cmake: 3.14.6::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 6.5.0-r1::gentoo, 8.3.0-r3::gentoo, 9.2.0-r2::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: --timeout=2 --exclude-from=/etc/portage/rsync.exclude --exclude=/local --delete-after --delete-excluded --stats -i genja-ebuilds location: /var/lib/layman/genja-ebuilds masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 50 Installed sets: @admin, @browsers, @cli, @cli2, @core, @core-gentoo, @debug, @dictionary, @emulation, @fmgr, @fonts, @fonts-x11, @lessessential, @media-audio, @net, @net2, @urxvt, @webdev, @x11-apps, @x11-libs ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE OPERA-12 OPERA-2014 PUEL google-chrome dlj-1.1 AdobeFlash-11.x AdobeFlash-10.1 AdobeFlash-10.3 googleearth skype-eula Oracle-BCLA-JavaSE Broadcom GNU-3 GNU3 GNU freedist unRAR ISOC-rfc fairuse gd NVIDIA-r2 Skype-TOS MPEG-4 no-source-code Spotify icu bh-luxi BitstreamCyberbit grass-ipafonts linux-fw-redistributable ValveSteamLicense ipw2200-fw ipw2100-fw" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=skylake" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=skylake" DISTDIR="/G/distfiles" EMERGE_DEFAULT_OPTS=" --usepkg=n --getbinpkg=n --binpkg-respect-use=y --binpkg-changed-deps=n --nospinner --quiet-build n --quiet-fail y --jobs 12 --load-average 9 " ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg ccache clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer 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="-O2 -pipe" GENTOO_MIRRORS=" http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo https://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo ftp://mirrors.tera-byte.com/pub/gentoo https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://ftp.fau.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j6" PKGDIR="/G/binary.balmora/" PORTAGE_BINHOST="http://genja.org/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=2 --exclude-from=/etc/portage/rsync.exclude --exclude=/local --delete-after --delete-excluded --stats -i " 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" USE="a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion bluetooth bzip2 cairo ccache cli crypt curl dbus distcc dri ffmpeg flac fontconfig gdbm glibc-omitfp gpm gstreamer gtk hal icecast iconv imagemagick ipv6 jpeg libtirpc logrotate lzma man mmx mp3 mpd musepack ncurses nptl ogg openmp pam pch pcre pdf png readline samba sdl seccomp semantic-desktop split-usr sse sse2 sse4_1 ssl ssse3 svg systemd tcpd tiff truetype udev unicode vaapi vim-syntax vorbis xattr xcb xcomposite xft xinerama xorg xscreensaver xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions alias access_compat auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter dumpio file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias cgi cgid" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="udev unixsock df interface irq load memory rrdtool swap syslog hddtemp iptables contrib udev apache cpu cpufreg cpusleep csv disk ethstat fhcount lvm md mysql network nfs notify_email ping processes sensors smart tail memcached ping md tail_csv tcpconns thermal threshold turbostat uptime vmem" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 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="efi-64 emu qemu" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="cache_purge fancyindex upstream_check access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Created attachment 676186 [details, diff] possible patch don't try to preserve permissions of fat or ntfs filesystems. idk how relevant ntfs is, but fat is relevand because of UEFI boot.
This is quite an old system and copy of genkernel. Updating may be worthwhile.
I'm not able to reproduce this on current genkernel versions, and my /boot is on vfat
I am also unable to reproduce. Please show us how you mount /boot.