Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420397 - x11-drivers/xf86-video-virtualbox-4.1.12: fatal error: state/cr_statefuncs.h: No such file or directory
Summary: x11-drivers/xf86-video-virtualbox-4.1.12: fatal error: state/cr_statefuncs.h:...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alessio Cassibba (X-Drum)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 12:12 UTC by Sebastian Pipping
Modified: 2012-12-17 21:07 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,191.00 KB, text/plain)
2012-06-09 12:12 UTC, Sebastian Pipping
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2012-06-09 12:12:19 UTC
Created attachment 314779 [details]
build.log

Full log is attached.

  C       VBoxOGLcrutil - {C}/util/net.c
In file included from /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/GuestHost/OpenGL/include/state/cr_client.h:12:0,
                 from /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/GuestHost/OpenGL/include/cr_pixeldata.h:11,
                 from /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/GuestHost/OpenGL/util/net.c:27:
/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/GuestHost/OpenGL/include/state/cr_bufferobject.h:12:33: fatal error: state/cr_statefuncs.h: No such file or directory
compilation terminated.
kmk: *** [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/out/linux.amd64/release/obj/VBoxOGLcrutil/util/net.o] Error 1
The failing command:
@gcc -c -O2 -g -pipe -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-long-long -Werror-implicit-function-declaration -Wno-variadic-macros -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -Wno-sign-compare -fPIC -m64 -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/Additions/x11/x11include/mesa-7.2 -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/Additions/x11/x11include/mesa-7.2/include -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/ -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/glapi -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/main -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/drivers/dri/common -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/GuestHost/OpenGL/include -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/out/linux.amd64/release/obj/VBoxOGLgen -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/include -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/out/linux.amd64/release -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DCHROMIUM_THREADSAFE -DVBOX_WITH_HGCM -DIN_RING3 -DIN_GUEST -DIN_GUEST_R3 -DIN_RT_R3 -DGC_ARCH_BITS=64 -DPIC -DLinux=1 -D_GNU_SOURCE -DLOG_USE_C99 -DRT_WITHOUT_EXEC_ALLOC -Wp,-MD,/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/out/linux.amd64/release/obj/VBoxOGLcrutil/util/net.o.dep -Wp,-MT,/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/out/linux.amd64/release/obj/VBoxOGLcrutil/util/net.o -Wp,-MP -o /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/out/linux.amd64/release/obj/VBoxOGLcrutil/util/net.o /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12-r1/work/VirtualBox-4.1.12/src/VBox/GuestHost/OpenGL/util/net.c
Comment 1 psychopatch 2012-12-16 04:01:42 UTC
This bug is due to a parallel make issue.  xf86-video-virtualbox doesn't play nice with anything besides -j1  Temp fix is to run:
   MAKEOPTS="-j1" emerge xf86-video-virtualbox

permanent fix is to modify the ebuild to say emake -j1 instead of emake

i.e.: http://pastebin.com/vP7TrTku
Comment 2 Vincent de Phily 2012-12-17 12:02:29 UTC
I just got biten by this one too (and the workaround works).

But it's quite an annoying workaround. Is upstream aware of and interested in fixing parallel make issues ? It'd be better to fix parallel rather than disabling it.
Comment 3 Sebastian Pipping gentoo-dev 2012-12-17 21:07:07 UTC
Thanks for the hint on parallel building.

It seems that
* 4.1.12 is no longer in Gentoo and
* 4.2.4 builds fine with -j5 here.

I am therefore closing this bug as obsolete.  I hope that is in everyone's best interest.