Skip to content

Commit 2e31d74

Browse files
committed
gitian: use trusty for building
1 parent 0b416c6 commit 2e31d74

File tree

6 files changed

+16
-25
lines changed

6 files changed

+16
-25
lines changed

contrib/gitian-descriptors/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Once you've got the right hardware and software:
2727

2828
# Create base images
2929
cd gitian-builder
30-
bin/make-base-vm --suite precise --arch amd64
30+
bin/make-base-vm --suite trusty --arch amd64
3131
cd ..
3232

3333
# Get inputs (see doc/release-process.md for exact inputs needed and where to get them)

contrib/gitian-descriptors/gitian-linux.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22
name: "bitcoin-linux-0.12"
33
enable_cache: true
44
suites:
5-
- "precise"
5+
- "trusty"
66
architectures:
77
- "amd64"
88
packages:
99
- "g++-multilib"
1010
- "git-core"
1111
- "pkg-config"
12-
- "autoconf2.13"
12+
- "autoconf"
1313
- "libtool"
1414
- "automake"
1515
- "faketime"
1616
- "bsdmainutils"
1717
- "binutils-gold"
18-
- "libstdc++6-4.6-pic"
1918
reference_datetime: "2015-06-01 00:00:00"
2019
remotes:
2120
- "url": "https://github.com/bitcoin/bitcoin.git"
@@ -44,7 +43,7 @@ script: |
4443
for prog in ${FAKETIME_PROGS}; do
4544
echo '#!/bin/bash' > ${WRAP_DIR}/${prog}
4645
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
47-
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
46+
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
4847
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${prog}
4948
echo "\$REAL \$@" >> $WRAP_DIR/${prog}
5049
chmod +x ${WRAP_DIR}/${prog}
@@ -55,7 +54,7 @@ script: |
5554
for prog in ${FAKETIME_HOST_PROGS}; do
5655
echo '#!/bin/bash' > ${WRAP_DIR}/${i}-${prog}
5756
echo "REAL=\`which -a ${i}-${prog} | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
58-
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
57+
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
5958
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${i}-${prog}
6059
echo "\$REAL \$@" >> $WRAP_DIR/${i}-${prog}
6160
chmod +x ${WRAP_DIR}/${i}-${prog}
@@ -70,14 +69,6 @@ script: |
7069
make ${MAKEOPTS} -C ${BASEPREFIX} HOST="${i}"
7170
done
7271
73-
# Ubuntu precise hack: Not an issue in later versions.
74-
# Precise's libstdc++.a is non-pic. There's an optional libstdc++6-4.6-pic
75-
# package which provides libstdc++_pic.a, but the linker can't find it.
76-
# Symlink it to a path that will be included in our link-line so that the
77-
# linker picks it up before the default libstdc++.a.
78-
# This is only necessary for 64bit.
79-
ln -s /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.a ${BASEPREFIX}/x86_64-unknown-linux-gnu/lib/libstdc++.a
80-
8172
# Create the release tarball using (arbitrarily) the first host
8273
./autogen.sh
8374
./configure --prefix=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`

contrib/gitian-descriptors/gitian-osx-signer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "bitcoin-dmg-signer"
33
suites:
4-
- "precise"
4+
- "trusty"
55
architectures:
66
- "amd64"
77
packages:
@@ -23,7 +23,7 @@ script: |
2323
for prog in ${FAKETIME_PROGS}; do
2424
echo '#!/bin/bash' > ${WRAP_DIR}/${prog}
2525
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
26-
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
26+
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
2727
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${prog}
2828
echo "\$REAL \$@" >> $WRAP_DIR/${prog}
2929
chmod +x ${WRAP_DIR}/${prog}

contrib/gitian-descriptors/gitian-osx.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
name: "bitcoin-osx-0.12"
33
enable_cache: true
44
suites:
5-
- "precise"
5+
- "trusty"
66
architectures:
77
- "amd64"
88
packages:
99
- "g++"
1010
- "git-core"
1111
- "pkg-config"
12-
- "autoconf2.13"
12+
- "autoconf"
1313
- "libtool"
1414
- "automake"
1515
- "faketime"
@@ -49,7 +49,7 @@ script: |
4949
for prog in ${FAKETIME_PROGS}; do
5050
echo '#!/bin/bash' > ${WRAP_DIR}/${prog}
5151
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
52-
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
52+
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
5353
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${prog}
5454
echo "\$REAL \$@" >> $WRAP_DIR/${prog}
5555
chmod +x ${WRAP_DIR}/${prog}
@@ -60,7 +60,7 @@ script: |
6060
for prog in ${FAKETIME_HOST_PROGS}; do
6161
echo '#!/bin/bash' > ${WRAP_DIR}/${i}-${prog}
6262
echo "REAL=\`which -a ${i}-${prog} | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
63-
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
63+
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
6464
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${i}-${prog}
6565
echo "\$REAL \$@" >> $WRAP_DIR/${i}-${prog}
6666
chmod +x ${WRAP_DIR}/${i}-${prog}

contrib/gitian-descriptors/gitian-win-signer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "bitcoin-win-signer"
33
suites:
4-
- "precise"
4+
- "trusty"
55
architectures:
66
- "amd64"
77
packages:

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
name: "bitcoin-win-0.12"
33
enable_cache: true
44
suites:
5-
- "precise"
5+
- "trusty"
66
architectures:
77
- "amd64"
88
packages:
99
- "g++"
1010
- "git-core"
1111
- "pkg-config"
12-
- "autoconf2.13"
12+
- "autoconf"
1313
- "libtool"
1414
- "automake"
1515
- "faketime"
@@ -46,7 +46,7 @@ script: |
4646
for prog in ${FAKETIME_PROGS}; do
4747
echo '#!/bin/bash' > ${WRAP_DIR}/${prog}
4848
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
49-
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
49+
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
5050
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${prog}
5151
echo "\$REAL \$@" >> $WRAP_DIR/${prog}
5252
chmod +x ${WRAP_DIR}/${prog}
@@ -57,7 +57,7 @@ script: |
5757
for prog in ${FAKETIME_HOST_PROGS}; do
5858
echo '#!/bin/bash' > ${WRAP_DIR}/${i}-${prog}
5959
echo "REAL=\`which -a ${i}-${prog} | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
60-
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
60+
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
6161
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${i}-${prog}
6262
echo "\$REAL \$@" >> $WRAP_DIR/${i}-${prog}
6363
chmod +x ${WRAP_DIR}/${i}-${prog}

0 commit comments

Comments
 (0)