oridb / mc

Myrddin Compiler
MIT License
389 stars 33 forks source link

Build failure when building from git #150

Closed Earnestly closed 6 years ago

Earnestly commented 6 years ago

Initially I followed the instructions to simply run ./configure --prefix=/usr followed by make but I got this message from ./mbldwrap.sh:

could not find mbld: did you run "make bootstrap"?

So I gave this a go with make bootstrap which seemed to do something, but resulted in some core dumps:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f8b1b0c5a01 in __GI_abort () at abort.c:79
#2  0x0000557b8e820687 in die (msg=0x557b8e83fe0d "Couldn't open %s\n") at err.c:27
#3  0x0000557b8e8202c1 in mergeuse (path=0x7ffe7df151df "lib/regex/interp.use") at muse.c:51
#4  0x0000557b8e820523 in main (argc=9, argv=0x7ffe7df14398) at muse.c:106

Sorry for the long output, but here it is in full:

% make bootstrap
make[1]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[2]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[2]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
ar -rcs libparse.a dump.o err.o export.o fold.o gram.o infer.o names.o node.o specialize.o stab.o tok.o type.o use.o 
make[1]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[1]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/mi'
make[2]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[3]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[3]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
ar -rcs libparse.a dump.o err.o export.o fold.o gram.o infer.o names.o node.o specialize.o stab.o tok.o type.o use.o 
make[2]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[2]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[2]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
ar -rcs libmi.a cfg.o flatten.o dfcheck.o match.o reaching.o 
make[1]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/mi'
make[1]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[1]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[1]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/6'
make[2]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[3]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[3]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
ar -rcs libparse.a dump.o err.o export.o fold.o gram.o infer.o names.o node.o specialize.o stab.o tok.o type.o use.o 
make[2]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[2]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/mi'
make[3]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[4]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[4]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
ar -rcs libparse.a dump.o err.o export.o fold.o gram.o infer.o names.o node.o specialize.o stab.o tok.o type.o use.o 
make[3]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[3]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[3]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
ar -rcs libmi.a cfg.o flatten.o dfcheck.o match.o reaching.o 
make[2]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/mi'
make[2]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[2]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
cc -o 6m blob.o gen.o gengas.o genp9.o isel.o locs.o main.o ra.o peep.o simp.o typeinfo.o  -L../parse/ -L../mi/ -L../util/ -lparse -lmi -lutil  
make[1]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/6'
make[1]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/muse'
make[2]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[3]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[3]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
ar -rcs libparse.a dump.o err.o export.o fold.o gram.o infer.o names.o node.o specialize.o stab.o tok.o type.o use.o 
make[2]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/parse'
make[2]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/util'
make[2]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/util'
cc -o muse muse.o -L../parse/ -L../util/ -lparse -lutil  
make[1]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/muse'
make[1]: Entering directory '/home/earnest/build/store/myrddin-git/src/mc/rt'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/earnest/build/store/myrddin-git/src/mc/rt'
./mbldwrap.sh
could not find mbld: did you run "make bootstrap"?
./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/config.myr
+ as -g -o lib/thread/exit.o lib/thread/exit+linux-x64.s
+ as -g -o lib/thread/atomic-impl.o lib/thread/atomic-impl+x64.s
+ as -g -o lib/std/getbp.o lib/std/getbp+posixy-x64.s
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/option.myr
+ as -g -o lib/std/memops-impl.o lib/std/memops-impl+posixy-x64.s
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/fltbits.myr
+ as -g -o lib/std/sjlj-impl.o lib/std/sjlj-impl+posixy-x64.s
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/endian.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/extremum.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/sjlj.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/swap.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/slfill.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/clear.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/result.myr
+ as -g -o lib/sys/syscall.o lib/sys/syscall+linux-x64.s
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m lib/sys/systypes.myr
+ as -g -o lib/sys/util.o lib/sys/util+posixy-x64.s
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m lib/sys/syserrno+linux.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m lib/sys/sys+linux-x64.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m lib/sys/ifreq+linux.myr
+ ar -rcs lib/sys/libsys.a lib/sys/sys.o lib/sys/syserrno.o lib/sys/util.o lib/sys/systypes.o lib/sys/ifreq.o lib/sys/syscall.o
+ /home/earnest/build/store/myrddin-git/src/mc/muse/muse -o lib/sys/libsys.use -p sys lib/sys/sys.use lib/sys/syserrno.use lib/sys/systypes.use lib/sys/ifreq.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/errno.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/types.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/strfind.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/memops.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/sleq.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/hassuffix.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/syswrap-ss+linux.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/sleep.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/backtrace+x64.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/units.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/cstrconv.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/syswrap+posixy.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/mkpath.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/now.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/consts.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/die.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/slcp.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/chartype.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/utf.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/cmp.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/sort.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/search.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/hasprefix.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/chomp.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/striter.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/intparse.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/strstrip.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/introspect.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/varargs.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/wait+posixy.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/threadhooks.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/bytealloc.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/alloc.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/slurp.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/mk.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/slput.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/htab.myr
could not open usefile lib/std/traits.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/slpush.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/strsplit.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/strbuf.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/sldup.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/bigint.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/fltparse.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/fltfmt.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/dirname.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/dir+linux.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/diriter.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/fndup.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/strjoin.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/getcwd.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/slpop.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/sljoin.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/getint.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/hashfuncs.myr
could not open usefile lib/std/traits.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/bitset.myr
could not open usefile lib/std/hashfuncs.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/putint.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/readall.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/blat.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/writeall.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/fmt.myr
could not open usefile lib/std/hashfuncs.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/env+posixy.myr
could not open usefile lib/std/fmt.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/execvp.myr
could not open usefile lib/std/env.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/spork.myr
could not open usefile lib/std/execvp.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/assert.myr
could not open usefile lib/std/fmt.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/rand.myr
could not open usefile lib/std/assert.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/pathjoin.myr
could not open usefile lib/std/fmt.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/mktemp.myr
could not open usefile lib/std/env.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/optparse.myr
could not open usefile lib/std/fmt.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/netaddr.myr
could not open usefile lib/std/fmt.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/iterutil.myr
could not open usefile lib/std/fmt.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/ipparse.myr
could not open usefile lib/std/fmt.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/fmtfuncs.myr
could not open usefile lib/std/bitset.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/resolve+posixy.myr
could not open usefile lib/std/hashfuncs.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/dialparse+posixy.myr
could not open usefile lib/std/ipparse.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/dial+posixy.myr
could not open usefile lib/std/dialparse.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/listen+posixy.myr
could not open usefile lib/std/dialparse.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I . -I lib/sys lib/std/try.myr
could not open usefile lib/std/fmt.use
+ ar -rcs lib/std/libstd.a lib/std/resolve.o lib/std/result.o lib/std/try.o lib/std/ipparse.o lib/std/alloc.o lib/std/iterutil.o lib/std/putint.o lib/std/sleq.o lib/std/sljoin.o lib/std/slpop.o lib/std/syswrap.o lib/std/getint.o lib/std/strsplit.o lib/std/slfill.o lib/std/writeall.o lib/std/fltfmt.o lib/std/hasprefix.o lib/std/swap.o lib/std/fmt.o lib/std/netaddr.o lib/std/varargs.o lib/std/diriter.o lib/std/getcwd.o lib/std/blat.o lib/std/optparse.o lib/std/pathjoin.o lib/std/readall.o lib/std/strjoin.o lib/std/threadhooks.o lib/std/sjlj.o lib/std/extremum.o lib/std/endian.o lib/std/rand.o lib/std/sldup.o lib/std/sleep.o lib/std/wait.o lib/std/introspect.o lib/std/fltparse.o lib/std/fndup.o lib/std/strbuf.o lib/std/assert.o lib/std/spork.o lib/std/slpush.o lib/std/strstrip.o lib/std/htab.o lib/std/hashfuncs.o lib/std/slput.o lib/std/sjlj-impl.o lib/std/fltbits.o lib/std/striter.o lib/std/types.o lib/std/cstrconv.o lib/std/units.o lib/std/backtrace.o lib/std/syswrap-ss.o lib/std/die.o lib/std/mk.o lib/std/hassuffix.o lib/std/memops-impl.o lib/std/utf.o lib/std/slurp.o lib/std/dialparse.o lib/std/bytealloc.o lib/std/mktemp.o lib/std/consts.o lib/std/chomp.o lib/std/dir.o lib/std/search.o lib/std/memops.o lib/std/fmtfuncs.o lib/std/strfind.o lib/std/env.o lib/std/dirname.o lib/std/clear.o lib/std/listen.o lib/std/sort.o lib/std/cmp.o lib/std/now.o lib/std/intparse.o lib/std/mkpath.o lib/std/option.o lib/std/dial.o lib/std/errno.o lib/std/chartype.o lib/std/bigint.o lib/std/bitset.o lib/std/getbp.o lib/std/slcp.o lib/std/execvp.o
ar: lib/std/resolve.o: No such file or directory
+ /home/earnest/build/store/myrddin-git/src/mc/muse/muse -o lib/std/libstd.use -p std lib/std/resolve.use lib/std/result.use lib/std/try.use lib/std/ipparse.use lib/std/alloc.use lib/std/iterutil.use lib/std/putint.use lib/std/sleq.use lib/std/sljoin.use lib/std/slpop.use lib/std/syswrap.use lib/std/getint.use lib/std/strsplit.use lib/std/slfill.use lib/std/writeall.use lib/std/fltfmt.use lib/std/hasprefix.use lib/std/swap.use lib/std/fmt.use lib/std/netaddr.use lib/std/varargs.use lib/std/diriter.use lib/std/getcwd.use lib/std/blat.use lib/std/optparse.use lib/std/pathjoin.use lib/std/readall.use lib/std/strjoin.use lib/std/threadhooks.use lib/std/sjlj.use lib/std/extremum.use lib/std/endian.use lib/std/rand.use lib/std/sldup.use lib/std/sleep.use lib/std/wait.use lib/std/introspect.use lib/std/fltparse.use lib/std/fndup.use lib/std/strbuf.use lib/std/assert.use lib/std/spork.use lib/std/slpush.use lib/std/strstrip.use lib/std/htab.use lib/std/hashfuncs.use lib/std/slput.use lib/std/fltbits.use lib/std/striter.use lib/std/types.use lib/std/cstrconv.use lib/std/units.use lib/std/backtrace.use lib/std/syswrap-ss.use lib/std/die.use lib/std/mk.use lib/std/hassuffix.use lib/std/utf.use lib/std/slurp.use lib/std/dialparse.use lib/std/bytealloc.use lib/std/mktemp.use lib/std/consts.use lib/std/chomp.use lib/std/dir.use lib/std/search.use lib/std/memops.use lib/std/fmtfuncs.use lib/std/strfind.use lib/std/env.use lib/std/dirname.use lib/std/clear.use lib/std/listen.use lib/std/sort.use lib/std/cmp.use lib/std/now.use lib/std/intparse.use lib/std/mkpath.use lib/std/option.use lib/std/dial.use lib/std/errno.use lib/std/chartype.use lib/std/bigint.use lib/std/bitset.use lib/std/slcp.use lib/std/execvp.use
Couldn't open lib/std/resolve.use

./mk/bootstrap/bootstrap+Linux-x86_64.sh: line 107: 29274 Aborted                 (core dumped) $pwd/muse/muse -o lib/std/libstd.use -p std lib/std/resolve.use lib/std/result.use lib/std/try.use lib/std/ipparse.use lib/std/alloc.use lib/std/iterutil.use lib/std/putint.use lib/std/sleq.use lib/std/sljoin.use lib/std/slpop.use lib/std/syswrap.use lib/std/getint.use lib/std/strsplit.use lib/std/slfill.use lib/std/writeall.use lib/std/fltfmt.use lib/std/hasprefix.use lib/std/swap.use lib/std/fmt.use lib/std/netaddr.use lib/std/varargs.use lib/std/diriter.use lib/std/getcwd.use lib/std/blat.use lib/std/optparse.use lib/std/pathjoin.use lib/std/readall.use lib/std/strjoin.use lib/std/threadhooks.use lib/std/sjlj.use lib/std/extremum.use lib/std/endian.use lib/std/rand.use lib/std/sldup.use lib/std/sleep.use lib/std/wait.use lib/std/introspect.use lib/std/fltparse.use lib/std/fndup.use lib/std/strbuf.use lib/std/assert.use lib/std/spork.use lib/std/slpush.use lib/std/strstrip.use lib/std/htab.use lib/std/hashfuncs.use lib/std/slput.use lib/std/fltbits.use lib/std/striter.use lib/std/types.use lib/std/cstrconv.use lib/std/units.use lib/std/backtrace.use lib/std/syswrap-ss.use lib/std/die.use lib/std/mk.use lib/std/hassuffix.use lib/std/utf.use lib/std/slurp.use lib/std/dialparse.use lib/std/bytealloc.use lib/std/mktemp.use lib/std/consts.use lib/std/chomp.use lib/std/dir.use lib/std/search.use lib/std/memops.use lib/std/fmtfuncs.use lib/std/strfind.use lib/std/env.use lib/std/dirname.use lib/std/clear.use lib/std/listen.use lib/std/sort.use lib/std/cmp.use lib/std/now.use lib/std/intparse.use lib/std/mkpath.use lib/std/option.use lib/std/dial.use lib/std/errno.use lib/std/chartype.use lib/std/bigint.use lib/std/bitset.use lib/std/slcp.use lib/std/execvp.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/types.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/regex/types.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/regex/interp.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/std -I lib/sys lib/bio/bio.myr
could not open usefile std in search path:
    lib/std
    lib/sys
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/std -I lib/sys lib/bio/iter.myr
could not open usefile std in search path:
    lib/std
    lib/sys
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/std -I lib/sys lib/bio/mem.myr
could not open usefile std in search path:
    lib/std
    lib/sys
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/std -I lib/sys lib/bio/geti.myr
could not open usefile std in search path:
    lib/std
    lib/sys
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/std -I lib/sys lib/bio/puti.myr
could not open usefile std in search path:
    lib/std
    lib/sys
    /usr/lib/myr
+ ar -rcs lib/bio/libbio.a lib/bio/puti.o lib/bio/geti.o lib/bio/mem.o lib/bio/bio.o lib/bio/iter.o
ar: lib/bio/puti.o: No such file or directory
+ /home/earnest/build/store/myrddin-git/src/mc/muse/muse -o lib/bio/libbio.use -p bio lib/bio/puti.use lib/bio/geti.use lib/bio/mem.use lib/bio/bio.use lib/bio/iter.use
Couldn't open lib/bio/puti.use

./mk/bootstrap/bootstrap+Linux-x86_64.sh: line 117: 29286 Aborted                 (core dumped) $pwd/muse/muse -o lib/bio/libbio.use -p bio lib/bio/puti.use lib/bio/geti.use lib/bio/mem.use lib/bio/bio.use lib/bio/iter.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/thread/spawn+linux.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/thread/ncpu+linux.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/thread/common.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/thread/atomic.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/thread/mutex+linux.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/thread/hookstd.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ ar -rcs lib/thread/libthread.a lib/thread/mutex.o lib/thread/atomic.o lib/thread/atomic-impl.o lib/thread/hookstd.o lib/thread/common.o lib/thread/ncpu.o lib/thread/exit.o lib/thread/spawn.o
ar: lib/thread/mutex.o: No such file or directory
+ /home/earnest/build/store/myrddin-git/src/mc/muse/muse -o lib/thread/libthread.use -p thread lib/thread/mutex.use lib/thread/atomic.use lib/thread/hookstd.use lib/thread/common.use lib/thread/ncpu.use lib/thread/spawn.use
Couldn't open lib/thread/mutex.use

./mk/bootstrap/bootstrap+Linux-x86_64.sh: line 125: 29301 Aborted                 (core dumped) $pwd/muse/muse -o lib/thread/libthread.use -p thread lib/thread/mutex.use lib/thread/atomic.use lib/thread/hookstd.use lib/thread/common.use lib/thread/ncpu.use lib/thread/spawn.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/opts.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/syssel.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/libs.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/util.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/build.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/install.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/parse.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/regex/ranges.myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std lib/regex/compile.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    /usr/lib/myr
+ ar -rcs lib/regex/libregex.a lib/regex/interp.o lib/regex/ranges.o lib/regex/types.o lib/regex/compile.o
ar: lib/regex/interp.o: No such file or directory
+ /home/earnest/build/store/myrddin-git/src/mc/muse/muse -o lib/regex/libregex.use -p regex lib/regex/interp.use lib/regex/ranges.use lib/regex/types.use lib/regex/compile.use
Couldn't open lib/regex/interp.use

./mk/bootstrap/bootstrap+Linux-x86_64.sh: line 136: 29323 Aborted                 (core dumped) $pwd/muse/muse -o lib/regex/libregex.use -p regex lib/regex/interp.use lib/regex/ranges.use lib/regex/types.use lib/regex/compile.use
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/subtest.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/test.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/deps.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ /home/earnest/build/store/myrddin-git/src/mc/6/6m -I lib/sys -I lib/std -I lib/bio -I lib/regex -I lib/thread mbld/main.myr
could not open usefile std in search path:
    lib/sys
    lib/std
    lib/bio
    lib/regex
    lib/thread
    /usr/lib/myr
+ ld -o mbld/mbld /home/earnest/build/store/myrddin-git/src/mc/rt/_myrrt.o mbld/deps.o mbld/main.o mbld/util.o mbld/libs.o mbld/syssel.o mbld/config.o mbld/opts.o mbld/subtest.o mbld/types.o mbld/test.o mbld/install.o mbld/parse.o mbld/build.o -Llib/thread -lthread -Llib/bio -lbio -Llib/regex -lregex -Llib/std -lstd -Llib/sys -lsys
ld: cannot find mbld/deps.o: No such file or directory
ld: cannot find mbld/main.o: No such file or directory
ld: cannot find mbld/util.o: No such file or directory
ld: cannot find mbld/libs.o: No such file or directory
ld: cannot find mbld/syssel.o: No such file or directory
ld: cannot find mbld/opts.o: No such file or directory
ld: cannot find mbld/subtest.o: No such file or directory
ld: cannot find mbld/types.o: No such file or directory
ld: cannot find mbld/test.o: No such file or directory
ld: cannot find mbld/install.o: No such file or directory
ld: cannot find mbld/parse.o: No such file or directory
ld: cannot find mbld/build.o: No such file or directory
ld: cannot find -lthread
ld: cannot find -lbio
ld: cannot find -lregex
ld: cannot find -lstd
+ true
oridb commented 6 years ago

On Sat, 18 Nov 2017 15:59:52 +0000 (UTC), Earnestly notifications@github.com wrote:

  • x86_64-pc-linux-gnu
  • gcc 7.2.0

Initially I followed the instructions to simply run ./configure --prefix=/usr followed by make but I got this message from ./mbldwrap.sh:

could not find mbld: did you run "make bootstrap"?

Yep, that's expected. The first build needs to run the bootstrap script.

So I gave this a go with make bootstrap which seemed to do something, but resulted in some core dumps:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f8b1b0c5a01 in __GI_abort () at abort.c:79
#2  0x0000557b8e820687 in die (msg=0x557b8e83fe0d "Couldn't open %s\n") at err.c:27
#3  0x0000557b8e8202c1 in mergeuse (path=0x7ffe7df151df "lib/regex/interp.use") at muse.c:51
#4  0x0000557b8e820523 in main (argc=9, argv=0x7ffe7df14398) at muse.c:106

And that's not -- turns out that I'd forgotten to regenerate the scripts, so it wasn't compiling all the files.

Should be fixed now.

Sorry for the long output, but here it is in full:

Long output is great, no need to apologize!

-- Ori Bernstein

Earnestly commented 6 years ago

Ah lovely, it all appears working now.

Thanks o/