[MacPorts] #54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)

MacPorts
#54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)
----------------------+------------------
 Reporter:  mopihopi  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  gtk3
----------------------+------------------
 gtk3 @3.22.17_0 +quartz+universal fails to build on Yosemite (10.10.5)
 with XCode 7.2.1.

 {{{
 $ sudo port upgrade outdated
 --->  Computing dependencies for gtk3
 --->  Fetching archive for gtk3
 --->  Attempting to fetch
 gtk3-3.22.17_0+quartz+universal.darwin_14.i386-x86_64.tbz2 from
 https://packages.macports.org/gtk3
 --->  Attempting to fetch
 gtk3-3.22.17_0+quartz+universal.darwin_14.i386-x86_64.tbz2 from
 http://sea.us.packages.macports.org/macports/packages/gtk3
 --->  Attempting to fetch
 gtk3-3.22.17_0+quartz+universal.darwin_14.i386-x86_64.tbz2 from
 http://kmq.jp.packages.macports.org/gtk3
 --->  Fetching distfiles for gtk3
 --->  Verifying checksums for gtk3
 --->  Extracting gtk3
 --->  Applying patches to gtk3
 --->  Configuring gtk3
 Warning: reinplace s/@host@/i686-apple-darwin14.5.0/ didn't change
 anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.17/gail-3.0.pc.in
 Warning: reinplace s/@host@/i686-apple-darwin14.5.0/ didn't change
 anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.17/gdk-3.0.pc.in
 --->  Building gtk3
 Error: Failed to build gtk3: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 $
 }}}

 The build log includes errors like this:

 {{{
 :info:build In file included from gtkfilechooserentry.c:35:
 :info:build ./gtkfilefilterprivate.h:34:1: error: type arguments cannot be
 applied to non-parameterized class 'NSArray'
 :info:build NSArray<NSString *> *
 _gtk_file_filter_get_as_pattern_nsstrings (GtkFileFilter *filter);
 :info:build ^      ~~~~~~~~~~~~
 :info:build 1 error generated.
 :info:build make[3]: *** [libgtk_3_la-gtkfilechooserentry.lo] Error 1
 :info:build make[3]: *** Waiting for unfinished jobs....
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54518>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)

MacPorts
#54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)
-----------------------+-----------------
  Reporter:  mopihopi  |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gtk3      |
-----------------------+-----------------
Changes (by mopihopi):

 * Attachment "gtk3-3.22.17-log" added.


--
Ticket URL: <https://trac.macports.org/ticket/54518>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)

MacPorts
In reply to this post by MacPorts
#54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)
-----------------------+----------------------
  Reporter:  mopihopi  |      Owner:  dbevans
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gtk3      |
-----------------------+----------------------
Changes (by mf2k):

 * owner:   => dbevans
 * cc: devans@… (removed)
 * status:  new => assigned


--
Ticket URL: <https://trac.macports.org/ticket/54518#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)

MacPorts
In reply to this post by MacPorts
#54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)
-----------------------+----------------------
  Reporter:  mopihopi  |      Owner:  dbevans
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gtk3      |
-----------------------+----------------------

Comment (by jjstickel):

 I experienced the same error. I am also on Yosemite with Xcode 7.2.1, and
 using +quartz (but not universal).

--
Ticket URL: <https://trac.macports.org/ticket/54518#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)

MacPorts
In reply to this post by MacPorts
#54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)
-----------------------+----------------------
  Reporter:  mopihopi  |      Owner:  dbevans
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  yosemite
      Port:  gtk3      |
-----------------------+----------------------
Changes (by ryandesign):

 * keywords:   => yosemite


Comment:

 Looks similar to #54542.

--
Ticket URL: <https://trac.macports.org/ticket/54518#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)

MacPorts
In reply to this post by MacPorts
#54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)
-----------------------+----------------------
  Reporter:  mopihopi  |      Owner:  dbevans
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  yosemite
      Port:  gtk3      |
-----------------------+----------------------

Comment (by kencu):

 See [ticket:51116] for a similar error with `type arguments cannot be
 applied to non-parameterized class` and a fix. In that port, to resolve
 this issue, the call was changed in this fashion:
 {{{
 NSArray<NSString *> *
 }}}
 changed to simply
 {{{
 NSArray *
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54518#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)

MacPorts
In reply to this post by MacPorts
#54518: gtk3 @3.22.17_0 +quartz+universal: fails to build on Yosemite (10.10.5)
-----------------------+----------------------
  Reporter:  mopihopi  |      Owner:  dbevans
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  yosemite
      Port:  gtk3      |
-----------------------+----------------------

Comment (by kencu):

 See [ticket:54542#comment:2] where I list the changes I needed to make
 this build.

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