This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Change URL of gcc's tarball


On 20/07/18 11:15, Zong Li wrote:
After 7.1.0 version, there is no .bz2 format of gcc's tarball.

	* scripts/build-many-glibcs.py (checkout_tar): Change the URL of gcc's
	tarball.
...
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 601718d..892288d 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -869,7 +869,7 @@ class Context(object):
          if update:
              return
          url_map = {'binutils': 'https://ftp.gnu.org/gnu/binutils/binutils-%(version)s.tar.bz2',
-                   'gcc': 'https://ftp.gnu.org/gnu/gcc/gcc-%(version)s/gcc-%(version)s.tar.bz2',
+                   'gcc': 'https://ftp.gnu.org/gnu/gcc/gcc-%(version)s/gcc-%(version)s.tar.gz',
                     'gmp': 'https://ftp.gnu.org/gnu/gmp/gmp-%(version)s.tar.xz',
                     'linux': 'https://www.kernel.org/pub/linux/kernel/v4.x/linux-%(version)s.tar.xz',
                     'mpc': 'https://ftp.gnu.org/gnu/mpc/mpc-%(version)s.tar.gz',

i've run into this too, versions published after 2017-06
seems to use .gz and .xz (that includes gcc-5.5.0, gcc-6.4.0,
gcc-7.2.0, gcc-7.3.0 and gcc-8.1.0)

may be the url could be a list and if the first one fails
with 404 then retry the second. (e.g. gmp has some versions
without .gz and others without .xz tarball so there is no
single pattern that always works)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]