[tor-bugs] #12391 [Tor bundles/installation]: Building mingw-w64 is failing intermittently

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jul 15 13:05:57 UTC 2014


#12391: Building mingw-w64 is failing intermittently
-------------------------------------+-------------------------------------
     Reporter:  gk                   |      Owner:  erinn
         Type:  defect               |     Status:  new
     Priority:  normal               |  Milestone:
    Component:  Tor                  |    Version:
  bundles/installation               |   Keywords:  gitian,
   Resolution:                       |  TorBrowserTeam201407
Actual Points:                       |  Parent ID:
       Points:                       |
-------------------------------------+-------------------------------------

Comment (by mcs):

 Replying to [comment:16 dcf]:
 > I haven't seen this error through many builds that included golang.
 However I have only tried building on Ubuntu 12.04.
 >
 > I found some references to the "bits/predefs.h" error:
 >  *
 http://blog.riff.org/2014_06_06_what_to_do_when_go_will_not_run_nor_install_from_source
 >  * https://ubuntuforums.org/showthread.php?t=1877944
 >  * https://lists.debian.org/debian-glibc/2013/08/msg00030.html
 >  * https://github.com/gogits/gogs/issues/93

 Thanks for the info.  But it does not make sense to me that the build
 would succeed the second time (after I restarted it).


 > The sources say to try installing either libc6-dev-i386 or gcc-multilib.
 What does `apt-get build-dep golang` say inside the VM? It could be that
 we just need to add a new dependency in the descriptor.

 I had to add some deb-src lines to /etc/apt/sources.list in order to
 successfully run the 'apt-get build-dep golang' command.  The output
 includes:
 {{{
 The following NEW packages will be installed:
   bison bsdmainutils debhelper dh-apparmor ed gettext groff-base html2text
   intltool-debian libbison-dev man-db po-debconf
 }}}

 One more thing: deleting pluggable-transports-win32-gbuilt.zip and re-
 running the build does not reproduce the failure.  Maybe the failure only
 happens rarely; I will try a few more times.

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


More information about the tor-bugs mailing list