From e328605b1caf225b57bc94bcb338aa16e8b07847 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Wed, 20 May 2015 22:30:33 -0400 Subject: build: fix osx determinism for OSX Backport of 90c71548c795787b008bc337cb9332f75d1bccdb Linux/Windows wrapped 'date' rather than patching the OpenSSL build. --- contrib/gitian-descriptors/gitian-osx-bitcoin.yml | 8 ++++---- contrib/gitian-descriptors/gitian-osx-depends.yml | 6 +++--- contrib/gitian-descriptors/gitian-osx-qt.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/contrib/gitian-descriptors/gitian-osx-bitcoin.yml b/contrib/gitian-descriptors/gitian-osx-bitcoin.yml index 619bb5e2fa..1a8a675872 100644 --- a/contrib/gitian-descriptors/gitian-osx-bitcoin.yml +++ b/contrib/gitian-descriptors/gitian-osx-bitcoin.yml @@ -18,8 +18,8 @@ remotes: "dir": "bitcoin" files: - "osx-native-depends-r3.tar.gz" -- "osx-depends-r7.tar.gz" -- "osx-depends-qt-5.2.1-r6.tar.gz" +- "osx-depends-r8.tar.gz" +- "osx-depends-qt-5.2.1-r7.tar.gz" - "MacOSX10.7.sdk.tar.gz" script: | @@ -37,8 +37,8 @@ script: | tar -C osx-cross-depends/SDKs -xf ${SOURCES_PATH}/MacOSX10.7.sdk.tar.gz tar -C osx-cross-depends -xf osx-native-depends-r3.tar.gz - tar -C osx-cross-depends -xf osx-depends-r7.tar.gz - tar -C osx-cross-depends -xf osx-depends-qt-5.2.1-r6.tar.gz + tar -C osx-cross-depends -xf osx-depends-r8.tar.gz + tar -C osx-cross-depends -xf osx-depends-qt-5.2.1-r7.tar.gz export PATH=`pwd`/osx-cross-depends/native-prefix/bin:$PATH cd bitcoin diff --git a/contrib/gitian-descriptors/gitian-osx-depends.yml b/contrib/gitian-descriptors/gitian-osx-depends.yml index 83abc08f0d..68c8219ffd 100644 --- a/contrib/gitian-descriptors/gitian-osx-depends.yml +++ b/contrib/gitian-descriptors/gitian-osx-depends.yml @@ -30,7 +30,7 @@ script: | echo "13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 protobuf-2.5.0.tar.bz2" | sha256sum -c echo "dfd71487513c871bad485806bfd1fdb304dedc84d2b01a8fb8e0940b50597a98 qrencode-3.4.3.tar.bz2" | sha256sum -c - REVISION=r7 + REVISION=r8 export SOURCES_PATH=`pwd` export TAR_OPTIONS="-m --mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME"" export PATH=$HOME:$PATH @@ -95,9 +95,9 @@ script: | pushd ${BUILD_DIR} sed -ie "s|cc:|${INT_CC}:|" ${BUILD_DIR}/Configure sed -ie "s|\(-arch [_a-zA-Z0-9]*\)|\1 --sysroot ${SDK} -target ${HOST} -msse2|" ${BUILD_DIR}/Configure + sed -i "/define DATE/d" ${BUILD_DIR}/util/mkbuildinf.pl + sed -i "s|engines apps test|engines|" ${BUILD_DIR}/Makefile.org AR="${INT_AR}" RANLIB="${INT_RANLIB}" ./Configure --prefix=${PREFIX} --openssldir=${PREFIX}/etc/openssl zlib shared no-krb5 darwin64-x86_64-cc ${INT_LDFLAGS} ${INT_CLANG_LDFLAGS} ${INT_CPPFLAGS} - sed -i "s|engines apps test|engines|" ${BUILD_DIR}/Makefile - sed -i "/define DATE/d" ${BUILD_DIR}/crypto/Makefile make -j1 build_libs libcrypto.pc libssl.pc openssl.pc make -j1 install_sw popd diff --git a/contrib/gitian-descriptors/gitian-osx-qt.yml b/contrib/gitian-descriptors/gitian-osx-qt.yml index 8f63e1b091..7aec55c6de 100644 --- a/contrib/gitian-descriptors/gitian-osx-qt.yml +++ b/contrib/gitian-descriptors/gitian-osx-qt.yml @@ -14,14 +14,14 @@ remotes: [] files: - "qt-everywhere-opensource-src-5.2.1.tar.gz" - "osx-native-depends-r3.tar.gz" -- "osx-depends-r7.tar.gz" +- "osx-depends-r8.tar.gz" - "MacOSX10.7.sdk.tar.gz" script: | echo "84e924181d4ad6db00239d87250cc89868484a14841f77fb85ab1f1dbdcd7da1 qt-everywhere-opensource-src-5.2.1.tar.gz" | sha256sum -c - REVISION=r6 + REVISION=r7 export SOURCES_PATH=`pwd` export TAR_OPTIONS="-m --mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME"" export ZERO_AR_DATE=1 @@ -73,7 +73,7 @@ script: | tar xf /home/ubuntu/build/osx-native-depends-r3.tar.gz export PATH=`pwd`/native-prefix/bin:$PATH - tar xf /home/ubuntu/build/osx-depends-r7.tar.gz + tar xf /home/ubuntu/build/osx-depends-r8.tar.gz SOURCE_FILE=${SOURCES_PATH}/qt-everywhere-opensource-src-5.2.1.tar.gz BUILD_DIR=${BUILD_BASE}/qt-everywhere-opensource-src-5.2.1 -- cgit v1.2.3