configure should check for python zlib bindings

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
10 years ago
10 months ago

People

(Reporter: dbaron, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(Not tracked)

Details

When I switched from using Apple's python to MacPorts's python (because of the requirement for python 2.4), I discovered mid-build that just installing python25 wasn't sufficient; I also needed to install py25-zlib, since MozZipFile.py depends on it.  (My build failed while building a jar file in netwerk.)

Since I consider it a bug if the build fails due to unmet dependencies at any point after configure has finished (it makes it take a lot longer to get a build going), I'm filing this one.

configure should check that "import zlib" works in a python script.

Comment 1

10 years ago
Urgh, this sucks: zlib (and md5) are part of the python standard library, and it's totally awful that a package would break them up.

But since we live in the real world not the perfect world, yeah, we should add a test.
I don't think MacPorts is still this dumb w.r.t. Python packaging. If they are, `mach bootstrap` papers over it.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME

Updated

10 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.