i could build a kernel with some logging.<div><br></div><div>i wont have time to help debug it until a week from Saturday but i could walk somebody through setting up the Firewire KPrintf Viewer.  Youll need a FW cable, and likely two FW Thunderbolt adapters.</div><div><br></div><div>Mike<br><br>On Thursday, August 16, 2018, Joshua Root <<a href="mailto:jmr@macports.org">jmr@macports.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Lee Bast wrote:<br>
>       Latest version of MacPorts & Xcode on a Mac Pro 2010 12-core running 10.13, 64GB memory. After performing a normal selfupdate/upgrade outdated routine today I got a pile of "Error mapping file into memory" for various ports/libraries. I rolled back and rebooted then tried again and it installed. But I then tried to do a plain install of mpv and it got all the way through to scanning binaries for linking errors before show the same issue:<br>
> <br>
>> --->  Cleaning mpv<br>
>> --->  Updating database of binaries<br>
>> --->  Updating database of C++ stdlib usage<br>
>> --->  Scanning binaries for linking errors<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-cmp: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-concat: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-<wbr>convert: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-<wbr>deinterleave: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-info: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-<wbr>interleave: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-<wbr>metadata-get: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-<wbr>metadata-set: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-play: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/sndfile-<wbr>salvage: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/lib/libsndfile.1.<wbr>dylib: Error mapping file into memory<br>
>> Warning: Error parsing file /Applications/MacPorts/mpv.<wbr>app/Contents/MacOS/mpv: Error mapping file into memory<br>
>> Warning: Error parsing file /opt/local/bin/mpv: Error mapping file into memory<br>
>> --->  No broken files found.<br>
>> --->  No broken ports found.<br>
> <br>
>       Does anyone know what might trigger these? It's the first time I've ever seen that warning, and there haven't been any system or xcode updates since the last successful installs/updates. I can't seem to find much info searching, and I haven't ever seen it on any other system running 10.13 or any previous version either. I plan to play around with it more tonight but if there is anything obvious I'm missing that could point me in a direction to start I'd appreciate it!<br>
<br>
Well, "Error mapping file into memory" is the human-readable form of<br>
MACHO_EMMAP, which is only returned in one place:<br>
<br>
<<a href="https://github.com/macports/macports-base/blob/master/src/machista1.0/libmachista.c#L477" target="_blank">https://github.com/macports/<wbr>macports-base/blob/master/src/<wbr>machista1.0/libmachista.c#L477</a><wbr>><br>
<br>
So all we know is that the underlying mmap call failed for some reason<br>
(unfortunately mmap doesn't give a specific reason for its failures).<br>
<br>
- Josh<br>
</blockquote></div><br><br>-- <br>-- <br>Mike Crawford <a href="mailto:mdcrawford@gmail.com" target="_blank">mdcrawford@gmail.com</a><br><br>  The Global Computer Employer Index: <a href="http://soggy.jobs/computer" target="_blank">http://soggy.jobs/computer</a><br>   (It's actually starting to get global now.)<br>