Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410553 - x11-drivers/xf86-video-virtualbox / app-emulation/virtualbox-guest-additions fail to cross-compile
Summary: x11-drivers/xf86-video-virtualbox / app-emulation/virtualbox-guest-additions ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-04-02 13:34 UTC by Liam McLoughlin
Modified: 2015-04-01 18:06 UTC (History)
4 users (show)

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


Attachments
patch to add target-arch flag to configure script call (xf86-video-virtualbox-4.1.10.ebuild.patch,415 bytes, text/plain)
2012-04-02 13:34 UTC, Liam McLoughlin
Details

Note You need to log in before you can comment on or make changes to this bug.
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