Discussion:
[MacPorts] #57430: libosmo-dsp: fatal error: '/usr/include/complex.h' file not found
MacPorts
2018-10-23 23:20:25 UTC
Permalink
#57430: libosmo-dsp: fatal error: '/usr/include/complex.h' file not found
------------------------+-------------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: mojave | Port: libosmo-dsp
------------------------+-------------------------
[https://build.macports.org/builders/ports-10.14_x86_64-builder/builds/6916/steps
/install-dependencies/logs/stdio libosmo-dsp does not build on Mojave]:

{{{
iqbal.c:cfile.c43:33:10: cxvec_math.c:33:10fatal error::
'/usr/include/complex.h' file not found
fatal error: '/usr/include/complex.h' file not found
cxvec.c::33:10:#include "/usr/include/complex.h"
fatal error: 10'/usr/include/complex.h' file not found:
#include "/usr/include/complex.h" ^~~~~~~~~~~~~~~~~~~~~~~~

^~~~~~~~~~~~~~~~~~~~~~~~fatal error: '/usr/include/complex.h'
file not found

#include "/usr/include/complex.h"
^~~~~~~~~~~~~~~~~~~~~~~~
#include "/usr/include/complex.h"
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
1 error generated.
make[2]: *** [cxvec.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [cxvec_math.lo] Error 1
}}}

Can't rely in /usr/include existing anymore. Should e.g. `#include
<complex.h>` instead of `#include "/usr/include/complex.h"`.
--
Ticket URL: <https://trac.macports.org/ticket/57430>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-10-23 23:40:14 UTC
Permalink
#57430: libosmo-dsp: fatal error: '/usr/include/complex.h' file not found
--------------------------+-----------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: mojave
Port: libosmo-dsp |
--------------------------+-----------------------

Comment (by michaelld):

Interesting. Yeah no idea why one would #include a precise absolute
filename. Relative inside a build maybe, but this? My my my... I'll try
building it on my 10.14 buildbot (at work) & fix issues there.
--
Ticket URL: <https://trac.macports.org/ticket/57430#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-24 00:42:23 UTC
Permalink
#57430: libosmo-dsp: fatal error: '/usr/include/complex.h' file not found
--------------------------+-----------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: mojave
Port: libosmo-dsp |
--------------------------+-----------------------

Comment (by kencu):

perhaps we might reconsider how much we think we still need this patch, as
it seems to be our bad here:

<https://github.com/macports/macports-ports/blob/master/science/libosmo-
dsp/files/patch-complex.h.diff>
--
Ticket URL: <https://trac.macports.org/ticket/57430#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-24 23:09:53 UTC
Permalink
#57430: libosmo-dsp: fatal error: '/usr/include/complex.h' file not found
--------------------------+-----------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: mojave
Port: libosmo-dsp |
--------------------------+-----------------------

Comment (by kencu):

PR submitted. <https://github.com/macports/macports-ports/pull/3074>>
--
Ticket URL: <https://trac.macports.org/ticket/57430#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-28 03:00:43 UTC
Permalink
#57430: libosmo-dsp: fatal error: '/usr/include/complex.h' file not found
--------------------------+-----------------------
Reporter: ryandesign | Owner: michaelld
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: mojave
Port: libosmo-dsp |
--------------------------+-----------------------
Changes (by ken-cunningham-webuse):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"d05037cc475ff5aeaefb6b483e3a25e727a1f65a/macports-ports"
d05037cc475ff5aeaefb6b483e3a25e727a1f65a/macports-ports] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="d05037cc475ff5aeaefb6b483e3a25e727a1f65a"
libosmo-dsp: remove old complex.h force

previously was forced to /usr/include to overcome
an old issue with headers that no longer seems
a relevant concern.
closes: https://trac.macports.org/ticket/57430
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57430#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...