Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 899841 Details for
Bug 919693
sys-process/atop-2.9.0-r1 fails after kernel upgrade
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Logs for trying to build atop modules with mismatching uname -r and eselect kernel show
file_919693.txt (text/plain), 35.37 KB, created by
benoit.dufour
on 2024-08-11 13:02:41 UTC
(
hide
)
Description:
Logs for trying to build atop modules with mismatching uname -r and eselect kernel show
Filename:
MIME Type:
Creator:
benoit.dufour
Created:
2024-08-11 13:02:41 UTC
Size:
35.37 KB
patch
obsolete
>tux ~ # >emerge --ask --verbose sys-process/atop > >!!! Your current profile is deprecated and not supported anymore. >!!! Use eselect profile to update your profile. >!!! Please upgrade to the following profile if possible: > > default/linux/amd64/23.0/split-usr/desktop > >To upgrade do the following steps: > >A profile upgrade to version 23.0 is available for your architecture. >The new 23.0 profiles enable some toolchain hardening features and >performance enhancements by default, and standardize settings. >You can find the list of changes on the wiki tracking page [1]. > >Upgrade instructions > >Note 1: If you have manually changed your CHOST to a value different from >what the stages and profiles set, you may have to do that in the future too. >In that case you should know what you are doing, hopefully; please read the >instructions with a critical eye then. > >Note 2: In case you are already familiar with binary packages, you should be >able to add "--getbinpkg" to the emerge calls to speed things up. >The use of binary packages is completely optional though, and also not >as much tested as the source-based upgrade path yet. > >1. Ensure your system backups are up to date. Please also update > your system fully and depclean before proceeding. > glibc older than 2.36 and musl older than 1.2.4 is not supported anymore. > >2. If you are still using one of the long-deprecated amd64 17.0 profiles > (other than x32 or musl), then first complete the migration to the > corresponding 17.1 profile. Instructions can be found at [3]. > >3. If you are currently using systemd in a split-usr configuration, then first > complete the migration to the corresponding merged-usr profile of the > same profile version. Details on how to do this can be found in the news > item [4]. > If you are currently using openrc, migrate to 23.0 first, keeping your disk > layout. If you want to move from split-usr to merged-usr, do that afterwards. > >4. Run "emerge --info" and note down the value of the CHOST variable. > >5. Edit /etc/portage/make.conf; if there is a line defining the CHOST variable, > remove it. Also delete all lines defining CHOST_... variables. > >6. Select the 23.0 profile corresponding to your current profile, either using > "eselect profile" or by manually setting the profile symlink. > Note that old profiles are by default split-usr and the 23.0 profiles by > default merged-usr. Do NOT change directory scheme now, since this will > mess up your system! > Instead, make sure that the new profile has the same property: for example, > OLD default/linux/amd64/17.1 > ==> NEW default/linux/amd64/23.0/split-usr > (added "split-usr") > OLD default/linux/amd64/17.1/systemd/merged-usr > ==> NEW default/linux/amd64/23.0/systemd > (removed "merged-usr") > A detailed table of the upgrade paths can be found at [5]. Please consult it. > In some cases (hppa, x86) the table will tell you to pick between two choices. > What you need should be obvious from your *old* CHOST value (from step 4). > >7. Delete the contents of your binary package cache at ${PKGDIR} > rm -r /var/cache/binpkgs/* > >8. In the file or directory /etc/portage/binrepos.conf (if existing), update > the URI in all configuration such that they point to 23.0 profile binhost > directories. The exact paths can be found in the table at [5], too. > >9. Rebuild or reinstall from binary (if available) the following packages in > this order, with the same version as already active: > emerge --ask --oneshot sys-devel/binutils > (you may have to run binutils-config and re-select your binutils now) > emerge --ask --oneshot sys-devel/gcc > (IMPORTANT: If this command wants to rebuild glibc first, do *not* let it do > that; instead, abort and try again with --nodeps added to the command line.) > (you may have to run gcc-config and re-select your gcc now) > and the C library, i.e. for glibc-based systems > emerge --ask --oneshot sys-libs/glibc > or for musl-based systems > emerge --ask --oneshot sys-libs/musl > >10. Re-run "emerge --info" and check if CHOST has changed compared to step 4. > >If the CHOST has NOT changed, skip to step 13 (env-update). Otherwise, > >11. Recheck with binutils-config and gcc-config that valid installed versions > of binutils and gcc are selected. > >12. Check /etc/env.d, /etc/env.d/binutils, and /etc/env.d/gcc for files that > refer to the *OLD* CHOST value, and remove them. > Examples how to do this can be found in the similar procedure at [6]. > >13. Run env-update && source /etc/profile > >14. Re-emerge libtool: > emerge --ask --oneshot libtool > >15. Just for safety, delete the contents of your binary package cache at > ${PKGDIR} again: > rm -r /var/cache/binpkgs/* > >16. Rebuild world: > emerge --ask --emptytree @world > >[1] https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_profile_transition >[2] https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_profile_timeline >[3] https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are-now-stable.html >[4] https://www.gentoo.org/support/news-items/2022-12-01-systemd-usrmerge.html >[5] https://wiki.gentoo.org/wiki/Project:Toolchain/23.0_update_table >[6] https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable#Verifying_things_work > > > >These are the packages that would be merged, in order: > >Calculating dependencies... done! >Dependency resolution took 5.62 s (backtrack: 0/20). > >[ebuild R ] sys-process/atop-2.10.0-r1::gentoo USE="dist-kernel modules strip -modules-compress -modules-sign" 0 KiB > >Total: 1 package (1 reinstall), Size of downloads: 0 KiB > >Would you like to merge these packages? [Yes/No] yes >>>> Verifying ebuild manifests >>>> Running pre-merge checks for sys-process/atop-2.10.0-r1 > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 6.6.44-rt39-xanmod1-dist > * Checking for suitable kernel configuration options ... [ ok ] >>>> Emerging (1 of 1) sys-process/atop-2.10.0-r1::gentoo >>>> Failed to emerge sys-process/atop-2.10.0-r1, Log file: >>>> '/var/log/portage/sys-process:atop-2.10.0-r1:20240811-125102.log' >>>> Jobs: 0 of 1 complete, 1 failed Load avg: 4.82, 3.93, 2.76 > * Package: sys-process/atop-2.10.0-r1:0 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 dist-kernel elibc_glibc kernel_linux modules strip > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 6.6.44-rt39-xanmod1-dist > * 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' >>>> Unpacking source... >>>> Unpacking atop-2.10.0.tar.gz to /var/tmp/portage/sys-process/atop-2.10.0-r1/work >>>> Unpacking netatop-3.1.tar.gz to /var/tmp/portage/sys-process/atop-2.10.0-r1/work >>>> Source unpacked in /var/tmp/portage/sys-process/atop-2.10.0-r1/work >>>> Preparing source in /var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0 ... > * Applying atop-2.6.0-build.patch ... >patching file Makefile >Hunk #1 succeeded at 34 with fuzz 2 (offset 1 line). [ ok ] > * Applying atop-2.10.0-ldflags.patch ... [ ok ] > * Applying atop-2.10.0-respect-PKG_CONFIG.patch ... [ ok ] > * Applying atop-2.10.0-respect-opt.patch ... [ ok ] > * Applying atop-2.9.0-netatop-makefile.patch ... [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0 ... >make -j8 >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o atop.o atop.c >./mkdate >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o various.o various.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o deviate.o deviate.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o procdbase.o procdbase.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o acctproc.o acctproc.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o photoproc.o photoproc.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o photosyst.o photosyst.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o rawlog.o rawlog.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o ifprop.o ifprop.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o parseable.o parseable.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o showgeneric.o showgeneric.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o drawbar.o drawbar.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o showlinux.o showlinux.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o showsys.o showsys.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o showprocs.o showprocs.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o atopsar.o atopsar.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o netatopif.o netatopif.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o netatopbpfif.o netatopbpfif.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o gpucom.o gpucom.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o json.o json.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o utsnames.o utsnames.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o atopacctd.o atopacctd.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o netlink.o netlink.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o atopconvert.o atopconvert.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o atopcat.o atopcat.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o atophide.o atophide.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o version.o version.c >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security atopacctd.o netlink.o -o atopacctd -Wl,-O1 -Wl,--as-needed -lglib-2.0 >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security atopcat.o -o atopcat -Wl,-O1 -Wl,--as-needed -lglib-2.0 >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security atop.o version.o various.o deviate.o procdbase.o acctproc.o photoproc.o photosyst.o rawlog.o ifprop.o parseable.o showgeneric.o drawbar.o showlinux.o showsys.o showprocs.o atopsar.o netatopif.o netatopbpfif.o gpucom.o json.o utsnames.o -o atop -lncurses -ltinfo -lz -lm -lrt -Wl,-O1 -Wl,--as-needed -lglib-2.0 >x86_64-pc-linux-gnu-gcc atophide.o -o atophide -lz -Wl,-O1 -Wl,--as-needed -lglib-2.0 >ln -sf atop atopsar >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security atopconvert.o -o atopconvert -lz -Wl,-O1 -Wl,--as-needed -lglib-2.0 > * Building netatop module in /var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0/../netatop-3.1/module ... >make -j8 ARCH=x86 V=1 KBUILD_VERBOSE=1 CONFIG_WERROR= CONFIG_MODULE_SIG_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=skylake -O2 -pipe' 'HOSTCXXFLAGS=-march=skylake -O2 -pipe' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed' HOSTPKG_CONFIG=x86_64-pc-linux-gnu-pkg-config CC=/usr/bin/x86_64-pc-linux-gnu-gcc-13 CXX=/usr/bin/x86_64-pc-linux-gnu-g++-13 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 netatop.ko >echo start the make >start the make >make -C /lib/modules/6.6.41-rt37-xanmod1-dist/build M=/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module modules >make[1]: Entering directory '/usr/src/linux-6.6.41-rt37-xanmod1-dist' >make --no-print-directory -C /usr/src/linux-6.6.41-rt37-xanmod1-dist \ >-f /usr/src/linux-6.6.41-rt37-xanmod1-dist/Makefile 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 13.3.1_p20240614 p17) 13.3.1 20240614 > You are using: x86_64-pc-linux-gnu-gcc-13 (Gentoo 13.3.1_p20240614 p17) 13.3.1 20240614 >make -f ./scripts/Makefile.build obj=/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module need-builtin=1 need-modorder=1 ># CC [M] /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.o > /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/.netatop.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 -O3 -fmodulo-sched -fmodulo-sched-allow-regmoves -fivopts -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -mno-avx512f -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -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 -mharden-sls=all -fno-delete-null-pointer-checks -mtune=generic -O2 -fno-allow-store-data-races -fstack-protector-strong -fomit-frame-pointer -fno-stack-clash-protection -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='"netatop"' -DKBUILD_MODNAME='"netatop"' -D__KBUILD_MODNAME=kmod_netatop -c -o /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.o /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --sls --static-call --uaccess --module /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.o ># cmd_mod /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.mod > printf '%s\n' netatop.o | awk '!x[$0]++ { print("/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/"$0) }' > /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.mod >/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c: In function âgetsockoptâ: >/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1619:26: warning: this statement may fall through [-Wimplicit-fallthrough=] > 1619 | tasktype = 'g'; > | ~~~~~~~~~^~~~~ >/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1621:12: note: here > 1621 | case NETATOP_GETCNT_PID: > | ^~~~ ># cmd_gen_objtooldep /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.o > { echo ; echo '/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/.netatop.o.cmd ># cmd_gen_symversions_c /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.o > if /usr/bin/x86_64-pc-linux-gnu-gcc-nm /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.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/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/.netatop.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 -O3 -fmodulo-sched -fmodulo-sched-allow-regmoves -fivopts -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -mno-avx512f -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -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 -mharden-sls=all -fno-delete-null-pointer-checks -mtune=generic -O2 -fno-allow-store-data-races -fstack-protector-strong -fomit-frame-pointer -fno-stack-clash-protection -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='"netatop"' -DKBUILD_MODNAME='"netatop"' -D__KBUILD_MODNAME=kmod_netatop /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c | scripts/genksyms/genksyms -r /dev/null >> /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/.netatop.o.cmd; fi ># cmd_modules_order /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/modules.order > { echo /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.o; :; } > /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/modules.order >sh ./scripts/modules-check.sh /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/modules.order >make -f ./scripts/Makefile.modpost ># MODPOST /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/Module.symvers > scripts/mod/modpost -M -m -a -o /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/Module.symvers -n -T /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/modules.order -i Module.symvers -e >make -f ./scripts/Makefile.modfinal ># CC [M] /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.mod.o > /usr/bin/x86_64-pc-linux-gnu-gcc-13 -Wp,-MMD,/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/.netatop.mod.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 -O3 -fmodulo-sched -fmodulo-sched-allow-regmoves -fivopts -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -mno-avx512f -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -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 -mharden-sls=all -fno-delete-null-pointer-checks -mtune=generic -O2 -fno-allow-store-data-races -fstack-protector-strong -fomit-frame-pointer -fno-stack-clash-protection -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='"netatop.mod"' -DKBUILD_MODNAME='"netatop"' -D__KBUILD_MODNAME=kmod_netatop -c -o /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.mod.o /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.mod.c ># LD [M] /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.ko > /usr/bin/x86_64-pc-linux-gnu-ld.bfd -r -m elf_x86_64 -z noexecstack --no-warn-rwx-segments --build-id=sha1 -T scripts/module.lds -o /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.ko /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.o /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.mod.o; make -f ./arch/x86/Makefile.postlink /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.ko >make[1]: Leaving directory '/usr/src/linux-6.6.41-rt37-xanmod1-dist' >make -j8 -C /var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/daemon all >make: Entering directory '/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/daemon' >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -c -o netatopd.o netatopd.c >netatopd.c: In function âmainâ: >netatopd.c:162:9: warning: ignoring return value of âchdirâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 162 | chdir("/tmp"); > | ^~~~~~~~~~~~~ >netatopd.c:191:16: warning: ignoring return value of âniceâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 191 | (void) nice(-39); > | ^~~~~~~~~ >x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -Wl,-O1 -Wl,--as-needed netatopd.o -o netatopd -lz >make: Leaving directory '/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/daemon' >>>> Source compiled. >>>> Test phase [not enabled]: sys-process/atop-2.10.0-r1 > >>>> Install sys-process/atop-2.10.0-r1 into /var/tmp/portage/sys-process/atop-2.10.0-r1/image > * Stripping modules ... > * Running /usr/bin/x86_64-pc-linux-gnu-strip --strip-unneeded -- /var/tmp/portage/sys-process/atop-2.10.0-r1/image/lib/modules/6.6.44-rt39-xanmod1-dist/extra/netato [ ok ]. > * A module seem to have been built for kernel version '6.6.41-rt37-xanmod1-dist' > * while it was meant for '6.6.44-rt39-xanmod1-dist'. This may indicate an > * ebuild issue (e.g. used runtime `uname -r` kernel rather than > * the chosen sources). Please report this to the ebuild's maintainer. > * ERROR: sys-process/atop-2.10.0-r1::gentoo failed (install phase): > * module and source version mismatch in '/var/tmp/portage/sys-process/atop-2.10.0-r1/image/lib/modules/6.6.44-rt39-xanmod1-dist/extra/netatop.ko' > * > * Call stack: > * ebuild.sh, line 136: Called src_install > * environment, line 2665: Called linux-mod-r1_src_install > * environment, line 2193: Called modules_post_process > * environment, line 2294: Called _modules_sanity_modversion '/var/tmp/portage/sys-process/atop-2.10.0-r1/image/lib/modules/6.6.44-rt39-xanmod1-dist/extra/netatop.ko' > * environment, line 793: Called die > * The specific snippet of code: > * die "module and source version mismatch in '${mod}'"; > * > * If you need support, post the output of `emerge --info '=sys-process/atop-2.10.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-process/atop-2.10.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-process:atop-2.10.0-r1:20240811-125102.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-process/atop-2.10.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-process/atop-2.10.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0' > * S: '/var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0' > > * Messages for package sys-process/atop-2.10.0-r1: > * Log file: /var/log/portage/sys-process:atop-2.10.0-r1:20240811-125101.log > > * Package: sys-process/atop-2.10.0-r1:0 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 dist-kernel elibc_glibc kernel_linux modules strip > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 6.6.44-rt39-xanmod1-dist > * Checking for suitable kernel configuration options ... > > * Messages for package sys-process/atop-2.10.0-r1: > * Log file: /var/log/portage/sys-process:atop-2.10.0-r1:20240811-125102.log > > * Package: sys-process/atop-2.10.0-r1:0 > * Repository: gentoo > * Maintainer: base-system@gentoo.org > * USE: abi_x86_64 amd64 dist-kernel elibc_glibc kernel_linux modules strip > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 6.6.44-rt39-xanmod1-dist > * Checking for suitable kernel configuration options ... > * 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 atop-2.6.0-build.patch ... > * Applying atop-2.10.0-ldflags.patch ... > * Applying atop-2.10.0-respect-PKG_CONFIG.patch ... > * Applying atop-2.10.0-respect-opt.patch ... > * Applying atop-2.9.0-netatop-makefile.patch ... > * Building netatop module in /var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0/../netatop-3.1/module ... > * Stripping modules ... > * Running /usr/bin/x86_64-pc-linux-gnu-strip --strip-unneeded -- /var/tmp/portage/sys-process/atop-2.10.0-r1/image/lib/modules/6.6.44-rt39-xanmod1-dist/extra/netatop.ko ... > * A module seem to have been built for kernel version '6.6.41-rt37-xanmod1-dist' > * while it was meant for '6.6.44-rt39-xanmod1-dist'. This may indicate an > * ebuild issue (e.g. used runtime `uname -r` kernel rather than > * the chosen sources). Please report this to the ebuild's maintainer. > * ERROR: sys-process/atop-2.10.0-r1::gentoo failed (install phase): > * module and source version mismatch in '/var/tmp/portage/sys-process/atop-2.10.0-r1/image/lib/modules/6.6.44-rt39-xanmod1-dist/extra/netatop.ko' > * > * Call stack: > * ebuild.sh, line 136: Called src_install > * environment, line 2665: Called linux-mod-r1_src_install > * environment, line 2193: Called modules_post_process > * environment, line 2294: Called _modules_sanity_modversion '/var/tmp/portage/sys-process/atop-2.10.0-r1/image/lib/modules/6.6.44-rt39-xanmod1-dist/extra/netatop.ko' > * environment, line 793: Called die > * The specific snippet of code: > * die "module and source version mismatch in '${mod}'"; > * > * If you need support, post the output of `emerge --info '=sys-process/atop-2.10.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-process/atop-2.10.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-process:atop-2.10.0-r1:20240811-125102.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-process/atop-2.10.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-process/atop-2.10.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0' > * S: '/var/tmp/portage/sys-process/atop-2.10.0-r1/work/atop-2.10.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919693
:
878650
| 899841