[MacPorts] #15683: Building failing for no apparent reason even though manual builds work
#15683: Building failing for no apparent reason even though manual builds work ---------------------------+------------------------------------------------ Reporter: cems@lanl.gov | Owner: macports-tickets@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
#15683: Building failing for no apparent reason even though manual builds work ----------------------------+----------------------------------------------- Reporter: cems@lanl.gov | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: MacPorts base bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ----------------------------+----------------------------------------------- Changes (by ryandesign@macports.org): * cc: ryandesign@macports.org (added) * milestone: => MacPorts base bugs Comment: Please remember WikiFormatting. "unable to execute -DNDEBUG: No such file or directory" is the [wiki:LeopardProblems Leopard environment variable issue]. Just clean the affected port ("`sudo port clean --work py25-tkinter`") and try the port install again. It will work the second time. "/Applications/MacPorts/AquaTerm.app/Contents/Info.plist already exists and does not belong to a registered port" is unrelated. Sounds like you have /Applications/MacPorts/AquaTerm.app but MacPorts doesn't think it installed that. Maybe you had aquaterm installed before, then you uninstalled MacPorts incompletely so parts of your old installation remained? (Correct uninstall instructions are in the [wiki:FAQ FAQ].) You could now "`sudo port uninstall aquaterm`" to make sure MacPorts thinks it's uninstalled, then manually remove /Applications/MacPorts/AquaTerm.app, then clean and reinstall the aquaterm port. -- Ticket URL: <http://trac.macports.org/ticket/15683#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15683: Building failing for no apparent reason even though manual builds work ----------------------------+----------------------------------------------- Reporter: cems@lanl.gov | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: MacPorts base bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: ----------------------------+----------------------------------------------- Changes (by afb@macports.org): * status: new => closed * resolution: => worksforme Comment: fixed elsewhere -- Ticket URL: <http://trac.macports.org/ticket/15683#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15683: Building failing for no apparent reason even though manual builds work ----------------------------+----------------------------------------------- Reporter: cems@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.6.0 Resolution: | Keywords: Port: | ----------------------------+----------------------------------------------- Changes (by jmr@…): * status: closed => reopened * resolution: worksforme => * component: ports => base -- Ticket URL: <http://trac.macports.org/ticket/15683#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15683: Building failing for no apparent reason even though manual builds work ----------------------------+----------------------------------------------- Reporter: cems@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.6.0 Resolution: duplicate | Keywords: Port: | ----------------------------+----------------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => duplicate * milestone: MacPorts Future => Old description:
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.
New description: 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. }}} -- Comment: #13930 -- Ticket URL: <http://trac.macports.org/ticket/15683#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts