Toolchains can't be built in restricted area

Bug #1088441 reported by Bernhard Rosenkraenzer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
Critical
Bernhard Rosenkraenzer
Linaro Android Infrastructure
Fix Released
Critical
Paul Sokolovsky

Bug Description

Toolchains can't be built in ~restricted because
"Jobs owned by ~linaro-android-restricted must use BUILD_TYPE=build-android-restricted"
That BUILD_TYPE isn't suitable for toolchain builds since they must run a different set of commands (BUILD_TYPE=build-android-toolchain-linaro).

Changed in linaro-android:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 12.12
Revision history for this message
Данило Шеган (danilo) wrote :

Bero, how did we do restricted toolchain builds so far? Did we do them at all? (We can't dedicate too many resources to this right now, or we'd have to drop other work that was planned for this cycle)

Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

We didn't -- the toolchains in restricted were built in open (no problem because they contain only open code anyway) and then moved to restricted.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Danilo, any eta on this?

Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 12.12 → 13.02
milestone: 13.02 → 13.01
assignee: nobody → Bernhard Rosenkraenzer (berolinux)
Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

ping

Changed in linaro-android-infrastructure:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Paul Sokolovsky (pfalcon)
milestone: none → 2013.01
Revision history for this message
Данило Шеган (danilo) wrote :

This is currently blocking juice releases: Gesha, Paul, please look at this asap.

Changed in linaro-android-infrastructure:
status: Confirmed → Triaged
importance: High → Critical
Changed in linaro-android-infrastructure:
status: Triaged → In Progress
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Update: I made needed changes to enable restricted toolchain builds yesterday evening, but testing failed due to compilation error in bzr trunk, confirmed by the same issue in 4.6-bzr and 4.7-bzr daily builds. I'm currently trying to find good reference gcc build to test restricted build changes.

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

Ok, we got successful build which behaves as expected re: access control: https://android-build.linaro.org/builds/~linaro-android-restricted/toolchain-4.7-2012.12-restr-pfalcon/

To set up a restricted toolchain build, you must use "BUILD_TYPE=build-android-toolchain-linaro-restricted" (yes, that's getting long, but adheres to existing naming convention and is fully explicit (which was design requirement for naming convention)). The rest of settings as for normal toolchain build.

Changed in linaro-android-infrastructure:
status: In Progress → Fix Committed
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

<bero> pfalcon: https://android-build.linaro.org/builds/~linaro-android-restricted/juice-toolchain-4.7-bzr/ <-- running
<bero> pfalcon: Build succeeded

Checked that downloads access restriction apply. Closing.

Changed in linaro-android-infrastructure:
status: Fix Committed → Fix Released
Changed in linaro-android:
status: Confirmed → Fix Released
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.