Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Virtualbox modules, again...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Sep 20, 2017 3:12 pm    Post subject: [SOLVED] Virtualbox modules, again... Reply with quote

This has got to be the worst package on the system. Every time it upgrades something breaks. This is a fresh install and it won't build. I cannot make heads or tails of the output.

Build Log
Emerge info for the modules package

So why isn't it building this time? It almost looks like gibberish at the end of the build log.

*UPDATE*

The solution is posted here.
_________________
Ever picture systemd as what runs "The Borg"?


Last edited by The_Great_Sephiroth on Wed Sep 20, 2017 7:41 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Wed Sep 20, 2017 3:57 pm    Post subject: Reply with quote

The_Great_Sephiroth,

You are making life hard for yourself.

Since you are using a testing kernel, use testing virtualbox and testing virtualbox-modules too.
Its a PITA to keep out of kernel modules like virtualbox-modules building with newer kernels.
There may or may not be patche(s) for you. That's patches to virtualbox-modules.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30907
Location: here

PostPosted: Wed Sep 20, 2017 4:00 pm    Post subject: Reply with quote

You need virtualbox-module-5.1.26 with kernel 4.12 (see bug)
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Sep 20, 2017 6:51 pm    Post subject: Reply with quote

How did I get a testing kernel? I emerged "sys-kernel/gentoo-sources" without unmasking a thing. This kernel came down to many systems recently including AD DCs. How is it happening?

*UPDATE*

Code:

9y84mj1 ~ # l /etc/portage
total 12
drwxr-xr-x 1 root root   18 Sep  7 02:00 bin
-rw-r--r-- 1 root root 1539 Sep 18 23:30 make.conf
-rw-r--r-- 1 root root  656 Sep  6 23:44 make.conf.catalyst
lrwxrwxrwx 1 root root   66 Sep 17 14:58 make.profile -> ../../usr/portage/profiles/default/linux/amd64/13.0/desktop/plasma
drwxr-xr-x 1 root root   36 Sep 18 23:15 package.license
drwxr-xr-x 1 root root  112 Sep 14 12:42 package.mask
drwxr-xr-x 1 root root  904 Sep 18 23:33 package.use
drwxr-xr-x 1 root root   28 Sep  7 02:00 postsync.d
drwxr-xr-x 1 root root   14 Sep 17 15:51 repo.postsync.d
drwxr-xr-x 1 root root   22 Sep 14 12:36 repos.conf
drwxr-xr-x 1 root root   36 Sep 14 12:46 savedconfig

There isn't even a "package.accept_keywords" file or directory.

*UPDATE*

Code:

9y84mj1 ~ # emerge --search gentoo-sources
[ Results for search key : gentoo-sources ]
Searching...

*  sys-kernel/gentoo-sources
      Latest version available: 4.12.12
      Latest version installed: 4.12.12
      Size of files: 97,102 KiB
      Homepage:      https://dev.gentoo.org/~mpagano/genpatches
      Description:   Full sources including the Gentoo patchset for the 4.12 kernel tree
      License:       GPL-2 freedist

*  sys-kernel/git-sources [ Masked ]
      Latest version available: 4.14_rc1
      Latest version installed: [ Not Installed ]
      Size of files: 147,023 KiB
      Homepage:      https://www.kernel.org
      Description:   The very latest -git version of the Linux kernel
      License:       GPL-2 freedist

*  sys-kernel/zen-sources [ Masked ]
      Latest version available: 3.13.9999
      Latest version installed: [ Not Installed ]
      Size of files: 0 KiB
      Homepage:      https://zen-kernel.org
      Description:   The Zen Kernel Live Sources
      License:       GPL-2 freedist

[ Applications found : 3 ]

The kernel does not APPEAR to be unmasked or experimental.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30907
Location: here

PostPosted: Wed Sep 20, 2017 6:59 pm    Post subject: Reply with quote

@The_Great_Sephiroth: you right, kernel 4.12.12 is stable.
In bug that I posted there are also two patches for make working virtualbox 5.0.40 with new kernel
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Wed Sep 20, 2017 7:02 pm    Post subject: Reply with quote

Well, according to the packages from gentoo's site, it lists 4.12.12 as stable for amd64, x86, alpha, and ia64... So I would think that is how you got it. According to the git log, it says it was made stable on 2017-09-13.

Edit: You know, just because a new kernel was downloaded does not mean you need to use it...
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Sep 20, 2017 7:05 pm    Post subject: Reply with quote

NeddySeagoon wrote:
The_Great_Sephiroth,

You are making life hard for yourself.

Since you are using a testing kernel, use testing virtualbox and testing virtualbox-modules too.
Its a PITA to keep out of kernel modules like virtualbox-modules building with newer kernels.
There may or may not be patche(s) for you. That's patches to virtualbox-modules.

That is why I thought that I had somehow pulled a testing kernel down. Neddy has a wealth of knowledge and has helped me many times in the past as I learn and grow with Gentoo. Guess he was mistaken this time, which means the stable kernel released is too new for the stable VBox. I unmasked Virtualbox, the modules, and the additions for version 5.1.26 and will use that until a stable version which works is released. Thanks for the help!
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Wed Sep 20, 2017 7:11 pm    Post subject: Reply with quote

The_Great_Sephiroth,

Sorry, I screwed up :(
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Wed Sep 20, 2017 7:40 pm    Post subject: Reply with quote

No worries, we figured it out and all is good. I unmasked 5.1.26 and once a stable version beyond that is released I'll be back to no testing stuff again. I'm sure I'll be back in due time when some other upgrade stops me and I can't figure it out.

For those who come here with this problem, the solution is simple. Either create /etc/portage/package.accept_keywords as a file and put the following lines into it, or create it as a directory and place a file in that directory with the following lines in it. Then you can emerge Virtualbox and the guest additions ISO without a hitch.
Code:

=dev-util/kbuild-0.1.9998_pre20131130-r1 ~amd64
=app-emulation/virtualbox-5.1.26 ~amd64
=app-emulation/virtualbox-modules-5.1.26 ~amd64
=app-emulation/virtualbox-additions-5.1.26 ~amd64
=app-emulation/virtualbox-extpack-oracle-5.1.26.117224 ~amd64

For those who are curious, I created the directory and then created a file named "app-emulation.virtualbox-5.1.26" inside of it with the lines above in it. Worked like a charm.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Sep 21, 2017 6:08 am    Post subject: Reply with quote

Why create it manually when portage can do it for you?
Code:
$ su -c "emerge -1avt =dev-util/kbuild-0.1.9998_pre20131130-r1"
Password:

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  N    ~] dev-util/kbuild-0.1.9998_pre20131130-r1::gentoo  1,675 KiB

Total: 1 package (1 new), Size of downloads: 1,675 KiB

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by =dev-util/kbuild-0.1.9998_pre20131130-r1 (argument)
=dev-util/kbuild-0.1.9998_pre20131130-r1 ~amd64

Would you like to add these changes to your config files? [Yes/No]
Then y and ENTER ...
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Thu Sep 21, 2017 7:41 am    Post subject: Reply with quote

charles17,

I create all my /etc/portage/* files/dirs by hand. Letting portage do it all the time is a bad habit.
Portage won't clean it up later.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Sep 21, 2017 10:39 am    Post subject: Reply with quote

NeddySeagoon wrote:
I create all my /etc/portage/* files/dirs by hand. Letting portage do it all the time is a bad habit.

I didn't say do it all the time. And the interactive method isn't very far from manually editing. But it avoids invalid atom messaged caused by mistyping.

NeddySeagoon wrote:
Portage won't clean it up later.

There is eix-test-obsolete, works well at least for package.{,accept_}keywords.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Thu Sep 21, 2017 12:49 pm    Post subject: Reply with quote

charles17,

Thank you for the eix-test-obsolete. I didn't know about that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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