Skip to content

Instantly share code, notes, and snippets.

@stintel

stintel/stdin Secret

Created March 28, 2024 16:46
Show Gist options
  • Save stintel/72e0063b3f949c18e70271a7b8519fa2 to your computer and use it in GitHub Desktop.
Save stintel/72e0063b3f949c18e70271a7b8519fa2 to your computer and use it in GitHub Desktop.
stdin
>>> Started genkernel v4.3.10 on: 2024-03-28 18:25:18
* Gentoo Linux Genkernel; Version 4.3.10
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: all
* Resolving config file, command line, and arch default settings.
* TMPDIR defaulted to "/var/tmp/genkernel".
* LOGFILE set in config file to "/var/log/genkernel.log".
* KERNEL_DIR defaulted to "/usr/src/linux".
* KERNEL_MODULES_PREFIX not set.
* KERNEL_SOURCES defaulted to "yes".
* INITRAMFS_FILENAME defaulted to "initramfs-%%KV%%.img".
* INITRAMFS_SYMLINK_NAME defaulted to "initramfs".
* KERNEL_CONFIG_FILENAME defaulted to "kernel-config-%%KV%%".
* KERNEL_FILENAME defaulted to "vmlinuz-%%KV%%".
* KERNEL_SYMLINK_NAME defaulted to "kernel".
* SYSTEMMAP_FILENAME defaulted to "System.map-%%KV%%".
* SYSTEMMAP_SYMLINK_NAME defaulted to "System.map".
* CHECK_FREE_DISK_SPACE_BOOTDIR not set.
* CHECK_FREE_DISK_SPACE_KERNELOUTPUTDIR not set.
* COMPRESS_INITRD defaulted to "yes".
* COMPRESS_INITRD_TYPE defaulted to "best".
* CHOST defaulted to "aarch64-unknown-linux-gnu".
* MAKEOPTS defaulted to "-j8".
* NICE defaulted to "10".
* KERNEL_CROSS_COMPILE not set.
* KERNEL_AS defaulted to "as".
* KERNEL_AR defaulted to "ar".
* KERNEL_CC defaulted to "gcc".
* KERNEL_CXX defaulted to "g++".
* KERNEL_CFLAGS not set.
* KERNEL_LD defaulted to "ld".
* KERNEL_MAKE defaulted to "make".
* KERNEL_NM defaulted to "nm".
* KERNEL_OBJCOPY defaulted to "objcopy".
* KERNEL_OBJDUMP defaulted to "objdump".
* KERNEL_RANLIB defaulted to "ranlib".
* KERNEL_READELF defaulted to "readelf".
* KERNEL_STRIP defaulted to "strip".
* UTILS_AS defaulted to "as".
* UTILS_AR defaulted to "ar".
* UTILS_CC defaulted to "gcc".
* UTILS_CFLAGS defaulted to "-Os -pipe -fomit-frame-pointer".
* UTILS_CXX defaulted to "g++".
* UTILS_LD defaulted to "ld".
* UTILS_NM defaulted to "nm".
* UTILS_MAKE defaulted to "make".
* UTILS_OBJCOPY defaulted to "objcopy".
* UTILS_OBJDUMP defaulted to "objdump".
* UTILS_RANLIB defaulted to "ranlib".
* UTILS_READELF defaulted to "readelf".
* UTILS_STRIP defaulted to "strip".
* CROSS_COMPILE not set.
* BOOTDIR defaulted to "/boot".
* KERNEL_APPEND_LOCALVERSION not set.
* KERNEL_LOCALVERSION defaulted to "-%%ARCH%%".
* MODPROBEDIR defaulted to "/etc/modprobe.d".
* SPLASH defaulted to "no".
* PLYMOUTH defaulted to "no".
* CLEAR_CACHEDIR defaulted to "no".
* POSTCLEAR defaulted to "no".
* MRPROPER defaulted to "yes".
* MENUCONFIG defaulted to "no".
* GCONFIG defaulted to "no".
* NCONFIG defaulted to "no".
* XCONFIG defaulted to "no".
* CLEAN defaulted to "yes".
* MINKERNPACKAGE not set.
* MODULESPACKAGE not set.
* MODULEREBUILD defaulted to "yes".
* MODULEREBUILD_CMD defaulted to "emerge --ignore-default-opts --buildpkg=n --usepkg=n --quiet-build=y @module-rebuild".
* KERNCACHE not set.
* RAMDISKMODULES defaulted to "yes".
* ALLRAMDISKMODULES defaulted to "no".
* INITRAMFS_OVERLAY not set.
* LINUXRC not set.
* MOUNTBOOT defaulted to "yes".
* BUILD_STATIC defaulted to "no".
* SAVE_CONFIG defaulted to "yes".
* SYMLINK defaulted to "no".
* OLDCONFIG defaulted to "yes".
* SANDBOX defaulted to "yes".
* SSH set in config file to "no".
* SSH_AUTHORIZED_KEYS_FILE defaulted to "/etc/dropbear/authorized_keys".
* SSH_HOST_KEYS defaulted to "create".
* STRACE defaulted to "no".
* BCACHE set in config file to "no".
* LVM set in config file to "no".
* DMRAID set in config file to "no".
* ISCSI set in config file to "no".
* HYPERV defaulted to "no".
* BOOTFONT defaulted to "none".
* BOOTLOADER set in config file to "grub2".
* B2SUM defaulted to "no".
* BUSYBOX defaulted to "yes".
* BUSYBOX_CONFIG not set.
* NFS set in config file to "no".
* MICROCODE defaulted to "all".
* MICROCODE_INITRAMFS defaulted to "no".
* UNIONFS set in config file to "no".
* NETBOOT defaulted to "no".
* REAL_ROOT not set.
* LUKS set in config file to "no".
* GPG defaulted to "no".
* KEYCTL set in config file to "no".
* MDADM set in config file to "no".
* MDADM_CONFIG not set.
* E2FSPROGS defaulted to "no".
* XFSPROGS set in config file to "no".
* ZFS set in config file to "no".
* BTRFS set in config file to "no".
* VIRTIO defaulted to "no".
* MULTIPATH set in config file to "no".
* FIRMWARE defaulted to "no".
* ALLFIRMWARE defaulted to "no".
* FIRMWARE_DIR defaulted to "/lib/firmware".
* FIRMWARE_FILES not set.
* FIRMWARE_INSTALL defaulted to "no".
* INTEGRATED_INITRAMFS defaulted to "no".
* WRAP_INITRD defaulted to "no".
* GENZIMAGE defaulted to "no".
* KEYMAP defaulted to "yes".
* DOKEYMAPAUTO defaulted to "no".
* STRIP_TYPE defaulted to "modules".
* INSTALL defaulted to "yes".
* CLEANUP defaulted to "yes".
* KERNEL_OUTPUTDIR defaulted to "/usr/src/linux".
* Read 'aarch64' from 'uname -m' ...
* ARCH 'arm64' detected ...
* CBUILD set to 'aarch64-unknown-linux-gnu' ...
* CHOST set to 'aarch64-unknown-linux-gnu' ...
* Sourcing default modules_load from '/usr/share/genkernel/defaults/modules_load' ...
* Sourcing arch-specific config.sh from '/usr/share/genkernel/arch/arm64/config.sh' ...
* Sourcing arch-specific modules_load from '/usr/share/genkernel/arch/arm64/modules_load' ...
* <config> Merged AMODULES_SCSI:'apple-dart apple-dockchannel apple-mailbox apple-rtkit-helper dockchannel-hid dwc3 dwc3-of-simple gpio_macsmc i2c-apple macsmc macsmc-rtkit nvme-apple nvmem_spmi_mfd nvmem-apple-efuses pcie-apple pinctrl-apple-gpio phy-apple-atc rtc-macsmc simple-mfd-spmi spi-apple spi-hid-apple spi-hid-apple-of spmi-apple-controller tps6598x xhci-pci' into MODULES_SCSI
* Unable to determine LOCALVERSION -- maybe cleaned/fresh sources?
* KERNEL_ARCH set to 'arm64' ...
* GK_FILENAME_CONFIG set to 'kernel-config-6.8.2' (was: 'kernel-config-%%KV%%')
* GK_FILENAME_KERNEL set to 'vmlinuz-6.8.2' (was: 'vmlinuz-%%KV%%')
* GK_FILENAME_KERNEL_SYMLINK set to 'kernel' (was: 'kernel')
* GK_FILENAME_SYSTEMMAP set to 'System.map-6.8.2' (was: 'System.map-%%KV%%')
* GK_FILENAME_SYSTEMMAP_SYMLINK set to 'System.map' (was: 'System.map')
* GK_FILENAME_INITRAMFS set to 'initramfs-6.8.2.img' (was: 'initramfs-%%KV%%.img')
* GK_FILENAME_INITRAMFS_SYMLINK set to 'initramfs' (was: 'initramfs')
* Checking for suitable kernel configuration ...
* - '/etc/kernels/kernel-config-6.8.2' not found; Skipping ...
* Working with Linux kernel 6.8.2 for arm64
* Using kernel config file '/etc/kernels/kernel-config-6.8.2-arm64' ...
*
* Note: The version above is subject to change (depends on config and status of kernel sources).
* mount: >> '/boot' is not a mountpoint; Assuming no separate boot partition ...
* kernel: >> Initializing ...
* >> --mrproper is set; Skipping 'make clean' ...
* >> Running 'make mrproper' ...
COMMAND: nice -n10 make -j8 ARCH='arm64' AS='aarch64-unknown-linux-gnu-as' AR='aarch64-unknown-linux-gnu-ar' CC='aarch64-unknown-linux-gnu-gcc' LD='aarch64-unknown-linux-gnu-ld' NM='aarch64-unknown-linux-gnu-nm' OBJCOPY='aarch64-unknown-linux-gnu-objcopy' OBJDUMP='aarch64-unknown-linux-gnu-objdump' READELF='aarch64-unknown-linux-gnu-readelf' STRIP='aarch64-unknown-linux-gnu-strip' HOSTAR='aarch64-unknown-linux-gnu-ar' HOSTCC='aarch64-unknown-linux-gnu-gcc' HOSTCXX='aarch64-unknown-linux-gnu-g++' HOSTLD='aarch64-unknown-linux-gnu-ld' mrproper
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated .config .config.old
* >> Copying '/etc/kernels/kernel-config-6.8.2-arm64' to '/usr/src/linux/.config' ...
* >> Running 'make oldconfig' ...
COMMAND: nice -n10 make -j8 ARCH='arm64' AS='aarch64-unknown-linux-gnu-as' AR='aarch64-unknown-linux-gnu-ar' CC='aarch64-unknown-linux-gnu-gcc' LD='aarch64-unknown-linux-gnu-ld' NM='aarch64-unknown-linux-gnu-nm' OBJCOPY='aarch64-unknown-linux-gnu-objcopy' OBJDUMP='aarch64-unknown-linux-gnu-objdump' READELF='aarch64-unknown-linux-gnu-readelf' STRIP='aarch64-unknown-linux-gnu-strip' HOSTAR='aarch64-unknown-linux-gnu-ar' HOSTCC='aarch64-unknown-linux-gnu-gcc' HOSTCXX='aarch64-unknown-linux-gnu-g++' HOSTLD='aarch64-unknown-linux-gnu-ld' oldconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/expr.o
HOSTCC scripts/kconfig/confdata.o
YACC scripts/kconfig/parser.tab.[ch]
LEX scripts/kconfig/lexer.lex.c
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
* >> Ensure that required kernel options for genkernel's initramfs usage are set ...
* - Option 'CONFIG_BLK_DEV_INITRD=y' already set in '/usr/src/linux/.config'; Skipping ...
* - Option 'CONFIG_MMU=y' already set in '/usr/src/linux/.config'; Skipping ...
* - Option 'CONFIG_SHMEM=y' already set in '/usr/src/linux/.config'; Skipping ...
* - Option 'CONFIG_TMPFS=y' already set in '/usr/src/linux/.config'; Skipping ...
* - Option 'CONFIG_TTY=y' already set in '/usr/src/linux/.config'; Skipping ...
* - Option 'CONFIG_UNIX98_PTYS=y' already set in '/usr/src/linux/.config'; Skipping ...
* Determining 'BEST' compression method for initramfs using kernel config '/usr/src/linux/.config' ...
* Checking if we can use 'XZ' compression ...
* Will use 'XZ' compression -- all requirements are met!
* - Option 'CONFIG_RD_XZ=y' already set in '/usr/src/linux/.config'; Skipping ...
* >> Ensure that CONFIG_LOCALVERSION is set ...
* - Option 'CONFIG_LOCALVERSION="-arm64"' already set in '/usr/src/linux/.config'; Skipping ...
* >> Ignoring --microcode parameter; Architecture does not support microcode loading ...
* >> genkernel did not need to add/modify any kernel options.
COMMAND: nice -n10 make -j8 ARCH='arm64' AS='aarch64-unknown-linux-gnu-as' AR='aarch64-unknown-linux-gnu-ar' CC='aarch64-unknown-linux-gnu-gcc' LD='aarch64-unknown-linux-gnu-ld' NM='aarch64-unknown-linux-gnu-nm' OBJCOPY='aarch64-unknown-linux-gnu-objcopy' OBJDUMP='aarch64-unknown-linux-gnu-objdump' READELF='aarch64-unknown-linux-gnu-readelf' STRIP='aarch64-unknown-linux-gnu-strip' HOSTAR='aarch64-unknown-linux-gnu-ar' HOSTCC='aarch64-unknown-linux-gnu-gcc' HOSTCXX='aarch64-unknown-linux-gnu-g++' HOSTLD='aarch64-unknown-linux-gnu-ld' prepare
WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h
WRAP arch/arm64/include/generated/uapi/asm/errno.h
WRAP arch/arm64/include/generated/uapi/asm/ioctl.h
WRAP arch/arm64/include/generated/uapi/asm/ioctls.h
UPD include/generated/uapi/linux/version.h
WRAP arch/arm64/include/generated/uapi/asm/ipcbuf.h
WRAP arch/arm64/include/generated/uapi/asm/msgbuf.h
WRAP arch/arm64/include/generated/uapi/asm/poll.h
WRAP arch/arm64/include/generated/uapi/asm/resource.h
WRAP arch/arm64/include/generated/uapi/asm/sembuf.h
WRAP arch/arm64/include/generated/uapi/asm/shmbuf.h
WRAP arch/arm64/include/generated/uapi/asm/siginfo.h
WRAP arch/arm64/include/generated/uapi/asm/socket.h
WRAP arch/arm64/include/generated/uapi/asm/sockios.h
WRAP arch/arm64/include/generated/uapi/asm/stat.h
UPD include/generated/compile.h
WRAP arch/arm64/include/generated/uapi/asm/swab.h
WRAP arch/arm64/include/generated/uapi/asm/termbits.h
WRAP arch/arm64/include/generated/uapi/asm/types.h
WRAP arch/arm64/include/generated/uapi/asm/termios.h
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
WRAP arch/arm64/include/generated/asm/early_ioremap.h
HOSTCC scripts/dtc/data.o
WRAP arch/arm64/include/generated/asm/mcs_spinlock.h
HOSTCC scripts/dtc/livetree.o
WRAP arch/arm64/include/generated/asm/qrwlock.h
WRAP arch/arm64/include/generated/asm/qspinlock.h
WRAP arch/arm64/include/generated/asm/parport.h
WRAP arch/arm64/include/generated/asm/user.h
WRAP arch/arm64/include/generated/asm/bugs.h
WRAP arch/arm64/include/generated/asm/cfi.h
WRAP arch/arm64/include/generated/asm/delay.h
WRAP arch/arm64/include/generated/asm/div64.h
WRAP arch/arm64/include/generated/asm/dma-mapping.h
WRAP arch/arm64/include/generated/asm/dma.h
WRAP arch/arm64/include/generated/asm/emergency-restart.h
WRAP arch/arm64/include/generated/asm/hw_irq.h
WRAP arch/arm64/include/generated/asm/irq_regs.h
WRAP arch/arm64/include/generated/asm/kdebug.h
WRAP arch/arm64/include/generated/asm/kmap_size.h
WRAP arch/arm64/include/generated/asm/local.h
WRAP arch/arm64/include/generated/asm/local64.h
WRAP arch/arm64/include/generated/asm/mmiowb.h
WRAP arch/arm64/include/generated/asm/msi.h
WRAP arch/arm64/include/generated/asm/serial.h
WRAP arch/arm64/include/generated/asm/softirq_stack.h
WRAP arch/arm64/include/generated/asm/switch_to.h
WRAP arch/arm64/include/generated/asm/trace_clock.h
WRAP arch/arm64/include/generated/asm/unaligned.h
WRAP arch/arm64/include/generated/asm/vga.h
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
YACC scripts/dtc/dtc-parser.tab.[ch]
LEX scripts/dtc/dtc-lexer.lex.c
HOSTCC scripts/dtc/libfdt/fdt.o
HOSTCC scripts/dtc/libfdt/fdt_ro.o
HOSTCC scripts/dtc/libfdt/fdt_wip.o
HOSTCC scripts/dtc/libfdt/fdt_sw.o
HOSTCC scripts/dtc/libfdt/fdt_rw.o
HOSTCC scripts/dtc/libfdt/fdt_strerror.o
HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o
HOSTCC scripts/dtc/libfdt/fdt_addresses.o
HOSTCC scripts/dtc/libfdt/fdt_overlay.o
HOSTCC scripts/dtc/fdtoverlay.o
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/fdtoverlay
HOSTLD scripts/dtc/dtc
HOSTCC scripts/kallsyms
HOSTRUSTC scripts/generate_rust_target
HOSTCC scripts/asn1_compiler
HOSTCC scripts/sorttable
UPD include/config/kernel.release
UPD include/generated/utsrelease.h
UPD scripts/target.json
GEN arch/arm64/include/generated/asm/sysreg-defs.h
GEN arch/arm64/include/generated/asm/cpucap-defs.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
CC scripts/mod/devicetable-offsets.s
UPD scripts/mod/devicetable-offsets.h
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/mod/symsearch.o
HOSTLD scripts/mod/modpost
CC kernel/bounds.s
CHKSHA1 include/linux/atomic/atomic-instrumented.h
CHKSHA1 include/linux/atomic/atomic-long.h
CHKSHA1 include/linux/atomic/atomic-arch-fallback.h
UPD include/generated/timeconst.h
UPD include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
UPD include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
LDS arch/arm64/kernel/vdso/vdso.lds
CC arch/arm64/kernel/vdso/vgettimeofday.o
AS arch/arm64/kernel/vdso/note.o
AS arch/arm64/kernel/vdso/sigreturn.o
LD arch/arm64/kernel/vdso/vdso.so.dbg
VDSOSYM include/generated/vdso-offsets.h
OBJCOPY arch/arm64/kernel/vdso/vdso.so
***
*** Rust compiler 'rustc' is too new. This may or may not work.
*** Your version: 1.75.0
*** Expected version: 1.74.1
***
***
*** Rust bindings generator 'bindgen' is too new. This may or may not work.
*** Your version: 0.68.1
*** Expected version: 0.65.1
***
***
*** Please see Documentation/rust/quick-start.rst for details
*** on how to set up the Rust support.
***
RUSTC L rust/core.o
BINDGEN rust/bindings/bindings_generated.rs
BINDGEN rust/bindings/bindings_helpers_generated.rs
BINDGEN rust/uapi/uapi_generated.rs
warning: unknown and unstable feature specified for `-Ctarget-feature`: `fp-armv8`
|
= note: it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
= help: consider filing a feature request
warning: 1 warning emitted
EXPORTS rust/exports_core_generated.h
RUSTC P rust/libmacros.so
RUSTC L rust/compiler_builtins.o
warning: unknown and unstable feature specified for `-Ctarget-feature`: `fp-armv8`
|
= note: it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
= help: consider filing a feature request
warning: 1 warning emitted
RUSTC L rust/alloc.o
RUSTC L rust/bindings.o
RUSTC L rust/build_error.o
RUSTC L rust/uapi.o
warning: unknown and unstable feature specified for `-Ctarget-feature`: `fp-armv8`
|
= note: it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
= help: consider filing a feature request
error[E0432]: unresolved imports `core::ops::Generator`, `core::ops::GeneratorState`
--> /usr/src/linux/rust/alloc/boxed.rs:164:54
|
164 | CoerceUnsized, Deref, DerefMut, DispatchFromDyn, Generator, GeneratorState, Receiver,
| ^^^^^^^^^ ^^^^^^^^^^^^^^ no `GeneratorState` in `ops`
| |
| no `Generator` in `ops`
warning: 1 warning emitted
error: aborting due to previous error
For more information about this error, try `rustc --explain E0432`.
make[2]: *** [rust/Makefile:449: rust/alloc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
warning: unknown and unstable feature specified for `-Ctarget-feature`: `fp-armv8`
|
= note: it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
= help: consider filing a feature request
warning: 1 warning emitted
warning: unknown and unstable feature specified for `-Ctarget-feature`: `fp-armv8`
|
= note: it is still passed through to the codegen backend, but use of this feature might be unsound and the behavior of this feature can change in the future
= help: consider filing a feature request
warning: 1 warning emitted
make[1]: *** [/usr/src/linux/Makefile:1205: prepare] Error 2
make: *** [Makefile:240: __sub-make] Error 2
* ERROR: compile_generic() failed to compile the "prepare" target!
* 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!
*
* mount: >> '/boot' is not a mountpoint; Nothing to restore ...
>>> Ended on: 2024-03-28 18:25:32 (after 0 days 0 hours 00 minutes 15 seconds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment