Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912441 - net-misc/r8152-2.16.3 - ln: failed to create symbolic link Module.symvers: File exists
Summary: net-misc/r8152-2.16.3 - ln: failed to create symbolic link Module.symvers: Fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jay Faulkner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 07:14 UTC by Toralf Förster
Modified: 2024-03-27 22:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.43 KB, text/plain)
2023-08-18 07:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.92 KB, text/plain)
2023-08-18 07:14 UTC, Toralf Förster
Details
environment (environment,96.71 KB, text/plain)
2023-08-18 07:14 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-08-18 07:14 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.76 KB, application/x-xz)
2023-08-18 07:14 UTC, Toralf Förster
Details
net-misc:r8152-2.16.3:20230818-053526.log (net-misc:r8152-2.16.3:20230818-053526.log,3.03 KB, text/plain)
2023-08-18 07:14 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.66 KB, application/x-xz)
2023-08-18 07:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-18 07:14:30 UTC
 * Applying r8152-2.16.3-kernel-6.4.10-fix.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/r8152-2.16.3/work/r8152-2.16.3 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/r8152-2.16.3/work/r8152-2.16.3 ...
ln: failed to create symbolic link 'Module.symvers': File exists
 * Preparing r8152 module
make -j5 HOSTCC=clang 'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux CONFIG_CTAP_SHORT=on modules 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20230816-200327

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6+libcxx
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit c8b75203f87b1f7e628b5f34b8a6abab8c063e2f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 18 04:46:39 2023 +0000

    2023-08-18 04:46:38 UTC

emerge -qpvO net-misc/r8152
[ebuild  N    ] net-misc/r8152-2.16.3  USE="center-tap-short -dist-kernel"
Comment 1 Toralf Förster gentoo-dev 2023-08-18 07:14:31 UTC
Created attachment 868157 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-18 07:14:32 UTC
Created attachment 868158 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-18 07:14:34 UTC
Created attachment 868159 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-18 07:14:34 UTC
Created attachment 868160 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-18 07:14:35 UTC
Created attachment 868161 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-18 07:14:36 UTC
Created attachment 868162 [details]
net-misc:r8152-2.16.3:20230818-053526.log
Comment 7 Toralf Förster gentoo-dev 2023-08-18 07:14:37 UTC
Created attachment 868163 [details]
temp.tar.xz
Comment 8 Jay Faulkner 2023-11-16 18:25:23 UTC
This is interesting. Looks like it's using gcc for the build even though you have clang configured:

make -C /usr/src/linux M=/var/tmp/portage/net-misc/r8152-2.16.3/work/r8152-2.16.3 modules
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: clang version 16.0.6
  You are using:           x86_64-pc-linux-gnu-gcc (Gentoo 13.2.0 p3) 13.2.0
  CC [M]  /var/tmp/portage/net-misc/r8152-2.16.3/work/r8152-2.16.3/r8152.o
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’


Can you try to reproduce with -r1? It uses the new eclass and may resolve the issue. This ebuild is soon to be removed.
Comment 9 Jay Faulkner 2024-03-27 22:46:21 UTC
I've been informed linux-mod-r1, which the current ebuilds use, fix this.