pkgsrc-Bugs archive

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

Re: pkg/48522: lang/mono2 fails to build on i386 NetBSD 6.1

The following reply was made to PR pkg/48522; it has been noted by GNATS.

From: Richard Hansen <>
Subject: Re: pkg/48522: lang/mono2 fails to build on i386 NetBSD 6.1
Date: Wed, 15 Jan 2014 03:36:40 -0500

 I tried building against devel/boehm-gc (with
 PKG_OPTIONS.boehm-gc+=threads) by using the following patch:
 diff --git a/pkgsrc/lang/mono2/Makefile b/pkgsrc/lang/mono2/Makefile
 index 36bd493..d078818 100644
 --- a/pkgsrc/lang/mono2/Makefile
 +++ b/pkgsrc/lang/mono2/Makefile
 @@ -31,6 +31,7 @@ CONFIGURE_ARGS+=      --with-icu=yes
  CONFIGURE_ARGS+=       --with-preview=yes
  CONFIGURE_ARGS+=       --with-libgdiplus=installed
  CONFIGURE_ARGS+=       --disable-dtrace
 +CONFIGURE_ARGS+=       --with-gc=boehm
  .include ""
 @@ -158,6 +159,7 @@ ULIMIT_CMD_datasize=        ulimit -d 524288
  ULIMIT_CMD_stacksize=  ulimit -s 10240
 +.include "../../devel/boehm-gc/"
  .include "../../devel/gettext-lib/"
  .include "../../lang/python/"
  .include "../../textproc/icu/"
 diff --git a/pkgsrc/lang/mono2/distinfo b/pkgsrc/lang/mono2/distinfo
 index 7956ab1..7596a03 100644
 --- a/pkgsrc/lang/mono2/distinfo
 +++ b/pkgsrc/lang/mono2/distinfo
 @@ -4,7 +4,7 @@ SHA1 (mono-2.10.9.tar.bz2) =
  RMD160 (mono-2.10.9.tar.bz2) = ac9784c413eb2cdb490750a86a96cce5c11ad5bd
  Size (mono-2.10.9.tar.bz2) = 34038017 bytes
  SHA1 (patch-aa) = f3c88247c143cba6d0475f1dabb653adbc841bdb
 -SHA1 (patch-ab) = bc7c65758bd4c24340ab75f42e6fae9831c0498b
 +SHA1 (patch-ab) = 10eb6f4453c626f0bedce4b0ce6519ba6aea4d5f
  SHA1 (patch-ac) = 78f3b0786480e066959cc191e3f45d3f773220e2
  SHA1 (patch-ad) = 2dc253928695966b5310457b0cec52cd919a4851
  SHA1 (patch-ae) = 2b032ad658e8aa23c4e3825474d2d284b00557cd
 diff --git a/pkgsrc/lang/mono2/patches/patch-ab
 index c3a9915..074f28e 100644
 --- a/pkgsrc/lang/mono2/patches/patch-ab
 +++ b/pkgsrc/lang/mono2/patches/patch-ab
 @@ -18,7 +18,7 @@ Support 64-bit SunOS.
  -              libdl="-ldl"
 -+              libdl="-ldl /libexec/ld.elf_so"
 ++              libdl=
 Unfortunately the build still failed, but with a slightly different error:
 gmake[6]: Entering directory
 gmake[6]: gmcs: Command not found
 build/profiles/basic.make:91: recipe for target
 'build/deps/basic-profile-check.exe' failed
 gmake[6]: *** [build/deps/basic-profile-check.exe] Error 127
 gmake[6]: Leaving directory
 gmake[6]: Entering directory
 *** The compiler 'gmcs' doesn't appear to be usable.
 *** Trying the 'monolite' directory.
 gmake[7]: Entering directory
 gmake[8]: Entering directory
 Insufficient memory for GC_all_nils
 Note that it no longer segfaults; it instead errors out with
 "Insufficient memory for GC_all_nils".

Home | Main Index | Thread Index | Old Index