Ticket #18333: 0001-Upgrade-go-to-1.6.2.patch

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

    From 2f2ed01a87fd6ab1d6d9f667bb216add3bb4f9ac Mon Sep 17 00:00:00 2001
    From: David Fifield <david@bamsoftware.com>
    Date: Sun, 10 Apr 2016 08:32:54 +0000
    Subject: [PATCH] Upgrade go to 1.6.2.
    
    It now requires an installation of go 1.4.x to bootstrap the build.
    
    We set CGO_ENABLED=0 when building the bootstrap go compiler because go
    1.4.3 won't build with a newer GNU toolchain:
    https://github.com/golang/go/issues/13114. It didn't cause a problem for
    me on Ubuntu 14.04, but this will prevent it from breaking in the
    future. We don't need cgo in the bootstrap compiler.
    
    The other change is that the go build system no longer allows us to pass
    a command with arguments for CC_FOR_TARGET. I opened a ticket for it:
    https://github.com/golang/go/issues/15457. We need -I and -L arguments
    in the mac build so that gcc gan find its headers and libraries. So we
    wrap up the arguments in a shell script and use the shell script as
    CC_FOR_TARGET.
    ---
     .../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 cecc390..c8ceeab 100644
    a b files: 
    4848- "zope.interface.zip"
    4949- "twisted.tar.bz2"
    5050- "parsley.tar.gz"
     51- "go14.tar.gz"
    5152- "go.tar.gz"
    5253- "dzip.sh"
    5354- "gmp-linux32-utils.zip"
    script: | 
    7677  # FTE only needs libgmp.so.10 and no libgmpxx anymore.
    7778  cp $INSTDIR/gmp/lib/libgmp.so.10 $INSTDIR/Tor
    7879
     80  # Building go 1.4.x
     81  # This is needed to bootstrap the go that we actually use
     82  # https://golang.org/doc/install/source#go14
     83  tar xvf go14.tar.gz --transform='s,^go\>,go1.4,'
     84  cd go1.4/src
     85  # Disable cgo to avoid conflicts with newer GCC. cgo is not needed for the bootstrap go.
     86  # https://github.com/golang/go/issues/13114#issuecomment-186922245
     87  CGO_ENABLED=0 ./make.bash
     88  cd ../..
     89  export GOROOT_BOOTSTRAP="$PWD/go1.4"
     90
    7991  # Building go
    8092  # http://golang.org/doc/install/source#environment
    8193  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 6b1a99e..996376d 100644
    a b files: 
    4747- "zope.interface.zip"
    4848- "twisted.tar.bz2"
    4949- "parsley.tar.gz"
     50- "go14.tar.gz"
    5051- "go.tar.gz"
    5152- "apple-uni-sdk-10.6_20110407-0.flosoft1_i386.deb"
    5253- "multiarch-darwin11-cctools127.2-gcc42-5666.3-llvmgcc42-2336.1-Linux-120724.tar.xz"
    script: | 
    105106  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"
    106107  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"
    107108
     109  # Building go 1.4.x
     110  # This is needed to bootstrap the go that we actually use
     111  # https://golang.org/doc/install/source#go14
     112  tar xvf go14.tar.gz --transform='s,^go\>,go1.4,'
     113  cd go1.4/src
     114  # Disable cgo to avoid conflicts with newer GCC. cgo is not needed for the bootstrap go.
     115  # https://github.com/golang/go/issues/13114#issuecomment-186922245
     116  # Disable CC etc. that are set up for cross builds.
     117  CGO_ENABLED=0 CC= CFLAGS= LDFLAGS= ./make.bash
     118  cd ../..
     119  export GOROOT_BOOTSTRAP="$PWD/go1.4"
     120
    108121  # Building go
     122  # Create a cc-for-target script that closes over CC, CFLAGS, and LDFLAGS.
     123  # Go's CC_FOR_TARGET only allows a command name, not a command with arguments.
     124  # https://github.com/golang/go/issues/15457
     125  CC_FOR_TARGET="$(pwd)/cc-for-target"
     126  echo "#!/bin/sh" > "$CC_FOR_TARGET"
     127  echo "exec $CC $CFLAGS $LDFLAGS \"\$@\"" >> "$CC_FOR_TARGET"
     128  chmod +x "$CC_FOR_TARGET"
    109129  # http://golang.org/doc/install/source#environment
    110130  export GOPATH="$HOME/go"
    111131  export GOOS=darwin
    112132  export GOARCH=386
    113133  tar xvf go.tar.gz
    114134  cd go/src
    115   # http://golang.org/cmd/cgo/:
    116   # "To enable cgo during cross compiling builds, set the CGO_ENABLED
    117   # environment variable to 1 when building the Go tools with make.bash. Also,
    118   # set CC_FOR_TARGET to the C cross compiler for the target. CC will be used
    119   # for compiling for the host."
    120   CGO_ENABLED=1 CC_FOR_TARGET="$CC $CFLAGS $LDFLAGS" CC= CFLAGS= LDFLAGS= ./make.bash
     135  CGO_ENABLED=1 CC_FOR_TARGET="$CC_FOR_TARGET" CC= CFLAGS= LDFLAGS= ./make.bash
    121136  cd ../..
    122137  export PATH="$PATH:$PWD/go/bin"
    123138
  • 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 9c1642d..8b2502d 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 dist/swig.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 99b984b..ca43637 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
     165for i in ZOPEINTERFACE TWISTED PY2EXE SETUPTOOLS PARSLEY GO14 GO STIXMATHFONT NOTOEMOJIFONT NOTOJPFONT NOTOKRFONT NOTOSCFONT NOTOTCFONT NSIS NSIS_DEBIAN
    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 a966626..7d92e36 100755
    a b done 
    143143
    144144# Verify packages with weak or no signatures via direct sha256 check
    145145# (OpenSSL is signed with MD5, and OSXSDK + OSXSDK_OLD are not signed at all)
    146 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
     146for 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
    147147do
    148148   PACKAGE="${i}_PACKAGE"
    149149   HASH="${i}_HASH"
  • gitian/versions

    diff --git a/gitian/versions b/gitian/versions
    index a18afab..99985d4 100755
    a b TWISTED_VER=13.2.0 
    5353PY2EXE_VER=0.6.9
    5454SETUPTOOLS_VER=1.4
    5555PARSLEY_VER=1.2
    56 GO_VER=1.4.2
     56# We need a Go 1.4 to bootstrap later versions; see https://golang.org/doc/install/source#go14
     57GO14_VER=1.4.3
     58GO_VER=1.6.2
    5759NSIS_VER=2.51
    5860
    5961## File names for the source packages
    TWISTED_PACKAGE=Twisted-${TWISTED_VER}.tar.bz2 
    7577PY2EXE_PACKAGE=py2exe-${PY2EXE_VER}.win32-py2.7.exe
    7678SETUPTOOLS_PACKAGE=setuptools-${SETUPTOOLS_VER}.tar.gz
    7779PARSLEY_PACKAGE=Parsley-${PARSLEY_VER}.tar.gz
     80GO14_PACKAGE=go${GO14_VER}.src.tar.gz
    7881GO_PACKAGE=go${GO_VER}.src.tar.gz
    7982NSIS_PACKAGE=nsis-${NSIS_VER}-src.tar.bz2
    8083NSIS_DEBIAN_PACKAGE=nsis_${NSIS_VER}-1.debian.tar.xz
    TWISTED_HASH=095175638c019ac7c0604f4c291724a16ff1acd062e181b01293bf4dcbc62cf3 
    101104PY2EXE_HASH=610a8800de3d973ed5ed4ac505ab42ad058add18a68609ac09e6cf3598ef056c
    102105SETUPTOOLS_HASH=75d288687066ed124311d6ca5f40ffa92a0e81adcd7fff318c6e84082713cf39
    103106PARSLEY_HASH=50d30cee70770fd44db7cea421cb2fb75af247c3a1cd54885c06b30a7c85dd23
    104 GO_HASH=299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
     107GO14_HASH=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
     108GO_HASH=787b0b750d037016a30c6ed05a8a70a91b2e9db4bd9b1a2453aa502a63f1bccc
    105109NSIS_HASH=43d4c9209847e35eb6e2c7cd5a7586e1445374c056c2c7899e40a080e17a1be7
    106110NSIS_DEBIAN_HASH=1dee6957b4a4b8dfe69bcf28bc7f301a13b96b3fa5a394e36c8926ae781e774a
    107111GCC_HASH=b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad
    TWISTED_URL=https://pypi.python.org/packages/source/T/Twisted/${TWISTED_PACKAGE} 
    130134PY2EXE_URL=http://liquidtelecom.dl.sourceforge.net/project/py2exe/py2exe/${PY2EXE_VER}/${PY2EXE_PACKAGE}
    131135SETUPTOOLS_URL=https://pypi.python.org/packages/source/s/setuptools/${SETUPTOOLS_PACKAGE}
    132136PARSLEY_URL=https://pypi.python.org/packages/source/P/Parsley/${PARSLEY_PACKAGE}
     137GO14_URL=https://golang.org/dl/${GO14_PACKAGE}
    133138GO_URL=https://golang.org/dl/${GO_PACKAGE}
    134139NSIS_URL=http://downloads.sourceforge.net/nsis/${NSIS_PACKAGE}
    135140NSIS_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 8752e76..bbf5789 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.2
    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=787b0b750d037016a30c6ed05a8a70a91b2e9db4bd9b1a2453aa502a63f1bccc
    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://liquidtelecom.dl.sourceforge.net/project/py2exe/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 9df153b..71f2958 100755
    a b M2CRYPTO_VER=0.21.1 
    4949PY2EXE_VER=0.6.9
    5050SETUPTOOLS_VER=1.4
    5151PARSLEY_VER=1.2
    52 GO_VER=1.4.2
     52# We need a Go 1.4 to bootstrap later versions; see https://golang.org/doc/install/source#go14
     53GO14_VER=1.4.3
     54GO_VER=1.6.2
    5355
    5456## File names for the source packages
    5557OPENSSL_PACKAGE=openssl-${OPENSSL_VER}.tar.gz
    M2CRYPTO_PACKAGE=M2Crypto-${M2CRYPTO_VER}.tar.gz 
    7173PY2EXE_PACKAGE=py2exe-${PY2EXE_VER}.win32-py2.7.exe
    7274SETUPTOOLS_PACKAGE=setuptools-${SETUPTOOLS_VER}.tar.gz
    7375PARSLEY_PACKAGE=Parsley-${PARSLEY_VER}.tar.gz
     76GO14_PACKAGE=go${GO14_VER}.src.tar.gz
    7477GO_PACKAGE=go${GO_VER}.src.tar.gz
    7578STIXMATHFONT_PACKAGE=STIXv1.1.1-latex.zip
    7679NOTOEMOJIFONT_PACKAGE=NotoEmoji-Regular.ttf
    M2CRYPTO_HASH=25b94498505c2d800ee465db0cc1aff097b1615adc3ac042a1c85ceca264fc0a 
    9699PY2EXE_HASH=610a8800de3d973ed5ed4ac505ab42ad058add18a68609ac09e6cf3598ef056c
    97100SETUPTOOLS_HASH=75d288687066ed124311d6ca5f40ffa92a0e81adcd7fff318c6e84082713cf39
    98101PARSLEY_HASH=50d30cee70770fd44db7cea421cb2fb75af247c3a1cd54885c06b30a7c85dd23
    99 GO_HASH=299a6fd8f8adfdce15bc06bde926e7b252ae8e24dd5b16b7d8791ed79e7b5e9b
     102GO14_HASH=9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959
     103GO_HASH=787b0b750d037016a30c6ed05a8a70a91b2e9db4bd9b1a2453aa502a63f1bccc
    100104STIXMATHFONT_HASH=e3b0f712e2644438eee2d0dcd2b10b2d54f1b972039de95b2f8e800bae1adbd8
    101105NOTOEMOJIFONT_HASH=415dc6290378574135b64c808dc640c1df7531973290c4970c51fdeb849cb0c5
    102106NOTOJPFONT_HASH=3e8146c4ce0945f255cb9dbc12b392380af80bd117e0a60eae555c99c7e618da
    M2CRYPTO_URL=https://pypi.python.org/packages/source/M/M2Crypto/${M2CRYPTO_PACKA 
    123127PY2EXE_URL=http://softlayer-dal.dl.sourceforge.net/project/py2exe/py2exe/${PY2EXE_VER}/${PY2EXE_PACKAGE}
    124128SETUPTOOLS_URL=https://pypi.python.org/packages/source/s/setuptools/${SETUPTOOLS_PACKAGE}
    125129PARSLEY_URL=https://pypi.python.org/packages/source/P/Parsley/${PARSLEY_PACKAGE}
     130GO14_URL=https://golang.org/dl/${GO14_PACKAGE}
    126131GO_URL=https://golang.org/dl/${GO_PACKAGE}
    127132STIXMATHFONT_URL=http://iweb.dl.sourceforge.net/project/stixfonts/Current%20Release/${STIXMATHFONT_PACKAGE}
    128133NOTOEMOJIFONT_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 cbc0a92..1b41d22 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.2
    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=787b0b750d037016a30c6ed05a8a70a91b2e9db4bd9b1a2453aa502a63f1bccc
    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://liquidtelecom.dl.sourceforge.net/project/py2exe/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}