[MacPorts] #19044: python24 OSA module fails to build
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- ~$ uname -a Darwin iapetus.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386 MacPorts 1.710 Unibody Macbook, 4GB Ram python24 fails to install for me because the OSA module fails to compile. ~$ port clean python24 Password: ---> Cleaning python24 ~$ port install python24 Password: ---> Fetching python24 ---> Verifying checksum(s) for python24 ---> Extracting python24 ---> Applying patches to python24 ---> Configuring python24 ---> Building python24 ---> Staging python24 into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6" && make frameworkinstall maninstall DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot " returned error 2 Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1003: error: 'OSADebuggerGetPreviousCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1006: error: 'inCurrentFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1008: warning: implicit declaration of function 'OSADebuggerGetPreviousCallFrame' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1010: error: 'outPrevFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c: In function 'OSAObj_OSADebuggerDisposeCallFrame': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1021: error: 'OSADebugCallFrameRef' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1021: error: syntax error before 'inCallFrame' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1023: error: 'OSADebuggerDisposeCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1026: error: 'inCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1028: warning: implicit declaration of function 'OSADebuggerDisposeCallFrame' running build_scripts Creating directory /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config Skip install of libpython2.4.a - use make frameworkinstall /usr/bin/install -c -m 644 Modules/config.c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/config.c /usr/bin/install -c -m 644 Modules/ccpython.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/ccpython.o /usr/bin/install -c -m 644 ./Modules/config.c.in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/config.c.in /usr/bin/install -c -m 644 Makefile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Makefile /usr/bin/install -c -m 644 Modules/Setup /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Setup /usr/bin/install -c -m 644 Modules/Setup.local /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Setup.local -- Ticket URL: <http://trac.macports.org/ticket/19044> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Old description:
~$ uname -a Darwin iapetus.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386
MacPorts 1.710
Unibody Macbook, 4GB Ram
python24 fails to install for me because the OSA module fails to compile.
~$ port clean python24 Password: ---> Cleaning python24 ~$ port install python24 Password: ---> Fetching python24 ---> Verifying checksum(s) for python24 ---> Extracting python24 ---> Applying patches to python24 ---> Configuring python24 ---> Building python24 ---> Staging python24 into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6" && make frameworkinstall maninstall DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot " returned error 2 Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1003: error: 'OSADebuggerGetPreviousCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1006: error: 'inCurrentFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1008: warning: implicit declaration of function 'OSADebuggerGetPreviousCallFrame' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1010: error: 'outPrevFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c: In function 'OSAObj_OSADebuggerDisposeCallFrame': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1021: error: 'OSADebugCallFrameRef' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1021: error: syntax error before 'inCallFrame' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1023: error: 'OSADebuggerDisposeCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1026: error: 'inCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1028: warning: implicit declaration of function 'OSADebuggerDisposeCallFrame' running build_scripts Creating directory /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config Skip install of libpython2.4.a - use make frameworkinstall /usr/bin/install -c -m 644 Modules/config.c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/config.c /usr/bin/install -c -m 644 Modules/ccpython.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/ccpython.o /usr/bin/install -c -m 644 ./Modules/config.c.in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/config.c.in /usr/bin/install -c -m 644 Makefile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Makefile /usr/bin/install -c -m 644 Modules/Setup /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Setup /usr/bin/install -c -m 644 Modules/Setup.local /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Setup.local
New description: ~$ uname -a Darwin iapetus.local 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov 24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386 i386 MacPorts 1.710 Unibody Macbook, 4GB Ram python24 fails to install for me because the OSA module fails to compile. {{{ ~$ port clean python24 Password: ---> Cleaning python24 ~$ port install python24 Password: ---> Fetching python24 ---> Verifying checksum(s) for python24 ---> Extracting python24 ---> Applying patches to python24 ---> Configuring python24 ---> Building python24 ---> Staging python24 into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6" && make frameworkinstall maninstall DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot " returned error 2 Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1003: error: 'OSADebuggerGetPreviousCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1006: error: 'inCurrentFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1008: warning: implicit declaration of function 'OSADebuggerGetPreviousCallFrame' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1010: error: 'outPrevFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c: In function 'OSAObj_OSADebuggerDisposeCallFrame': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1021: error: 'OSADebugCallFrameRef' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1021: error: syntax error before 'inCallFrame' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1023: error: 'OSADebuggerDisposeCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1026: error: 'inCallFrame' undeclared (first use in this function) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/Python-2.4.6/Mac/Modules/osa/_OSAmodule.c:1028: warning: implicit declaration of function 'OSADebuggerDisposeCallFrame' running build_scripts Creating directory /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config Skip install of libpython2.4.a - use make frameworkinstall /usr/bin/install -c -m 644 Modules/config.c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/config.c /usr/bin/install -c -m 644 Modules/ccpython.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/ccpython.o /usr/bin/install -c -m 644 ./Modules/config.c.in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/config.c.in /usr/bin/install -c -m 644 Makefile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Makefile /usr/bin/install -c -m 644 Modules/Setup /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Setup /usr/bin/install -c -m 644 Modules/Setup.local /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python24/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Setup.local }}} -- Comment(by blb@…): What's your version of Xcode? {{{ xcodebuild -version }}} -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Comment(by yqiang@…): ~$ xcodebuild -version Xcode 3.1.2 Component versions: DevToolsCore-1148.0; DevToolsSupport-1102.0 BuildVersion: 9M2621 -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Comment(by blb@…): Did the actual install of python24 fail as well? Building the OSA module failed (and fails for me as well), but I don't see any further errors later in your output. Note that it appears that this is going to fail on 10.5, according to a [http://mail.python.org/pipermail/python- checkins/2007-December/063832.html python commit] which suggests some calls aren't available on 10.5 at all. Since I don't think they will be further supporting 2.4 we'll just have to deal with the OSA module being unavailable with 2.4 on 10.5. -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Comment(by yqiang@…): I think python24 fails to install. ~$ python_select -l Available versions: current none python25 python25-apple python26 -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Comment(by blb@…): Interesting, the OSA module fails to build for me but python24 does finish installing (and FYI, you can use {{{port installed python24}}} to see if it is installed). Was there more output from port after what you initially posted here? -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Comment(by yqiang@…): ~$ port installed python24 Password: None of the specified ports are installed. ~$ port clean python24 ---> Cleaning python24 ~$ port install python24 &> python24.log See attached log. -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Comment(by yqiang@…): Also, just to add to the confusion, I have an iMac running the exact same version of Xcode & OSX and python24 builds fine there. -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Comment(by blb@…): You wouldn't happen to have a .pydistutils.cfg file in your home directory would you? -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build ------------------------------+--------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: python | Port: python24 ------------------------------+--------------------------------------------- Comment(by yqiang@…): Replying to [comment:8 blb@…]:
You wouldn't happen to have a .pydistutils.cfg file in your home directory would you?
Doh! That fixed it. I can't remember why I have that config file anymore, but removing it did the trick. Thanks again! -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19044: python24 OSA module fails to build -------------------------------+-------------------------------------------- Reporter: yqiang@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: python Port: python24 | -------------------------------+-------------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => invalid Comment: Glad to hear that it works. Note that we've integrated some patches into later pythons to avoid this so a .pydistutils.cfg won't get in the way for 2.5 and later (eventually those patches will make their way into python itself, see #9831 and [http://bugs.python.org/issue1180 python issue 1180]). -- Ticket URL: <http://trac.macports.org/ticket/19044#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts