Opened 13 years ago

Closed 13 years ago

#30140 closed defect (worksforme)

python32 build failure

Reported by: chicagotripp (Altoine Barker) Owned by: jyrkiwahlstedt
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 (1)

main.log (112.2 KB) - added by chicagotripp (Altoine Barker) 13 years ago.

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by chicagotripp (Altoine Barker)

Attachment: main.log added

comment:1 Changed 13 years ago by chicagotripp (Altoine Barker)

Cc: nDiScReEt@… added

Cc Me!

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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

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

comment:3 Changed 13 years ago by jmroot (Joshua Root)

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 13 years ago by jyrkiwahlstedt

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 Changed 13 years ago by ned-deily (Ned Deily)

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 13 years ago by chicagotripp (Altoine Barker)

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 13 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.