Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigations of failures to provision the ARM cross builders #280

Closed
larsbergstrom opened this issue Mar 27, 2016 · 3 comments
Closed

Investigations of failures to provision the ARM cross builders #280

larsbergstrom opened this issue Mar 27, 2016 · 3 comments

Comments

@larsbergstrom
Copy link
Contributor

@larsbergstrom larsbergstrom commented Mar 27, 2016

As noted in #274, we are failing to install the ubuntu packages 'g++-arm-linux-gnueabihf' & 'g++-aarch64-linux-gnu' in GCE.

Just now, I did an apt-get upgrade on the cross builders (as I noticed that they had failed to autoupdate) and got:

root@ip-172-31-34-111:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libstdc++-4.8-dev-armhf-cross : Depends: libstdc++6-armhf-cross (>= 4.8.4-2ubuntu1~14.04.1cross0.11.1) but 4.8.2-16ubuntu4cross0.11 is installed
 libstdc++6-armhf-cross : Depends: gcc-4.8-arm-linux-gnueabihf-base (= 4.8.2-16ubuntu4cross0.11) but 4.8.4-2ubuntu1~14.04.1cross0.11.1 is installed
E: Unmet dependencies. Try using -f.
root@ip-172-31-34-111:~# 
@larsbergstrom
Copy link
Contributor Author

@larsbergstrom larsbergstrom commented Mar 27, 2016

@aneeshusa
Copy link
Member

@aneeshusa aneeshusa commented Mar 27, 2016

It's a known packaging bug: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1557205

Running the following appears to be the recommended temporary solution:

sudo apt-get -o Dpkg::Options::="--force-overwrite" install -f

We can do this on the builders if we need to, but this would require some hackery to add to Travis. From what I understand from a Vagrant session we'd need to try installing and then run the command to fix the packages; least hacky way would be editing our .travis.yml to add a conditional to install and run the fix on the cross builder before running the highstate.

I'd like to avoid doing this if possible, but if it's a priority I can put in a PR. (I'm hoping this gets fixed upstream quickly.)

@larsbergstrom
Copy link
Contributor Author

@larsbergstrom larsbergstrom commented Mar 28, 2016

@edunham and I chatted and we agree to just wait for upstream to fix it.

The main thing in the meantime is that we have to check the travis log failures carefully by hand.

bors-servo added a commit that referenced this issue Apr 5, 2016
…-arm-g++-packages, r=larsbergstrom

Re-engage servo-linux-cross1 on Travis

Upstream has released new packages for Ubuntu Trusty which resolve
the installation conflicts encountered when installing the ARM g++ packages.

See https://bugs.launchpad.net/ubuntu/+source/gcc-4.8-armhf-cross/+bug/1557205/comments/16
for a comment confirming release of the upstream fix.

This reverts commit aa84355 which was part of #274.

Closes #280.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/291)
<!-- Reviewable:end -->
biotrump pushed a commit to biotrump/ubuntu-bin that referenced this issue May 6, 2016
failures to provision the ARM cross builders
sudo apt-get -o Dpkg::Options::="--force-overwrite" install -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.