[MacPorts] #15683: Building failing for no apparent reason even though manual builds work

MacPorts noreply at macports.org
Thu Jun 19 11:48:03 PDT 2008


#15683: Building failing for no apparent reason even though manual builds work
---------------------------+------------------------------------------------
 Reporter:  cems at lanl.gov  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect         |      Status:  new                                  
 Priority:  Normal         |   Milestone:                                       
Component:  ports          |     Version:  1.6.0                                
 Keywords:                 |  
---------------------------+------------------------------------------------
 I've been installing scipy and matplot lib on 10.5.3 leopard w/xcode 3.0
 into a fresh 1.6.0 port install.  A number of the dependent packages fail
 at "setup.py build"  however if you run that command from the command line
 they build without errors.  Here is one example:

 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-tkinter/work/Python-2.5.2/Modules"
 && /opt/local/bin/python2.5 setup.py build " returned error 1
 Command output: running build
 running build_ext
 building '_tkinter' extension
 creating build
 creating build/temp.macosx-10.3-i386-2.5
 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1
 -I/opt/local/include -I/opt/local/include/
 python2.5 -c _tkinter.c -o build/temp.macosx-10.3-i386-2.5/_tkinter.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: py25-tkinter
 Error: Status 1 encountered during processing.

 and yet if I run the same command from the command line I get:

 bash-3.2$ cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-tkinter/work/Python-2.5.2/Modules"
 bash-3.2$ sudo  /opt/local/bin/python2.5 setup.py build
 Password:
 running build
 running build_ext
 building '_tkinter' extension
 /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
 -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
 -DWITH_APPINIT=1 -I/opt/local/include -I/opt/local/include/python2.5 -c
 _tkinter.c -o build/temp.macosx-10.3-i386-2.5/_tkinter.o
 /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
 -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
 -DWITH_APPINIT=1 -I/opt/local/include -I/opt/local/include/python2.5 -c
 tkappinit.c -o build/temp.macosx-10.3-i386-2.5/tkappinit.o
 creating build/lib.macosx-10.3-i386-2.5
 /usr/bin/gcc-4.0 -L/opt/local/lib -bundle -undefined dynamic_lookup
 build/temp.macosx-10.3-i386-2.5/_tkinter.o
 build/temp.macosx-10.3-i386-2.5/tkappinit.o -L/opt/local/lib -ltcl8.5
 -ltk8.5 -o build/lib.macosx-10.3-i386-2.5/_tkinter.so
 bash-3.2$

 If I then re-rerun the installer, the installer proceeds just fine.

 this happens on some but not all packages.

 I have downloaded and re-installed macports from scratch as of yeasterday
 but this did not fix the issue.

 here is another example:

 Error: Target org.macports.activate returned: Image error:
 /Applications/MacPorts/AquaTerm.app/Contents/Info.plist already exists and
 does not belong to a registered port.  Unable to activate port aquaterm.
 Error: The following dependencies failed to build: gnuplot aquaterm
 fontconfig freetype gd2 jpeg libpng pdflib py25-zlib
 Error: Status 1 encountered during processing.

-- 
Ticket URL: <http://trac.macports.org/ticket/15683>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list