[MacPorts] #53996: ostinato @0.8 fails to build with libc++

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

[MacPorts] #53996: ostinato @0.8 fails to build with libc++

MacPorts
#53996: ostinato @0.8 fails to build with libc++
---------------------+----------------------
 Reporter:  1-61803  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  ostinato
---------------------+----------------------


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

Re: [MacPorts] #53996: ostinato @0.8 fails to build with libc++

MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+-----------------
  Reporter:  1-61803   |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+-----------------
Changes (by 1-61803):

 * Attachment "ostinato_failed_main.log" added.


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

Re: [MacPorts] #53996: ostinato @0.8 fails to build with libc++

MacPorts
In reply to this post by MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+----------------------
  Reporter:  1-61803   |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+----------------------
Changes (by ryandesign):

 * owner:   => g5pw
 * status:  new => assigned


Comment:

 This port uses the qt4 portgroup. I'd expect that portgroup to properly
 handle the necessary details of supplying the C++ library flags. Or, maybe
 it needs to be using the qmake portgroup instead, which looks like it does
 handle that.

--
Ticket URL: <https://trac.macports.org/ticket/53996#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] #53996: ostinato @0.8 fails to build with libc++

MacPorts
In reply to this post by MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+----------------------
  Reporter:  1-61803   |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+----------------------

Comment (by 1-61803):

 `ostinato_failed_2_main.log` is for `clang-3.9` and `libc++`.

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

Re: [MacPorts] #53996: ostinato @0.8 fails to build with libc++

MacPorts
In reply to this post by MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+----------------------
  Reporter:  1-61803   |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+----------------------
Changes (by 1-61803):

 * Attachment "ostinato_failed_2_main.log" added.


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

Re: [MacPorts] #53996: ostinato @0.8 fails to build with libc++

MacPorts
In reply to this post by MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+----------------------
  Reporter:  1-61803   |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+----------------------

Comment (by kencu):

 In the log above, the build is still using `/usr/bin/clang`, and it's not
 building with clang-3.9 w libc++. qt4 caches it's build info into some
 convoluted configuration files (and more than one, to make it trickier). I
 can recall needing to change these by hand when I changed compilers from
 clang-3.7 to clang-3.8, but maybe there's an easier way.

--
Ticket URL: <https://trac.macports.org/ticket/53996#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] #53996: ostinato @0.8 fails to build with libc++

MacPorts
In reply to this post by MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+----------------------
  Reporter:  1-61803   |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+----------------------

Comment (by 1-61803):

 Thanks for spotting that. I'll try to reinstall `qt4-mac` and report back.

--
Ticket URL: <https://trac.macports.org/ticket/53996#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] #53996: ostinato @0.8 fails to build with libc++

MacPorts
In reply to this post by MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+----------------------
  Reporter:  1-61803   |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+----------------------

Comment (by kencu):

 Just built it on 10.6, and seems to build and run OK, although I have no
 way to know if it actually all works properly.
 {{{
 $ port -v installed ostinato
 The following ports are currently installed:
   ostinato @0.8_0 (active) platform='darwin 10' archs='x86_64'
 date='2017-04-21T11:13:17-0700'
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53996#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] #53996: ostinato @0.8 fails to build with libc++

MacPorts
In reply to this post by MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+----------------------
  Reporter:  1-61803   |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+----------------------

Comment (by 1-61803):

 It built on `10.8` too with `clang-3.9` and `libc++` (see
 ticket:53994#comment:3). The application launches, I haven't fully tested
 it though. Thanks again Ken.

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

Re: [MacPorts] #53996: ostinato @0.8 fails to build with libc++

MacPorts
In reply to this post by MacPorts
#53996: ostinato @0.8 fails to build with libc++
-----------------------+----------------------
  Reporter:  1-61803   |      Owner:  g5pw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  ostinato  |
-----------------------+----------------------

Comment (by kencu):

 So - a workaround, again, but what we really need is a proper portfile
 fix. I defer to g5pw, but it would appear that ostinato needs some newer
 clang version than the clang-3.4-ish version that comes with 10.8. But to
 make it build with this newer clang version, it looks like that needs to
 get baked into qt4 during the build of qt4-mac. This is a bit messy. Does
 the qmake portgroup take care of something like this?

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