Opened 6 years ago

Closed 6 years ago

#56716 closed defect (fixed)

opendx @4.4.4: could not find working combination of stat function and structure

Reported by: noambernstein Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: highsierra Cc: Schamschula (Marius Schamschula), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: opendx

Description

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.

Attachments (2)

opendx_port_build_log.txt (163.3 KB) - added by noambernstein 6 years ago.
opendx build log file
opendx.build.log (2.4 MB) - added by kencu (Ken) 6 years ago.
successful build, 10.6.8 / libc++

Change History (8)

Changed 6 years ago by noambernstein

Attachment: opendx_port_build_log.txt added

opendx build log file

comment:1 Changed 6 years ago by kencu (Ken)

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'

Changed 6 years ago by kencu (Ken)

Attachment: opendx.build.log added

successful build, 10.6.8 / libc++

comment:2 Changed 6 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: highsierra added
Summary: opendx doesn't compileopendx @4.4.4: could not find working combination of stat function and structure

comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-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)).

comment:5 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:6 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Resolution: fixed
Status: newclosed

In 40a34a9d78b385b0d19c208a3cad471ecca76bdf/macports-ports (master):

opendx: avoid defining macro macos (system uses it)

Fixes #56716
No revbump since port builds correctly or not at all.

Note: See TracTickets for help on using tickets.