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

"make toolchains" target fails to download the toolchains #1195

Closed
msa2 opened this Issue Nov 23, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@msa2

msa2 commented Nov 23, 2016

I attempted to make a clean build as per instructions

$ mkdir rpi3
$ cd rpi3
$ repo init -u https://github.com/OP-TEE/manifest.git -m rpi3.xml
$ repo sync -j3
$ cd build
$ make toolchains

at which point it fails while untarring ../toolchains/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz

toolchains$ file *.xz
gcc-linaro-5.3-2016.02-x86_64_aarch64-linux-gnu.tar.xz:   XZ compressed data
gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz: XZ compressed data
gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz:    HTML document, ASCII text

...and yes, that .xz file is really HTML file (at least as it appears in my directory)

@msa2

This comment has been minimized.

Show comment
Hide comment
@msa2

msa2 Nov 23, 2016

Actually, at end of this html, there is...

<div id="content">
  
Page not found: /14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz

</div>
<div id="footer">
  Running <a href="https://git.linaro.org/infrastructure/linaro-license-protection.git">linaro-license-protection</a> <a href="https://git.linaro.org/in
frastructure/linaro-license-protection.git/commit/4758205">4758205</a>.
</div>
</body>
</html>

msa2 commented Nov 23, 2016

Actually, at end of this html, there is...

<div id="content">
  
Page not found: /14.08/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz

</div>
<div id="footer">
  Running <a href="https://git.linaro.org/infrastructure/linaro-license-protection.git">linaro-license-protection</a> <a href="https://git.linaro.org/in
frastructure/linaro-license-protection.git/commit/4758205">4758205</a>.
</div>
</body>
</html>

@vchong

This comment has been minimized.

Show comment
Hide comment
@vchong

vchong Nov 23, 2016

Contributor

Sorry the file got archived on the server. We will fix it asap but in the meantime, in build/toolchain.mk, please change:

http://releases.linaro.org/14.08/components/toolchain/binaries/${LEGACY_AARCH64_GCC_VERSION}.tar.xz

to

http://releases.linaro.org/archive/14.08/components/toolchain/binaries/${LEGACY_AARCH64_GCC_VERSION}.tar.xz

and try again.

Contributor

vchong commented Nov 23, 2016

Sorry the file got archived on the server. We will fix it asap but in the meantime, in build/toolchain.mk, please change:

http://releases.linaro.org/14.08/components/toolchain/binaries/${LEGACY_AARCH64_GCC_VERSION}.tar.xz

to

http://releases.linaro.org/archive/14.08/components/toolchain/binaries/${LEGACY_AARCH64_GCC_VERSION}.tar.xz

and try again.

@jbech-optee-adm jbech-optee-adm added the bug label Nov 23, 2016

@jbech-optee-adm jbech-optee-adm changed the title from Is repo messed up? to "make toolchains" target fails to download the toolchains Nov 23, 2016

vchong added a commit to vchong/build that referenced this issue Nov 24, 2016

toolchain.mk: Update legacy toolchain download url
Fixes OP-TEE/optee_os#1195.

Signed-off-by: Victor Chong <victor.chong@linaro.org>

vchong added a commit to vchong/build that referenced this issue Nov 24, 2016

toolchain.mk: Update legacy toolchain download url
Fixes OP-TEE/optee_os#1195.

Signed-off-by: Victor Chong <victor.chong@linaro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Tested-by: Joakim Bech <joakim.bech@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment