Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13886 closed defect (worksforme)

py-xml-0.8.4 build failed - unable to execute -fno-strict-aliasing

Reported by: dsm717@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: py-xml Cc: dsm717@…, ryanwilcox@…
Port:

Description (last modified by jmpp@…)

py-xml fails to install on Mac OS X 10.5.1, on a MacBook Pro:

--->  Fetching py-xml
--->  Attempting to fetch PyXML-0.8.4.tar.gz from http://downloads.sourceforge.net/pyxml
--->  Verifying checksum(s) for py-xml
--->  Extracting py-xml
--->  Configuring py-xml
--->  Building py-xml with target build
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-xml/work/PyXML-0.8.4" && /opt/local/bin/python2.4 setup.py build --with-libexpat=/opt/local " returned error 1
Command output: copying xml/xpath/BuiltInExtFunctions.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/Context.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/Conversions.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/CoreFunctions.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ExpandedNameWrapper.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/MessageSource.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/NamespaceNode.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedAbbreviatedRelativeLocationPath.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedAbsoluteLocationPath.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedAxisSpecifier.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedExpr.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedNodeTest.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedPredicateList.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedRelativeLocationPath.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/ParsedStep.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/pyxpath.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/Set.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/Util.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/XPathGrammar.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/XPathParser.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/XPathParserBase.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
copying xml/xpath/yappsrt.py -> build/lib.macosx-10.3-i386-2.4/_xmlplus/xpath
running build_ext
building '_xmlplus.parsers.pyexpat' extension
creating build/temp.macosx-10.3-i386-2.4
creating build/temp.macosx-10.3-i386-2.4/extensions
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DHAVE_EXPAT_H -DHAVE_MEMMOVE=1 -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c extensions/pyexpat.c -o build/temp.macosx-10.3-i386-2.4/extensions/pyexpat.o
unable to execute -fno-strict-aliasing: No such file or directory
error: command '-fno-strict-aliasing' failed with exit status 1

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 16 years ago by jmpp@…

Description: modified (diff)

comment:2 Changed 16 years ago by afb@…

Some of the Python port have a bug when they "forget" to use a compiler, like CC="" or something.

So the command then tries to execute the first parameter flag, which falls flat on its face...

comment:3 Changed 16 years ago by dsm717@…

It worked correctly this morning.

comment:4 in reply to:  3 Changed 16 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Replying to dsm717@gmail.com:

It worked correctly this morning.

It works for me, too.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.