[MacPorts] #56869: serf1 @1.3.9: scons fails when python27 is 32-bit (was: Failed to build serf1: command execution failed)

MacPorts noreply at macports.org
Tue Oct 9 06:03:14 UTC 2018


#56869: serf1 @1.3.9: scons fails when python27 is 32-bit
------------------------+--------------------
  Reporter:  maurogaio  |      Owner:  blair
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.5.3
Resolution:  wontfix    |   Keywords:
      Port:  serf1      |
------------------------+--------------------
Changes (by ryandesign):

 * cc: ryandesign (added)
 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 I am able to reproduce this issue, if python27 has been installed for arch
 i386 only on a 64-bit computer. I don't think we've encountered anyone
 else trying to use such a configuration, so I don't think we're likely to
 spend a lot of time trying to fix it. On a 64-bit computer, set
 `build_arch` in macports.conf to `x86_64` (that's the default) and let
 MacPorts build 64-bit software. If you still want 32-bit support, make
 sure `universal_archs` is `x86_64 i386` (that's the default) and install
 ports with the +universal variant, which will give you programs and
 libraries that can be used from both 32-bit and 64-bit. I have most of my
 ports installed universal on High Sierra and it works fine for serf1.
 Trying to build serf1 with the 32-bit part of the universal python27 (by
 editing the serf1 portfile and changing `build.cmd` to `arch -i386
 ${prefix}/bin/python2.7 ${prefix}/bin/scons`) still fails (with a slightly
 different error: `ImportError: dynamic module does not define init
 function (init_struct)`), so there may be a general problem with 32-bit
 python27 on 64-bit Macs, or it may be a problem specific to scons.

-- 
Ticket URL: <https://trac.macports.org/ticket/56869#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list