Opened 6 years ago

Closed 6 years ago

#56810 closed defect (duplicate)

GitX build fails: error: unsafe_unretained property 'parent' may not also be declared __weak

Reported by: chucko58 (Chuck Fry) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc:
Port: gitx

Description

On a MacBook Pro (Retina, 15-inch, Early 2013) running macOS Sierra 10.12.6:

MacPorts 2.5.3 is installed without root privileges, with prefix=/Users/cfry

'port install gitx' fails with what appear to be clang compiler error messages. Several files have errors similar to this:

:info:build In file included from /Users/cfry/var/macports/build/_Users_cfry_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_GitX/GitX/work/gitx-0.7.1/ApplicationController.m:10:
:info:build In file included from /Users/cfry/var/macports/build/_Users_cfry_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_GitX/GitX/work/gitx-0.7.1/PBGitRevisionCell.h:10:
:info:build In file included from /Users/cfry/var/macports/build/_Users_cfry_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_GitX/GitX/work/gitx-0.7.1/PBGitGrapher.h:10:
:info:build In file included from /Users/cfry/var/macports/build/_Users_cfry_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_GitX/GitX/work/gitx-0.7.1/PBGitCommit.h:11:
:info:build /Users/cfry/var/macports/build/_Users_cfry_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_GitX/GitX/work/gitx-0.7.1/PBGitTree.h:37:37: error: unsafe_unretained property 'parent' may not also be declared __weak
:info:build @property(assign) __weak PBGitTree* parent;

Not sure if this is the proximate cause of the build failure, but it can't be helping.

See attached (gzipped) log file.

Attachments (1)

GitX-install-log.gz (20.9 KB) - added by chucko58 (Chuck Fry) 6 years ago.
Gzipped install log from 'port install gitx'

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by chucko58 (Chuck Fry)

Attachment: GitX-install-log.gz added

Gzipped install log from 'port install gitx'

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

This software is truly ancient.

After some monkeying around, I got the same error.

comment:2 Changed 6 years ago by kencu (Ken)

Owner: set to neverpanic
Status: newassigned

comment:3 Changed 6 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: assignedclosed

GitX needs to replaced by a successor. See #42957.

Note: See TracTickets for help on using tickets.