Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 410553

Summary: x11-drivers/xf86-video-virtualbox / app-emulation/virtualbox-guest-additions fail to cross-compile
Product: Gentoo Linux Reporter: Liam McLoughlin <hexxeh>
Component: [OLD] UnspecifiedAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: aabarkley3, hexxeh, patrick, proxy-maint
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to add target-arch flag to configure script call

Description Liam McLoughlin 2012-04-02 13:34:01 UTC
Created attachment 307485 [details]
patch to add target-arch flag to configure script call

This package fails to cross-compile due to a missing configure flag that specifies the target architecture, as such, it attempts to build for the host architecture. If this is different to the target architecture, the build may fail.

I have fixed this by adding the target architecture flag to the configure script, a patch for which is attached.
Comment 1 Liam McLoughlin 2012-04-02 13:40:09 UTC
The same problem also exists in virtualbox-guest-additions, same fix works.
Comment 2 SpanKY gentoo-dev 2015-04-01 18:06:13 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add --target for cross-compiling
http://sources.gentoo.org/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.26.ebuild?r1=1.1&r2=1.2
Comment 3 SpanKY gentoo-dev 2015-04-01 18:06:36 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add --target for cross-compiling
http://sources.gentoo.org/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-4.3.26.ebuild?r1=1.1&r2=1.2