View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3625
|
Posted: Wed Jan 25, 2023 10:35 am Post subject: net-misc/r8168 upgrade fails [solved] |
|
|
Code: | eix r8168
[I] net-misc/r8168
Installed versions: 8.050.03(05:57:12 08/01/2023)(-dist-kernel -use-firmware) |
Upgrading to net-misc/r8168-8.051.02 against gentoo-sources-5.15.86 fails as: Code: | * Package: net-misc/r8168-8.051.02:0
* Repository: gentoo
* Maintainer: pacho@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* 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:
* 5.15.86-gentoo-r8168
* Checking for suitable kernel configuration options ...
[ ok ]
>>> Unpacking source...
>>> Unpacking r8168-8.051.02.tar.bz2 to /var/tmp/portage/net-misc/r8168-8.051.02/work
>>> Source unpacked in /var/tmp/portage/net-misc/r8168-8.051.02/work
>>> Preparing source in /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02 ...
* Applying r8168-8.051.02-6.1-fix.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02 ...
* Preparing r8168 module
make -j3 -l3 HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux ENABLE_USE_FIRMWARE_FILE=n modules
make -C /usr/src/linux M=/var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src modules
make[1]: Entering directory '/usr/src/linux-5.15.86-gentoo'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Gentoo 12.2.1_p20230121-r1 p10) 12.2.1 20230121
You are using: x86_64-pc-linux-gnu-gcc (Gentoo 12.2.1_p20230121-r1 p10) 12.2.1 20230121
CC [M] /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/r8168_asf.o
CC [M] /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/r8168_n.o
CC [M] /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/rtl_eeprom.o
CC [M] /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/rtltool.o
LD [M] /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/r8168.o
MODPOST /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/Module.symvers
ERROR: modpost: "pci_disable_msix" [/var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/r8168.ko] undefined!
ERROR: modpost: "pci_enable_msix_range" [/var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/r8168.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:133: /var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/Module.symvers] Error 1
make[2]: *** Deleting file '/var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src/Module.symvers'
make[1]: *** [Makefile:1817: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-5.15.86-gentoo'
make: *** [Makefile:154: modules] Error 2
* ERROR: net-misc/r8168-8.051.02::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-misc/r8168-8.051.02::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/r8168-8.051.02::gentoo'`.
* The complete build log is located at '/var/log/portage/net-misc:r8168-8.051.02:20230125-105957.log.gz'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/r8168-8.051.02/temp/build.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/r8168-8.051.02/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02/src'
* S: '/var/tmp/portage/net-misc/r8168-8.051.02/work/r8168-8.051.02' |
Any idea how to fix?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Wed Jan 25, 2023 12:20 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30914 Location: here
|
Posted: Wed Jan 25, 2023 10:55 am Post subject: |
|
|
The kernel 5.15.86 is no longer in tree, maybe you depcleaned it? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3625
|
Posted: Wed Jan 25, 2023 11:12 am Post subject: |
|
|
Former net-misc/r8168-8.050.03 rebuilds fine however.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3625
|
Posted: Wed Jan 25, 2023 12:20 pm Post subject: |
|
|
@fedeliallalinea: Thks 4 the kick
Nevermind, likely an issue with CONFIG_UNUSED_KSYMS_WHITELIST pointed resource.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
|