Bug 2266

Summary: cross compiling broken by latest autotools upstream(v3.0.1.201203221532)
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Lianhao Lu <lianhao.lu>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: High CC: hongnax.xu, yp.ep.watcher, yp.watcher
Version: 1.2   
Target Milestone: 1.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (1.2) fixed
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Lianhao Lu 2012-04-09 09:13:49 UTC
The latest autotools upstream(v3.0.1.201203221532) breaks out cross compiling due to the commit http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.git/commit/?id=cca878550d75d77cfff0a21b15135eac17bef7f6. 

To reproduce this:
1. Create a new Yocto autotools project.
2. select "Project" -> "Reconfigure Project"

Reconfigure will fail and displaying the following:

sh: /home/lulianhao/runtim-EclipseApplication/helloc/autogen.sh: Permission denied.

Configuration failed with error.

This is because the upstream now use "sh -c autogen.sh" instead of "sh autogen.sh" to run the script, and the autogen.sh file doesn't have "x" file mode bit enabled.

We need to figure out how to enable the "x" bits when creating a new project.
Comment 1 Lianhao Lu 2012-04-09 09:17:58 UTC
previous autotools version 3.0.1.201202152032 doesn't have this bug.
Comment 2 Jessica 2012-04-09 19:37:38 UTC
Fixed in this commit: 	bf9359dc1e86b037c4772397e218d07af215f138
Comment 3 Jessica 2012-04-10 17:38:17 UTC
Revise the fix by these commit: bf9359dc1e86b037c4772397e218d07af215f138, 	8f785d671610f1bfd90a88e5fe88d93cabd7f7be