Opened 8 years ago

Closed 8 years ago

#39669 closed defect (fixed)

python27 has -arch flags in sysconfig

Reported by: ryandesign (Ryan Schmidt) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: markd@…, cooljeanius (Eric Gallager)
Port: python27


Having python27 installed with the universal variant causes ntop to fail to build. The error message is:

clang: error: no such file or directory: 'x86_64'

The build log shows -arch x86_64 -arch i386 being used, even though ntop is not being installed with the universal variant. These -arch flags must be coming from python.

When it fails, x86_64 -arch i386 is being used, which is of course wrong; this part of the ntop build system might be incorrectly assuming that multiple identical flags should be consolidated.

ntop installs successfully (without the universal variant) when python27 is installed without the universal variant.

Attachments (1)

main.log.bz2 (14.3 KB) - added by ryandesign (Ryan Schmidt) 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by ryandesign (Ryan Schmidt)

Attachment: main.log.bz2 added

comment:1 Changed 8 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 8 years ago by jmroot (Joshua Root)

The archflags are in

comment:3 Changed 8 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: python27 +universal causes ntop to fail to buildpython27 has -arch flags in sysconfig
Note: See TracTickets for help on using tickets.