Skip to content

Instantly share code, notes, and snippets.

@jaypeche
Created May 27, 2025 20:40
Show Gist options
  • Save jaypeche/8bb033d22dac71c8bfc05e402b970edb to your computer and use it in GitHub Desktop.
Save jaypeche/8bb033d22dac71c8bfc05e402b970edb to your computer and use it in GitHub Desktop.
These are the packages that would be merged, in order:
Calculating dependencies
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
..... done!
Dependency resolution took 1.56 s (backtrack: 0/20).
[ebuild N ~] sys-devel/asus-armoury-20240911_p3::strix-overlay USE="strip -dist-kernel -modules-compress -modules-sign" 0 KiB
Total: 1 package (1 new), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-devel/asus-armoury-20240911_p3::strix-overlay
* asus-armoury-20240911_p3.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 6.12.21-gentoo-x86_64
* Checking for suitable kernel configuration options ...
 [ ok ]
* Preparing x86_64-pc-linux-gnu toolchain for kernel modules (override with KERNEL_CHOST) ...
* Toolchain picked for kernel modules (override with KERNEL_CC, _LD, ...): '/usr/bin/x86_64-pc-linux-gnu-gcc-14' '/usr/bin/x86_64-pc-linux-gnu-g++-14' '/usr/bin/x86_64-pc-linux-gnu-ld.bfd' '/usr/bin/x86_64-pc-linux-gnu-gcc-ar' '/usr/bin/x86_64-pc-linux-gnu-gcc-nm' '/usr/bin/x86_64-pc-linux-gnu-objcopy' '/usr/bin/x86_64-pc-linux-gnu-objdump' '/usr/bin/x86_64-pc-linux-gnu-readelf' '/usr/bin/x86_64-pc-linux-gnu-strip'
>>> Unpacking source...
>>> Unpacking asus-armoury-20240911_p3.tar.gz to /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work
>>> Source unpacked in /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work
>>> Preparing source in /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3 ...
* Applying asus-wmi-gentoo.diff ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3 ...
* Building asus-armoury module in /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3 ...
make -j15 -l8 ARCH=x86 V=1 KBUILD_VERBOSE=1 CONFIG_WERROR= CONFIG_MODULE_SIG_ALL= CONFIG_MODULE_COMPRESS_ALL= CONFIG_MODULE_COMPRESS_GZIP= CONFIG_MODULE_COMPRESS_XZ= CONFIG_MODULE_COMPRESS_ZSTD= DEPMOD=true STRIP=true CROSS_COMPILE=x86_64-pc-linux-gnu- HOSTCC=x86_64-pc-linux-gnu-gcc HOSTCXX=x86_64-pc-linux-gnu-g++ 'HOSTCFLAGS=-march=raptorlake -O2 -pipe' 'HOSTCXXFLAGS=-march=raptorlake -O2 -pipe' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs' HOSTPKG_CONFIG=x86_64-pc-linux-gnu-pkg-config CC=/usr/bin/x86_64-pc-linux-gnu-gcc-14 CXX=/usr/bin/x86_64-pc-linux-gnu-g++-14 LD=/usr/bin/x86_64-pc-linux-gnu-ld.bfd AR=/usr/bin/x86_64-pc-linux-gnu-gcc-ar NM=/usr/bin/x86_64-pc-linux-gnu-gcc-nm OBJCOPY=/usr/bin/x86_64-pc-linux-gnu-objcopy OBJDUMP=/usr/bin/x86_64-pc-linux-gnu-objdump READELF=/usr/bin/x86_64-pc-linux-gnu-readelf KVERSION=6.12.21-gentoo-x86_64 modules
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-pc-linux-gnu-gcc (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221
You are using: x86_64-pc-linux-gnu-gcc-14 (Gentoo 14.2.1_p20241221 p7) 14.2.1 20241221
make -f ./scripts/Makefile.build obj=/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3 need-builtin=1 need-modorder=1
# CC [M] /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.o
/usr/bin/x86_64-pc-linux-gnu-gcc-14 -Wp,-MMD,/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/.asus-armoury.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=core2 -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fmin-function-alignment=16 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-main -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wextra -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -DOXP_PLATFORM_DRIVER_VERSION='"20240911.3"' -DMODULE -DKBUILD_BASENAME='"asus_armoury"' -DKBUILD_MODNAME='"asus_armoury"' -D__KBUILD_MODNAME=kmod_asus_armoury -c -o /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.o /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --orc --retpoline --rethunk --static-call --uaccess --prefix=16 --module /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.o
# cmd_mod /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.mod
printf '%s\n' asus-armoury.o | awk '!x[$0]++ { print("/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/"$0) }' > /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.mod
/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.c: In function ‘asus_fw_attr_add’:
/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.c:911:50: error: ‘asus_rog_ally_device’ undeclared (first use in this function)
911 | dmi_check_system(asus_rog_ally_device))
| ^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.c:911:50: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:229: /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3/asus-armoury.o] Error 1
make[1]: *** [Makefile:1946: /var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3] Error 2
make: *** [Makefile:74: modules] Error 2
* ERROR: sys-devel/asus-armoury-20240911_p3::strix-overlay failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-devel/asus-armoury-20240911_p3::strix-overlay'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/asus-armoury-20240911_p3::strix-overlay'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3'
* S: '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3'
>>> Failed to emerge sys-devel/asus-armoury-20240911_p3, Log file:
>>> '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/temp/build.log'
* Messages for package sys-devel/asus-armoury-20240911_p3:
* ERROR: sys-devel/asus-armoury-20240911_p3::strix-overlay failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-devel/asus-armoury-20240911_p3::strix-overlay'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/asus-armoury-20240911_p3::strix-overlay'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3'
* S: '/var/tmp/portage/sys-devel/asus-armoury-20240911_p3/work/asus-armoury-20240911.3'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment