[MacPorts] #24383: python26 2.6.5 does not build if macport.conf build_arch=i386
#24383: python26 2.6.5 does not build if macport.conf build_arch=i386 -----------------------------------+---------------------------------------- Reporter: bletofarine@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python26 -----------------------------------+---------------------------------------- I'm running MacOSX 10.6.3 with an up-to-date port tree. In order to build a i386-only python, I set my build_arch flag to i386 in my macports.conf file. Unfortunately, it does not work. I tried to perform a port clean on python26, without success. {{{ /usr/bin/gcc-4.2 -L/opt/local/lib -u _PyMac_Error Python.framework/Versions/2.6/Python -o python.exe \ Modules/python.o \ -ldl -framework CoreFoundation ld: warning: in Python.framework/Versions/2.6/Python, file is not of required architecture Undefined symbols: "_PyMac_Error", referenced from: "_Py_Main", referenced from: _main in python.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [python.exe] Error 1 }}} I'm going to attach the complete build log to the ticket. -- Ticket URL: <http://trac.macports.org/ticket/24383> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24383: python26 does not enforce build_arch -----------------------------------+---------------------------------------- Reporter: bletofarine@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python26 -----------------------------------+---------------------------------------- Changes (by jmr@…): * cc: mcalhoun@… (added) * owner: macports-tickets@… => blb@… Comment: Please remember to cc the maintainers. -- Ticket URL: <http://trac.macports.org/ticket/24383#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24383: python26 does not enforce build_arch -----------------------------------+---------------------------------------- Reporter: bletofarine@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python26 -----------------------------------+---------------------------------------- Comment(by blb@…): This would likely need some serious updates to the python build system; simpler may be to build for universal using 32&64 bit which is supposed to work for python26. Note you will need all dependencies built that way as well. -- Ticket URL: <http://trac.macports.org/ticket/24383#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24383: python26 does not enforce build_arch -----------------------------------+---------------------------------------- Reporter: bletofarine@… | Owner: blb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python26 -----------------------------------+---------------------------------------- Comment(by bletofarine@…): Ok. I don't think that it's worth any serious updates. -- Ticket URL: <http://trac.macports.org/ticket/24383#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24383: python26 does not enforce build_arch -----------------------------------+---------------------------------------- Reporter: bletofarine@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: python26 -----------------------------------+---------------------------------------- Changes (by blb@…): * owner: blb@… => mcalhoun@… * cc: mcalhoun@… (removed) -- Ticket URL: <http://trac.macports.org/ticket/24383#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24383: python26 does not enforce build_arch ------------------------------------+--------------------------------------- Reporter: bletofarine@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: python26 | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Can't reproduce with current versions of base and the port. -- Ticket URL: <https://trac.macports.org/ticket/24383#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24383: python26 does not enforce build_arch ------------------------------------+--------------------------------------- Reporter: bletofarine@… | Owner: mcalhoun@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: python26 | ------------------------------------+--------------------------------------- Changes (by lhunath@…): * status: closed => reopened * resolution: fixed => Comment: I just got this with python24, should I make a separate issue? {{{ :info:build /usr/bin/g++-4.2 -arch x86_64 -L/opt/local/lib -arch x86_64 -o python.exe \ :info:build Modules/ccpython.o \ :info:build libpython2.4.a -ldl :info:build Undefined symbols for architecture x86_64: :info:build "_Py_Main", referenced from: :info:build _main in ccpython.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build collect2: ld returned 1 exit status :info:build make: *** [python.exe] Error 1 :info:build 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" && /usr/bin/make all " returned error 2 }}} -- Ticket URL: <https://trac.macports.org/ticket/24383#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24383: python26 does not enforce build_arch ------------------------------------+--------------------------------------- Reporter: bletofarine@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: python26 | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: Yes, it's a different port with a different maintainer. -- Ticket URL: <https://trac.macports.org/ticket/24383#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts