Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588794 - app-emulation/virtualbox-5.1.0: error: ‘GLdouble’ has not been declared
Summary: app-emulation/virtualbox-5.1.0: error: ‘GLdouble’ has not been declared
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:
Depends on:
Blocks:
 
Reported: 2016-07-14 03:52 UTC by Erik Zeek
Modified: 2016-07-26 20:56 UTC (History)
4 users (show)

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


Attachments
Build log (app-emulation:virtualbox-5.1.0:20160714-030515.log.gz,306.73 KB, application/gzip)
2016-07-14 03:52 UTC, Erik Zeek
Details
emerge --info (emerge-info.txt,14.24 KB, text/plain)
2016-07-14 03:53 UTC, Erik Zeek
Details
Add header w/ missed declarations (virtualbox-5.1.0-fix-588794.patch,184 bytes, patch)
2016-07-15 08:58 UTC, Alex Turbov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2016-07-14 03:52:59 UTC
Created attachment 440650 [details]
Build log

I'm getting errors about GLdouble not being declared with virtualbox-5.1.0.

In file included from /gentoo/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/src/VBox/Frontends/VirtualBox/src/VBoxGLSupportInfo.cpp:34:0:
/gentoo/tmp/portage/app-emulation/virtualbox-5.1.0/work/VirtualBox-5.1.0/include/VBox/VBoxGL2D.h:68:75: error: ‘GLdouble’ has not been declared
 typedef GLvoid (APIENTRY *PFNVBOXVHWA_MULTI_TEX_COORD2D) (GLenum texture, GLdouble v0, GLdouble v1);
Comment 1 Erik Zeek 2016-07-14 03:53:49 UTC
Created attachment 440652 [details]
emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-07-14 11:27:26 UTC
Can you please install the package 

  app-portage/portage-utils


and then post the output of the command


  emerge -Opqv $(qlist -CIS dev-qt | grep ":5") virtualbox

to this bug?
Comment 3 Erik Zeek 2016-07-14 11:53:16 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #2)
> Can you please install the package 
> 
>   app-portage/portage-utils
> 
> 
> and then post the output of the command
> 
> 
>   emerge -Opqv $(qlist -CIS dev-qt | grep ":5") virtualbox
> 
> to this bug?

emerge -Opqv $(qlist -CIS dev-qt | grep ":5") virtualbox
[ebuild   R   ] dev-qt/assistant-5.6.1  USE="webkit -debug {-test}" 
[ebuild   R   ] dev-qt/designer-5.6.1  USE="declarative webkit -debug {-test}" 
[ebuild   R   ] dev-qt/linguist-tools-5.6.1  USE="qml -debug {-test}" 
[ebuild   R   ] dev-qt/qdbus-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtconcurrent-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtcore-5.6.1  USE="icu systemd -debug {-test}" 
[ebuild   R   ] dev-qt/qtdbus-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtdeclarative-5.6.1-r1  USE="gles2 jit localstorage widgets xml -debug {-test}" 
[ebuild   R   ] dev-qt/qtgraphicaleffects-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtgui-5.6.1  USE="accessibility dbus egl evdev gif gles2 jpeg png udev xcb -debug -eglfs -gtkstyle -ibus -libinput {-test} -tslib -tuio" 
[ebuild   R   ] dev-qt/qthelp-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtimageformats-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtmultimedia-5.6.1  USE="gles2 gstreamer openal pulseaudio qml widgets -alsa -debug -gstreamer010 {-test}" 
[ebuild   R   ] dev-qt/qtnetwork-5.6.1  USE="networkmanager ssl -bindist -connman -debug -libproxy {-test}" 
[ebuild   R   ] dev-qt/qtopengl-5.6.1  USE="gles2 -debug {-test}" 
[ebuild   R   ] dev-qt/qtpaths-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtpositioning-5.6.1  USE="geoclue qml -debug {-test}" 
[ebuild   R   ] dev-qt/qtprintsupport-5.6.1  USE="cups gles2 -debug {-test}" 
[ebuild   R   ] dev-qt/qtquickcontrols-5.6.1  USE="widgets -debug {-test}" 
[ebuild   R   ] dev-qt/qtscript-5.6.1  USE="jit scripttools -debug {-test}" 
[ebuild   R   ] dev-qt/qtsensors-5.6.1  USE="qml -debug {-test}" 
[ebuild   R   ] dev-qt/qtsql-5.6.1  USE="mysql sqlite -debug -freetds -oci8 -odbc -postgres {-test}" 
[ebuild   R   ] dev-qt/qtsvg-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qttest-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtwebkit-5.6.1  USE="geolocation jit multimedia opengl printsupport qml webp -debug -gstreamer -gstreamer010 -orientation {-test} -webchannel" 
[ebuild   R   ] dev-qt/qtwebsockets-5.6.1  USE="qml ssl -debug {-test}" 
[ebuild   R   ] dev-qt/qtwidgets-5.6.1  USE="gles2 png xcb -debug -gtkstyle {-test}" 
[ebuild   R   ] dev-qt/qtx11extras-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtxml-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtxmlpatterns-5.6.1  USE="-debug {-test}" 
[ebuild     U ] app-emulation/virtualbox-5.1.0 [5.0.20] USE="alsa java lvm opengl pam pulseaudio python qt5%* sdk udev vnc -debug -doc -headless -libressl -vboxwebsrv (-qt4%*)" PYTHON_TARGETS="python2_7"
Comment 4 Alexander Straube 2016-07-14 16:52:34 UTC
Same issue here

[ebuild   R   ] dev-qt/designer-5.6.1  USE="-debug -declarative {-test} -webkit" 
[ebuild   R   ] dev-qt/linguist-tools-5.6.1  USE="qml -debug {-test}" 
[ebuild   R   ] dev-qt/qdbus-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtconcurrent-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtcore-5.6.1  USE="icu systemd -debug {-test}" 
[ebuild   R   ] dev-qt/qtdbus-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtdeclarative-5.6.1-r1  USE="gles2 jit widgets xml -debug -localstorage {-test}" 
[ebuild   R   ] dev-qt/qtgraphicaleffects-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtgui-5.6.1  USE="accessibility dbus egl evdev gif gles2 gtkstyle jpeg png udev xcb -debug -eglfs -ibus -libinput {-test} -tslib -tuio" 
[ebuild   R   ] dev-qt/qtimageformats-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtmultimedia-5.6.1  USE="alsa gles2 gstreamer openal pulseaudio qml widgets -debug -gstreamer010 {-test}" 
[ebuild   R   ] dev-qt/qtnetwork-5.6.1  USE="ssl -bindist -connman -debug -libproxy -networkmanager {-test}" 
[ebuild   R   ] dev-qt/qtopengl-5.6.1  USE="gles2 -debug {-test}" 
[ebuild   R   ] dev-qt/qtpaths-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtpositioning-5.6.1  USE="qml -debug -geoclue {-test}" 
[ebuild   R   ] dev-qt/qtprintsupport-5.6.1  USE="cups gles2 -debug {-test}" 
[ebuild   R   ] dev-qt/qtquick1-5.6.0  USE="gles2 opengl xml -debug -designer {-test} -webkit" 
[ebuild   R   ] dev-qt/qtquickcontrols-5.6.1  USE="widgets -debug {-test}" 
[ebuild   R   ] dev-qt/qtscript-5.6.1  USE="jit scripttools -debug {-test}" 
[ebuild   R   ] dev-qt/qtsensors-5.6.1  USE="qml -debug {-test}" 
[ebuild   R   ] dev-qt/qtsql-5.6.1  USE="mysql sqlite -debug -freetds -oci8 -odbc -postgres {-test}" 
[ebuild   R   ] dev-qt/qtsvg-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qttest-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qttranslations-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtwayland-5.6.1  USE="egl qml xcomposite -debug {-test} -wayland-compositor" 
[ebuild   R   ] dev-qt/qtwebkit-5.6.1  USE="geolocation jit multimedia opengl orientation qml -debug -gstreamer -gstreamer010 -printsupport {-test} -webchannel -webp" 
[ebuild   R   ] dev-qt/qtwidgets-5.6.1  USE="gles2 gtkstyle png xcb -debug {-test}" 
[ebuild   R   ] dev-qt/qtx11extras-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtxml-5.6.1  USE="-debug {-test}" 
[ebuild   R   ] dev-qt/qtxmlpatterns-5.6.1  USE="-debug {-test}" 
[ebuild     U ] app-emulation/virtualbox-5.1.0 [5.0.20] USE="alsa opengl pam pulseaudio qt5%* sdk udev vnc -debug -doc -headless -java -libressl -lvm -python -vboxwebsrv (-qt4%*)" PYTHON_TARGETS="python2_7"
Comment 5 Alex Turbov 2016-07-15 08:58:47 UTC
Created attachment 440754 [details, diff]
Add header w/ missed declarations

I've got the same problem.
Attached patch would fix it.
Comment 6 John Doe 2016-07-15 09:57:09 UTC
(In reply to Alex Turbov from comment #5)
> Created attachment 440754 [details, diff] [details, diff]
> Add header w/ missed declarations
> 
> I've got the same problem.
> Attached patch would fix it.

Worked for me, thanks.
Comment 7 Gary E. Miller 2016-07-18 19:46:07 UTC
(In reply to Alex Turbov from comment #5)
> Created attachment 440754 [details, diff] [details, diff]
> Add header w/ missed declarations
> 
> I've got the same problem.
> Attached patch would fix it.

Worked for me too, on Gentoo unstable.

Thanks!
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-07-23 10:34:14 UTC
Is this still an issue with virtualbox-5.1.2?
Comment 9 Alex Buell 2016-07-23 14:46:47 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #8)
> Is this still an issue with virtualbox-5.1.2?

Yes, it still is. I'm about to test the patch given a few comments ago against it in a few mins.
Comment 10 Erik Zeek 2016-07-23 15:21:05 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #8)
> Is this still an issue with virtualbox-5.1.2?

I'm not seeing it now, but I also removed 'gles2' from my use flags. See bug 588914.
Comment 11 Alex Buell 2016-07-23 16:25:28 UTC
(In reply to Alex Buell from comment #9)
> (In reply to Lars Wendler (Polynomial-C) from comment #8)
> > Is this still an issue with virtualbox-5.1.2?
> 
> Yes, it still is. I'm about to test the patch given a few comments ago
> against it in a few mins.

Patch works.
Comment 12 walt 2016-07-23 22:32:19 UTC
Exactly the same problem with 5.1.2.  Is there a reason the patch can't be committed?
Comment 13 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-07-26 08:40:06 UTC
commit a22f3bf6b4da9846f06d5fcf23fabfcaf21ee58b
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Jul 26 10:37:44 2016

    app-emulation/virtualbox: New patchset to fix bug #588794
    
    Package-Manager: portage-2.3.0
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>


Please test =app-emulation/virtualbox-5.1.2 and report back if the new patchset fixes this problem.
Comment 14 Axel Fischer 2016-07-26 19:30:58 UTC
Fixed the problem for me. Thank you.