View previous topic :: View next topic |
Author |
Message |
user7719 n00b
Joined: 19 Feb 2021 Posts: 60
|
Posted: Wed Dec 28, 2022 7:29 pm Post subject: Emerging virtualbox-modules failes |
|
|
I'm trying to emerge virtualbox-modules but get the following error:
Code: | emerge -v '=app-emulation/virtualbox-modules-6.1.40::gentoo'
* IMPORTANT: 23 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-emulation/virtualbox-modules-6.1.40:0/6.1::gentoo USE="-dist-kernel (-pax-kernel)" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-emulation/virtualbox-modules-6.1.40::gentoo
>>> Failed to emerge app-emulation/virtualbox-modules-6.1.40, Log file:
>>> '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 3.49, 5.67, 5.09
* Package: app-emulation/virtualbox-modules-6.1.40:0/6.1
* Repository: gentoo
* Maintainer: ceamac@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 5.15.80-gentoo
* Checking for suitable kernel configuration options ...
[ ok ]
>>> Unpacking source...
>>> Unpacking vbox-kernel-module-src-6.1.40.tar.xz to /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work
>>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work
>>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work ...
ln: failed to create symbolic link 'Module.symvers': File exists
* ERROR: app-emulation/virtualbox-modules-6.1.40::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2147: Called linux-mod_src_compile
* environment, line 1680: Called die
* The specific snippet of code:
* ln -s "${S}"/Module.symvers Module.symvers || die;
*
* If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-6.1.40::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-6.1.40::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work'
* S: '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work'
* Messages for package app-emulation/virtualbox-modules-6.1.40:
* ERROR: app-emulation/virtualbox-modules-6.1.40::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2147: Called linux-mod_src_compile
* environment, line 1680: Called die
* The specific snippet of code:
* ln -s "${S}"/Module.symvers Module.symvers || die;
*
* If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-6.1.40::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-6.1.40::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work'
* S: '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work'
|
|
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Wed Dec 28, 2022 9:12 pm Post subject: |
|
|
Plz try
Code: |
cd /usr/src/linux
make modules_install
|
The file Module.symvers is generated when running the above command.
Also you have
Code: |
emerge -v '=app-emulation/virtualbox-modules-6.1.40::gentoo'
|
Better not emerge explicit versions.
Try
Code: |
emerge --deselect virtualbox-modules
emerge -1av virtualbox-modules
|
Also no need to emerge this package explicitly.
It will be pulled by
app-emulation/virtualbox
So just use "emerge -1"
What is the output of
Code: |
ls -ld /usr/src/linux
and
uname -r
|
_________________
|
|
Back to top |
|
|
user7719 n00b
Joined: 19 Feb 2021 Posts: 60
|
Posted: Wed Dec 28, 2022 11:12 pm Post subject: |
|
|
The following is the output from your suggested commands.
Code: | cerberus /usr/src/linux # cd /usr/src/linux
make modules_install
INSTALL /lib/modules/5.15.80-gentoo/kernel/drivers/counter/counter.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/drivers/md/dm-crypt.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/drivers/media/usb/gspca/gspca_main.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/drivers/thermal/intel/x86_pkg_temp_thermal.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/fs/efivarfs/efivarfs.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/net/bridge/br_netfilter.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/net/netfilter/ipvs/ip_vs.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/net/netfilter/ipvs/ip_vs_rr.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/net/netfilter/nf_log_syslog.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/net/netfilter/xt_LOG.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/net/netfilter/xt_addrtype.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/net/netfilter/xt_ipvs.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/net/netfilter/xt_mark.ko
INSTALL /lib/modules/5.15.80-gentoo/kernel/security/keys/encrypted-keys/encrypted-keys.ko
DEPMOD /lib/modules/5.15.80-gentoo
cerberus /usr/src/linux # emerge --deselect virtualbox-modules
>>> Removing app-emulation/virtualbox-modules from "world" favorites file...
cerberus /usr/src/linux # emerge -1av virtualbox-modules
* IMPORTANT: 23 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-emulation/virtualbox-modules-6.1.40:0/6.1::gentoo USE="-dist-kernel (-pax-kernel)" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-emulation/virtualbox-modules-6.1.40::gentoo
>>> Failed to emerge app-emulation/virtualbox-modules-6.1.40, Log file:
>>> '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 1.14, 0.57, 0.46
* Package: app-emulation/virtualbox-modules-6.1.40:0/6.1
* Repository: gentoo
* Maintainer: ceamac@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 5.15.80-gentoo
* Checking for suitable kernel configuration options ...
[ ok ]
>>> Unpacking source...
>>> Unpacking vbox-kernel-module-src-6.1.40.tar.xz to /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work
>>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work
>>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work ...
ln: failed to create symbolic link 'Module.symvers': File exists
* ERROR: app-emulation/virtualbox-modules-6.1.40::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2147: Called linux-mod_src_compile
* environment, line 1680: Called die
* The specific snippet of code:
* ln -s "${S}"/Module.symvers Module.symvers || die;
*
* If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-6.1.40::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-6.1.40::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work'
* S: '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work'
* Messages for package app-emulation/virtualbox-modules-6.1.40:
* ERROR: app-emulation/virtualbox-modules-6.1.40::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2147: Called linux-mod_src_compile
* environment, line 1680: Called die
* The specific snippet of code:
* ln -s "${S}"/Module.symvers Module.symvers || die;
*
* If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-6.1.40::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-6.1.40::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/temp/environment'.
* Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work'
* S: '/var/tmp/portage/app-emulation/virtualbox-modules-6.1.40/work'
cerberus /usr/src/linux # ls -ld /usr/src/linux
lrwxrwxrwx 1 root root 20 Dec 7 08:48 /usr/src/linux -> linux-5.15.80-gentoo
cerberus /usr/src/linux # uname -r
5.15.80-gentoo
|
|
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2727
|
|
Back to top |
|
|
user7719 n00b
Joined: 19 Feb 2021 Posts: 60
|
Posted: Thu Dec 29, 2022 11:06 am Post subject: |
|
|
That makes it work. Thank you |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|