Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build errors. Again.


The way that the build continues after the error says that it's trying to run the bootstrap script,
which (these days) lives in bld/bootstrap/bootstrap-$SYS.myr, and is kicked off whenever mbld
fails. (I should probably change that.)

So, first off:

>  ... lots of other output...

The actual mbld failure is probably buried in there -- there were a number of changes, so it's probably
not recognizing either a new build attribute or target type (IIRC, I changed up 'gen' targets a bit recently).

Now, as far as the fallback failing: The syserrno+foo.myr is selected from the base name 'syserrno'
using sysselect.sh; what happens if you run:

      cd libstd
      ../sysselect.sh syserrno

It looks like it's adding a spurious '+x64' to some files, which is causing issues. I'm a bit confused about
why, because it definitely checks for whether the files exist.

Assuming that gives the wrong file, you can either try fixing it, or if you have trouble fixing the hack
bit, it's probably not too hard to just edit the bootstrap script to hardcode files that actually exist.

(I should probably drop sysselect.sh and just generate the bootstrap scripts with hardcoded names;
it's been flaky in the past.)


> On Jun 19, 2015, at 10:46 AM, Ryan Gonzalez <rymg19@xxxxxxxxx> wrote:
> 
> Unable to open file syserrno+linux-x64.myr
> 


Follow-Ups:
Re: Build errors. Again.Ryan Gonzalez <rymg19@xxxxxxxxx>
References:
Build errors. Again.Ryan Gonzalez <rymg19@xxxxxxxxx>