Opened 4 years ago

Closed 4 years ago

#60777 closed defect (duplicate)

meson does not correctly link on Tiger as Tiger has no @rpath support.

Reported by: programmingkidx Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger Cc:
Port: meson

Description

When trying to install at-spi2-core I saw these messages:

$ sudo port install at-spi2-core
--->  Computing dependencies for at-spi2-core
--->  Cleaning at-spi2-core
--->  Scanning binaries for linking errors
--->  Found 1 broken file, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: at-spi2-core @2.28.0
Continue? [Y/n]

Continuing does not solve the problem.

Operating System: Mac OS 10.4.11 (intel)

Attachments (1)

main.log (86.3 KB) - added by programmingkidx 4 years ago.

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by programmingkidx

Attachment: main.log added

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

Cc: dbevans removed
Keywords: tiger added; broken port removed
Owner: set to dbevans
Status: newassigned

comment:2 Changed 4 years ago by programmingkidx

When I ran 'sudo port -v install at-spi2-core', I saw this info that tells why it is broken:

--->  Scanning binaries for linking errors
Could not open /opt/local/libexec/libatspi.0.dylib: Error opening or reading file (referenced from /opt/local/libexec/at-spi2-registryd)
--->  Found 1 broken file, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: at-spi2-core @2.28.0

comment:3 Changed 4 years ago by programmingkidx

Found out the file libatspi.0.dylib was located here: /opt/local/lib/libatspi.dylib.

After creating a symbolic link to here /opt/local/libexec/libatspi.0.dylib, the at-spi2-registryd command started to work.

This fixed the problem :)

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

I have totally hacked meson to make it work at all on Tiger, but it does not work properly yet. Upstream is considering if they might support it -- it has do with @rpath being used during the build phase. The hacks do fix many ports, but -- not this one.

This additional hack, on top of the other hacks, will get around this issue for today, but this is no fix, and there is no fix, until meson is fixed.

sudo install_name_tool -change @loader_path/libatspi.0.dylib /opt/local/lib/libatspi.0.dylib /opt/local/libexec/at-spi2-registryd

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

Port: meson added; at-spi2-core removed
Resolution: duplicate
Status: assignedclosed
Summary: at-spi2-core reported as broken portmeson does not correctly link on Tiger as Tiger has no @rpath support.

This has nothing to do with at-spi2-core. We already have open tickets about meson not working on Tiger. 60165

Note: See TracTickets for help on using tickets.