Opened 4 years ago

Closed 4 years ago

#61311 closed defect (fixed)

at-spi2-core failed when installing pidgin - powerpc - tiger

Reported by: stevenptimms Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: tiger Cc:
Port: at-spi2-core

Description (last modified by mf2k (Frank Schima))

Hi Macports team, I apologies in advance if I do anything wrong here, this is my first ticket & I have tried to read the guidelines as best to my ability.

Upon trying to install pidgin on the latest version of Macports, fully updated, it failes with building at-spi2-core. I did a thorough search of Macports tickets and found the following: ticket:56932#comment:4

I followed his instructions (of course python is 3.8 since then) but it did not seem to make any difference for me. I hope this can be fixed, thank you. log attached.

Some info (sorry I am not sure what Wikiformatting to use here):

:debug:sysinfo Mac OS X 10.4 (darwin/8.11.0) arch powerpc
:debug:sysinfo MacPorts 2.6.2
:debug:sysinfo Xcode 2.5
:debug:sysinfo SDK 10.4
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.4

:info:build ld: -rpath can only be used when targeting Mac OS X 10.5 or later
:info:build collect2: ld returned 1 exit status
:info:build ninja: build stopped: subcommand failed.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_at-spi2-core/at-spi2-core/work/build" && /opt/local/bin/ninja -v 
:info:build Exit code: 1
:error:build Failed to build at-spi2-core: command execution failed

Attachments (1)

main.log (169.3 KB) - added by stevenptimms 4 years ago.

Download all attachments as: .zip

Change History (12)

Changed 4 years ago by stevenptimms

Attachment: main.log added

comment:1 Changed 4 years ago by mf2k (Frank Schima)

In the future, please fill in the Port field with the port that fails to build and Cc the port maintainer(s) (port info --maintainers at-spi2-core).

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: tiger added; at-spi2-core pidgin power-macintosh removed
Owner: set to dbevans
Port: at-spi2-core added; pidgin removed
Status: newassigned

comment:3 Changed 4 years ago by kencu (Ken)

the current version of at-spi2-core cannot be used on Tiger due meson rpath issues.

you have to peg it back to the last autotools version, like I have done here:

<https://github.com/kencu/TigerPorts/tree/master/gnome/at-spi2-atk>.

I recently outlined all the relevant meson issues here <https://trac.macports.org/ticket/60165#comment:12>.

This will require someone with time and skills to fix it, and TBH that may never happen...

comment:4 Changed 4 years ago by kencu (Ken)

btw I'm still using a nicely-working version of meson that I patched to fix most rpath issues on Tiger, found here: <https://github.com/kencu/TigerPorts/tree/master/devel/meson>.

Pete has apparently found out the current meson version needs more patching than that, but frankly i just have't got around to doing that yet.

Ken

comment:5 Changed 4 years ago by kencu (Ken)

Keywords: powerpc removed

comment:6 Changed 4 years ago by stevenptimms

..

Last edited 4 years ago by stevenptimms (previous) (diff)

comment:7 in reply to:  4 Changed 4 years ago by stevenptimms

Replying to kencu:

btw I'm still using a nicely-working version of meson that I patched to fix most rpath issues on Tiger, found here: <https://github.com/kencu/TigerPorts/tree/master/devel/meson>.

Pete has apparently found out the current meson version needs more patching than that, but frankly i just have't got around to doing that yet.

Ken

@kencu Thank you :) please could you point me in the right direction as to forcing my macports to using your specific fixed meson. And/or 'pegging' spi2-core back. I have had a look through the ports guide, but am having trouble finding the parts I need in order to learn.

Last edited 4 years ago by stevenptimms (previous) (diff)

comment:8 Changed 4 years ago by kencu (Ken)

Tiger is starting to struggle with current open-source software releases. It can use a quite new compiler, and on PowerPC you have currently gcc7 and below for use. The linker underpinnings are not too great though, and most specifically, it does not support @rpath usage, which is becoming more prevalent. The only real build system that really chokes at the moment though is meson.

it is fairly common to find an update to a piece of software that does not build. Often, with some effort, these can be fixed. People come and go who are interested in such things, but mostly it's been Peter and I who have been around here doing the Tiger fixes, with some help from Fred and @dglessus from time to time.

You need to be fairly facile with MacPorts to make a go it. You need to know how to hold back a port update when an upgrade fails, using your own local repository. You need to know how to run a rev-upgrade and let it fix things, and when to stop it from fixing something. And you need to know when the problem you're seeing is from MacPorts, the port update, or something you did.

For a start, look in the MacPorts guide, find the section on setting up a local repository, and set yourself up an empty one. Then clone my github TigerPorts repo perhaps, and copy in the meson port from there, and uninstall the meson you have, and install the one I fixed. Maybe after that, copy over the ati-* ports as well, and see if they install for you.

And if NONE of what I just said makes any sense to you at all -- maybe better think twice about running Tiger and MacPorts until it does make sense. You can upgrade your PowerPC system to Leopard perhaps and that is an order of magnitude easier to use with current software (supports @rpath, and much more). Intel systems can USUALLY upgrade to SnowLeopard, which is very useful still, or Lion, which is really quite good still.

Last edited 4 years ago by kencu (Ken) (previous) (diff)

comment:9 in reply to:  8 Changed 4 years ago by stevenptimms

Thank you Ken, words of wisdom if I ever saw any.

comment:10 Changed 4 years ago by kencu (Ken)

I have something that works here <https://github.com/macports/macports-ports/pull/8848> and with a minor change to the at-spi2-core port to disable the docs, I have the latest at-spi2-* ports installed on Tiger.

$ port -v installed | grep at-spi2
  at-spi2-atk @2.20.1_0 platform='darwin 8' archs='ppc' date='2016-09-17T17:03:26-0700'
  at-spi2-atk @2.22.0_0 platform='darwin 8' archs='ppc' date='2016-10-01T13:13:03-0700'
  at-spi2-atk @2.24.1_0 platform='darwin 8' archs='ppc' date='2017-08-12T12:36:52-0700'
  at-spi2-atk @2.26.0_0 platform='darwin 8' archs='ppc' date='2017-10-07T14:26:44-0700'
  at-spi2-atk @2.26.1_0 platform='darwin 8' archs='ppc' date='2017-11-04T17:48:22-0700'
  at-spi2-atk @2.26.2_0 platform='darwin 8' archs='ppc' date='2018-04-14T10:24:06-0700'
  at-spi2-atk @2.26.2_1 platform='darwin 8' archs='ppc' date='2018-08-19T08:28:16-0700'
  at-spi2-atk @2.34.2_0 platform='darwin 8' archs='ppc' date='2020-03-24T11:31:44-0700'
  at-spi2-atk @2.38.0_0 (active) platform='darwin 8' archs='ppc' date='2020-10-18T15:08:26-0700'
  at-spi2-core @2.20.2_0 platform='darwin 8' archs='ppc' date='2016-09-17T17:02:04-0700'
  at-spi2-core @2.22.0_0 platform='darwin 8' archs='ppc' date='2016-10-01T13:11:36-0700'
  at-spi2-core @2.24.1_0 platform='darwin 8' archs='ppc' date='2017-08-12T12:35:28-0700'
  at-spi2-core @2.26.0_0 platform='darwin 8' archs='ppc' date='2017-10-07T14:25:02-0700'
  at-spi2-core @2.26.2_0 platform='darwin 8' archs='ppc' date='2017-11-04T17:46:52-0700'
  at-spi2-core @2.28.0_0 platform='darwin 8' archs='ppc' date='2018-08-19T08:25:34-0700'
  at-spi2-core @2.28.0_1 platform='darwin 8' archs='ppc' date='2019-07-07T09:24:25-0700'
  at-spi2-core @2.38.0_0 (active) platform='darwin 8' archs='ppc' date='2020-10-18T14:17:09-0700'

the edit for at-spi2-core is here <https://github.com/kencu/TigerPorts/blob/2cd530bcab57815b78a7f8de30996a0cf1f59d10/gnome/at-spi2-core/Portfile#L45>.

comment:11 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 581a5bc25e8112c7586aa6415e020706c1ca7518/macports-ports (master):

at-spi2-core: workaround no rpath on Tiger

meson uses @rpaths but Tiger does not support them.
This workaround allows the dylibs to be found by
gobject-introspection during installation

closes: #56932
closes: #61311

Note: See TracTickets for help on using tickets.