[MacPorts] #56716: opendx doesn't compile

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

[MacPorts] #56716: opendx doesn't compile

MacPorts
#56716: opendx doesn't compile
---------------------------+--------------------
 Reporter:  noambernstein  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.5.2
 Keywords:                 |       Port:  opendx
---------------------------+--------------------
 I'm not sure how far back this goes, but at least under OS X High Sierra
 10.13 opendx fails to build. The end of the log file (attached) suggests
 that the configure failed, because there's no "all" target defined for the
 make. Poking around the build dir suggests that the configure script
 didn't make one.  Playing around with hand compiling opendx (which I never
 did successfully) suggests that the error the log file shows about no
 working version of stat happens when using /usr/bin/gcc, although I have
 gcc 5.3.0 installed via macports and selected as the default.  I'm not
 sure which is supposed to be getting used here. The +no_java variant also
 fails to build with the same messages.

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

Re: [MacPorts] #56716: opendx doesn't compile

MacPorts
#56716: opendx doesn't compile
----------------------------+--------------------
  Reporter:  noambernstein  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.5.2
Resolution:                 |   Keywords:
      Port:  opendx         |
----------------------------+--------------------
Changes (by noambernstein):

 * Attachment "opendx_port_build_log.txt" added.

 opendx build log file

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

Re: [MacPorts] #56716: opendx doesn't compile

MacPorts
In reply to this post by MacPorts
#56716: opendx doesn't compile
----------------------------+--------------------
  Reporter:  noambernstein  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.5.2
Resolution:                 |   Keywords:
      Port:  opendx         |
----------------------------+--------------------

Comment (by kencu):

 Just as a data point I thought I'd install it on my day-to-day system, and
 it installed from source cleanly without an issue:
 {{{
 $ sudo port -v installed opendx
 The following ports are currently installed:
   opendx @4.4.4_4 (active) platform='darwin 10' archs='x86_64'
 date='2018-06-22T14:30:35-0700'
 }}}

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

Re: [MacPorts] #56716: opendx doesn't compile

MacPorts
In reply to this post by MacPorts
#56716: opendx doesn't compile
----------------------------+--------------------
  Reporter:  noambernstein  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.5.2
Resolution:                 |   Keywords:
      Port:  opendx         |
----------------------------+--------------------
Changes (by kencu):

 * Attachment "opendx.build.log" added.

 successful build, 10.6.8 / libc++

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

Re: [MacPorts] #56716: opendx @4.4.4: could not find working combination of stat function and structure (was: opendx doesn't compile)

MacPorts
In reply to this post by MacPorts
#56716: opendx @4.4.4: could not find working combination of stat function and
structure
----------------------------+------------------------
  Reporter:  noambernstein  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.5.2
Resolution:                 |   Keywords:  highsierra
      Port:  opendx         |
----------------------------+------------------------
Changes (by ryandesign):

 * keywords:   => highsierra


Comment:

 [https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/28814/steps
 /install-port/logs/stdio Confirmed on High Sierra only];
 [https://packages.macports.org/opendx/ successful builds on Sierra and
 earlier].

 Could you attach the config.log file too?

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

Re: [MacPorts] #56716: opendx @4.4.4: could not find working combination of stat function and structure

MacPorts
In reply to this post by MacPorts
#56716: opendx @4.4.4: could not find working combination of stat function and
structure
----------------------------+------------------------
  Reporter:  noambernstein  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.5.2
Resolution:                 |   Keywords:  highsierra
      Port:  opendx         |
----------------------------+------------------------

Comment (by MarcusCalhoun-Lopez):

 `#define macos 1` seems to be the problem.\\
 It conflicts with code from stdio.h, e.g. \\
 ` __API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0))`.

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

Re: [MacPorts] #56716: opendx @4.4.4: could not find working combination of stat function and structure

MacPorts
In reply to this post by MacPorts
#56716: opendx @4.4.4: could not find working combination of stat function and
structure
----------------------------+---------------------------------
  Reporter:  noambernstein  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.5.2
Resolution:  fixed          |   Keywords:  highsierra
      Port:  opendx         |
----------------------------+---------------------------------
Changes (by MarcusCalhoun-Lopez):

 * owner:  (none) => MarcusCalhoun-Lopez
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40a34a9d78b385b0d19c208a3cad471ecca76bdf/macports-ports"
 40a34a9d78b385b0d19c208a3cad471ecca76bdf/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="40a34a9d78b385b0d19c208a3cad471ecca76bdf"
 opendx: avoid defining macro macos (system uses it)

 Fixes https://trac.macports.org/ticket/56716
 No revbump since port builds correctly or not at all.
 }}}

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