New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30140 (closed defect: worksforme)

Opened 23 months ago

Last modified 22 months ago

python32 build failure

Reported by: nDiScReEt@… Owned by: jwa@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: python32

Description

Here is the error message I receive:

  "saveFP", referenced from:
      __Py_c_pow in libpython3.2m.a(complexobject.o)
      _float_divmod in libpython3.2m.a(floatobject.o)
      _float_pow in libpython3.2m.a(floatobject.o)
  "___divdi3", referenced from:
      _PyThread_acquire_lock_timed in libpython3.2m.a(thread.o)
      _acquire_timed in libpython3.2m.a(_threadmodule.o)
ld: symbol(s) not found for architecture ppc
/usr/bin/libtool: internal link edit command failed
make: *** [Python.framework/Versions/3.2/Python] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python32/python32/work/Python-3.2'
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python32/python32/work/Python-3.2" && /usr/bin/make -j2 -w all MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for python32): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for python32 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python32/python32/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

My arch is a PPC G5 with an OS running 10.5 (Leopard). My XCode version is 3.1.4 and my macports is version 1.9.2. I ran the following command:

sudo port -v selfupdate && sudo port -du upgrade --enforce-variants outdated

before I cleaned and attempted to reinstall python32.

Attachments

main.log (112.2 KB) - added by nDiScReEt@… 23 months ago.

Change History

Changed 23 months ago by nDiScReEt@…

comment:1 Changed 23 months ago by nDiScReEt@…

  • Cc nDiScReEt@… added

Cc Me!

comment:2 Changed 23 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to jwa@…
  • Cc nDiScReEt@… removed

As reporter you needn't Cc yourself. You should however Cc the port's maintainer.

comment:3 Changed 23 months ago by jmr@…

Also note that it's not useful to use --enforce-variants when upgrading unless you also specify one or more variants that you want to add or remove.

comment:4 Changed 22 months ago by jwa@…

Sorry, but I don't have a similar system to test building on, so I leave this open, but can't do practically anything on this…

comment:5 follow-up: ↓ 6 Changed 22 months ago by nad@…

This problem was fixed upstream by the changes for http://bugs.python.org/issue1099 which was included in Python 3.2.1.

If you port selfupdate and port clean python32 and retry, I think you'll find it will now build correctly on PPC machines.

comment:6 in reply to: ↑ 5 Changed 22 months ago by nDiScReEt@…

Replying to nad@…:

This problem was fixed upstream by the changes for http://bugs.python.org/issue1099 which was included in Python 3.2.1.

If you port selfupdate and port clean python32 and retry, I think you'll find it will now build correctly on PPC machines.

Yes, the problem is resolved. It builds on my PPC. This ticket can officially be closed. I thank everyone for all their efforts.

comment:7 Changed 22 months ago by macsforever2000@…

  • Status changed from new to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.