Android linaro_kernel_build_cmds.sh stops for config options

Bug #974316 reported by Matt Waddel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
Won't Fix
High
Unassigned
Linaro Android Build Tools
Won't Fix
Undecided
Andy Doan

Bug Description

When using the release kernel rebuild script it stops to ask for input. Either the config file is wrong or the git clone didn't grab the correct kernel.

Here are the specifics:

https://android-build.linaro.org/builds/~linaro-android/snowball-ics-gcc46-igloo-stable-blob/#build=239

Download and run:

./linaro_kernel_build_cmds.sh

Skipping the "git clone" section, here are the config messages:
...
  GEN /home/mwaddel/tmp/snowball/linaro-kernel/out/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
.config:1:warning: unexpected data
.config:2:warning: unexpected data
.config:3:warning: unexpected data
.config:4:warning: unexpected data
.config:5:warning: unexpected data
.config:6:warning: unexpected data
.config:7:warning: unexpected data
.config:8:warning: unexpected data
.config:9:warning: unexpected data
*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [N/y/?] (NEW)
...

Related branches

Revision history for this message
Matt Waddel (mwaddel) wrote :

I see the .config file in the out/ directory is incorrect. Instead of a configuration file it has this:

$ cat .config
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://snapshots.linaro.org/licenses/ste.html">here</a>.</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at snapshots.linaro.org Port 80</address>
</body></html>

It looks like it's something to do with the click-through license.

Revision history for this message
Matt Waddel (mwaddel) wrote :

Dropping in a valid ~/out/.config file from the same website fixes the problem:

http://snapshots.linaro.org/android/~linaro-android/snowball-ics-gcc46-igloo-stable-blob/239/kernel_config

So there is a workaround.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Assigning to Andy, author of linaro_kernel_build_cmds.sh feature.

Changed in linaro-android-build-tools:
assignee: nobody → Andy Doan (doanac)
Revision history for this message
Andy Doan (doanac) wrote :

The core issue is the click-through license for snowball (and also origen). We are looking into a work-around.

Changed in igloocommunity:
importance: Undecided → High
milestone: none → 2012.04
Revision history for this message
Anmar Oueja (anmar) wrote :

Andy: The work around is simple as all you need is to cache the cookie when downloading. Mathieu will provide with the details.

Changed in igloocommunity:
assignee: nobody → Mathieu Poirier (mathieu.poirier)
Revision history for this message
Sunil Kamath (sunil-kamath) wrote :

Mathieu,
Any update on this issue?

Anmar Oueja (anmar)
Changed in igloocommunity:
status: New → Won't Fix
Revision history for this message
Mathieu Poirier (mathieu.poirier-deactivatedaccount) wrote :

I have never executed this command nor seen the script but the output from #1 tells me a 'wget' to igloo was done without the proper cookie. Get back to me personally for the exact command.

Revision history for this message
Andy Doan (doanac) wrote :
Revision history for this message
Alan Bennett (akbennett) wrote :

Due to the age of this issue, we are acknowledging that this issue will likely not be fixed. If this issue is still important, please add details and re open the issue.

Changed in linaro-android-build-tools:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.