[tbb-bugs] #27977 [Applications/Tor Browser]: Build Orbot with rbm/tor-browser-build

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 27 17:31:55 UTC 2018


#27977: Build Orbot with rbm/tor-browser-build
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_revision
 Priority:  Very High                            |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, tbb-mobile,                 |  Actual Points:
  TorBrowserTeam201811, TBA-a2                   |
Parent ID:  #26693                               |         Points:
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor8
-------------------------------------------------+-------------------------

Comment (by sisbell):

 Replying to [comment:52 gk]:
 > Comparing the Gradle downloads with the things we ship in our dependency
 list gives interesting results. I followed the advice in the how-to and
 ran
 > `cat logs/firefox-android-armv7.log | grep "Download http" | sed
 "s/^.*Download //g" > download-urls.txt` which produced a `download-
 urls.txt`. It contains 365 entries which mates the 368 - 3 (header)
 entries in `gradle-dependencies-list.txt`. However, checking whether those
 entries in the former are actually in the latter (by running `grep -Ff
 dowload-urls.txt projects/firefox/gradle-dependencies-list.txt` | wc` does
 only return 363 entries. After some more cutting and sorting the diff
 (`diff download-urls_sorted.txt cuttted_sorted`) I got is:
 > {{{
 > < https://jcenter.bintray.com/com/jayway/android/robotium/robotium-
 solo/5.5.4/robotium-solo-5.5.4.jarNote: Some input files use or override a
 deprecated API.
 > ---
 > > https://jcenter.bintray.com/com/jayway/android/robotium/robotium-
 solo/5.5.4/robotium-solo-5.5.4.jar
 > 294c294
 > <
 https://maven.google.com/com/android/support/appcompat-v7/23.4.0/appcompat-v7-23.4.0.aar/var/tmp/build
 /firefox-
 9f40b0882072/mobile/android/thirdparty/ch/boye/httpclientandroidlib/conn/HttpHostConnectException.java:56:
 warning: non-varargs call of varargs method with inexact argument type for
 last parameter;
 > ---
 > >
 https://maven.google.com/com/android/support/appcompat-v7/23.4.0/appcompat-v7-23.4.0.aar
 > }}}
 > I wonder what a fix for out how-to would be here? Making sure only the
 parts up to and including either ".pom", ".jar" or ".aar" would get
 included in `download-urls.txt`?

 In this case, we will need to manually cut off the extra junk at the end
 of the URL. We can do this through manual inspection. If we don't clean
 this up, the build will fail during artifact download. I'll document this.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27977#comment:54>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list