[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #22768 [Internal Services/Service - jenkins]: Add building Tor with Rust support to Jenkins
#22768: Add building Tor with Rust support to Jenkins
-------------------------------------------------+------------------------
Reporter: isis | Owner: weasel
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Internal Services/Service - jenkins | Version:
Severity: Normal | Resolution:
Keywords: rust, tor-ci | Actual Points:
Parent ID: | Points: 1
Reviewer: | Sponsor:
-------------------------------------------------+------------------------
Comment (by isis):
We talked about this a bit at the meeting. We need to up the priority of
this ticket since we're now discussing a future where Rust is ''required''
to build tor, and having early feedback on breakage would be better while
Rust is still optional.
For an update, every time I've tried to build debian-tor using the
following (with multiple versions between 0.3.1.x and 0.3.2.x) with
`--enable-rust` has failed:
{{{
user@build-tor:~$ cat code/torproject/tor/build-tor.sh
#!/bin/bash
tag=tor-0.3.1.6-rc
debian_tag=debian-tor-0.3.1.6-rc
if test $# -lt 2 ; then
printf "Usage: %s TOR_TAG DEBIAN_TOR_TAG\n\n" "$(basename $0)"
printf "Need tag numbers for tor and debian, e.g. '%s' '%s' \n" "$tag"
"$debian_tag"
exit 1
else
tag=$1
debian_tag=$2
fi
sudo apt-get update
sudo apt-get install -y dpkg dpkg-dev libevent-dev libssl-dev asciidoc
quilt dh-apparmor libseccomp-dev dh-systemd libsystemd-dev pkg-config dh-
autoreconf libfakeroot zlib1g zlib1g-dev automake liblzma-dev libzstd-dev
git checkout $tag
# Fetch the newest debian packaging and checkout the tag
cd ../debian-new &&
git fetch origin &&
git checkout $debian_tag
# Move the new packaging into the tor source tree
cp -R ./debian ../debian-old
cp -R ../debian-new/debian ./
rm -rf debian/patches/improve-geoip-warning
echo > debian/patches/series
printf "Please remove the --with-quilt line!\n"
sleep 5
emacs -nw debian/rules
make distclean
./configure \
--enable-fatal-warnings
--enable-rust --enable-cargo-online-mode
dh_auto_build
dpkg-buildpackage -rfakeroot
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22768#comment:3>
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