Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Error compiling kernel 6.7: out-of-tree dev-util/scap-driver

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
jmanko
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Sun Sep 11, 2005 5:41 pm
Location: NEPA, USA

Error compiling kernel 6.7: out-of-tree dev-util/scap-driver

  • Quote

Post by jmanko » Thu Jan 11, 2024 2:03 am

I copied my .config from 5.13 to 6.7, and ran the following:

Command and result:

Code: Select all

# genkernel --menuconfig --oldconfig --microcode=none all
* Gentoo Linux Genkernel; Version 4.3.8
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: --menuconfig --oldconfig --microcode=none all

* Working with Linux kernel 6.7.0-gentoo-x86_64 for x86_64
* Using kernel config file '/usr/share/genkernel/arch/x86_64/generated-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' ...
*         >> Will ignore kernel config from '/usr/share/genkernel/arch/x86_64/generated-config'
*            in favor of already existing but different kernel config
*            found in '/usr/src/linux/.config' ...
*         >> Running 'make oldconfig' ...
*         >> Invoking menuconfig ...
*         >> Compiling 6.7.0-gentoo-x86_64 bzImage ...
*         >> Compiling 6.7.0-gentoo-x86_64 modules ...
*         >> Installing 6.7.0-gentoo-x86_64 modules (and stripping) ...
*         >> Generating module dependency data ...
*         >> Compiling out-of-tree module(s) ...

* ERROR: compile_external_modules() failed to compile out-of-tree-modules!
From /var/log/genkernel.log

Code: Select all

cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.o] Error 1
make[2]: *** [/usr/src/linux-6.7.0-gentoo/Makefile:1911: /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.7.0-gentoo'
make: *** [Makefile:16: all] Error 2
 * ERROR: dev-util/scap-driver-0.29.3-r4::gentoo failed (compile phase):
 *   emake failed
 * 
 * Messages for package dev-util/scap-driver-0.29.3-r4:
 * ERROR: dev-util/scap-driver-0.29.3-r4::gentoo failed (compile phase):
 *   emake failed
 * 
cat /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/temp/build.log
(Removed some lines for brevity)

Code: Select all

 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux strip
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Found sources for kernel version:
 *     6.7.0-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-13' '/usr/bin/x86_64-pc-linux-gnu-g++-13' '/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'
 * Applying 0.29.3-fix-kmod-build-on-5.18+.patch ...                     [ ok ]
 * Applying 0.29.3-fix-kmod-build-on-6.2+.patch ...                      [ ok ]
 * Applying 0.29.3-fix-kmod-build-on-6.3+.patch ...                      [ ok ]
 * Applying 0.29.3-fix-kmod-build-on-6.4+.patch ...                      [ ok ]
 * Hardcoded definition(s) removed in CMakeLists.txt:
 *  	SET(CMAKE_BUILD_TYPE Release)
>>> Source prepared.
cmake -C /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DUSE_BUNDLED_DEPS=ON -DCREATE_TEST_TARGETS=OFF -DDRIVER_VERSION=e5c53d648f3c4694385bbe488e7d47eaa36c229a -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/gentoo_toolchain.cmake /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a
loading initial cache file /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/gentoo_common_config.cmake
CMake Deprecation Warning at CMakeLists.txt:33 (cmake_minimum_required):

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Existing strlcpy found, will *not* use local definition by setting -DHAVE_STRLCPY.
CMake Warning (dev) at /usr/share/cmake/Modules/ExternalProject.cmake:3198 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.

-- Driver API version 1.0.0
-- Driver schema version 1.0.0
-- Looking for sys/mkdev.h
-- Looking for sys/mkdev.h - not found
-- Looking for sys/sysmacros.h
-- Looking for sys/sysmacros.h - found

-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe -Wall -ggdb
C++             -march=native -O2 -pipe -Wall -ggdb -std=c++0x
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build
>>> Source configured.

# CC [M]  /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/syscall_table.o
  /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/.syscall_table.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=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -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-strong -fno-stack-clash-protection -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -falign-functions=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 -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare  -DMODULE  -DKBUILD_BASENAME='"syscall_table"' -DKBUILD_MODNAME='"scap"' -D__KBUILD_MODNAME=kmod_scap -c -o /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/syscall_table.o /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/syscall_table.c  
/var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c: In function ‘ppm_get_mm_exe_file’:
/var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c:436:39: error: passing argument 1 of ‘get_file_rcu’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  436 |         if (exe_file && !get_file_rcu(exe_file))
      |                                       ^~~~~~~~
      |                                       |
      |                                       struct file *
In file included from ./include/linux/compat.h:17,
                 from /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.c:12:
./include/linux/fs.h:1046:47: note: expected ‘struct file **’ but argument is of type ‘struct file *’
 1046 | struct file *get_file_rcu(struct file __rcu **f);
      |                           ~~~~~~~~~~~~~~~~~~~~^
# cmd_gen_symversions_c /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/syscall_table.o
  if /usr/bin/x86_64-pc-linux-gnu-gcc-nm /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/syscall_table.o 2>/dev/null | grep -q ' __export_symbol_'; then /usr/bin/x86_64-pc-linux-gnu-gcc-13 -E -D__GENKSYMS__ -Wp,-MMD,/var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/.syscall_table.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=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -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-strong -fno-stack-clash-protection -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -falign-functions=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 -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare  -DMODULE  -DKBUILD_BASENAME='"syscall_table"' -DKBUILD_MODNAME='"scap"' -D__KBUILD_MODNAME=kmod_scap /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/syscall_table.c | scripts/genksyms/genksyms   -r /dev/null >> /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/.syscall_table.o.cmd; fi
# CC [M]  /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_cputime.o
  /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/.ppm_cputime.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=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -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-strong -fno-stack-clash-protection -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -falign-functions=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 -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare  -DMODULE  -DKBUILD_BASENAME='"ppm_cputime"' -DKBUILD_MODNAME='"scap"' -D__KBUILD_MODNAME=kmod_scap -c -o /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_cputime.o /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_cputime.c  
# cmd_gen_symversions_c /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_cputime.o
  if /usr/bin/x86_64-pc-linux-gnu-gcc-nm /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_cputime.o 2>/dev/null | grep -q ' __export_symbol_'; then /usr/bin/x86_64-pc-linux-gnu-gcc-13 -E -D__GENKSYMS__ -Wp,-MMD,/var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/.ppm_cputime.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=branch -fno-jump-tables -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -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-strong -fno-stack-clash-protection -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -falign-functions=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 -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare  -DMODULE  -DKBUILD_BASENAME='"ppm_cputime"' -DKBUILD_MODNAME='"scap"' -D__KBUILD_MODNAME=kmod_scap /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_cputime.c | scripts/genksyms/genksyms   -r /dev/null >> /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/.ppm_cputime.o.cmd; fi
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src/ppm_fillers.o] Error 1
make[2]: *** [/usr/src/linux-6.7.0-gentoo/Makefile:1911: /var/tmp/portage/dev-util/scap-driver-0.29.3-r4/work/libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a_build/driver/src] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.7.0-gentoo'
make: *** [Makefile:16: all] Error 2
 * ERROR: dev-util/scap-driver-0.29.3-r4::gentoo failed (compile phase):
 *   emake failed
 * 
emerge --info '=dev-util/scap-driver-0.29.3-r4::gentoo':

Code: Select all

Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/hardened, gcc-13, glibc-2.38-r9, 5.13.6-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.13.6-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_E-2236_CPU_@_3.40GHz-with-glibc2.38
KiB Mem:    32468048 total,   7261824 free
KiB Swap:     524284 total,    523508 free
Timestamp of repository gentoo: Wed, 10 Jan 2024 15:00:02 +0000
Head commit of repository gentoo: 954c61ffc4a2edfde2d47dfc4bdc8bacdb48af2e
sh bash 5.2_p21-r2
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           2.7.18_p16-r1::gentoo, 3.8.18::gentoo, 3.9.18::gentoo, 3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-util/cmake:            3.28.1-r1::gentoo
dev-util/meson:            1.3.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.52.1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.71-r7::gentoo, 2.72-r1::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r6::gentoo, 2.41-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20231216::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r2::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

godin
    location: /var/lib/layman/godin
    masters: gentoo
    priority: 50
    volatile: True

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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 cet cli crypt dri fortran gdbm hardened iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre pic pie readline seccomp split-usr ssl ssp test-rust unicode xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock defalte dir env expires ext_filter filter headers include info log_config logio mem_cache mime negotiation rewrite setenvif socache_shmcb speling status unique_id usertrack vhost_alias version" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" 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, LINGUAS, MAKE, MAKEFLAGS, 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

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

dev-util/scap-driver-0.29.3-r4::gentoo was built with the following:
USE="strip -dist-kernel -modules-sign" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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"

emerge -pqv '=dev-util/scap-driver-0.29.3-r4::gentoo':

Code: Select all

[ebuild   R   ] dev-util/scap-driver-0.29.3-r4  USE="strip -dist-kernel -modules-compress% -modules-sign" 
Last edited by jmanko on Thu Jan 11, 2024 2:28 am, edited 1 time in total.
"What stands in the way becomes the way." -- Marcus Aurelius
Top
grknight
Retired Dev
Retired Dev
Posts: 2564
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Thu Jan 11, 2024 2:15 am

Upstream fix posted at https://github.com/falcosecurity/libs/pull/1566
This may or may not need changes based on other patches and driver version
Top
jmanko
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Sun Sep 11, 2005 5:41 pm
Location: NEPA, USA

  • Quote

Post by jmanko » Thu Jan 11, 2024 2:25 am

wow, portage is way behind with versions.
"What stands in the way becomes the way." -- Marcus Aurelius
Top
sam_
Developer
Developer
User avatar
Posts: 2816
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Thu Jan 11, 2024 2:11 pm

The proxied maintainer has already posted a fix at https://github.com/gentoo/gentoo/pull/34593[b][/b]. He did explain the situation with the versioning somewhere as well but I can't find it right now.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic