Ticket #20023: 0001-Upgrade-Go-to-1.6.3.patch

File 0001-Upgrade-Go-to-1.6.3.patch, 18.2 KB (added by dcf, 3 years ago)
  • gitian/descriptors/linux/gitian-pluggable-transports.yml

    From fb5d41ca65a3f980732c9121fa2a88a78d83db28 Mon Sep 17 00:00:00 2001
    From: David Fifield <david@bamsoftware.com>
    Date: Sun, 10 Apr 2016 08:32:54 +0000
    Subject: [PATCH 1/2] Upgrade Go to 1.6.3.
    
    This commit is a combination of two commits from master:
    778fd2d0 Bug 18333: Upgrade go to 1.6.2.
    1aa712a5 Bug 19703: Upgrade Go to 1.6.3.
    ---
     .../linux/gitian-pluggable-transports.yml          | 12 ++++++++++
     .../mac/gitian-pluggable-transports.yml            | 27 ++++++++++++++++-----
     .../windows/gitian-pluggable-transports.yml        | 28 +++++++++++++++++-----
     gitian/fetch-inputs.sh                             |  5 ++--
     gitian/verify-tags.sh                              |  2 +-
     gitian/versions                                    |  9 +++++--
     gitian/versions.alpha                              |  9 +++++--
     gitian/versions.beta                               |  9 +++++--
     gitian/versions.nightly                            |  9 +++++--
     9 files changed, 87 insertions(+), 23 deletions(-)
    
    diff --git a/gitian/descriptors/linux/gitian-pluggable-transports.yml b/gitian/descriptors/linux/gitian-pluggable-transports.yml
    index 38ae561..a1cdc48 100644
    a b files: 
    4646- "zope.interface.zip"
    4747- "twisted.tar.bz2"
    4848- "parsley.tar.gz"
     49- "go14.tar.gz"
    4950- "go.tar.gz"
    5051- "dzip.sh"
    5152- "gmp-linux32-utils.zip"
    script: | 
    7475  # FTE only needs libgmp.so.10 and no libgmpxx anymore.
    7576  cp $INSTDIR/gmp/lib/libgmp.so.10 $INSTDIR/Tor
    7677
     78  # Building go 1.4.x
     79  # This is needed to bootstrap the go that we actually use
     80  # https://golang.org/doc/install/source#go14
     81  tar xvf go14.tar.gz --transform='s,^go\>,go1.4,'
     82  cd go1.4/src
     83  # Disable cgo to avoid conflicts with newer GCC. cgo is not needed for the bootstrap go.
     84  # https://github.com/golang/go/issues/13114#issuecomment-186922245
     85  CGO_ENABLED=0 ./make.bash
     86  cd ../..
     87  export GOROOT_BOOTSTRAP="$PWD/go1.4"
     88
    7789  # Building go
    7890  # http://golang.org/doc/install/source#environment
    7991  export GOPATH="$HOME/go"
  • gitian/descriptors/mac/gitian-pluggable-transports.yml

    diff --git a/gitian/descriptors/mac/gitian-pluggable-transports.yml b/gitian/descriptors/mac/gitian-pluggable-transports.yml
    index fbf38c2..33b134e 100644
    a b files: 
    4545- "zope.interface.zip"
    4646- "twisted.tar.bz2"
    4747- "parsley.tar.gz"
     48- "go14.tar.gz"
    4849- "go.tar.gz"
    4950- "apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb"
    5051- "multiarch-darwin11-cctools127.2-gcc42-5666.3-llvmgcc42-2336.1-Linux-120724.tar.xz"
    script: | 
    103104  export CXXFLAGS="-m64 -I/usr/lib/apple/SDKs/MacOSX10.6.sdk/usr/include/ -I/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/ -I.  -L/usr/lib/apple/SDKs/MacOSX10.6.sdk/usr/lib/ -L/usr/lib/apple/SDKs/MacOSX10.6.sdk/usr/lib/system/ -F/usr/lib/apple/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -mmacosx-version-min=10.5 -L/usr/lib/apple/SDKs/MacOSX10.6.sdk/usr/lib/i686-apple-darwin10/4.2.1$FTE_EXTRA_CFLAGS"
    104105  export LDFLAGS="-L/usr/lib/apple/SDKs/MacOSX10.6.sdk/usr/lib/ -L/usr/lib/apple/SDKs/MacOSX10.6.sdk/usr/lib/system/ -F/usr/lib/apple/SDKs/MacOSX10.6.sdk/System/Library/Frameworks -mmacosx-version-min=10.5"
    105106
     107  # Building go 1.4.x
     108  # This is needed to bootstrap the go that we actually use
     109  # https://golang.org/doc/install/source#go14
     110  tar xvf go14.tar.gz --transform='s,^go\>,go1.4,'
     111  cd go1.4/src
     112  # Disable cgo to avoid conflicts with newer GCC. cgo is not needed for the bootstrap go.
     113  # https://github.com/golang/go/issues/13114#issuecomment-186922245
     114  # Disable CC etc. that are set up for cross builds.
     115  CGO_ENABLED=0 CC= CFLAGS= LDFLAGS= ./make.bash
     116  cd ../..
     117  export GOROOT_BOOTSTRAP="$PWD/go1.4"
     118
    106119  # Building go
     120  # Create a cc-for-target script that closes over CC, CFLAGS, and LDFLAGS.
     121  # Go's CC_FOR_TARGET only allows a command name, not a command with arguments.
     122  # https://github.com/golang/go/issues/15457
     123  CC_FOR_TARGET="$(pwd)/cc-for-target"
     124  echo "#!/bin/sh" > "$CC_FOR_TARGET"
     125  echo "exec $CC $CFLAGS $LDFLAGS \"\$@\"" >> "$CC_FOR_TARGET"
     126  chmod +x "$CC_FOR_TARGET"
    107127  # http://golang.org/doc/install/source#environment
    108128  export GOPATH="$HOME/go"
    109129  export GOOS=darwin
    110130  export GOARCH=386
    111131  tar xvf go.tar.gz
    112132  cd go/src
    113   # http://golang.org/cmd/cgo/:
    114   # "To enable cgo during cross compiling builds, set the CGO_ENABLED
    115   # environment variable to 1 when building the Go tools with make.bash. Also,
    116   # set CC_FOR_TARGET to the C cross compiler for the target. CC will be used
    117   # for compiling for the host."
    118   CGO_ENABLED=1 CC_FOR_TARGET="$CC $CFLAGS $LDFLAGS" CC= CFLAGS= LDFLAGS= ./make.bash
     133  CGO_ENABLED=1 CC_FOR_TARGET="$CC_FOR_TARGET" CC= CFLAGS= LDFLAGS= ./make.bash
    119134  cd ../..
    120135  export PATH="$PATH:$PWD/go/bin"
    121136
  • gitian/descriptors/windows/gitian-pluggable-transports.yml

    diff --git a/gitian/descriptors/windows/gitian-pluggable-transports.yml b/gitian/descriptors/windows/gitian-pluggable-transports.yml
    index f073fd1..7e8a349 100644
    a b files: 
    4747- "wine-wrappers"
    4848- "python.msi"
    4949- "py2exe.exe"
     50- "go14.tar.gz"
    5051- "go.tar.gz"
    5152- "dzip.sh"
    5253- "pyc-timestamp.sh"
    script: | 
    139140  cp -a dist/gcc.exe dist/g++.exe dist/dllwrap.exe $WINEROOT/windows/
    140141  cd ..
    141142
     143  # Building go 1.4.x
     144  # This is needed to bootstrap the go that we actually use
     145  # https://golang.org/doc/install/source#go14
     146  tar xvf go14.tar.gz --transform='s,^go\>,go1.4,'
     147  cd go1.4/src
     148  # Disable cgo to avoid conflicts with newer GCC. cgo is not needed for the bootstrap go.
     149  # https://github.com/golang/go/issues/13114#issuecomment-186922245
     150  # Disable CC etc. that are set up for cross builds.
     151  CGO_ENABLED=0 CC= CFLAGS= LDFLAGS= ./make.bash
     152  cd ../..
     153  export GOROOT_BOOTSTRAP="$PWD/go1.4"
     154
    142155  # Building go
     156  CC=i686-w64-mingw32-gcc
     157  # Create a cc-for-target script that closes over CC, CFLAGS, and LDFLAGS.
     158  # Go's CC_FOR_TARGET only allows a command name, not a command with arguments.
     159  # https://github.com/golang/go/issues/15457
     160  CC_FOR_TARGET="$(pwd)/cc-for-target"
     161  echo "#!/bin/sh" > "$CC_FOR_TARGET"
     162  echo "exec $CC $CFLAGS $LDFLAGS \"\$@\"" >> "$CC_FOR_TARGET"
     163  chmod +x "$CC_FOR_TARGET"
    143164  # http://golang.org/doc/install/source#environment
    144165  export GOPATH="$HOME/go"
    145166  export GOOS=windows
    146167  export GOARCH=386
    147168  tar xvf go.tar.gz
    148169  cd go/src
    149   # http://golang.org/cmd/cgo/:
    150   # "To enable cgo during cross compiling builds, set the CGO_ENABLED
    151   # environment variable to 1 when building the Go tools with make.bash. Also,
    152   # set CC_FOR_TARGET to the C cross compiler for the target. CC will be used
    153   # for compiling for the host."
    154   CGO_ENABLED=1 CC_FOR_TARGET="i686-w64-mingw32-gcc" CC= CFLAGS= LDFLAGS= ./make.bash
     170  CGO_ENABLED=1 CC_FOR_TARGET="$CC_FOR_TARGET" CC= CFLAGS= LDFLAGS= ./make.bash
    155171  cd ../..
    156172  export PATH="$PATH:$PWD/go/bin"
    157173
  • gitian/fetch-inputs.sh

    diff --git a/gitian/fetch-inputs.sh b/gitian/fetch-inputs.sh
    index b5adfc2..50daec0 100755
    a b do 
    162162  get "${!PACKAGE}" "${MIRROR_URL_ASN}${!PACKAGE}"
    163163done
    164164
    165 for i in ZOPEINTERFACE TWISTED PY2EXE SETUPTOOLS PARSLEY GO STIXMATHFONT NOTOEMOJIFONT NOTOJPFONT NOTOKRFONT NOTOSCFONT NOTOTCFONT NSIS NSIS_DEBIAN PYCRYPTO
     165for i in ZOPEINTERFACE TWISTED PY2EXE SETUPTOOLS PARSLEY GO14 GO STIXMATHFONT NOTOEMOJIFONT NOTOJPFONT NOTOKRFONT NOTOSCFONT NOTOTCFONT NSIS NSIS_DEBIAN PYCRYPTO
    166166do
    167167  URL="${i}_URL"
    168168  PACKAGE="${i}_PACKAGE"
    wget -U "" -N ${NOSCRIPT_URL} 
    174174
    175175# Verify packages with weak or no signatures via direct sha256 check
    176176# (OpenSSL is signed with MD5, and OSXSDK + OSXSDK_OLD are not signed at all)
    177 for i in OSXSDK OSXSDK_OLD TOOLCHAIN4_OLD CCTOOLS NOSCRIPT MSVCR100 PYCRYPTO ARGPARSE PYYAML ZOPEINTERFACE TWISTED SETUPTOOLS OPENSSL GMP PARSLEY GO GCC STIXMATHFONT NOTOEMOJIFONT NOTOJPFONT NOTOKRFONT NOTOSCFONT NOTOTCFONT NSIS NSIS_DEBIAN
     177for i in OSXSDK OSXSDK_OLD TOOLCHAIN4_OLD CCTOOLS NOSCRIPT MSVCR100 PYCRYPTO ARGPARSE PYYAML ZOPEINTERFACE TWISTED SETUPTOOLS OPENSSL GMP PARSLEY GO14 GO GCC STIXMATHFONT NOTOEMOJIFONT NOTOJPFONT NOTOKRFONT NOTOSCFONT NOTOTCFONT NSIS NSIS_DEBIAN
    178178do
    179179   PACKAGE="${i}_PACKAGE"
    180180   HASH="${i}_HASH"
    ln -sf "$PY2EXE_PACKAGE" py2exe.exe 
    243243ln -sf "$SETUPTOOLS_PACKAGE" setuptools.tar.gz
    244244ln -sf "$GMP_PACKAGE" gmp.tar.bz2
    245245ln -sf "$PARSLEY_PACKAGE" parsley.tar.gz
     246ln -sf "$GO14_PACKAGE" go14.tar.gz
    246247ln -sf "$GO_PACKAGE" go.tar.gz
    247248ln -sf "$NSIS_PACKAGE" nsis.tar.bz2
    248249ln -sf "$NSIS_DEBIAN_PACKAGE" nsis-debian.tar.xz
  • gitian/verify-tags.sh

    diff --git a/gitian/verify-tags.sh b/gitian/verify-tags.sh
    index 33b54a4..d95b0e0 100755
    a b done 
    144144
    145145# Verify packages with weak or no signatures via direct sha256 check
    146146# (OpenSSL is signed with MD5, and OSXSDK + OSXSDK_OLD are not signed at all)
    147 for i in OSXSDK OSXSDK_OLD TOOLCHAIN4_OLD CCTOOLS NOSCRIPT MSVCR100 PYCRYPTO ARGPARSE PYYAML ZOPEINTERFACE TWISTED SETUPTOOLS OPENSSL GMP PARSLEY GO GCC STIXMATHFONT NOTOEMOJIFONT NOTOJPFONT NOTOKRFONT NOTOSCFONT NOTOTCFONT NSIS NSIS_DEBIAN
     147for i in OSXSDK OSXSDK_OLD TOOLCHAIN4_OLD CCTOOLS NOSCRIPT MSVCR100 PYCRYPTO ARGPARSE PYYAML ZOPEINTERFACE TWISTED SETUPTOOLS OPENSSL GMP PARSLEY GO14 GO GCC STIXMATHFONT NOTOEMOJIFONT NOTOJPFONT NOTOKRFONT NOTOSCFONT NOTOTCFONT NSIS NSIS_DEBIAN
    148148do
    149149   PACKAGE="${i}_PACKAGE"
    150150   HASH="${i}_HASH"
  • gitian/versions

    diff --git a/gitian/versions b/gitian/versions
    index 85b2a7a..dfcd675 100755
    a b TWISTED_VER=13.2.0 
    6060PY2EXE_VER=0.6.9
    6161SETUPTOOLS_VER=1.4
    6262PARSLEY_VER=1.2
    63 GO_VER=1.4.3
     63# We need a Go 1.4 to bootstrap later versions; see https://golang.org/doc/install/source#go14
     64GO14_VER=1.4.3
     65GO_VER=1.6.3
    6466NSIS_VER=2.51
    6567
    6668## File names for the source packages
    TWISTED_PACKAGE=Twisted-${TWISTED_VER}.tar.bz2 
    8385PY2EXE_PACKAGE=py2exe-${PY2EXE_VER}.win32-py2.7.exe
    8486SETUPTOOLS_PACKAGE=setuptools-${SETUPTOOLS_VER}.tar.gz
    8587PARSLEY_PACKAGE=Parsley-${PARSLEY_VER}.tar.gz
     88GO14_PACKAGE=go${GO14_VER}.src.tar.gz
    8689GO_PACKAGE=go${GO_VER}.src.tar.gz
    8790NSIS_PACKAGE=nsis-${NSIS_VER}-src.tar.bz2
    8891NSIS_DEBIAN_PACKAGE=nsis_${NSIS_VER}-1.debian.tar.xz
    TWISTED_HASH=095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3 
    110113PY2EXE_HASH=610a8800de3d973ed5ed4ac505ab42ad058add18a68609ac09e6cf3598ef056c
    111114SETUPTOOLS_HASH=75d288687066ed124311d6ca5f40ffa92a0e81adcd7fff318c6e84082713cf39
    112115PARSLEY_HASH=50d30cee70770fd44db7cea421cb2fb75af247c3a1cd54885c06b30a7c85dd23
    113 GO_HASH=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
     116GO14_HASH=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
     117GO_HASH=6326aeed5f86cf18f16d6dc831405614f855e2d416a91fd3fdc334f772345b00
    114118NSIS_HASH=43d4c9209847e35eb6e2c7cd5a7586e1445374c056c2c7899e40a080e17a1be7
    115119NSIS_DEBIAN_HASH=1dee6957b4a4b8dfe69bcf28bc7f301a13b96b3fa5a394e36c8926ae781e774a
    116120GCC_HASH=b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad
    TWISTED_URL=https://pypi.python.org/packages/source/T/Twisted/${TWISTED_PACKAGE} 
    140144PY2EXE_URL=http://downloads.sourceforge.net/py2exe/${PY2EXE_VER}/${PY2EXE_PACKAGE}
    141145SETUPTOOLS_URL=https://pypi.python.org/packages/source/s/setuptools/${SETUPTOOLS_PACKAGE}
    142146PARSLEY_URL=https://pypi.python.org/packages/source/P/Parsley/${PARSLEY_PACKAGE}
     147GO14_URL=https://golang.org/dl/${GO14_PACKAGE}
    143148GO_URL=https://golang.org/dl/${GO_PACKAGE}
    144149NSIS_URL=http://downloads.sourceforge.net/nsis/${NSIS_PACKAGE}
    145150NSIS_DEBIAN_URL=http://http.debian.net/debian/pool/main/n/nsis/${NSIS_DEBIAN_PACKAGE}
  • gitian/versions.alpha

    diff --git a/gitian/versions.alpha b/gitian/versions.alpha
    index 97cf78f..e60e314 100755
    a b TWISTED_VER=13.2.0 
    6060PY2EXE_VER=0.6.9
    6161SETUPTOOLS_VER=1.4
    6262PARSLEY_VER=1.2
    63 GO_VER=1.4.2
     63# We need a Go 1.4 to bootstrap later versions; see https://golang.org/doc/install/source#go14
     64GO14_VER=1.4.3
     65GO_VER=1.6.3
    6466NSIS_VER=2.51
    6567
    6668## File names for the source packages
    TWISTED_PACKAGE=Twisted-${TWISTED_VER}.tar.bz2 
    8385PY2EXE_PACKAGE=py2exe-${PY2EXE_VER}.win32-py2.7.exe
    8486SETUPTOOLS_PACKAGE=setuptools-${SETUPTOOLS_VER}.tar.gz
    8587PARSLEY_PACKAGE=Parsley-${PARSLEY_VER}.tar.gz
     88GO14_PACKAGE=go${GO14_VER}.src.tar.gz
    8689GO_PACKAGE=go${GO_VER}.src.tar.gz
    8790NSIS_PACKAGE=nsis-${NSIS_VER}-src.tar.bz2
    8891NSIS_DEBIAN_PACKAGE=nsis_${NSIS_VER}-1.debian.tar.xz
    TWISTED_HASH=095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3 
    110113PY2EXE_HASH=610a8800de3d973ed5ed4ac505ab42ad058add18a68609ac09e6cf3598ef056c
    111114SETUPTOOLS_HASH=75d288687066ed124311d6ca5f40ffa92a0e81adcd7fff318c6e84082713cf39
    112115PARSLEY_HASH=50d30cee70770fd44db7cea421cb2fb75af247c3a1cd54885c06b30a7c85dd23
    113 GO_HASH=299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
     116GO14_HASH=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
     117GO_HASH=6326aeed5f86cf18f16d6dc831405614f855e2d416a91fd3fdc334f772345b00
    114118NSIS_HASH=43d4c9209847e35eb6e2c7cd5a7586e1445374c056c2c7899e40a080e17a1be7
    115119NSIS_DEBIAN_HASH=1dee6957b4a4b8dfe69bcf28bc7f301a13b96b3fa5a394e36c8926ae781e774a
    116120GCC_HASH=b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad
    TWISTED_URL=https://pypi.python.org/packages/source/T/Twisted/${TWISTED_PACKAGE} 
    140144PY2EXE_URL=http://downloads.sourceforge.net/py2exe/${PY2EXE_VER}/${PY2EXE_PACKAGE}
    141145SETUPTOOLS_URL=https://pypi.python.org/packages/source/s/setuptools/${SETUPTOOLS_PACKAGE}
    142146PARSLEY_URL=https://pypi.python.org/packages/source/P/Parsley/${PARSLEY_PACKAGE}
     147GO14_URL=https://golang.org/dl/${GO14_PACKAGE}
    143148GO_URL=https://golang.org/dl/${GO_PACKAGE}
    144149NSIS_URL=http://downloads.sourceforge.net/nsis/${NSIS_PACKAGE}
    145150NSIS_DEBIAN_URL=http://http.debian.net/debian/pool/main/n/nsis/${NSIS_DEBIAN_PACKAGE}
  • gitian/versions.beta

    diff --git a/gitian/versions.beta b/gitian/versions.beta
    index 8452954..c985e30 100755
    a b TWISTED_VER=13.2.0 
    4747PY2EXE_VER=0.6.9
    4848SETUPTOOLS_VER=1.4
    4949PARSLEY_VER=1.2
    50 GO_VER=1.4.2
     50# We need a Go 1.4 to bootstrap later versions; see https://golang.org/doc/install/source#go14
     51GO14_VER=1.4.3
     52GO_VER=1.6.3
    5153
    5254## File names for the source packages
    5355OPENSSL_PACKAGE=openssl-${OPENSSL_VER}.tar.gz
    TWISTED_PACKAGE=Twisted-${TWISTED_VER}.tar.bz2 
    6870PY2EXE_PACKAGE=py2exe-${PY2EXE_VER}.win32-py2.7.exe
    6971SETUPTOOLS_PACKAGE=setuptools-${SETUPTOOLS_VER}.tar.gz
    7072PARSLEY_PACKAGE=Parsley-${PARSLEY_VER}.tar.gz
     73GO14_PACKAGE=go${GO14_VER}.src.tar.gz
    7174GO_PACKAGE=go${GO_VER}.src.tar.gz
    7275STIXMATHFONT_PACKAGE=STIXv1.1.1-latex.zip
    7376NOTOEMOJIFONT_PACKAGE=NotoEmoji-Regular.ttf
    TWISTED_HASH=095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3 
    9295PY2EXE_HASH=610a8800de3d973ed5ed4ac505ab42ad058add18a68609ac09e6cf3598ef056c
    9396SETUPTOOLS_HASH=75d288687066ed124311d6ca5f40ffa92a0e81adcd7fff318c6e84082713cf39
    9497PARSLEY_HASH=50d30cee70770fd44db7cea421cb2fb75af247c3a1cd54885c06b30a7c85dd23
    95 GO_HASH=299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
     98GO14_HASH=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
     99GO_HASH=6326aeed5f86cf18f16d6dc831405614f855e2d416a91fd3fdc334f772345b00
    96100STIXMATHFONT_HASH=e3b0f712e2644438eee2d0dcd2b10b2d54f1b972039de95b2f8e800bae1adbd8
    97101NOTOEMOJIFONT_HASH=415dc6290378574135b64c808dc640c1df7531973290c4970c51fdeb849cb0c5
    98102NOTOJPFONT_HASH=3e8146c4ce0945f255cb9dbc12b392380af80bd117e0a60eae555c99c7e618da
    TWISTED_URL=https://pypi.python.org/packages/source/T/Twisted/${TWISTED_PACKAGE} 
    118122PY2EXE_URL=http://downloads.sourceforge.net/py2exe/${PY2EXE_VER}/${PY2EXE_PACKAGE}
    119123SETUPTOOLS_URL=https://pypi.python.org/packages/source/s/setuptools/${SETUPTOOLS_PACKAGE}
    120124PARSLEY_URL=https://pypi.python.org/packages/source/P/Parsley/${PARSLEY_PACKAGE}
     125GO14_URL=https://golang.org/dl/${GO14_PACKAGE}
    121126GO_URL=https://golang.org/dl/${GO_PACKAGE}
    122127STIXMATHFONT_URL=http://iweb.dl.sourceforge.net/project/stixfonts/Current%20Release/${STIXMATHFONT_PACKAGE}
    123128NOTOEMOJIFONT_URL=https://github.com/googlei18n/noto-emoji/raw/2f1ffdd6fbbd05d6f382138a3d3adcd89c5ce800/fonts/${NOTOEMOJIFONT_PACKAGE}
  • gitian/versions.nightly

    diff --git a/gitian/versions.nightly b/gitian/versions.nightly
    index 22e9742..0c489c9 100755
    a b TWISTED_VER=13.2.0 
    6767PY2EXE_VER=0.6.9
    6868SETUPTOOLS_VER=1.4
    6969PARSLEY_VER=1.2
    70 GO_VER=1.4.2
     70# We need a Go 1.4 to bootstrap later versions; see https://golang.org/doc/install/source#go14
     71GO14_VER=1.4.3
     72GO_VER=1.6.3
    7173NSIS_VER=2.51
    7274
    7375## File names for the source packages
    TWISTED_PACKAGE=Twisted-${TWISTED_VER}.tar.bz2 
    9092PY2EXE_PACKAGE=py2exe-${PY2EXE_VER}.win32-py2.7.exe
    9193SETUPTOOLS_PACKAGE=setuptools-${SETUPTOOLS_VER}.tar.gz
    9294PARSLEY_PACKAGE=Parsley-${PARSLEY_VER}.tar.gz
     95GO14_PACKAGE=go${GO14_VER}.src.tar.gz
    9396GO_PACKAGE=go${GO_VER}.src.tar.gz
    9497NSIS_PACKAGE=nsis-${NSIS_VER}-src.tar.bz2
    9598NSIS_DEBIAN_PACKAGE=nsis_${NSIS_VER}-1.debian.tar.xz
    TWISTED_HASH=095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3 
    117120PY2EXE_HASH=610a8800de3d973ed5ed4ac505ab42ad058add18a68609ac09e6cf3598ef056c
    118121SETUPTOOLS_HASH=75d288687066ed124311d6ca5f40ffa92a0e81adcd7fff318c6e84082713cf39
    119122PARSLEY_HASH=50d30cee70770fd44db7cea421cb2fb75af247c3a1cd54885c06b30a7c85dd23
    120 GO_HASH=299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
     123GO14_HASH=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
     124GO_HASH=6326aeed5f86cf18f16d6dc831405614f855e2d416a91fd3fdc334f772345b00
    121125NSIS_HASH=43d4c9209847e35eb6e2c7cd5a7586e1445374c056c2c7899e40a080e17a1be7
    122126NSIS_DEBIAN_HASH=1dee6957b4a4b8dfe69bcf28bc7f301a13b96b3fa5a394e36c8926ae781e774a
    123127GCC_HASH=b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad
    TWISTED_URL=https://pypi.python.org/packages/source/T/Twisted/${TWISTED_PACKAGE} 
    147151PY2EXE_URL=http://downloads.sourceforge.net/py2exe/${PY2EXE_VER}/${PY2EXE_PACKAGE}
    148152SETUPTOOLS_URL=https://pypi.python.org/packages/source/s/setuptools/${SETUPTOOLS_PACKAGE}
    149153PARSLEY_URL=https://pypi.python.org/packages/source/P/Parsley/${PARSLEY_PACKAGE}
     154GO14_URL=https://golang.org/dl/${GO14_PACKAGE}
    150155GO_URL=https://golang.org/dl/${GO_PACKAGE}
    151156NSIS_URL=http://downloads.sourceforge.net/nsis/${NSIS_PACKAGE}
    152157NSIS_DEBIAN_URL=http://http.debian.net/debian/pool/main/n/nsis/${NSIS_DEBIAN_PACKAGE}