On 2012/11/19 11:50, Nigel Taylor wrote:
> On 11/19/12 11:05, Stuart Henderson wrote:
> > http://junkpile.org/i386-20121117/devel/cil.log
> > - mono-related?
> > - last built 2012/08/04 (5.2)
> To make this work you need to change this in Makefile...
> -             ${WRKBUILD}/obj/x86_LINUX/machdep-ml*.exe \
> +             ${WRKBUILD}/obj/x86_LINUX/machdep-ml.exe \
> 
> machdep-ml64.exe is not created on i386 never was
> machdep-ml64.exe is link to machdep-ml.exe on amd64
> machdep-ml32.exe is link to machdep-ml.exe on i386
> 
> Could copy machdep-ml32 on both i386/amd64 in Makefile and adjust PLIST
> to include. Attached is the diff I use to build... Never use cil so not
> tested beyond building.

Oh it's ocaml? Weird file extensions...

Your diff is a good start but it's still broken at runtime (easy
to see; regress fails immediately too) - chrisz could you take
a look please?

$ make regress
===>  Regression check for cil-1.5.1p1
bin/cilly -c test/small1/func.c -otest/small1/func.o
cc -D_GNUCC -E -DCIL=1 test/small1/func.c -o /tmp/cil-0HD1JWn2.i
/x86_LINUX/cilly.asm.exe --out /tmp/cil-V0oX4vjo.cil.c /tmp/cil-0HD1JWn2.i
The command
/x86_LINUX/cilly.asm.exe --out /tmp/cil-V0oX4vjo.cil.c /tmp/cil-0HD1JWn2.i
received signal %d
127gmake: *** [test/func] Error 255
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2599 
'/usr/obj/ports/cil-1.5.1/.regress_done')
*** Error 1 in /usr/ports/devel/cil 
(/usr/ports/infrastructure/mk/bsd.port.mk:2287 'regress')

$ wrksrc
$ bin/cilly -c test/small1/func.c -otest/small1/func.o
cc -D_GNUCC -E -DCIL=1 test/small1/func.c -o /tmp/cil-j5NnwJxL.i
/x86_LINUX/cilly.asm.exe --out /tmp/cil-NZebDpqs.cil.c /tmp/cil-j5NnwJxL.i
The command
/x86_LINUX/cilly.asm.exe --out /tmp/cil-NZebDpqs.cil.c /tmp/cil-j5NnwJxL.i
received signal %d

.... and if I try running it from the installed package:

$ cilly -c test/small1/func.c -otest/small1/func.o
/usr/bin/gcc -D_GNUCC -E -DCIL=1 test/small1/func.c -o /tmp/cil-hzT3Piqg.i
/usr/local/libexec/cil/cilly.asm.exe --out /tmp/cil-qpayf6IQ.cil.c 
/tmp/cil-hzT3Piqg.i
The command /usr/local/libexec/cil/cilly.asm.exe --out /tmp/cil-qpayf6IQ.cil.c 
/tmp/cil-hzT3Piqg.i received signal %d

cilly.asm.exe / cilly.byte.exe are installed to
/usr/local/libexec/cil/obj/x86_LINUX but the /usr/local/bin/cilly
perl script looks for them in /usr/local/libexec/cil.

> Seen yorick fail recently. Also seen these fail...
> mail/mozilla-thunderbird
> www/mozilla-firefox
> www/seamonkey
> x11/mono-gtk2
> x11/qt4
> 
> One mono related, others down to parallel build issue.

I haven't seen those parallel build issues here, it might be worth
giving them a try with PARALLEL_INSTALL=No.

Reply via email to