Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16323 closed defect (duplicate)

py25-libxml2 fails to build

Reported by: brad.allison@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: py25-libxml2 Cc:
Port:

Description

---> Building py25-libxml2 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_py25-libxml2/work/libxml2-python-2.6.21" && /opt/local/bin/python2.5 setup.py build " returned error 1 Command output: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py:247: UserWarning: 'licence' distribution option is deprecated; use 'license'

warnings.warn(msg)

running build running build_py running build_ext building 'libxml2mod' extension -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_REENTRANT=1 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c libxml2-py.c -o build/temp.macosx-10.3-i386-2.5/libxml2-py.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1

Error: The following dependencies failed to build: gnome-platform-suite gtk-doc gnome-doc-utils py25-libxml2 py25-numeric libart_lgpl libbonoboui libglade2 libgnome libgnomecanvas libgnomeui gnome-icon-theme hicolor-icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple p5-xml-namespacesupport p5-xml-sax libsoup gnutls lzo opencdk readline nspr nss Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 16 years ago by blb@…

Component: portsbase
Milestone: MacPorts base bugs
Resolution: duplicate
Status: newclosed

Dup'ing to #13930.

Looks like the Tcl env bug. Run

sudo port clean --work py25-libxml2

Then continue with your original port install.

comment:2 Changed 16 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

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

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.