Opened 9 months ago

Last modified 8 months ago

#67940 assigned defect

GrandPerspective fails to build Mojave and older

Reported by: thomasrussellmurphy (Thomas Russell Murphy) Owned by: amake (Aaron Madlon-Kay)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: GrandPerspective

Description

Failing build status: https://ports.macports.org/port/GrandPerspective/details/

I can confirm the failure when it tries to rebuild locally on Mojave 10.14.6.

Change History (6)

comment:1 Changed 9 months ago by jmroot (Joshua Root)

Cc: amake@… removed
Owner: set to amake
Status: newassigned

comment:2 Changed 8 months ago by thomasrussellmurphy (Thomas Russell Murphy)

Hello, is there any progress or support on this required? This port being broken is limiting my ability to use my automated port management scripts.

comment:3 Changed 8 months ago by amake (Aaron Madlon-Kay)

It looks like the issue is that GrandPerspective requires a newer OS SDK.

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_aqua_GrandPerspective/GrandPerspective/work/GrandPerspective-3_4_2/src/control/DirectoryViewControl.m:941:27: error: use of undeclared identifier 'NSWorkspaceOpenConfiguration'; did you mean 'NSWorkspaceCopyOperation'?

As I understand it this is not "fixable" except by backporting the code or marking the port as known_fail. I am not interested in attempting the former; if someone would like to volunteer to do it then please do.

Last edited 8 months ago by amake (Aaron Madlon-Kay) (previous) (diff)

comment:4 Changed 8 months ago by thomasrussellmurphy (Thomas Russell Murphy)

Would it be possible to make a version of the port from before the SDK upgrade to support older systems, then let this port stick with upstream?

comment:5 Changed 8 months ago by amake (Aaron Madlon-Kay)

Yes, any interested party should feel free to do so.

comment:6 Changed 8 months ago by wltb

Upstream has a list that shows which macOS versions are supported by the various versions (under System requirements). This could be solved like the mkvtoolnix port does it, check ${os.major} and provide older versions for older OSes.

Note: See TracTickets for help on using tickets.