Please install svn in the build environments

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

Bug Description

Since linaro gcc is maintained in svn (rather than bzr) now, native-toolchain has been updated to pull gcc sources from there.
This causes the build to fail in android-build because svn isn't installed in the build environment ("svn: command not found").

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

While looking into this, it turned that all Natty EC2 apt repostories are gone now. So, we now really have no other choice than to upgrade to Precise, at least for builders. I did that, and added "subversion" package to the image too.

Test build:

https://android-build.linaro.org/jenkins/view/All/job/linaro-android_galaxynexus-linaro-gcc47/74/

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

Failed to build, and it looks like the failure may be related to the host OS (some library no longer pulling in -ldl automatically).

Should be very easy to fix in Android code though (just add -ldl), I'm on it.

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

Actually something odd is going on, -ldl is already added manually and it still doesn't see dlsym and dlerror.
Investigating.

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

Well, that -ldl would come from Bionic, right? And that any issues with finding it would be toolchain's, and we use toolchainm built by us, not host OS's? Anyway, let me know if we need to switch to Natty to investigate this.

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

No, it happens while building tools needed on the build host, using the OS toolchain.

It was easy to fix though:

http://review.android.git.linaro.org/#/c/4379/
http://review.android.git.linaro.org/4381

It's actually a bug in Android that has been around forever, just never showed up because apparently on anything but Precise the libdl dep is pulled in implicitly.

No need to change anything in the build env since the Android bug is fixed.

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

Ok, closing this then.

Changed in linaro-android-infrastructure:
status: In Progress → Fix Committed
Changed in linaro-android-infrastructure:
milestone: none → 2013.08
Changed in linaro-android-infrastructure:
status: Fix Committed → 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.