On 2020/01/17 17:31, Thomas Frohwein wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]    2020/01/17 17:31:05
> 
> Log message:
>     import lang/haxe
>     ok abieber@
>     
>     DESCR:
>     Haxe consists of a high-level, open source programming language and a 
> compiler.
>     It allows compilation of programs, written using an ECMAScript-oriented 
> syntax,
>     to multiple target languages. Employing proper abstraction, it is 
> possible to
>     maintain a single code-base which compiles to multiple targets.
>     
>     Haxe is strongly typed but the typing system can be subverted where 
> required.
>     Utilizing type information, the Haxe type system can detect errors at
>     compile-time which would only be noticeable at run-time in the target 
> language.
>     Furthermore, type information can be used by the compiler to generate 
> optimized
>     and robust code.
>     
>     Status:
>     
>     Vendor Tag:       thfr
>     Release Tags:     thfr_20200117
>     
>     N ports/lang/haxe/Makefile
>     N ports/lang/haxe/distinfo
>     N ports/lang/haxe/patches/patch-libs_extc_process_stubs_c
>     N ports/lang/haxe/patches/patch-src_compiler_main_ml
>     N ports/lang/haxe/patches/patch-libs_extlib-leftovers_uTF8_ml
>     N ports/lang/haxe/pkg/DESCR
>     N ports/lang/haxe/pkg/PLIST
>     
>     No conflicts created by this import
> 


Fails on i386:

>>> Building on i386-2 under lang/haxe
         BDEPENDS = 
[devel/gmake;sysutils/findlib;archivers/xz;lang/nekovm;devel/pcre;lang/ocaml;devel/boehm-gc;devel/ocaml-ocamlbuild;lang/ocaml-camlp5]
         DIST = [lang/haxe:haxe-4.0.5.tar.xz]
         FULLPKGNAME = haxe-4.0.5
         RDEPENDS = [lang/ocaml;devel/pcre;lang/nekovm;devel/boehm-gc]
(Junk lock failure for i386-2 at 1579427965.67921)
Received IO
(Junk lock obtained for i386-2 at 1579427966.74)
Received IO
Woken up lang/haxe
>>> Running depends in lang/haxe at 1579427967.32
   last junk was in www/youtube-dl
/usr/sbin/pkg_add -aI -Drepair boehm-gc-7.6.0p4 findlib-1.8.1p1 gmake-4.2.1p4 
nekovm-2.3.0p0 ocaml-4.09.0 ocaml-camlp5-7.08p1 ocamlbuild-0.14.0p1 pcre-8.41p2
was: /usr/sbin/pkg_add -aI -Drepair boehm-gc-7.6.0p4 findlib-1.8.1p1 
gmake-4.2.1p4 nekovm-2.3.0p0 ocaml-4.09.0 ocaml-camlp5-7.08p1 
ocamlbuild-0.14.0p1 pcre-8.41p2 xz-5.2.4
/usr/sbin/pkg_add -aI -Drepair boehm-gc-7.6.0p4 findlib-1.8.1p1 gmake-4.2.1p4 
nekovm-2.3.0p0 ocaml-4.09.0 ocaml-camlp5-7.08p1 ocamlbuild-0.14.0p1 pcre-8.41p2
>>> Running show-prepare-results in lang/haxe at 1579427979.25
===> lang/haxe
===> haxe-4.0.5 depends on: ocamlbuild-* -> ocamlbuild-0.14.0p1
===> haxe-4.0.5 depends on: nekovm-* -> nekovm-2.3.0p0
===> haxe-4.0.5 depends on: ocaml-camlp5-* -> ocaml-camlp5-7.08p1
===> haxe-4.0.5 depends on: findlib-* -> findlib-1.8.1p1
===> haxe-4.0.5 depends on: ocaml-=4.09.0 -> ocaml-4.09.0
===> haxe-4.0.5 depends on: gmake-* -> gmake-4.2.1p4
===> haxe-4.0.5 depends on: xz-* -> xz-5.2.4
===> haxe-4.0.5 depends on: boehm-gc-* -> boehm-gc-7.6.0p4
===> haxe-4.0.5 depends on: pcre-* -> pcre-8.41p2
===>  Verifying specs:  c gc m neko pcre pthread z
===>  found c.96.0 gc.4.0 m.10.1 neko.0.0 pcre.3.0 pthread.26.1 z.5.0
boehm-gc-7.6.0p4
findlib-1.8.1p1
gmake-4.2.1p4
nekovm-2.3.0p0
ocaml-4.09.0
ocaml-camlp5-7.08p1
ocamlbuild-0.14.0p1
pcre-8.41p2
xz-5.2.4
Don't run junk because nojunk in games/openclonk
(Junk lock released for i386-2 at 1579427980.25)
distfiles size=38784960
>>> Running patch in lang/haxe at 1579427980.29
===> lang/haxe
===>  Checking files for haxe-4.0.5
`/mnt/distfiles/haxe-4.0.5.tar.xz' is up to date.
>> (SHA256) haxe-4.0.5.tar.xz: OK
===>  Extracting for haxe-4.0.5
===>  Patching for haxe-4.0.5
===>   Applying OpenBSD patch patch-libs_extc_process_stubs_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-libs_extc_process_stubs_c,v 1.1.1.1 2020/01/18 00:31:05 thfr 
Exp $
|
|Index: libs/extc/process_stubs.c
|--- libs/extc/process_stubs.c.orig
|+++ libs/extc/process_stubs.c
--------------------------
Patching file libs/extc/process_stubs.c using Plan A...
Hunk #1 succeeded at 37.
done
===>   Applying OpenBSD patch patch-libs_extlib-leftovers_uTF8_ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-libs_extlib-leftovers_uTF8_ml,v 1.1.1.1 2020/01/18 00:31:05 
thfr Exp $
|
|Index: libs/extlib-leftovers/uTF8.ml
|--- libs/extlib-leftovers/uTF8.ml.orig
|+++ libs/extlib-leftovers/uTF8.ml
--------------------------
Patching file libs/extlib-leftovers/uTF8.ml using Plan A...
Hunk #1 succeeded at 177.
done
===>   Applying OpenBSD patch patch-src_compiler_main_ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-src_compiler_main_ml,v 1.1.1.1 2020/01/18 00:31:05 thfr Exp $
|
|path to hashlink version
|
|Index: src/compiler/main.ml
|--- src/compiler/main.ml.orig
|+++ src/compiler/main.ml
--------------------------
Patching file src/compiler/main.ml using Plan A...
Hunk #1 succeeded at 273.
done
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in lang/haxe at 1579427984.88
===> lang/haxe
===>  Generating configure for haxe-4.0.5
/usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst -DARCH=i386 
-DBASE_PKGPATH=lang/haxe -DFLAVOR_EXT= -DFULLPKGNAME=haxe-4.0.5 
-DHOMEPAGE=https://haxe.org -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var 
-DMACHINE_ARCH=i386 -DMAINTAINER=Thomas\ Frohwein\ \<[email protected]\> 
-DPREFIX=/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local 
-DX11BASE=/usr/X11R6 -DPKGSTEM=haxe -i -B /pobj/haxe-4.0.5 
/pobj/haxe-4.0.5/haxe-4.0.5/src/compiler/main.ml
===>  Configuring for haxe-4.0.5
>>> Running build in lang/haxe at 1579427985.09
===> lang/haxe
===>  Building for haxe-4.0.5
gmake -C libs/extlib-leftovers native && gmake -C libs/extc native && gmake -C 
libs/neko native && gmake -C libs/javalib native && gmake -C libs/swflib native 
&& gmake -C libs/ttflib native && gmake -C libs/ilib native && gmake -C 
libs/objsize native && gmake -C libs/pcre native && gmake -C libs/ziplib native 
&& true
gmake[1]: Entering directory '/pobj/haxe-4.0.5/haxe-4.0.5/libs/extlib-leftovers'
ocamlopt -safe-string -g -a -o extlib-leftovers.cmxa multiArray.mli rbuffer.mli 
uCharExt.mli uTF8.mli multiArray.ml rbuffer.ml uCharExt.ml uTF8.ml
gmake[1]: Leaving directory '/pobj/haxe-4.0.5/haxe-4.0.5/libs/extlib-leftovers'
gmake[1]: Entering directory '/pobj/haxe-4.0.5/haxe-4.0.5/libs/extc'
ocamlfind ocamlc -safe-string  extc_stubs.c
ocamlfind ocamlc -safe-string  process_stubs.c
ocamlfind ocamlopt -safe-string -a -o extc.cmxa -package extlib extc.ml 
process.ml
File "extc.ml", line 1:
Error: Corrupted compilation unit description
       /pobj/haxe-4.0.5/haxe-4.0.5/ocamldeps/extlib/IO.cmx
gmake[1]: *** [Makefile:16: extc.cmxa] Error 2
gmake[1]: Leaving directory '/pobj/haxe-4.0.5/haxe-4.0.5/libs/extc'
gmake: *** [Makefile:116: libs] Error 2
*** Error 2 in lang/haxe (/usr/ports/infrastructure/mk/bsd.port.mk:2890 
'/pobj/haxe-4.0.5/.build_done': @cd /pobj/haxe-4.0.5/haxe-4.0.5 && e...)
*** Error 2 in lang/haxe (/usr/ports/infrastructure/mk/bsd.port.mk:2556 
'build': @lock=haxe-4.0.5;  export _LOCKS_HELD=" haxe-4.0.5";   /usr...)
===> Exiting lang/haxe with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': @: 
${echo_msg:=echo};  : ${target:=build};  for i in ; do  eval...)
>>> Ended at 1579427985.85
Error: job failed with 512 on i386-2 at 1579427985

Reply via email to