[MacPorts] #46489: irsim: error: expected a platform name, e.g., 'macosx' (was: irsim installation)
MacPorts
noreply at macports.org
Thu Jan 8 10:44:08 PST 2015
#46489: irsim: error: expected a platform name, e.g., 'macosx'
------------------------+--------------------------
Reporter: gkottar@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: irsim |
------------------------+--------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => ryandesign@…
* status: new => assigned
Comment:
The real error seems to be:
{{{
/usr/include/sys/stdio.h:39:52: error: expected a platform name, e.g.,
'macosx'
}}}
The log is difficult to read because this error occurs repeatedly, and
because a parallel build is happening, the multiple error messages are
being interleaved. The build system then fails to recognize that the build
has failed, and proceeds anyway to the destroot phase, which repeats the
failing build.
I can reproduce this problem on my Yosemite system, even with a serial
build. The error I see is:
{{{
/usr/include/sys/stdio.h:39:80: error: expected a platform name, e.g.,
'macosx'
int renameat(int, const char *, int, const char *)
__attribute__((availability(1,introduced=10.10)));
^
}}}
This is now sounding familiar. OS X's headers use defines like 'macosx'
and 'ios', but irsim's build redefines 'macosx' to '1' which breaks
everything. We encountered this two years ago in #36250 and thought we
fixed it...
Ah, I see: we applied the patch only on OS X 10.8. We should have applied
the patch on OS X 10.8 and later.
--
Ticket URL: <https://trac.macports.org/ticket/46489#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list