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.
>
> http://junkpile.org/i386-20121117/lang/jruby.log
> - JRE segfault
> - last built 2012/11/01
>
> http://junkpile.org/i386-20121117/lang/smlnj.log
> - various failures on different builds, sometimes seems sysconf-related
> - last built 2012/05/30
> [Loading posix-procenv.sml.bin]
> /usr/obj/smlnj-110.0.7/bin/.run/run.x86-openbsd: Fatal error -- Uncaught
> excepti
>
> http://junkpile.org/i386-20121117/math/yorick.log
> - intermittent; on the same machine without touching anything
> else between runs, I can build OK, then clean and rebuild and fail,
> then clean and rebuild again OK.
> - haven't seen failures before 2012/11/14
> cc -O2 -o yorick main.o yinit.o -L. -L../drat -L../hex -L../drat -ldrat
> -L..
> ./libyor.a(pstrcpy.o)(.text+0x33): In function `p_strcpy':
> : warning: strcpy() is almost always misused, please use strlcpy()
> /usr/X11R6/lib/libX11.so.15.1: warning: strcat() is almost always misused,
> pleas
> ../drat/libdrat.a(ydrat.o)(.text+0xed): In function `PrintDM':
> : warning: sprintf() is often misused, please use snprintf()
> yinit.o(.text+0x2e): In function `on_launch':
> : undefined reference to `y_launch'
> yinit.o(.data+0x0): undefined reference to `yk_yor'
> ../drat/libdrat.a(ydrat.o)(.text+0xc8): In function `PrintDM':
> : undefined reference to `ForceNewline'
> ../drat/libdrat.a(ydrat.o)(.text+0xf5): In function `PrintDM':
> : undefined reference to `PrintFunc'
> ../drat/libdrat.a(ydrat.o)(.text+0xfa): In function `PrintDM':
> : undefined reference to `ForceNewline'
> ../drat/libdrat.a(ydrat.o)(.text+0x12d): In function `YGetDMesh':
> : undefined reference to `referenceSym'
> [.....]
>
> start of diff between good and failing builds:-
>
> --- 20121114/paths/math/yorick.log Tue Nov 13 22:08:08 2012
> +++ 20121117/paths/math/yorick.log Sat Nov 17 10:35:08 2012
> @@ -224,11 +224,8 @@ cc -O2 -pipe -I. -I. -I../play -I../gist -c funcdef
> cc -O2 -pipe -I. -I. -I../play -I../gist -c spawn.c
> cc -O2 -pipe -I. -I. -I../play -I../gist -Df_linkage_ -o fortrn.o -c
> fortrn.c
> cc -O2 -pipe -I. -I. -I../play -I../gist -Df_linkage_ -o codger codger.c
> -/tmp//cc8QEter.o(.text+0x21b3): In function `main':
> -: warning: strcpy() is almost always misused, please use strlcpy()
> -/tmp//cc8QEter.o(.text+0x21df): In function `main':
> -: warning: strcat() is almost always misused, please use strlcat()
> -./codger w yor -I../i0 std.i matrix.i fft.i graph.i
> +/tmp//ccwZM1RI.o(.text+0x21b3): In function `main':
> +: warning: strcpy() is almost always misused,./codger w yor -I../i0 std.i
> matrix.i fft.i graph.i
> found std.i in ../i0
> found matrix.i in ../i0
> found fft.i in ../i0
>
>
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.
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/cil/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile 30 Sep 2012 09:16:36 -0000 1.23
+++ Makefile 30 Sep 2012 10:36:02 -0000
@@ -7,7 +7,7 @@ COMMENT= framework for analysis and tran
CATEGORIES = devel lang
DISTNAME = cil-1.5.1
-REVISION = 1
+REVISION = 2
EXTRACT_SUFX = .tar.gz
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cil/}
@@ -44,7 +44,7 @@ post-install:
${INSTALL_SCRIPT} ${WRKBUILD}/bin/patcher ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/libexec/cil
${INSTALL_PROGRAM} \
- ${WRKBUILD}/obj/x86_LINUX/machdep-ml*.exe \
+ ${WRKBUILD}/obj/x86_LINUX/machdep-ml.exe \
${PREFIX}/libexec/cil
${INSTALL_DATA_DIR} ${P5INST}/CIL
mv ${PREFIX}/lib/*.pm ${P5INST}/CIL/
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/devel/cil/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST 18 Aug 2012 22:00:56 -0000 1.6
+++ pkg/PLIST 6 Sep 2012 10:56:22 -0000
@@ -1,6 +1,7 @@
@comment $OpenBSD: PLIST,v 1.6 2012/08/18 22:00:56 avsm Exp $
bin/cilly
bin/patcher
+lib/ocaml/
lib/ocaml/cil/
lib/ocaml/cil/META
lib/ocaml/cil/alpha.cmi
@@ -128,6 +129,7 @@ lib/ocaml/cil/whitetrack.mli
lib/ocaml/cil/zrapp.mli
%%native%%
@comment ${P5SITE}/CIL/CilConfig.pm
+lib/ocaml/stublibs/
${P5SITE}/CIL/
${P5SITE}/CIL/CilConfig.pm
${P5SITE}/CIL/Cilly.pm
@@ -137,8 +139,6 @@ ${P5SITE}/CIL/TempFile.pm
${P5SITE}/CilConfig.pm
libexec/cil/
@bin libexec/cil/machdep-ml.exe
-@bin libexec/cil/machdep-ml32.exe
-@bin libexec/cil/machdep-ml64.exe
libexec/cil/obj/
libexec/cil/obj/x86_LINUX/
@bin libexec/cil/obj/x86_LINUX/cilly.asm.exe