[tor-bugs] #9711 [Tor bundles/installation]: Test out crosstools-ng for Gitian OSX builds (instead of toolchain4 binaries)

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Oct 11 12:49:57 UTC 2013


#9711: Test out crosstools-ng for Gitian OSX builds (instead of toolchain4
binaries)
------------------------------------------+-------------------------------
     Reporter:  mikeperry                 |      Owner:  erinn
         Type:  task                      |     Status:  needs_information
     Priority:  normal                    |  Milestone:
    Component:  Tor bundles/installation  |    Version:
   Resolution:                            |   Keywords:  tbb-3.0, gitian
Actual Points:                            |  Parent ID:
       Points:                            |
------------------------------------------+-------------------------------

Comment (by gk):

 Replying to [comment:31 mingwandroid]:
 > I made a test set of binaries (outside of gitian though) on a clean
 Ubuntu 12.04.3 VM:
 > https://www.dropbox.com/s/k5s09xhqv3mv2ti/i686-apple-darwin10.tar.xz
 >
 > .. the exact config I used was:
 > https://www.dropbox.com/s/q9z66w119fvhwd2/crosstool.config
 >
 > I'm now giving gitian a go. First thing I noticed is that:
 > sudo torsocks apt-get install
 >
 > .. is very noisy:
 >
 > 07:54:57 libtorsocks(933): The symbol res_query() was not found in any
 shared library. The error reported was: not found!
 > 07:54:57 libtorsocks(933): The symbol res_search() was not found in any
 shared library. The error reported was: not found!
 > 07:54:57 libtorsocks(933): The symbol __res_send() was not found in any
 shared library. The error reported was: not found!
 > 07:54:57 libtorsocks(933): The symbol res_querydomain() was not found in
 any shared library. The error reported was: not found!
 >
 > .. should I be concerned about this?

 No.

 > Also, you've been trying to build crosstool-ng under gitian, is that
 just a question of prepending "sudo torsocks" in front of all the
 crosstool-ng build commands?

 No. 'torsocks' is just used to download the dependencies via Tor.

 > If you have a new script that you can commit then that would be good.

 Let me know when you are ready (i.e. the VMs are up and you built a Mac
 bundle successfully). I'll send you a patch which you can apply on top of
 your local branch and which should give you the environment I am currently
 using.

 That said, I've been running now into three different issues which are
 likely to due to the gitian build process: 1) the linker got killed 2) not
 enough space on the VM 3) another build failure for yet unknown reasons. I
 fixed 1) and 2) and am currently debugging 3).

 But your latest two commits fixing bashisms seemed to work. I'll test that
 on my Ubuntu VM again as soon as my build machine is not occupied with
 gitian build stuff and will comment on the github bugtracker then.

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


More information about the tor-bugs mailing list