Opened 7 years ago

Closed 7 years ago

#9828 closed defect (fixed)

Firefox 24 ESR needs at least Python 2.7 and libgstreamer dev packages on the 10.04 VM

Reported by: gk Owned by: erinn
Priority: Medium Milestone:
Component: Applications/Tor bundles/installation Version:
Severity: Keywords: tbb-3.0, ff24-esr, MikePerry201311R
Cc: Actual Points:
Parent ID: #10103 Points:
Reviewer: Sponsor:

Description

Ubuntu 10.04, which we use to build the TBB3.0 for Linux, does not ship with Python 2.7, yet Firefox ESR 24 needs it in order to get built.

Child Tickets

Change History (13)

comment:1 Changed 7 years ago by gk

Component: - Select a componentTor bundles/installation
Owner: set to erinn

The two options are: add an external repository or build python from source. We should choose the second one (the Python folks have at least OpenPGP signatures for their tarballs).

comment:2 Changed 7 years ago by gk

Status: newneeds_review
Summary: Firefox 24 ESR needs at least Python 2.7 on the 10.04 VMFirefox 24 ESR needs at least Python 2.7 and libgstreamer dev packages on the 10.04 VM

comment:3 Changed 7 years ago by gk

Status: needs_reviewneeds_revision

There is no need to bump the mingw revision for Linux builds when building ESR 24.

comment:4 Changed 7 years ago by gk

Status: needs_revisionneeds_review

Patch 0001* is obsolete now.

comment:5 Changed 7 years ago by gk

Parent ID: #9827#10103

comment:6 Changed 7 years ago by mikeperry

Keywords: MikePerry201311R added

comment:7 Changed 7 years ago by mikeperry

Ok, I merged this patch for Linux. We still need windows and mac though.

See also #10120 though. We want that eventually, so we don't have to build python 3 times for every single TBB build.

comment:8 Changed 7 years ago by mikeperry

It turns out that this fix seems to cause certain PIP inputs to be downloaded from inside the gitian VM. Here's the excerpt from my Gitian VM (which I blocked access to everything but Ubuntu's update servers as an experiment):

Adding mozprofile 0.4 to easy-install.pth file
Installing mozprofile script to /home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu/_virtualenv/bin

Installed /home/ubuntu/build/tor-browser/testing/mozbase/mozprofile
Processing dependencies for mozprofile==0.4
Searching for pysqlite
Reading http://pypi.python.org/simple/pysqlite/
Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
Couldn't find index page for 'pysqlite' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!
No local packages or download links found for pysqlite

Is there any way we can feed these as inputs to Gitian so they don't have to be downloaded?

Note that I noticed this on the FF17 build process, not the FF24ESR. It's also possible it's specific to FF17, and we can just ignore it?

comment:9 Changed 7 years ago by gk

That problem probably won't go away. I opened #10166 for it.

comment:10 Changed 7 years ago by mikeperry

I pushed the mac+windows versions of this to the ff24-staging remote of ​https://git.torproject.org/user/mikeperry/tor-browser-bundle.git. Does that look OK?

comment:11 Changed 7 years ago by gk

Resolution: fixed
Status: needs_reviewclosed

Yes. Although strictly speaking there is currently no need to compile Python on Win/Mac ourselves (that's why the patch was only for Linux). But I guess it won't hurt. :) (apart from builds taking longer...)

Note: See TracTickets for help on using tickets.