[MacPorts] #64708: python39 +lto+optimizations+universal: library member: libpython3.9.a(getbuildinfo.o) is not an object file (not allowed in a library with multiple architectures)

MacPorts noreply at macports.org
Thu Feb 24 10:54:15 UTC 2022


#64708: python39 +lto+optimizations+universal: library member:
libpython3.9.a(getbuildinfo.o) is not an object file (not allowed in a
library with multiple architectures)
----------------------------------+----------------------
  Reporter:  metbic               |      Owner:  jmroot
      Type:  defect               |     Status:  assigned
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.7.1
Resolution:                       |   Keywords:  yosemite
      Port:  python39, python310  |
----------------------------------+----------------------

Comment (by metbic):

 Still the same as in [https://trac.macports.org/ticket/64708#comment:10],
 {{{glib}}} needs {{{python310}}} with the automatic universal option and
 this breaks the process.

 {{{
 sudo port install python310
 --->  Computing dependencies for python310
 --->  Cleaning python310
 --->  Scanning binaries for linking errors
 --->  Found 45 broken files, matching files to ports
 Warning: No port p5.26-net-ssleay found in the index; can't rebuild
 --->  Found 13 broken ports, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt:
  glib2 @2.58.3+universal+x11
  gobject-introspection @1.60.2+universal
  py27-gobject @2.28.7+x11
  py27-gobject3 @3.36.1
  py36-gobject3 @3.38.0
  py37-gobject3 @3.38.0
  py38-gobject3 @3.38.0
  py39-gobject3 @3.38.0
  gdl3 @3.40.0
  kdelibs4 @4.14.3
  neon @0.31.2
  gstreamer1-gst-plugins-bad @1.16.2+x11
  sane-backends @1.0.31+avahi
 Continue? [Y/n]: y
 --->  Computing dependencies for glib2
 --->  Dependencies to be installed: ninja python310 re2c
 --->  Fetching archive for python310
 --->  Attempting to fetch
 python310-3.10.2_0+lto+optimizations+universal.darwin_14.i386-x86_64.tbz2
 from http://packages.macports.org/python310
 --->  Attempting to fetch
 python310-3.10.2_0+lto+optimizations+universal.darwin_14.i386-x86_64.tbz2
 from http://fra.de.packages.macports.org/python310
 --->  Attempting to fetch
 python310-3.10.2_0+lto+optimizations+universal.darwin_14.i386-x86_64.tbz2
 from http://nue.de.packages.macports.org/python310
 --->  Fetching distfiles for python310
 --->  Verifying checksums for python310
 --->  Extracting python310
 --->  Applying patches to python310
 --->  Configuring python310
 --->  Building python310
 Error: Failed to build python310: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python310/python310/main.log
 for details.
 Error: rev-upgrade failed: Error rebuilding glib2
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64708#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list