LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-10-2022, 01:05 PM   #1
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 318

Rep: Reputation: 171Reputation: 171
Error from sbopkg while installing virtualbox kernel module. Tracking -current.


I have set my slackpkg mirrors to -current and ran slackpkg update/install-new/upgrade-all successfully.

I wish to use sbopkg to update the virtualbox kernel module and have run into this error message:

Code:
=== Building 'vboxdrv' module ===
make[1]: Entering directory '/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv'
make V= CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.16.8/build M=/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv SRCROOT=/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv -j4 modules
make[2]: Entering directory '/usr/src/linux-5.16.8'
  CC [M]  /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/linux/SUPDrv-linux.o
  CC [M]  /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrv.o
  CC [M]  /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvGip.o
  CC [M]  /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvSem.o
In file included from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/iprt/types.h:34,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/VBox/types.h:33,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/linux/../SUPDrvInternal.h:38,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/linux/SUPDrv-linux.c:32:
/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/iprt/stdarg.h:47:12: fatal error: stdarg.h: No such file or directory
   47 | #  include <stdarg.h>
      |            ^~~~~~~~~~
In file included from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/iprt/types.h:34,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/VBox/types.h:33,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvInternal.h:38,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvSem.c:33:
/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/iprt/stdarg.h:47:12: fatal error: stdarg.h: No such file or directory
   47 | #  include <stdarg.h>
      |            ^~~~~~~~~~
compilation terminated.
In file included from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/iprt/types.h:34,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/VBox/types.h:33,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvInternal.h:38,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrv.c:33:
/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/iprt/stdarg.h:47:12: fatal error: stdarg.h: No such file or directory
   47 | #  include <stdarg.h>
      |            ^~~~~~~~~~
compilation terminated.
compilation terminated.
In file included from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/iprt/types.h:34,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/VBox/types.h:33,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvInternal.h:38,
                 from /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvGip.c:33:
/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/include/iprt/stdarg.h:47:12: fatal error: stdarg.h: No such file or directory
   47 | #  include <stdarg.h>
      |            ^~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:287: /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrv.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:287: /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvSem.o] Error 1
make[3]: *** [scripts/Makefile.build:287: /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[3]: *** [scripts/Makefile.build:287: /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/SUPDrvGip.o] Error 1
make[2]: *** [Makefile:1846: /tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv] Error 2
make[2]: Leaving directory '/usr/src/linux-5.16.8'
make[1]: *** [/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv/Makefile-footer.gmk:117: vboxdrv] Error 2
make[1]: Leaving directory '/tmp/SBo/virtualbox-kernel-6.1.22/vboxdrv'
make: *** [Makefile:60: vboxdrv] Error 2

virtualbox-kernel:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?: n

+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the SBo master git branch
Queue Process:  Download, build, and install

virtualbox-kernel:
  MD5SUM check for virtualbox-kernel-6.1.22.tar.xz ... OK
  Error occurred with build.  Please check the log.

+++++++++++++++++++++++++++++++++++++++++++

###########################################
          Queue process complete!
###########################################

Press any key to continue:
Any advice on how to complete the virtualbox kernel upgrade?
 
Old 02-10-2022, 04:12 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Well first thing I noticed is that it looks like you're trying to build 6.1.22. The latest virtualbox for slackware 15.0/-current is 6.1.32. the maintainer ppr:kut has them hosted on his personal server and they are available on the master branch of SBo.

ppr:kut server
https://repo.liwjatan.org/pprkut/current/x86_64/ (Binaries)
https://repo.liwjatan.org/pprkut/current/source/ (Sources slackbuilds)

SBo master branch
https://git.slackbuilds.org/slackbuilds/

Try these packages. I use them and they build fine on 15.0, and his precompiled binaries work also if you don't want to compile.

To make sbopkg work with the master branch of SBo use Willy's test sbopkg build here. After install edit /etc/sbopkg/sbopkg.conf and change the repo version from 15.0 to master.

Last edited by Daedra; 02-10-2022 at 04:18 PM.
 
3 members found this post helpful.
Old 02-11-2022, 12:29 PM   #3
amikoyan
Member
 
Registered: Mar 2021
Distribution: Slackware64 -current
Posts: 318

Original Poster
Rep: Reputation: 171Reputation: 171
Quote:
Well first thing I noticed is that it looks like you're trying to build 6.1.22. The latest virtualbox for slackware 15.0/-current is 6.1.32.
You are absolutely correct. Running sync on sbopkg fixed this.

I will also look into the links you posted this weekend.

Thank you
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSH login tracking and session activity Tracking Veen77 Linux - Security 9 09-04-2019 09:11 AM
[SOLVED] virtualbox is installed along with virtualbox-dkms and virtualbox-ext-pack and linux-headers-generic, but error for no /dev/vboxdrv Astral Axiom Linux - Software 2 03-04-2019 08:09 PM
@FedEx Tracking: pasting correct tracking # causes error; typing same works mike3644 Linux - Software 7 02-15-2018 03:55 PM
Two Things: Current/sbopkg and current/hplip PhiloPolyMath Slackware 11 03-23-2016 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration