[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #18331 [Tor Browser]: Update OS X toolchain to work with ESR 45
#18331: Update OS X toolchain to work with ESR 45
-------------------------------------------------+-------------------------
Reporter: gk | Owner: tbb-
Type: task | team
Priority: High | Status:
Component: Tor Browser | needs_review
Severity: Major | Milestone:
Keywords: tbb-gitian, ff45-esr, | Version:
TorBrowserTeam201604R | Resolution:
Parent ID: #18226 | Actual Points:
Reviewer: | Points:
| Sponsor:
-------------------------------------------------+-------------------------
Comment (by boklm):
I tried to build the bug_18331_v4 branch, using KVM, and had an error
building gitian-utils.yml because sudo is not found. sudo was installed by
default on Ubuntu, but is not on Debian. After looking at gitian-
builder/bin/make-base-vm, the sudo package is added for Debian images, but
only for LXC builds. I am attaching a patch to gitian-builder that fix
that.
After fixing the sudo issue, I had an other error caused by dpkg not
finding ldconfig. Adding /usr/sbin and /sbin in the PATH before all dpkg
commands fixed the issue:
{{{
diff --git a/gitian/descriptors/mac/gitian-pluggable-transports.yml
b/gitian/descriptors/mac/gitian-pluggable-transports.yml
index e2b51c4..165ab67 100644
--- a/gitian/descriptors/mac/gitian-pluggable-transports.yml
+++ b/gitian/descriptors/mac/gitian-pluggable-transports.yml
@@ -79,6 +79,7 @@ script: |
mkdir -p $PTDIR/
mkdir -p $OUTDIR/
#
+ export PATH="/usr/sbin:/sbin:$PATH"
sudo dpkg -i *.deb
tar xaf multiarch-darwin*tar.xz
export PATH="$PATH:$HOME/build/apple-osx/bin/"
diff --git a/gitian/descriptors/mac/gitian-tor.yml
b/gitian/descriptors/mac/gitian-tor.yml
index 94d3eb1..10d321d 100644
--- a/gitian/descriptors/mac/gitian-tor.yml
+++ b/gitian/descriptors/mac/gitian-tor.yml
@@ -43,6 +43,7 @@ script: |
mkdir -p $TORCONFIGDIR/
mkdir -p $OUTDIR/
#
+ export PATH="/usr/sbin:/sbin:$PATH"
sudo dpkg -i *.deb
tar xaf multiarch-darwin*tar.xz
export PATH="$PATH:$HOME/build/apple-osx/bin/"
diff --git a/gitian/descriptors/mac/gitian-utils.yml
b/gitian/descriptors/mac/gitian-utils.yml
index 5288471..a22e5cf 100644
--- a/gitian/descriptors/mac/gitian-utils.yml
+++ b/gitian/descriptors/mac/gitian-utils.yml
@@ -71,6 +71,7 @@ script: |
export FAKETIME=$REFERENCE_DATETIME
cd ..
+ export PATH="/usr/sbin:/sbin:$PATH"
sudo dpkg -i *.deb
tar xaf multiarch-darwin*tar.xz
export PATH="$PATH:$HOME/build/apple-osx/bin/"
}}}
After fixing this, I now have an other error while building gitian-tor.yml
which I did not look at yet:
{{{
configure.ac:19: installing `./config.sub'
configure.ac:14: installing `./install-sh'
configure.ac:14: installing `./missing'
Makefile.am: installing `./depcomp'
+ find -type f -print0
+ xargs -0 touch '--date=2000-01-01 00:00:00'
+ ./configure --enable-static-openssl --disable-asciidoc --host=i686
-apple-darwin11 --with-libevent-dir=/home/debian/install/libevent --with-
openssl-dir=/home/debian/install/openssl --prefix=/home/debian/install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: newly
created file is older than distributed files!
Check your system clock
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18331#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs