[MacPorts] #56810: GitX build fails: error: unsafe_unretained property 'parent' may not also be declared __weak

MacPorts noreply at macports.org
Sat Jul 14 00:17:35 UTC 2018


#56810: GitX build fails: error: unsafe_unretained property 'parent' may not also
be declared __weak
----------------------+--------------------
 Reporter:  chucko58  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.5.3
 Keywords:            |       Port:  gitx
----------------------+--------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/56810>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list