Bug 2266 - cross compiling broken by latest autotools upstream(v3.0.1.201203221532)
Summary: cross compiling broken by latest autotools upstream(v3.0.1.201203221532)
Status: RESOLVED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: High critical
Target Milestone: 1.2 M4
Assignee: Jessica
QA Contact:
URL:
Whiteboard: (1.2) fixed
Depends on:
Blocks:
 
Reported: 2012-04-09 09:13 UTC by Lianhao Lu
Modified: 2012-04-10 17:38 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

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