[MacPorts] #58644: py36-lxml: Invalid arch name.

MacPorts noreply at macports.org
Wed Jun 26 00:40:27 UTC 2019


#58644: py36-lxml: Invalid arch name.
-------------------------------------------------+-------------------------
 Reporter:  Lord-Kamina                          |      Owner:  (none)
     Type:  defect                               |     Status:  new
 Priority:  Normal                               |  Milestone:
Component:  ports                                |    Version:  2.5.99
 Keywords:  python python36 libxml2 arch         |       Port:  py36-lxml
  architecture cflags                            |
-------------------------------------------------+-------------------------
 First: I have no idea what's causing this bug, so I don't know if any
 other ports are affected.

 So... here's the thing, I was upgrading my pretty-updated ports (hadn't
 run port upgrade for a couple months at least) and when I got to py36-lxml
 I got the error in the summary.

 After trying for a bit to fix it and failing, I thought it might be the
 thousand-and-one command-line and macports.conf options I use so naturally
 I commented out my macports.conf modifications and decided to just run {{{
 port install -fvs py36-lxml }}} and the error is still there.

 Best I can figure, _something_ is causing macports to set CFLAGS to {{{
 -arch }}}; which in turn causes commands like {{{ /usr/bin/clang -DNDEBUG
 -g -fwrapv -O3 -Wall -arch -DCYTHON_CLINE_IN_TRACEBACK=0
 -I/opt/local/include -I/opt/local/include/libxml2 -Isrc
 -Isrc/lxml/includes
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m
 -c src/lxml/etree.c -o build/temp.macosx-10.9-x86_64-3.6/src/lxml/etree.o
 -w -flat_namespace }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58644>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list