You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Builds broken due to llvm package source changes #2407
See conversation from #2391 (comment). Splitting out because it's an independent issue from that PR and affecting all builds now.
We've tried switching to clang-3.6 with both the llvm-toolchain-precise and llvm-toolchain-precise-3.6 sources without luck.
I emailed the maintainer of these sources, Sylvestre Ledru, and the llvm-dev mailing list:
Hi,
At Mapbox we have been using the llvm-toolchain-precise-3.5 package
source to install clang-3.5 on Travis CI VMs for testing purposes
(Travis VM images are Ubuntu 12.04). This has worked fairly well for
us; thanks for providing it. However, the 3.5 source seems to have
recently disappeared, breaking our builds. No problem, we thought,
we'll update to 3.6. However, this doesn't seem to work either. When
using either the llvm-toolchain-precise or llvm-toolchain-precise-3.6
sources, no clang-3.6 package can be found:
Are there packages missing from these sources? What version is the
unsuffixed llvm-toolchain-precise source expected to contain? And for
the future avoidance of unexpected build breakage, is there a setup we
can use where packages won't disappear from underneath us?
The llvm-toolchain-precise-3.5 repository was back up again and working fine this morning (#2391 (comment)), but it looks like -3.6 is down again now (#2416 (comment)).
$ echo '"deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main"' | sudo tee -a /etc/apt/sources.list > /dev/null
Installing APT Packages (BETA)
$ export DEBIAN_FRONTEND=noninteractive
0.01s$ sudo -E apt-get -yq update &>> ~/apt-get-update.log
0.04s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install gdb clang-3.5 libstdc++-4.9-dev libstdc++6 libllvm3.4 xutils-dev libxxf86vm-dev x11proto-xf86vidmode-dev mesa-utils
Reading package lists...
E: Type 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.5 main' is not known on line 55 in source list /etc/apt/sources.list
E: The list of sources could not be read.
E: The package lists or status file could not be parsed or opened.
Sorry for the continued issue. This appears to be something out of our reach at the moment. I am trying to find anyone who is involved in the LLVM project to see if we can resolve this problem soon.
The sources and packages are there. Travis just can't connect:
W: Failed to fetch http://llvm.org/apt/precise/dists/llvm-toolchain-precise-3.6/Release.gpg Connection failed
W: Failed to fetch http://llvm.org/apt/precise/dists/llvm-toolchain-precise-3.6/Release
W: Failed to fetch http://llvm.org/apt/precise/dists/llvm-toolchain-precise-3.6/main/binary-amd64/Packages Unable to connect to llvm.org:http:
W: Failed to fetch http://llvm.org/apt/precise/dists/llvm-toolchain-precise-3.6/main/binary-i386/Packages Unable to connect to llvm.org:http:
Activity
jfirebaugh commentedon Sep 24, 2015
Message approved for the mailing list: http://lists.llvm.org/pipermail/llvm-dev/2015-September/090712.html
mikemorris commentedon Sep 24, 2015
The
llvm-toolchain-precise-3.5repository was back up again and working fine this morning (#2391 (comment)), but it looks like-3.6is down again now (#2416 (comment)).jfirebaugh commentedon Sep 24, 2015
Current failure:
mikemorris commentedon Sep 24, 2015
From [email protected]:
jfirebaugh commentedon Sep 24, 2015
No response on the mailing list. I also opened an issue in the Travis source whitelist repo and cc'd some people who potentially have the same issue as us.
jfirebaugh commentedon Sep 24, 2015
The sources and packages are there. Travis just can't connect:
jfirebaugh commentedon Sep 24, 2015
http://llvm.org/apt/precise/dists/llvm-toolchain-precise-3.5/ still exists BTW, so we shouldn't necessarily need #2416. It's just no longer listed on http://llvm.org/apt/.
jfirebaugh commentedon Sep 28, 2015
So in the end all the failures were due to llvm.org being slow: #1828.