Message: previous - next
Month: June 2012

Re: [trinity-devel] Tim: pytdeextensions FTBFS on 64-bit

From: Nix <nix@...>
Date: Fri, 15 Jun 2012 14:57:40 +0100
On 15 Jun 2012, Darrell Anderson uttered the following:

> Okay, so we need to allow the old patch for some distros and remove
> the patch for others. Would one of you two create a proper patch for
> the problem? One that allows supporting all distros?

Unfortunately because python-trinity is neither a configure nor a
cmake-using project, it's hard :( however it is reasonable to do it by
inspecting the system configuration, and assuming that if /usr/lib32
exists then we want a 64-bit lib and a 32-bit lib32. (You cannot do the
opposite and look for lib64, because a some distros have a lib32, a
lib64 *and* a lib, with one of those being a symlink to one of the
others: but in all such cases that I am aware of, lib is 64-bit.)

(Why yes, this *is* a bloody mess. Bring on Debian-style multiarch!
Which would mean more changes to python-trinity of course.)

NULL && (void)