Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586630 - app-emulation/virtualbox-5.0.24 && 5.1.0 version bump
Summary: app-emulation/virtualbox-5.0.24 && 5.1.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 587714 588746 (view as bug list)
Depends on:
Blocks: 582150
  Show dependency tree
 
Reported: 2016-06-21 18:59 UTC by Frank Krömmelbein
Modified: 2016-08-26 07:21 UTC (History)
12 users (show)

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


Attachments
Fixed Makefile patch for x11-drivers/xf86-video-virtualbox-5.0.22 (xf86-video-virtualbox-5.0.22-Makefile.module.kms.patch,610 bytes, patch)
2016-06-27 08:51 UTC, Mario Kicherer
Details | Diff
qt5_configure.patch (qt5_configure.patch,550 bytes, patch)
2016-07-14 18:10 UTC, stephan wezel
Details | Diff
qt5_configure.patch (qt5_configure.patch,475 bytes, patch)
2016-07-14 23:10 UTC, jospezial
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2016-06-21 18:59:41 UTC
VirtualBox 5.0.22 (released 2016-06-16)
Changelog:
https://www.virtualbox.org/wiki/Changelog#v22
Comment 1 Mario Kicherer 2016-06-27 08:51:41 UTC
Created attachment 438958 [details, diff]
Fixed Makefile patch for x11-drivers/xf86-video-virtualbox-5.0.22

I had to fix this patch for x11-drivers/xf86-video-virtualbox. Except this, a simple rename of the ebuilds worked.
Comment 2 Mario Kicherer 2016-06-27 09:25:49 UTC
Just to let you know, the new vboxvideo module segfaults on my machine.
Comment 3 Mario Kicherer 2016-06-27 10:41:18 UTC
Ok, looks like something else was wrong. After a some reboots it works now.
Comment 4 Frank Krömmelbein 2016-06-28 22:32:54 UTC
It seems that the previous version has some regressions.

VirtualBox 5.0.24 (released 2016-06-28)
Changelog:
https://www.virtualbox.org/wiki/Changelog#v24
Comment 5 Gerald 2016-06-29 08:28:27 UTC
5.0.24 is very important when Kernel 4.6.x is used (Guru Meditation crashes). Please bump soon :-)
Comment 6 Jonas Stein gentoo-dev 2016-07-01 19:55:00 UTC
*** Bug 587714 has been marked as a duplicate of this bug. ***
Comment 7 jospezial 2016-07-02 16:21:45 UTC
(In reply to Gerald from comment #5)
> 5.0.24 is very important when Kernel 4.6.x is used (Guru Meditation
> crashes). Please bump soon :-)

bug 582150
Comment 8 Mirko Langisch 2016-07-09 08:33:02 UTC
could you update it to 5.1_rc1 in your poly-c overlay, maybe, Lars? or tell us how to build a src tarball for virtualbox-modules?
Comment 9 Frank Krömmelbein 2016-07-12 18:55:31 UTC
Oracle VM VirtualBox 5.1.0 is now available, Release notes:
https://blogs.oracle.com/virtualization/entry/oracle_vm_virtualbox_5_14
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-07-13 09:24:23 UTC
*** Bug 588746 has been marked as a duplicate of this bug. ***
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-07-13 10:15:44 UTC
commit 0f918dc9f83e9677691f5d97c4efedfeabfcce82
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Jul 13 12:13:10 2016

    app-emulation/virtualbox: Bump to versions 5.0.24 and 5.1.0
    
    bug #586630
    
    Package-Manager: portage-2.3.0
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

commit 94997fd22a632194c9f31c392dc7c7797351c009
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Jul 13 12:11:47 2016

    app-emulation/virtualbox-extpack-oracle: Bump to versions 5.0.24 and 5.1.0
    
    bug #586630
    
    Package-Manager: portage-2.3.0
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

commit 997f85153a0197d1c830b8ca882e5ad95c3f3210
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Jul 13 12:11:02 2016

    app-emulation/virtualbox-additions: Bump to versions 5.0.24 and 5.1.0
    
    bug #586630
    
    Package-Manager: portage-2.3.0
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

commit 821dbe6ca6cec0175458faadd903cea5f8c524e4
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Jul 13 12:10:10 2016

    app-emulation/virtualbox-modules: Bump to versions 5.0.24 and 5.1.0
    
    bug #586630
    
    Package-Manager: portage-2.3.0
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

commit 479f074632bc0df93f03dbc4e7211b0c378c6d7f
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Jul 13 12:09:22 2016

    app-emulation/virtualbox-bin: Bump to versions 5.0.24 and 5.1.0
    
    bug #586630
    
    Package-Manager: portage-2.3.0
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>


Sorry for the long delay. I was on vacation.
The two guest packages will come later and thus I gonna keep this bug open.
Comment 12 jospezial 2016-07-13 13:34:45 UTC
With qt-5.7.999:

Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU: Checking for Qt5: 
  ** qt5 not found!
Check /var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/configure.log for details
 * ERROR: app-emulation/virtualbox-5.1.0::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_configure
 *   environment, line 5909:  Called die
 * The specific snippet of code:
 *       ./configure --with-gcc="$(tc-getCC)" --with-g++="$(tc-getCXX)" --disable-dbus --disable-kmods ${myconf[@]} || die "configure failed"
 * 



config.log:

***** Checking Qt5 *****
(Qt5 from pkg-config)
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 0x050302
  return 0;
#else
  return 1;
#endif
}
using the following command line:
x86_64-pc-linux-gnu-g++  -fPIC -g -O -Wall -o /var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/.tmp_out /var/tmp/po
rtage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/.tmp_src.cc "-L/usr/lib64 -lQt5Core -lpthread -I/usr/include/qt5/QtCore -I/us
r/include/qt5"
In file included from /usr/include/qt5/QtCore/qatomic.h:46:0,
                 from /usr/include/qt5/QtCore/qglobal.h:1145,
                 from /usr/include/qt5/QtCore/QtGlobal:1,
                 from /var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/.tmp_src.cc:1:
/usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"
 #  error "Qt requires C++11 support"
    ^
Comment 13 Sven B. 2016-07-13 18:01:06 UTC
Missing dependency on dev-qt/linguist-tools for qt5 on virtualbox-5.1.0;

...
kmk: /usr/lib64/qt5/bin/lrelease: Command not found
...
Comment 14 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-07-13 20:28:41 UTC
(In reply to Sven B. from comment #13)
> Missing dependency on dev-qt/linguist-tools for qt5 on virtualbox-5.1.0;
> 
> ...
> kmk: /usr/lib64/qt5/bin/lrelease: Command not found
> ...

commit 043b5847ef0588b8d064e7c861a3bca52e730a67
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Jul 13 22:24:28 2016

    app-emulation/virtualbox: Added dev-qt/linguist-tools:5 to DEPEND (bug #588778)

    Package-Manager: portage-2.3.0
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Comment 15 stephan wezel 2016-07-14 18:10:38 UTC
Created attachment 440730 [details, diff]
qt5_configure.patch
Comment 16 stephan wezel 2016-07-14 18:13:50 UTC
Comment on attachment 440730 [details, diff]
qt5_configure.patch

qt5_configure.patch
fixes the qt5 test compile in the configure phase
Comment 17 jospezial 2016-07-14 22:58:19 UTC
(In reply to stephan wezel from comment #15)
> Created attachment 440730 [details, diff] [details, diff]
> qt5_configure.patch

Your patch changes configure.old .
I think the change should be applied to configure .
Comment 18 jospezial 2016-07-14 23:10:21 UTC
Created attachment 440736 [details, diff]
qt5_configure.patch

ebuild /usr/portage/app-emulation/virtualbox/virtualbox-5.1.0.ebuild configure
 * VirtualBox-5.1.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                 [ ok ]
 * virtualbox-5.0.16-patches-01.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking VirtualBox-5.1.0.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-5.1.0/work
>>> Unpacking virtualbox-5.0.16-patches-01.tar.xz to /var/tmp/portage/app-emulation/virtualbox-5.1.0/work
>>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-5.1.0/work
>>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0 ...
 * Applying patches from /var/tmp/portage/app-emulation/virtualbox-5.1.0/work/patches ...
 *   001_virtualbox-5.0.16-mesa-check.patch ...                                                                                  [ ok ]
 *   002_virtualbox-5.0.0_beta3-remove-configure-checks.patch ...                                                                [ ok ]
 *   003_virtualbox-4.0.2-restore_old_machines_dir.patch ...                                                                     [ ok ]
 *   004_virtualbox-4.1.2-vboxpci-build.patch ...                                                                                [ ok ]
 *   005_virtualbox-4.2.26-asneeded.patch ...                                                                                    [ ok ]
 *   006_virtualbox-4.2.18-vboxwebsrv_fix.patch ...                                                                              [ ok ]
 *   008_virtualbox-4.3.14-missing_define.patch ...                                                                              [ ok ]
 * Applying patches from /etc/portage/patches/app-emulation/virtualbox ...
 *   qt5_configure.patch ...                                                                                                     [ ok ]
 * User patches applied.
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0 ...
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 5.4.0, OK.
Checking for Open Watcom: 
  ** Open Watcom was not found!
Checking for iasl: found version 20150717, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.9.4, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version LibreSSL 2.4.1, OK.
Checking for libcurl: found version 7.49.1, OK.
Checking for libvpx: found version 1.5.0, OK.
Checking for zlib: found version 1.2.8, OK.
Checking for libpng: found version 1.6.23+apng, OK.
Checking for SDL: found version 1.2.15, OK.
Checking for X libraries: Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU: Checking for Qt5: found version 5.7.0, OK.
Checking for Qt5 devtools: found version moc 5.7.0, OK.
Checking for Python support: found version 2.7.11, OK.
Checking for Java support: OK.
Checking for PulseAudio: found version 9.0.0 API version 12, OK.
Checking for static stc++ library: found, OK.
Checking for ALSA: found version 1.1.1, OK.
Checking for libcap library: found, OK.
Checking for compiler.h: compiler.h not found, OK.
Checking for 32-bit support: OK.
Checking for libvncserver: found version 0.9.10, OK.
Comment 19 jospezial 2016-07-14 23:59:36 UTC
It looks like it doesn't like my libressl:

  CXX RuntimeBldProg - {C}/src/VBox/Runtime/common/crypto/digest-builtin.cpp
x86_64-pc-linux-gnu-g++ -c -O2 -g -pipe -pedantic -Wshadow -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter    -Wlogical-op   -Wno-long-long -Wno-long-long  -Wno-variadic-macros -O2 -fno-omit-frame-pointer -fno-strict-aliasing -m64 -I/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/include -I/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/libs/liblzf-3.4 -I/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/libs/kStuff/kStuff/include -I/usr/include/libxml2 -I/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/include -I/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib64/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/lib64/virtualbox\" -DRTPATH_APP_DOCS=\"\" -D_REENTRANT -DIN_RING3 -DLOG_DISABLED -DIN_BLD_PROG -DIN_RT_R3 -DIN_ADV_BLD_PROG -DIN_RT_R3 -DLDR_WITH_NATIVE -DLDR_WITH_ELF32 -DLDR_WITH_PE -DRT_WITH_VBOX -DRT_NO_GIP -DRT_WITHOUT_NOCRT_WRAPPERS -DIPRT_WITH_OPENSSL -DLDR_WITH_KLDR -DRT_WITH_ICONV_CACHE -DIPRT_WITHOUT_LDR_VERIFY -DRT_NO_GIP -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/out/linux.amd64/release/obj/RuntimeBldProg/common/crypto/digest-builtin.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/out/linux.amd64/release/obj/RuntimeBldProg/common/crypto/digest-builtin.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/out/linux.amd64/release/obj/RuntimeBldProg/common/crypto/digest-builtin.o /var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp
/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp: In function ‘void* rtCrDigestOsslEvp_New()’:
/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp:559:27: error: ‘EVP_MD_CTX_new’ was not declared in this scope
     return EVP_MD_CTX_new();
                           ^
/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp: In function ‘void rtCrDigestOsslEvp_Free(void*)’:
/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp:564:41: error: ‘EVP_MD_CTX_free’ was not declared in this scope
     EVP_MD_CTX_free((EVP_MD_CTX*)pvState);
                                         ^
/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp: In function ‘int rtCrDigestOsslEvp_Init(void*, void*, bool)’:
/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp:592:31: error: ‘EVP_MD_CTX_reset’ was not declared in this scope
         EVP_MD_CTX_reset(pThis);
                               ^
/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp: In function ‘void rtCrDigestOsslEvp_Delete(void*)’:
/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Runtime/common/crypto/digest-builtin.cpp:611:27: error: ‘EVP_MD_CTX_reset’ was not declared in this scope
     EVP_MD_CTX_reset(pThis);
                           ^
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/out/linux.amd64/release/obj/RuntimeBldProg/common/crypto/digest-builtin.o] Error 1
 * ERROR: app-emulation/virtualbox-5.1.0::gentoo failed (compile phase):
 *   emake failed


=================================================================
                        Package Settings
=================================================================

dev-libs/libressl-2.4.1::overlay_jl was built with the following:
USE="asm -static-libs" ABI_X86="32 64 -x32"


dev-libs/openssl-9999::libressl was built with the following:
USE="zlib -bindist -kerberos -static-libs" ABI_X86="32 64 -x32"
Comment 20 jospezial 2016-07-15 00:01:50 UTC
These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U  ] app-emulation/virtualbox-extpack-oracle-5.1.0.108711::gentoo [5.0.20.106931::gentoo] 0 KiB
[ebuild     U  ]  app-emulation/virtualbox-5.1.0::gentoo [5.0.20::gentoo] USE="alsa java libressl opengl pam pulseaudio python qt5%* sdk udev vnc -debug -doc -headless -lvm -vboxwebsrv (-qt4%*)" PYTHON_TARGETS="python2_7" 0 KiB
Comment 21 stephan wezel 2016-07-15 18:19:36 UTC
(In reply to jospezial from comment #17)
> (In reply to stephan wezel from comment #15)
> > Created attachment 440730 [details, diff] [details, diff] [details, diff]
> > qt5_configure.patch
> 
> Your patch changes configure.old .
> I think the change should be applied to configure .

Hmm strange. On my system this patch was successfully applied as user patch.
But you are right it should be for configure :) and not configure.old
Comment 22 Jean-Claude Repetto 2016-07-25 07:36:05 UTC
Versions 5.0.26 and 5.1.2 are now available.
Comment 23 Paolo Pedroni 2016-07-25 10:18:06 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #11)
> The two guest packages will come later and thus I gonna keep this bug open.

Any news on this? ;)

Thanks for all your work.
Comment 24 masterzorag 2016-07-25 18:46:29 UTC
(In reply to Paolo Pedroni from comment #23)
> (In reply to Lars Wendler (Polynomial-C) from comment #11)
> > The two guest packages will come later and thus I gonna keep this bug open.
> 
> Any news on this? ;)
> 
> Thanks for all your work.

I'm working on doing the point about guest-additions:
could you try new virtualbox-guest-additions-ng-5.0.16_alpha_pre from here?
https://github.com/masterzorag/gentoo-overlay

currently tested on i686 and amd46 gentoo guests, on Fedora 24 and Gentoo x86_64 hosts (VBox5.1.2)

my solutions would lead to:
- re-merge virtualbox-guest-additions and video driver ebuilds since they should not be builted in the current splitted way
- ask user to purge all other unneeded virtualbox ebuilds
- included script will detect if you are relly running a VirtualBox guest

dynamic windows resizing of guest and shared folders are working, not tested clipboard sharing;
can you give a try?
Comment 25 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-08-26 07:21:42 UTC
Closing in favor of bug #590648