Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtualbox upgrade to 5.0.32 gives qt errors
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 377
Location: Chicago, USA

PostPosted: Fri Feb 03, 2017 5:34 pm    Post subject: Virtualbox upgrade to 5.0.32 gives qt errors Reply with quote

I've been running virtualbox for years. Today I upgraded from 4.3.38 to 5.0.32 and when I run it I get this error:
Code:
Qt FATAL: ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 1cdcab0. Receiver '' (of type 'UITaskMediumEnumeration') was created in thread 1a93d50", file /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcoreapplication.cpp, line 539
Aborted

I re-emerged virtualbox and the qt dependencies: qtcore, qtgui, libXinerama, and opengl, but I still have the same problem. No idea where to go next.

Update: I tried running virtualbox as root and it ran OK. Permissions issue?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6618
Location: Saint Amant, Acadiana

PostPosted: Fri Feb 03, 2017 5:49 pm    Post subject: Reply with quote

Upgrading QT would be in order, 5.6.2-r1 is marked stable.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 377
Location: Chicago, USA

PostPosted: Fri Feb 03, 2017 11:57 pm    Post subject: Reply with quote

Jaglover wrote:
Upgrading QT would be in order, 5.6.2-r1 is marked stable.


I have had qt5 installed since last December, but it does not appear that virtualbox will use it. There is a qt4 USE flag that I tried disabling, but that left me with only the command line tools. Not an ideal situation. I tried USEing qt5, but it just took that to mean qt4.

I'm thinking of removing qt4 completely but I'm afraid of it breaking too much (like libreoffice).
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 377
Location: Chicago, USA

PostPosted: Sat Feb 04, 2017 8:05 pm    Post subject: Reply with quote

The only qt USE flag available seems to be qt4. If you include it it builds the qt-based gui. If you don't, even if you include USE=qt5, it doesn't.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6618
Location: Saint Amant, Acadiana

PostPosted: Sat Feb 04, 2017 9:57 pm    Post subject: Reply with quote

Yes I see now ... my bad. I use ~amd64 myself. Try to run it with strace perhaps? You should post your emerge --info.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 377
Location: Chicago, USA

PostPosted: Sat Feb 04, 2017 11:18 pm    Post subject: Reply with quote

Jaglover wrote:
Yes I see now ... my bad. I use ~amd64 myself. Try to run it with strace perhaps? You should post your emerge --info.


Ran it with strace. It looks like some kind of permissions issue, but I don't understand why. I'm a member of the vboxusers group. I tried running it as root; it got a little further but then it crashed with the same qtcore error.

Code:
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\10\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1664840, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efc9f76a000
mmap(NULL, 3771800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7efc9edc1000
mprotect(0x7efc9ef51000, 2093056, PROT_NONE) = 0
mmap(0x7efc9f150000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18f000) = 0x            7efc9f150000
mmap(0x7efc9f156000, 15768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7efc9f            156000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efc9f769000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efc9f768000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7efc9f767000
arch_prctl(ARCH_SET_FS, 0x7efc9f768700) = 0
mprotect(0x7efc9f150000, 16384, PROT_READ) = 0
mprotect(0x7efc9f35c000, 4096, PROT_READ) = 0
mprotect(0x7efc9f574000, 4096, PROT_READ) = 0
mprotect(0x607000, 4096, PROT_READ)     = 0
mprotect(0x7efc9f79d000, 4096, PROT_READ) = 0
munmap(0x7efc9f76b000, 200699)          = 0
set_tid_address(0x7efc9f7689d0)         = 19656
set_robust_list(0x7efc9f7689e0, 24)     = 0
rt_sigaction(SIGRTMIN, {0x7efc9f363bc0, [], SA_RESTORER|SA_SIGINFO, 0x7efc9f36ef90}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7efc9f363c50, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7efc9f36ef90}, NULL, 8)             = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlink("/proc/self/exe", "/usr/lib64/virtualbox/VirtualBox", 4099) = 32
getuid()                                = 1000
getuid()                                = 1000
getgid()                                = 1000
geteuid()                               = 1000
getegid()                               = 1000
geteuid()                               = 1000
write(2, "VirtualBox", 10VirtualBox)              = 10
write(2, ": ", 2: )                       = 2
write(2, "Error ", 6Error )                   = 6
write(2, "-", 1-)                        = 1
write(2, "10", 210)                       = 2
write(2, " in ", 4 in )                     = 4
write(2, "SUPR3HardenedMain", 17SUPR3HardenedMain)       = 17
write(2, "!\n", 2!
)                      = 2
write(2, "VirtualBox", 10VirtualBox)              = 10
write(2, ": ", 2: )                       = 2
write(2, "Effective UID is not root (euid=", 32Effective UID is not root (euid=) = 32
write(2, "1000", 41000)                     = 4
write(2, " egid=", 6 egid=)                   = 6
write(2, "1000", 41000)                     = 4
write(2, " uid=", 5 uid=)                    = 5
write(2, "1000", 41000)                     = 4
write(2, " gid=", 5 gid=)                    = 5
write(2, "1000", 41000)                     = 4
write(2, ")", 1))                        = 1
write(2, "\n", 1
)                       = 1
write(2, "\n", 1
)                       = 1
write(2, "VirtualBox", 10VirtualBox)              = 10
write(2, ": ", 2: )                       = 2
write(2, "Tip! It may help to reinstall Vi"..., 42Tip! It may help to reinstall VirtualBox.
) = 42
setresgid(1000, 1000, 1000)             = 0
setresuid(1000, 1000, 1000)             = 0
getresuid([1000], [1000], [1000])       = 0
getresgid([1000], [1000], [1000])       = 0
capset({0 /* _LINUX_CAPABILITY_VERSION_??? */, 0}, {1<<CAP_NET_RAW, 1<<CAP_NET_RAW, 0}) = -1 EINVAL (Inv            alid argument)
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7efc9f7689            d0) = 19667
exit_group(1)                           = ?
+++ exited with 1 +++


Here is emerge --info.
Code:
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.4, glibc-2.23-r3, 4.4                                    .39-gentoo x86_64)
=================================================================
System uname: Linux-4.4.39-gentoo-x86_64-Intel-R-_Core-TM-_i7-4600U_CPU_@_2.10GHz-with-gentoo-2.3
KiB Mem:    16339960 total,   8667120 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 04 Feb 2017 08:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow X Xaw3d a52 aac acl acpi alsa amd64 apm arts atlas audiofile avi berkdb blas bluetooth branding browserplugin bzip2 cairo canna cdda cdr cjk cli consolekit cracklib crypt cups curl cxx dbus  dmix dri dts dvd dvdr emacs emboss encode esd exif f77 faad fam ffmpeg firefox flac fortran freewnn gdbm gif glamor glib glitz gnome-keyring gnutls gpg gpm gtk gtk2 hscolour iconv imlib immqt-bc ipv6 jack java jpeg lapack lcms ldap leim libg++ libnotify libwww live mad mikmod mmx mng modules mozsvg                                     mp3 mp4 mpeg multilib musepack ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp  oss pam pango pcre pdf pdflib perl png policykit ppds python qt qt5 qtmt quicktime readline real sdl seccomp semantic-desktop session slang spell ssl startup-notification svg tcpd tiff truetype udev udisks uim unicode upower usb userlocales vorbis win32codecs wma wxwidgets x264 x86_64 xattr xcb xfs   xml xml2 xrandr xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="snd-hd-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache fil                                    ter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool s                               wap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing t                                 sip tripmate tnt ublox ubx" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" L10N="en_US ja_JP" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ja" OFFICE_IMPLEMENTATION="libre                                    office" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 vesa fbdev vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq st                                    eal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
Timmer
Guru
Guru


Joined: 24 Aug 2004
Posts: 345
Location: Bloomington, IN, USA

PostPosted: Sat Sep 23, 2017 4:19 pm    Post subject: Reply with quote

Did this ever get figured out? I'm having the same problem with virtualbox 5.1, and Qt 5.7.
Back to top
View user's profile Send private message
sl70
Guru
Guru


Joined: 18 Jun 2002
Posts: 377
Location: Chicago, USA

PostPosted: Sat Sep 23, 2017 5:04 pm    Post subject: Reply with quote

No. I gave up and now I'm using the binary virtualbox package, virtualbox-bin.
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 243
Location: Brisbane, Australia

PostPosted: Sun Sep 24, 2017 1:30 pm    Post subject: Reply with quote

I had the same problems. My solution was:
Code:

Kernel:     4.12.12
Qtcore:     Slot 4: 4.8.7-r2
            Slot 5/5.7: 5.7.1-r3
VirtualBox: 5.1.26
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1389
Location: Adelaide/Australia

PostPosted: Tue May 01, 2018 7:55 am    Post subject: Reply with quote

I am experiencing this too, any suggestions as to what is required, I have pretty much abandoned qt4 on my system
Code:
lyall@Lyalls-PC ~
$ VirtualBox
Qt FATAL: ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 0x0x56067a769820. Receiver '' (of type 'UITaskMediumEnumeration') was created in thread 0x0x56067a564050", file kernel/qcoreapplication.cpp, line 563
Aborted
lyall@Lyalls-PC ~
$

Code:
$ eix --installed virtualbox
[I] app-emulation/virtualbox
     Available versions:  5.1.32 (~)5.1.34 (~)5.1.36 (~)5.2.8 (~)5.2.10 {alsa debug doc headless java libressl lvm +opengl pam pax_kernel pulseaudio python +qt5 +sdk +udev vboxwebsrv vnc ELIBC="FreeBSD" PYTHON_TARGETS="python2_7"}
     Installed versions:  5.2.10(15:36:32 01/05/18)(alsa opengl pam pulseaudio qt5 sdk udev -debug -doc -headless -java -libressl -lvm -pax_kernel -python -vboxwebsrv -vnc ELIBC="-FreeBSD" PYTHON_TARGETS="python2_7")
     Homepage:            https://www.virtualbox.org/
     Description:         Family of powerful x86 virtualization products for enterprise and home use

[I] app-emulation/virtualbox-additions
     Available versions:  5.1.32^m (~)5.1.34^m (~)5.1.36^m (~)5.2.8^m (~)5.2.10-r1^m
     Installed versions:  5.2.10-r1^m(15:30:17 01/05/18)
     Homepage:            https://www.virtualbox.org/
     Description:         CD image containing guest additions for VirtualBox

[I] app-emulation/virtualbox-extpack-oracle
     Available versions:  5.1.32.120294^ms (~)5.1.34.121010^ms (~)5.1.36.122089^ms (~)5.2.8.121009^ms (~)5.2.10.122088^ms
     Installed versions:  5.2.10.122088^ms(15:36:43 01/05/18)
     Homepage:            https://www.virtualbox.org/
     Description:         PUEL extensions for VirtualBox

[I] app-emulation/virtualbox-modules
     Available versions:  5.1.32 (~)5.1.34 (~)5.1.36 (~)5.2.8 (~)5.2.10 {pax_kernel KERNEL="linux"}
     Installed versions:  5.2.10(15:30:26 01/05/18)(-pax_kernel KERNEL="linux")
     Homepage:            https://www.virtualbox.org/
     Description:         Kernel Modules for Virtualbox

Found 4 matches


Tried
  • logging out and back in
  • rebooting
  • re-emerging all virtualbox packages (4 of them)

_________________
...Lyall
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 243
Location: Brisbane, Australia

PostPosted: Wed May 02, 2018 12:16 am    Post subject: Reply with quote

I use kernel 4.9.72 with "genkernel all"

As user "root":
Unmerge VirtualBox and it's component:
Code:
emerge -va --unmerge app-emulation/virtualbox app-emulation/virtualbox-additions app-emulation/virtualbox-extpack-oracle app-emulation/virtualbox-modules


Block QT4:
Code:
nano /etc/portage/package.mask/qt
content: dev-qt/*:4

Then run:
Code:
emerge --sync
eselect news read
emerge --update --deep --with-bdeps=y --newuse --backtrack=300 --changed-deps=y --keep-going=y @world -va
FIX ALL ERRORS, BLOCKS, ETC.

Then run:
Code:
emerge --depclean
revdep-rebuild


Then run:
Code:
emerge -av app-emulation/virtualbox app-emulation/virtualbox-additions app-emulation/virtualbox-extpack-oracle app-emulation/virtualbox-modules


Add this line to /etc/conf.d/modules:
Code:
modules="vboxdrv vboxnetflt vboxnetadp vboxpci"


The run:
Code:
gpasswd --add USER vboxusers


Poweroff and restart the computer, login as USER, open a terminal and run "virtualbox". Check if there are any errors or serious warnings.

See also:
https://wiki.gentoo.org/wiki/VirtualBox
http://linux.c5ace.com/Gentoo-VBOX%20README
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1389
Location: Adelaide/Australia

PostPosted: Wed May 02, 2018 3:52 am    Post subject: Reply with quote

Tried masking dev-qt/*:4 and re-building and rebooting.
Still no success.
Being somewhat unfamiliar with KDE, is there some tool that can explore and identify processes identified in the error message of virtualbox?
My desktop is Fluxbox, I only use some KDE applications so I have very few processes running at the time I attempt a VirtualBox startup.
I have been successfully using VirtualBox for years.
Code:

lyall@Lyalls-PC ~
$ VirtualBox
Qt FATAL: ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread 0x0x560173b078a0. Receiver '' (of type 'UITaskMediumEnumeration') was created in thread 0x0x560173923050", file kernel/qcoreapplication.cpp, line 563
Aborted
lyall@Lyalls-PC ~
$ ps -fae | grep lyall
lyall     3916  3897  0 12:51 ?        00:00:01 /usr/bin/fluxbox -log /home/lyall/.fluxbox/log
lyall     3930     1  0 12:51 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/dbus-launch --exit-with-session star
lyall     3931     1  0 12:51 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lyall     3934     1  0 12:51 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session startfluxbox
lyall     3935     1  0 12:51 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
lyall     3943     1  0 12:51 ?        00:00:00 /usr/bin/volumeicon
lyall     3946     1  0 12:51 ?        00:00:02 /usr/bin/gkrellm -w
lyall     3950     1  0 12:51 ?        00:00:00 /usr/bin/ssh-agent
lyall     4055     1  0 12:51 ?        00:00:00 /usr/libexec/at-spi-bus-launcher
lyall     4161     1  0 12:51 ?        00:00:00 /usr/bin/pulseaudio --start --log-target=syslog
lyall     4189     1  0 12:51 ?        00:00:00 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
lyall     4199  4055  0 12:51 ?        00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --no
lyall     4201     1  0 12:51 ?        00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session
lyall     4335  3916  0 12:51 ?        00:00:00 /usr/bin/xterm
lyall     4337  4335  0 12:51 pts/0    00:00:00 bash
lyall     4348  3916  0 12:51 ?        00:00:00 /bin/bash -c xhost +; sudo -i -A -p 'xterm on %h by %u as %U' /usr/bin/xterm -j -cm ||
lyall     4375  4337  0 12:51 pts/0    00:00:01 emacs
lyall    12883  3916  7 13:14 ?        00:00:30 /usr/bin/firefox -P default
lyall    12890     1  0 13:14 ?        00:00:00 /usr/libexec/gvfsd
lyall    12957 12883  1 13:14 ?        00:00:05 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs 6:50|7:-1|1
lyall    13049  3916  5 13:14 ?        00:00:20 /usr/bin/thunderbird -P default
lyall    13106 12883 11 13:14 ?        00:00:43 /usr/lib64/firefox/firefox -contentproc -childID 2 -isForBrowser -intPrefs 6:50|7:-1|1
lyall    13247 12883  0 13:14 ?        00:00:00 /usr/lib64/firefox/firefox -contentproc -childID 3 -isForBrowser -intPrefs 6:50|7:-1|1
lyall    13457  4375  0 13:17 pts/3    00:00:00 /bin/bash --noediting -i
lyall    13661 13457  0 13:20 pts/3    00:00:00 ps -fae
lyall    13662 13457  0 13:20 pts/3    00:00:00 grep --color=never lyall
lyall@Lyalls-PC ~
$ ps -fae | grep -i vbox
root     12577     2  0 13:09 ?        00:00:00 [iprt-VBoxWQueue]
root     12580     2  0 13:09 ?        00:00:00 [iprt-VBoxTscThr]
lyall    13665 13457  0 13:20 pts/3    00:00:00 grep --color=never -i vbox
lyall@Lyalls-PC ~
$

_________________
...Lyall
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 243
Location: Brisbane, Australia

PostPosted: Wed May 02, 2018 5:54 am    Post subject: Reply with quote

lyallp:

Your problem appears to be KDE related. I only use Xfce. Tried KDE in the past and found it not reliable on low end equipment.

Disable Fluxbox and KDE. Restart your PC and start VirtualBox from the command line. If it works, look at KDE. You may have to dig into the source code to get the error information.

It may help if you change your profile from 13 to 16 and update your glibc and gcc.

If necessary, go back to basics. Make a backup of your hard drive to an external drive then "dd" your hard drive with 'dd if=/dev/zero of=/dev/sda bs=4096". Then do a fresh installation following the handbook. Use profile: [16] default/linux/amd64/17.0/desktop (stable). Keep it simple! If your hard drive is less that 2TB use MBR partition, grub-static and a stable kernel version such as 4.9.72. Forget about processor/kernel vulnerabilities at this stage. When done and all is working as it should be, install VirtualBox WITHOUT GUI. Once this is working OK. install your favorite Desktop. I use Xfce on 20+ desktops and notebooks. No hassles, it just works.

Remember: Keep it Simple.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1389
Location: Adelaide/Australia

PostPosted: Wed May 02, 2018 9:27 am    Post subject: Reply with quote

As stated, Fluxbox is a display manager, an alternative to xfce, even more lightweight and faster.
I don't use KDE Desktop, only a few KDE apps, none of which are running at this time.
I build VirtualBox with the QT5 use flag because if I don't, it has no UI, which works, as far as I have tested.
I am already on profile 17.0 desktop stable.
I have the latest glibc built.
I already have gcc 6.4 installed and configured.
In fact, I have only in recent weeks done a complete --emptytree rebuild of my system, whilst attempting to resolve a separate issue.
_________________
...Lyall
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1389
Location: Adelaide/Australia

PostPosted: Wed May 02, 2018 1:32 pm    Post subject: Reply with quote

Tried downgrading from 5.2.10 (~amd64) to 5.1.32 (amd64) with no success.
FYI: I only have 32 ~amd64 packages installed, none of which are KDE infrastructure.
Code:

# emerge --pretend --emptytree @system @world | grep '~'
[ebuild   R   ~] dev-lang/duktape-2.2.0::gentoo  0 KiB
[ebuild   R   ~] app-crypt/argon2-20171227:0/1::gentoo  USE="-static-libs" 0 KiB
[ebuild   R   ~] virtual/rust-1.25.0::gentoo  0 KiB
[ebuild   R   ~] dev-util/pycharm-community-2018.1.1::gentoo  0 KiB
[ebuild   R   ~] dev-python/sabyenc-3.3.2::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R   ~] dev-perl/Encode-Locale-1.50.0::gentoo  USE="{-test}" 0 KiB
[ebuild   R   ~] dev-libs/nspr-4.19::gentoo  USE="-debug" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R   ~] net-libs/libupnp-1.8.2:1.8::gentoo  USE="ipv6 reuseaddr -blocking-tcp -debug -doc -samples -static-libs" 0 KiB
[ebuild   R   ~] sys-auth/google-authenticator-1.05::gentoo  0 KiB
[ebuild   R   ~] sys-devel/prelink-20151030::gentoo  USE="-doc (-selinux)" 0 KiB
[ebuild   R   ~] dev-libs/nss-3.36.1::gentoo  USE="nss-pem -cacert -utils" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R   ~] dev-db/phpmyadmin-4.8.0.1:4.8.0.1::gentoo  USE="-setup -vhosts" 0 KiB
[ebuild   R   ~] www-apps/nextcloud-13.0.1:13.0.1::gentoo  USE="curl mysql sqlite -postgres -vhosts" 0 KiB
[ebuild   R   ~] net-im/skypeforlinux-8.18.0.6::gentoo  USE="-pax_kernel" ABI_X86="(64)" 0 KiB
[ebuild   R   ~] dev-java/icedtea-3.7.0:8::gentoo  USE="alsa cups gtk jbootstrap pch pulseaudio source sunec webstart (-cacao) -doc -examples -headless-awt (-jamvm) -kerberos -libressl -nsplugin -pax_kernel -sctp (-selinux) -shenandoah -smartcard {-test} -zero" 0 KiB
[ebuild   R   ~] app-editors/emacs-26.1_rc1:26::gentoo  USE="X acl alsa dbus gif gpm imagemagick inotify jpeg libxml2 png ssl svg threads tiff xft xpm zlib -Xaw3d (-aqua) -athena (-cairo) -dynamic-loading -games -gconf -gfile -gsettings -gtk -gtk3 -gzip-el -kerberos -livecd -m17n-lib -mailutils -motif (-selinux) -sound -source -systemd -toolkit-scroll-bars -wide-int -xwidgets" 0 KiB
[ebuild   R   ~] dev-util/cargo-0.26.0::gentoo  USE="-debug -doc -libressl" 0 KiB
[ebuild   R   ~] app-admin/keepassxc-2.3.1::gentoo  USE="autotype -browser -debug -network {-test} -yubikey" 0 KiB
[ebuild   R   ~] dev-lang/rust-1.25.0:stable/1.25::gentoo  USE="jemalloc -debug -doc (-extended)" 0 KiB
[ebuild   R   ~] dev-db/sqlitestudio-3.1.1::gentoo  USE="cli cups -tcl {-test}" 0 KiB
[ebuild   R   ~] net-misc/nextcloud-client-2.3.3::gentoo  USE="samba sftp -doc -dolphin -nautilus -shibboleth {-test}" 0 KiB
[ebuild   R   ~] media-sound/bluez-alsa-1.2.0::gentoo  USE="aac -debug -hcitop" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild   R   ~] net-analyzer/tcptrack-1.4.2::gentoo  0 KiB
[ebuild   R   ~] sci-mathematics/rstudio-1.1.383-r1::gentoo  USE="-dedicated -server" 0 KiB
[ebuild   R   ~] www-client/firefox-59.0.2::gentoo  USE="dbus gmp-autoupdate pulseaudio screenshot startup-notification system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -debug -eme-free -hardened -hwaccel -jack (-neon) (-selinux) {-test} -wifi" L10N="-ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 0 KiB
[ebuild   R   ~] games-emulation/advancemenu-2.7::gentoo  USE="alsa ncurses sdl truetype -debug -fbcon -oss -slang" 0 KiB
[ebuild   R   ~] games-board/gnubg-1.05.000-r1::gentoo  USE="gtk opengl -python -sqlite -threads" CPU_FLAGS_X86="avx sse sse2" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R   ~] media-gfx/rawtherapee-5.4::gentoo  USE="openmp" 0 KiB
[ebuild   R   ~] www-client/chromium-67.0.3396.18::gentoo  USE="cups hangouts (pic) proprietary-codecs pulseaudio suid system-ffmpeg system-icu -component-build -custom-cflags -gnome-keyring -jumbo-build -kerberos (-neon) (-selinux) (-system-libvpx) (-tcmalloc)" L10N="-am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 0 KiB
[ebuild   R   ~] net-nntp/sabnzbd-2.3.2::gentoo  USE="7za rar unzip" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R   ~] net-misc/gerbera-1.1.0-r1::gentoo  USE="exif ffmpeg ffmpegthumbnailer javascript magic mysql protocol-extensions taglib -curl -debug -lastfm -libav -systemd" 0 KiB
[ebuild   R   ~] x11-misc/shutter-0.93.1-r3::gentoo  USE="-drawing" 0 KiB

_________________
...Lyall
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 243
Location: Brisbane, Australia

PostPosted: Thu May 03, 2018 4:39 am    Post subject: Reply with quote

lyallp:

Please post the contents of your /etc/portage/make.conf file and emerge --info output. Maybe I can then identify the cause of the problem.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1389
Location: Adelaide/Australia

PostPosted: Thu May 03, 2018 4:58 am    Post subject: Reply with quote

:)

/etc/portage/make.conf
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
NOCOLOR="true"
EMERGE_DEFAULT_OPTS="--jobs=3 --verbose --color=n --keep-going --with-bdeps=y --quiet-build=y"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j9"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
#CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4 ssse3"
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
PORTDIR="/data/portage"
PORTDIR_OVERLAY="/data/portage/local"
PORTAGE_TMPDIR="/tmp"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
AUTOCLEAN="yes"
FEATURES="sandbox userpriv usersandbox parallel-fetch collision-protect -parse-eapi-ebuild-head"
LINGUAS="en-AU en"
L10N="en-AU en"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_ELOG_CLASSES="warn error info log qa"
USE="samba -systemd -ldap -gnome mtp -plasma -wayland qt5 -qt4 -qt3support xvmc mysql mysqli pulseaudio icu gtk -bindist udisks bluetooth emacs"

APACHE2_MODULES="$APACHE2_MODULES access_compat dumpio"
#
# Throttle download of package sources... (Tran complains)
#
FETCHCOMMAND="/usr/bin/wget --limit-rate=256k -t 5 --passive-ftp -O \${DISTDIR}/\${FILE} \${URI}"
RESUMECOMMAND="/usr/bin/wget --limit-rate=256k -c -t 5 --passive-ftp -O \${DISTDIR}/\${FILE} \${URI}"


VIDEO_CARDS="nvidia vesa fbdev"
INPUT_DEVICES="keyboard mouse evdev"

PHP_TARGETS="php5-6 php7-1"
RUBY_TARGETS="ruby23"
PYTHON_TARGETS="python2_7 python3_4 python3_5"   # did have python3_2 as well.
PYTHON_SINGLE_TARGET="python3_5"   # needed for net-print/hplip-3.14.1
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo http://mirror.internode.on.net/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo"


emerge --info
Code:
Portage 2.3.24 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r11, 4.9.95-gentoo x86_64)
=================================================================
System uname: Linux-4.9.95-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700_CPU_@_3.60GHz-with-gentoo-2.4.1
KiB Mem:    32884972 total,   5007900 free
KiB Swap:   33286140 total,  33286140 free
Timestamp of repository gentoo: Wed, 02 May 2018 17:30:01 +0000
Head commit of repository gentoo: cd9e25007e79f39b8501793f07445e671c9a1e03
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /data/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:

repo_name-local
    location: /data/portage/local
    masters: gentoo
    priority: 0

bitcoin
    location: /var/lib/layman/bitcoin
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

mva
    location: /var/lib/layman/mva
    masters: gentoo
    priority: 50

srcshelton
    location: /var/lib/layman/srcshelton
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

zugaina
    location: /var/lib/layman/zugaina
    masters: gentoo
    priority: 50

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias access_compat dumpio"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_5 python_targets_python2_7 multilib"
BROWSER="/usr/bin/firefox"
CALLIGRA_FEATURES="karbon plan sheets stage words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -march=native -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
COLUMNS="134"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-mtune=native -march=native -O2 -pipe"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTDIR="/data/portage/distfiles"
EDITOR="/usr/bin/emacsclient"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--jobs=3 --verbose --color=n --keep-going --with-bdeps=y --quiet-build=y"
EMERGE_WARNING_DELAY="10"
ENV="/root/.bashrc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="/usr/bin/wget --limit-rate=256k -t 5 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
GCC_SPECS=""
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo http://mirror.internode.on.net/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo"
GPG_TTY="/dev/pts/6"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx"
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/info:/usr/share/info:/usr/share/info/emacs-26"
INPUT_DEVICES="keyboard mouse evdev"
INSIDE_EMACS="26.1,comint"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-chain prefix-guest"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
L10N="en-AU en"
LANG="en_AU.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-X -R"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="en-AU en"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="-j9"
MANPAGER="manpager"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/man:/usr/lib/llvm/5/share/man:/etc/java-config-2/current-system-vm/man/:/usr/lib64/php5.6/man/:/usr/lib64/php7.1/man/:/usr/local/share/man:/usr/share/man:/usr/share/rust-1.25.0/man"
MOZ_GMP_PATH="/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENCL_PROFILE="nvidia"
OPENGL_PROFILE="nvidia"
PACKAGE_MANAGER="portage"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-1"
PKGDIR="/data/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 arm64-linux hppa ia64 m68k m68k-mint mips ppc ppc-aix ppc-macos ppc64 ppc64-linux s390 sh sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.5"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error info log qa"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/python3.5/site-packages"
PORTAGE_PYTHONPATH="/usr/lib64/python3.5/site-packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima    security.selinux system.nfs4_acl user.apache_handler    user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
POSTGRES_TARGETS="postgres9_5"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/etc/portage/package.keywords"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_4 python3_5"
QT_GRAPHICSSYSTEM="raster"
RESUMECOMMAND="/usr/bin/wget --limit-rate=256k -c -t 5 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby23"
R_HOME="/usr/lib64/R"
SHELL="/bin/bash"
SHLVL="3"
SSH_ASKPASS="/usr/bin/ssh-askpass-fullscreen"
SUDO_COMMAND="/bin/bash -c /usr/bin/xterm -j -cm"
SUDO_GID="1001"
SUDO_UID="1000"
SUDO_USER="lyall"
SYMLINK_LIB="yes"
TERM="dumb"
TERMCAP=""
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emacs emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms libnotify mad mng modules mp3 mp4 mpeg mtp multilib mysql mysqli ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba sdl seccomp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias access_compat dumpio" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en-AU en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_EXPERIMENTAL_FEATURES CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 CPU_FLAGS_ARM ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos s390 sh sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VBOX_APP_HOME="/usr/lib64/virtualbox"
VIDEO_CARDS="nvidia vesa fbdev"
WINDOWID="46137357"
WWWBROWSER="/usr/bin/firefox"
XAUTHORITY="/home/lyall/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XEDITOR="/usr/bin/emacsclient"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
XTERM_LOCALE="en_AU.utf8"
XTERM_SHELL="/bin/bash"
XTERM_VERSION="XTerm(327)"
ftp="ftp -vip"


Environment of user running VirtualBox
Code:
ANT_HOME=/usr/share/ant
BROWSER=/usr/bin/firefox
CONFIG_PROTECT_MASK=/etc/sandbox.d /etc/php/cli-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/fonts/fonts.conf /etc/gentoo-release /etc/gconf /etc/terminfo /etc/dconf /etc/ca-certificates.conf /etc/revdep-rebuild
CONFIG_PROTECT=/usr/share/gnupg/qualified.txt /usr/share/config /usr/lib64/libreoffice/program/sofficerc
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oT5vBDsQlg,guid=da21a3b26d44ad4eadf83a935ae9467a
DESKTOP_SESSION=fluxbox
DIGICAM_PICS=/home/lyall/Digicam Pics
DISPLAY=:0.0
EDITOR=/usr/bin/emacsclient
ENV=/home/lyall/.bashrc
ftp=ftp -vip
GCC_SPECS=
GDM_LANG=en_AU.utf8
GDMSESSION=fluxbox
GPG_TTY=/dev/pts/4
GSETTINGS_BACKEND=dconf
GTK_MODULES=canberra-gtk-module
HOME=/home/lyall
INFOPATH=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/info:/usr/share/info:/usr/share/info/emacs-26
JAVAC=/etc/java-config-2/current-system-vm/bin/javac
JAVA_HOME=/etc/java-config-2/current-system-vm
JDK_HOME=/etc/java-config-2/current-system-vm
KDEVARTMP=/tmp/kde-cache
LANG=en_AU.utf8
LD_LIBRARY_PATH=:/home/lyall/lib
LESSOPEN=|lesspipe %s
LESS=-X -R
LOGNAME=lyall
MAIL=/var/mail/lyall
MANPAGER=manpager
MANPATH=/etc/java-config-2/current-system-vm/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/man:/usr/lib/llvm/5/share/man:/etc/java-config-2/current-system-vm/man/:/usr/lib64/php5.6/man/:/usr/lib64/php7.1/man/:/usr/local/share/man:/usr/share/man:/usr/share/rust-1.25.0/man
MOZ_GMP_PATH=/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed
OPENCL_PROFILE=nvidia
OPENGL_PROFILE=nvidia
PACKAGE_MANAGER=portage
PAGER=/usr/bin/less
PATH=/usr/local/bin:/usr/bin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/games/bin:/home/lyall/Scripts:/home/lyall/bin
PWD=/home/lyall
QT_GRAPHICSSYSTEM=raster
R_HOME=/usr/lib64/R
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=4043
SSH_ASKPASS=/usr/bin/ssh-askpass-fullscreen
SSH_AUTH_SOCK=/tmp/ssh-wPjuWLkeSzyO/agent.4041
TERM=xterm
USER=lyall
_=/usr/bin/env
VBOX_APP_HOME=/usr/lib64/virtualbox
WINDOWID=39845901
WWWBROWSER=/usr/bin/firefox
XAUTHORITY=/home/lyall/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_DATA_DIRS=/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/lyall
XDG_RUNTIME_DIR=/var/run/user/1000
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SEAT=seat0
XDG_SESSION_COOKIE=Lyalls-PC-1525237370.595366-1909369929
XDG_SESSION_DESKTOP=fluxbox
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XEDITOR=/usr/bin/emacsclient
XTERM_LOCALE=en_AU.utf8
XTERM_SHELL=/bin/bash
XTERM_VERSION=XTerm(327)

_________________
...Lyall
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 243
Location: Brisbane, Australia

PostPosted: Thu May 03, 2018 9:18 am    Post subject: Reply with quote

lyallp:

I believe that the problem is caused by not using ACCEPT_KEYWORDS="amd64" in /etc/portage/make.conf and unstable applications and libraries.

Have look at my configuration. This is rock solid and is used on home use and commercial used systems. 7 or 8 with Windows as VirtualBox guests. The VirtualBox base directory is usually located at ~/VirtualBox.

Instead of spending many hours of trying to fix what may be impossible to fix, make a backup of your / and /boot, or make space on a separate partition or drive and create a user for testing. Then do a new stable install using ACCEPT_KEYWORDS="amd64" in /etc/portage/make.conf. Use grub-static if your boot drive is smaller than 2TB.

Once it's up and running, install your applications One by One, always testing that your system and and installed applications keep working. Avoid unstable (~) items. Install and test unstable software (~) only in a VirtualBox client.

Remember "Keep it Simple"!

These are configuration files for my desktops with an Nvidia video card:
Code:
File: /etc/portage/make.conf:
CFLAGS="-O2 -march=native -mtune=native -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
FEATURES="-preserve-libs"
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
LINGUAS="en"
INPUT_DEVISES="evdev"
VIDEO_CARDS="nouveau"
USE="-kde -gnome -qt4 -qt5 -ipv6 -bluetooth -systemd -gtk3 gtk2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
XFCE_PLUGINS="brightness clock trash"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo"
# CPU_FLAGS_X86="YOUR CPU FLAGS"
# CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a"

-------
File: /etc/portage/package.keywords/media:
# required by media-sound/alsamixer-app (argument)
=media-sound/alsamixer-app-0.1 ~amd64

# required by xfce-extra/xfce4-alsa-plugin (argument)
=xfce-extra/xfce4-alsa-plugin-0.1.1 ~amd64

File: /etc/portage/package.mask/kernel:
>sys-kernel/gentoo-sources-4.9.95
 
-------
File: /etc/portage/package.mask/qt:
dev-qt/*:4

-------
File: /etc/portage/package.mask/www-client
www-client/links

-------
File: /etc/portage/package.use/hp
net-print/hplip qt5 scanner doc hpcups snmp hpijs static-ppds

-------
File: /etc/portage/package.use/media
media-video/ffmpeg X aac alsa bluray bzip2 encode gpl gsm hardcoded-tables iconv jpeg2k libass mp3 network opengl postproc schroedinger sdl speex theora threads truetype twolame vaapi vdpau vorbis vpx wavpack x264 x265 xcb xvid zlib

media-video/mplayer rar libmpeg2 theora twolame bluray vdpau gsm

media-video/vlc qt5 dvd ffmpeg mpeg mad wxwindows aac dts a52 ogg flac theora oggvorbis matroska freetype bidi xv svga gnutls stream vlm httpd cdda vcd cdio live lua avcodec avformat bluray postproc schroedinger sftp speex swscale tremor twolame upnp vaapi vcdx vdpau vpx x265 run-as-root

# required by media-video/vlc-2.2.8-r1::gentoo
# required by @selected
# required by @world (argument)
>=sys-libs/zlib-1.2.11-r1 minizip

# required by media-video/smplayer-17.11.2::gentoo
# required by @selected
# required by @world (argument)
>=dev-qt/qtsingleapplication-2.6.1_p20150629 qt5

# required by dev-qt/qtsingleapplication-2.6.1_p20150629::gentoo
# required by media-video/smplayer-17.11.2::gentoo
# required by @selected
# required by @world (argument)
>=dev-qt/qtlockedfile-2.4.1_p20150629 qt5

-------
File: /etc/portage/package.use/mozilla:
www-client/firefox gtk2 ffmpeg
mail-client/thunderbird gtk2 -crypt

# required by mail-client/thunderbird-52.7.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-lang/python-2.7.14-r1:2.7 sqlite

-------
File: /etc/portage/package.use/use:
### package.use ###
# Basic use flags:
dev-util/cmake -qt4 -qt5
app-text/poppler -qt4 -qt5
gnome-base/gvfs -http
sys-process/cronie -anacron
app-admin/sudo -sendmail

#Xorg and Xfce basix use flags:
x11-base/xorg-server udev
xfce-base/thunar gvfs xfce_plugins_trash
dev-libs/beecrypt cxx threads

-------
File: /etc/portage/package.use/virtualbox:
app-emulation/virtualbox qt5

-------
File: /etc/portage/package.use/X11:
# required by x11-base/xorg-server-1.19.5-r1::gentoo[glamor]
# required by x11-drivers/xf86-input-keyboard-1.9.0::gentoo
# required by x11-base/xorg-drivers-1.19::gentoo[input_devices_keyboard]
>=media-libs/libepoxy-1.4.2 X

-------
File: /etc/portage/package.use/Xfce:
media-libs/libcanberra gtk3

-------
File: /etc/portage/repos.conf/gentoo.conf:
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes

-------
File: /etc/portage/smart-live-rebuild.conf:
[smart-live-rebuild]
jobs = 6
# quickpkg = on

-------
Kernel configuration for noveau and virtualbox:
Rename /etc/kernels to /etc/kernels.old
Rename /usr/src/linux-4.9.72-gentoo/ to /usr/src/linux-4.9.72-gentoo.old/
emerge -av =sys-kernel/gentoo-sources-4.9.95

genkernel --menuconfig all

Enable:
Device Drivers --->
  Input device support --->
  <*>  Event interface

Device Drivers --->
   Graphics support --->
      <M>  Nouveau (nVidia) cards

Change boot loader as required for the new kernel.

-------
File: /etc/locale.gen:
en_AU ISO-8859-1
en_AU.UTF-8 UTF-8

-------
File: /var/lib/portage/world:
app-admin/eclean-kernel
app-admin/logrotate
app-admin/sudo
app-admin/superadduser
app-admin/syslog-ng
app-arch/arj
app-arch/cpio
app-arch/dpkg
app-arch/engrampa
app-arch/lha
app-arch/lzop
app-arch/p7zip
app-arch/rar
app-arch/rpm
app-arch/unace
app-arch/unarj
app-arch/unrar
app-arch/unzip
app-arch/zip
app-arch/zoo
app-editors/leafpad
app-editors/nano
app-emulation/virtualbox
app-emulation/virtualbox-additions
app-emulation/virtualbox-extpack-oracle
app-emulation/virtualbox-modules
app-misc/mc
app-office/libreoffice
app-portage/cpuid2cpuflags
app-portage/gentoolkit
app-portage/porthole
app-portage/portpeek
app-portage/smart-live-rebuild
app-text/atril
gnome-base/gsettings-desktop-schemas
gnome-extra/gnome-calculator
gnome-extra/gnome-search-tool
mail-client/thunderbird
mate-extra/mate-system-monitor
media-fonts/corefonts
media-fonts/droid
media-fonts/font-adobe-100dpi
media-fonts/font-adobe-75dpi
media-fonts/font-adobe-utopia-100dpi
media-fonts/font-adobe-utopia-75dpi
media-fonts/font-adobe-utopia-type1
media-fonts/intlfonts
media-gfx/simple-scan
media-gfx/viewnior
media-gfx/xloadimage
media-sound/alsamixer-app
media-video/smplayer
media-video/vlc
net-analyzer/etherape
net-analyzer/gnome-nettool
net-analyzer/netselect
net-analyzer/traceroute
net-ftp/filezilla
net-misc/ntp
net-misc/sshpass
net-print/hplip
sys-apps/mlocate
sys-apps/pciutils
sys-boot/grub-static
sys-kernel/genkernel
sys-kernel/gentoo-sources
sys-libs/ncurses
sys-process/cronie
www-client/firefox
x11-base/xorg-server
x11-drivers/xf86-video-nouveau
x11-misc/grsync
x11-misc/ktsuss
x11-misc/slim
x11-terms/xfce4-terminal
xfce-base/xfce4-meta
xfce-extra/thunar-archive-plugin
xfce-extra/thunar-volman
xfce-extra/xfce4-alsa-plugin
xfce-extra/xfce4-weather-plugin


Some of the stuff is Xfce specific.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1389
Location: Adelaide/Australia

PostPosted: Thu May 03, 2018 9:21 am    Post subject: Reply with quote

As noted above, only 32 apps use ~amd64
_________________
...Lyall
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 243
Location: Brisbane, Australia

PostPosted: Thu May 03, 2018 9:59 am    Post subject: Reply with quote

lyallp wrote:
As noted above, only 32 apps use ~amd64


Unmerge the ~ apps one by one. starting with those that depent on Qt. After each unmerge run:

emerge -va --update --deep --with-bdeps=y --newuse --backtrack=300 --changed-deps=y --keep-going=y @world

emerge --depclean
revdep-rebuild

and re-emerge VirtualBox

Maybe tis will eliminate the library that causes the problem with the VirtualBox GUI.

The othor option is to build VirtualBox with full debug info and run it in gdb with breakpoints to find what causes the problem.

Good Luck.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1389
Location: Adelaide/Australia

PostPosted: Sun May 13, 2018 8:12 am    Post subject: Reply with quote

Threw out VirtualBox and installed VirtualBox-bin

That won't start either, with a
Code:
Failed to initialize COM or to find the VirtualBox COM server. Most likely, the VirtualBox server is not running or failed to start.

The application will now terminate.

Callee RC: NS_ERROR_FILE_TARGET_DOES_NOT_EXIST (0x80520006)

as root or my normal user.

Has anyone got a working VirtualBox on Gentoo where they have masked dev-qt/*:4 ?
_________________
...Lyall
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 20121
Location: here

PostPosted: Sun May 13, 2018 9:13 am    Post subject: Reply with quote

lyallp wrote:
Has anyone got a working VirtualBox on Gentoo where they have masked dev-qt/*:4 ?

At work I use virtualbox without any qt4 lib installed (version 5.1.38, 5.2.10 and 5.2.12 before I don't remeber if I had qt4 installed or no).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 243
Location: Brisbane, Australia

PostPosted: Sun May 13, 2018 11:49 pm    Post subject: Reply with quote

lyallp wrote:

Has anyone got a working VirtualBox on Gentoo where they have masked dev-qt/*:4 ?

I masked dev-qt/*:4 on 20+ systems during transition from qt4 to qt5.

To test, mask dev-qt/*:4 and run:
Code:
emerge -va --update --deep --with-bdeps=y --newuse --backtrack=300 --changed-deps=y --keep-going=y @world

This will show you qt4 stuff that may need to be removed or updated to qt5 and available updates.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1389
Location: Adelaide/Australia

PostPosted: Mon May 14, 2018 12:21 am    Post subject: Reply with quote

When I masked qt4, I did a @system @world complete rebuild, threw out or ~amd64 packages that didn't build.
So, there is no qt4 left on my system.
I tried using the bin version but that complains of no server - I can't win a trick.
_________________
...Lyall
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 243
Location: Brisbane, Australia

PostPosted: Mon May 14, 2018 3:42 am    Post subject: Reply with quote

lyallp:

I guess the best solution is the wipe (dd) the harddrive and install a stable system.

I can send you my "Cut & Paste" installation script for openrc, static IP, grub-static, Xfce desktop, This will cut down keyboard time to about 10~15 minutes.

Requirements:
Code:

current Gentoo installation disk (install-amd64-minimal-?????????.iso) and a second PC for accessing your PC by ssh or SystemrescueCD.
The output/content of:
lspci -k
uname -a
cpuid2cpuflags
/etc/fstab, 
/etc/resolv.conf
/etc/conf.d/hostname
/etc/conf.d/net
login name for the non-root VirtualBox user.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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