[GRADLE-3246] Problem building native code samples with 2.3, reports 'Invalid NativePlatform: linux_i686' Created: 19/Feb/15 Updated: 08/Apr/15 Resolved: 08/Apr/15 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 2.4-rc-1 |
Type: | Bug | ||
Reporter: | Sterling Greene | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Description |
After upgrading to Gradle 2.3 I can't build anything native related, even the Gradle samples from the 2.3 distribution. Every attempt in a directory with a script using native plugin ends with the following error: FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'c'. Build time: 2015-02-16 05:09:33 UTC Groovy: 2.3.9 |
Comments |
Comment by Sterling Greene [ 19/Feb/15 ] |
Here is the requested information: uname -a Linux ubuntu.lenovoX61t 3.16.0-12-generic #18-Ubuntu SMP Mon Sep 1 13:04:08 UTC 2014 i686 i686 i686 GNU/Linux gradle printArch :printArch |
Comment by Brian Krische [ 08/Apr/15 ] |
I have the same issue running 32-bit CentOS 6.5 on a Virtual Machine (VMware ESXi). My output from the printArch thing is: :printArch From native path: i686 System property: i386 Current arch: architecture 'i686' |
Comment by Sterling Greene [ 08/Apr/15 ] |
@Brian, I just fixed this by adding i686 as an alias for i386/x86. When the 2.4 RC comes out very soon, please take a look. |