Skip to content

Use sudo build and manually install clang-3.7 #2862

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

Conversation

owen-mc-diffblue
Copy link
Contributor

Travis have removed llvm-toolchain-precise-3.7 from their whitelist
of sources for the "apt:" option, so we have to use a sudo build and
add it as a source ourselves.

Travis have removed llvm-toolchain-precise-3.7 from their whitelist
of sources for the "apt:" option, so we have to use a sudo build and
add it as a source ourselves.
@tautschnig
Copy link
Collaborator

I have restarted the build (two times by now), and the Doxygen job keeps falling over (the first one was with a different message, though). Is this an issue with Travis' infrastructure, or is the APT key that Google provides genuinely outdated?

@owen-mc-diffblue
Copy link
Contributor Author

It's possible it's something to do with this commit: travis-ci/apt-source-safelist@9cfe4d4#diff-eb3790820e97ba4b0dd22623188e706a . I don't really understand how it works.

The Travis log included the following lines:

W: GPG error: http://packages.cloud.google.com/apt cloud-sdk-trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6A030B21BA07F4FB
W: The repository 'http://packages.cloud.google.com/apt cloud-sdk-trusty InRelease' is not signed.
W: There is no public key available for the following key IDs:
6A030B21BA07F4FB
W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1)
travis_fold:end:apt-get.diagnostics
�[0K
�[31;1mThe command "sudo -E apt-get -yq --no-install-suggests --no-install-recommends $TRAVIS_APT_OPTS install cmake google-cloud-sdk graphviz" failed and exited with 100 during .�[0m
@owen-mc-diffblue
Copy link
Contributor Author

@tautschnig I have added a commit which seems to have fixed that problem. I must admit that I don't understand repositories and how they relate to travis all that well, so it's very much a case of "when you have a hammer everything looks like a nail".

@tautschnig
Copy link
Collaborator

To me this looks like Travis is doing some sort of caching of keys, which apparently is broken. Or maybe it's travis-ci/apt-source-safelist#388. Either way the workaround seems ok to me, just manually doing what the APT add-on was supposed to do.

@peterschrammel peterschrammel merged commit 872f5e5 into diffblue:develop Aug 30, 2018
@owen-mc-diffblue owen-mc-diffblue deleted the owen-jones-diffblue/fix-travis-clang-3-7 branch August 30, 2018 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants