os.arch on Linux

René J.V. Bertin rjvbertin at gmail.com
Sat Oct 10 03:54:23 PDT 2015


Since trac is still down:

MacPorts can generate .deb packages, a feature I just tried on Linux. Turns out it set the architecture to i386, which AFAIK is not appropriate for a 64 bit platform like mine.

So fwiw, attached is a patch that appears to address that issue; it prevents os.arch from being set to i386 instead of x86_64. I'm not sure why that logic is in place in the 1st place: a remnant from the days there were only 32bit MacIntels?

R
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-os_arch-linux.diff
Type: text/x-patch
Size: 1025 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20151010/8c497c07/attachment.bin>


More information about the macports-dev mailing list