[MacPorts] #67260: GitX @0.7.1_3+finder_integration build failure: conflicting types for 'connect' (was: GitX install from source fails: PBEasyPipe.m:122:46: warning: format specifies type 'char *' but the argument has type 'SEL')

MacPorts noreply at macports.org
Mon Apr 17 20:06:11 UTC 2023


#67260: GitX @0.7.1_3+finder_integration build failure: conflicting types for
'connect'
-----------------------+------------------------
  Reporter:  kwolcott  |      Owner:  neverpanic
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  GitX      |
-----------------------+------------------------
Changes (by jmroot):

 * status:  new => assigned
 * cc: neverpanic (removed)
 * owner:  (none) => neverpanic
 * port:   => GitX


Old description:

> PBEasyPipe.m:116:2: warning: This can cause a "Bad file descriptor"...
> when? [-W#warnings]
> #warning This can cause a "Bad file descriptor"... when?
>  ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_GitX/GitX/work/gitx-0.7.1/PBEasyPipe.m:122:46:
> warning: format specifies type 'char *' but the argument has type 'SEL'
> [-Wformat]
>                 NSLog(@"Got a bad file descriptor in %s!", _cmd);
>                                                      ~~    ^~~~
>
> warning: Run script build phase 'Run Script' will be run during every
> build because it does not specify any outputs. To address this warning,
> either add output dependencies to the script phase, or configure it to
> run in every build by unchecking "Based on dependency analysis" in the
> script phase. (in target 'Generate PList Prefix' from project 'GitX')
> warning: Traditional headermap style is no longer supported; please
> migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS'
> to NO. (in target 'GitX' from project 'GitX')
> warning: Run script build phase 'Compile libgit2' will be run during
> every build because it does not specify any outputs. To address this
> warning, either add output dependencies to the script phase, or configure
> it to run in every build by unchecking "Based on dependency analysis" in
> the script phase. (in target 'GitX' from project 'GitX')
> warning: Run script build phase 'Copy HTML files' will be run during
> every build because it does not specify any outputs. To address this
> warning, either add output dependencies to the script phase, or configure
> it to run in every build by unchecking "Based on dependency analysis" in
> the script phase. (in target 'GitX' from project 'GitX')
> ** BUILD FAILED **

New description:

 {{{
 PBEasyPipe.m:116:2: warning: This can cause a "Bad file descriptor"...
 when? [-W#warnings]
 #warning This can cause a "Bad file descriptor"... when?
  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_GitX/GitX/work/gitx-0.7.1/PBEasyPipe.m:122:46:
 warning: format specifies type 'char *' but the argument has type 'SEL'
 [-Wformat]
                 NSLog(@"Got a bad file descriptor in %s!", _cmd);
                                                      ~~    ^~~~

 warning: Run script build phase 'Run Script' will be run during every
 build because it does not specify any outputs. To address this warning,
 either add output dependencies to the script phase, or configure it to run
 in every build by unchecking "Based on dependency analysis" in the script
 phase. (in target 'Generate PList Prefix' from project 'GitX')
 warning: Traditional headermap style is no longer supported; please
 migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to
 NO. (in target 'GitX' from project 'GitX')
 warning: Run script build phase 'Compile libgit2' will be run during every
 build because it does not specify any outputs. To address this warning,
 either add output dependencies to the script phase, or configure it to run
 in every build by unchecking "Based on dependency analysis" in the script
 phase. (in target 'GitX' from project 'GitX')
 warning: Run script build phase 'Copy HTML files' will be run during every
 build because it does not specify any outputs. To address this warning,
 either add output dependencies to the script phase, or configure it to run
 in every build by unchecking "Based on dependency analysis" in the script
 phase. (in target 'GitX' from project 'GitX')
 ** BUILD FAILED **
 }}}

--

Comment:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_GitX/GitX/work/gitx-0.7.1/gitx.m:13:18:
 error: conflicting types for 'connect'
 :info:build NSDistantObject* connect()
 :info:build                  ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67260#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list