#46489 closed defect (fixed)
irsim: error: expected a platform name, e.g., 'macosx'
Reported by: | gkottar@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | irsim |
Description (last modified by mf2k (Frank Schima))
I can not install irsim under OS X Yosemite. I am using Xcode version Version 6.1.1 (6A2008a).
Quoting what is printed on the screen:
Staging irsim into destroot Error: org.macports.destroot for port irsim returned: command execution failed Please see the log file for port irsim for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_irsim/irsim/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port irsim failed
Attachments (1)
Change History (6)
Changed 10 years ago by gkottar@…
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | irsim removed |
---|
In the future, please use WikiFormatting
comment:2 Changed 10 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
Summary: | irsim installation → irsim: error: expected a platform name, e.g., 'macosx' |
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.
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r131282.
comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
And this patch was integrated into irsim 9.7.78. I updated irsum to 9.7.87 in r131283.
The log file returned