Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 16:02:26 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [REL - 91i386-default][lang/mono] Failed for mono-3.2.3 in build
Message-ID:  <201311131602.rADG2Qmk091349@beefy1.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     mono@FreeBSD.org
Last committer: romain@FreeBSD.org
Ident:          $FreeBSD: head/lang/mono/Makefile 332975 2013-11-06 12:22:11Z romain $
Log URL:        http://beefy1.isc.freebsd.org/bulk/91i386-default/2013-11-13_15h25m01s/logs/mono-3.2.3.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/91i386-default/2013-11-13_15h25m01s
Log:

====>> Building lang/mono
build started at Wed Nov 13 15:47:08 UTC 2013
port directory: /usr/ports/lang/mono
building for: FreeBSD 91i386-default-job-13 9.1-RELEASE FreeBSD 9.1-RELEASE i386
maintained by: mono@FreeBSD.org
Makefile ident:      $FreeBSD: head/lang/mono/Makefile 332975 2013-11-06 12:22:11Z romain $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=901000
UNAME_v=FreeBSD 9.1-RELEASE
UNAME_r=9.1-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/91i386-default/ref
PKG_EXT=txz
tpid=59233
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=mono-3.2.3
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root/poudriere
MASTERNAME=91i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
--with-moonlight=no --disable-dtrace --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_header_sys_inotify_h=no TMPDIR="/tmp" MAKE=gmake MONO_SHARED_DIR="/wrkdirs/usr/ports/lang/mono/work" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
MONO_SHARED_DIR="/wrkdirs/usr/ports/lang/mono/work"  LC_ALL=C TMPDIR="/tmp" MONO_SHARED_DIR="/wrkdirs/usr/ports/lang/mono/work" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="/usr/bin/clang" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="/usr/bin/clang-cpp" CPPFLAGS=""  LDFLAGS=""  CXX="/usr/bin/clang++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/mono
DOCSDIR=/usr/local/share/doc/mono
EXAMPLESDIR=/usr/local/share/examples/mono
WWWDIR=/usr/local/www/mono
ETCDIR=/usr/local/etc/mono
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for mono-3.2.3
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mono-3.2.3 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.1.4_8.txz
Installing pkg-1.1.4_8... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of mono-3.2.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
************************************************************************
If you have build/runtime errors with Mono and Gtk# apps please try the
following first:

* Build Mono and gtk+ (x11-toolkits/gtk20) without CPUTYPE and with the
  default FreeBSD CFLAGS ('-O2 -fno-strict-aliasing -pipe') as Mono has
  been known to expose compiler bugs.

* Try building and running Mono with the GENERIC kernel.
  - Mono requires SYSVSHM, SYSVMSG, and SYSVSEM which are part of the
    GENERIC kernel.
  - Removing kernel options or changing defaults to use experimental
    options can adversely affect Mono's ability to build and run.

* Remove leftover semaphores / increase semaphore limits.
  - Close apps which use Mono and run `ipcs -sbt`.  Remove the
    semaphores with MODE "--rw-------" and NSEMS "8" using ipcrm (1)
  - _OR_ simply reboot which is the safest method.
  - On multi-user systems the semaphore limits may need to be increased
    from the defaults. The following should comfortably support 30 users.

    # echo "kern.ipc.semmni=40" >> /boot/loader.conf
    # echo "kern.ipc.semmns=300" >> /boot/loader.conf

* If you are in a jailed environment, ensure System V IPC are enabled.
  You can rely on the security.jail.sysvipc_allowed  sysctl to check
  this status.  The following enables this feature on the host system:
    # echo "jail_sysvipc_allow=\"YES\"" >> /etc/rc.conf

* Some process information are acceded through /proc (e.g. when using
  NUnit) and procfs(5) has to be mounted for these features to work:
    # echo "proc            /proc   procfs  rw 0 0" >> /etc/fstab
************************************************************************
===> Fetching all distfiles required by mono-3.2.3 for building
===========================================================================
=======================<phase: checksum       >============================
************************************************************************
If you have build/runtime errors with Mono and Gtk# apps please try the
following first:

* Build Mono and gtk+ (x11-toolkits/gtk20) without CPUTYPE and with the
  default FreeBSD CFLAGS ('-O2 -fno-strict-aliasing -pipe') as Mono has
  been known to expose compiler bugs.

* Try building and running Mono with the GENERIC kernel.
  - Mono requires SYSVSHM, SYSVMSG, and SYSVSEM which are part of the
    GENERIC kernel.
  - Removing kernel options or changing defaults to use experimental
    options can adversely affect Mono's ability to build and run.

* Remove leftover semaphores / increase semaphore limits.
  - Close apps which use Mono and run `ipcs -sbt`.  Remove the
    semaphores with MODE "--rw-------" and NSEMS "8" using ipcrm (1)
  - _OR_ simply reboot which is the safest method.
  - On multi-user systems the semaphore limits may need to be increased
    from the defaults. The following should comfortably support 30 users.

    # echo "kern.ipc.semmni=40" >> /boot/loader.conf
    # echo "kern.ipc.semmns=300" >> /boot/loader.conf

* If you are in a jailed environment, ensure System V IPC are enabled.
  You can rely on the security.jail.sysvipc_allowed  sysctl to check
  this status.  The following enables this feature on the host system:
    # echo "jail_sysvipc_allow=\"YES\"" >> /etc/rc.conf

* Some process information are acceded through /proc (e.g. when using
  NUnit) and procfs(5) has to be mounted for these features to work:
    # echo "proc            /proc   procfs  rw 0 0" >> /etc/fstab
************************************************************************
===> Fetching all distfiles required by mono-3.2.3 for building
=> SHA256 Checksum OK for mono-3.2.3.tar.bz2.
=> SHA256 Checksum OK for d2cc22580898df5d4a15e0f99ab513e1570a6082.patch.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
************************************************************************
If you have build/runtime errors with Mono and Gtk# apps please try the
following first:

* Build Mono and gtk+ (x11-toolkits/gtk20) without CPUTYPE and with the
  default FreeBSD CFLAGS ('-O2 -fno-strict-aliasing -pipe') as Mono has
  been known to expose compiler bugs.

* Try building and running Mono with the GENERIC kernel.
  - Mono requires SYSVSHM, SYSVMSG, and SYSVSEM which are part of the
    GENERIC kernel.
  - Removing kernel options or changing defaults to use experimental
    options can adversely affect Mono's ability to build and run.

* Remove leftover semaphores / increase semaphore limits.
  - Close apps which use Mono and run `ipcs -sbt`.  Remove the
    semaphores with MODE "--rw-------" and NSEMS "8" using ipcrm (1)
  - _OR_ simply reboot which is the safest method.
  - On multi-user systems the semaphore limits may need to be increased
    from the defaults. The following should comfortably support 30 users.

    # echo "kern.ipc.semmni=40" >> /boot/loader.conf
    # echo "kern.ipc.semmns=300" >> /boot/loader.conf

* If you are in a jailed environment, ensure System V IPC are enabled.
  You can rely on the security.jail.sysvipc_allowed  sysctl to check
  this status.  The following enables this feature on the host system:
    # echo "jail_sysvipc_allow=\"YES\"" >> /etc/rc.conf

* Some process information are acceded through /proc (e.g. when using
<snip>
  CC       libmonoruntimesgen_static_la-sgen-pinning-stats.lo
  CC       libmonoruntimesgen_static_la-sgen-workers.lo
  CC       libmonoruntimesgen_static_la-sgen-gray.lo
  CC       libmonoruntimesgen_static_la-sgen-nursery-allocator.lo
  CC       libmonoruntimesgen_static_la-sgen-hash-table.lo
  CC       libmonoruntimesgen_static_la-sgen-descriptor.lo
  CC       libmonoruntimesgen_static_la-sgen-alloc.lo
  CC       libmonoruntimesgen_static_la-sgen-debug.lo
  CC       libmonoruntimesgen_static_la-sgen-simple-nursery.lo
  CC       libmonoruntimesgen_static_la-sgen-split-nursery.lo
  CC       libmonoruntimesgen_static_la-sgen-memory-governor.lo
  CC       libmonoruntimesgen_static_la-sgen-stw.lo
  CC       libmonoruntimesgen_static_la-sgen-fin-weak-hash.lo
  CC       libmonoruntimesgen_static_la-sgen-layout-stats.lo
  CCLD     libmonoruntimesgen-static.la
  CC       pedump.o
  CCLD     pedump
gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/metadata'
Making all in mini
gmake[3]: Entering directory `/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/mini'
if test -d ../../.git; then \
	(cd ../..; \
		LANG=C; export LANG; \
		branch=`git branch | grep '^\*' | cut -d ' ' -f 2`; \
		version=`git log --no-color --first-parent -n1 --pretty=format:%h`; \
		echo "#define FULL_VERSION \"$branch/$version\""; \
	); \
else \
	echo "#define FULL_VERSION \"tarball\""; \
fi > version.h
  CC       genmdesc-genmdesc.o
  CC       genmdesc-helpers.o
  CC       ../metadata/genmdesc-opcodes.o
  CCLD     genmdesc
./genmdesc  cpu-x86.h x86_desc ./cpu-x86.md
gmake  all-am
gmake[4]: Entering directory `/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/mini'
  CC       libmini_la-mini.lo
mini.c:93:1: warning: unknown attribute 'tls_model' ignored [-Wattributes]
MONO_FAST_TLS_DECLARE(mono_jit_tls);
^
./../mono/utils/mono-compiler.h:16:61: note: expanded from macro 'MONO_FAST_TLS_DECLARE'
#define MONO_FAST_TLS_DECLARE(x) static __thread gpointer x MONO_TLS_FAST;
                                                            ^
./../mono/utils/mono-compiler.h:51:38: note: expanded from macro 'MONO_TLS_FAST'
#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic")))
                                     ^
mini.c:2548:1: warning: unknown attribute 'tls_model' ignored [-Wattributes]
MONO_FAST_TLS_DECLARE(mono_lmf_addr);
^
./../mono/utils/mono-compiler.h:16:61: note: expanded from macro 'MONO_FAST_TLS_DECLARE'
#define MONO_FAST_TLS_DECLARE(x) static __thread gpointer x MONO_TLS_FAST;
                                                            ^
./../mono/utils/mono-compiler.h:51:38: note: expanded from macro 'MONO_TLS_FAST'
#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic")))
                                     ^
mini.c:2554:1: warning: unknown attribute 'tls_model' ignored [-Wattributes]
MONO_FAST_TLS_DECLARE(mono_lmf);
^
./../mono/utils/mono-compiler.h:16:61: note: expanded from macro 'MONO_FAST_TLS_DECLARE'
#define MONO_FAST_TLS_DECLARE(x) static __thread gpointer x MONO_TLS_FAST;
                                                            ^
./../mono/utils/mono-compiler.h:51:38: note: expanded from macro 'MONO_TLS_FAST'
#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic")))
                                     ^
3 warnings generated.
  CC       libmini_la-method-to-ir.lo
  CC       libmini_la-decompose.lo
  CC       libmini_la-jit-icalls.lo
  CC       libmini_la-trace.lo
  CC       libmini_la-dominators.lo
  CC       libmini_la-cfold.lo
  CC       libmini_la-regalloc.lo
  CC       libmini_la-helpers.lo
  CC       libmini_la-liveness.lo
  CC       libmini_la-ssa.lo
  CC       libmini_la-abcremoval.lo
  CC       libmini_la-ssapre.lo
  CC       libmini_la-local-propagation.lo
  CC       libmini_la-driver.lo
  CC       libmini_la-debug-mini.lo
  CC       libmini_la-linear-scan.lo
  CC       libmini_la-aot-compiler.lo
  CC       libmini_la-aot-runtime.lo
  CC       libmini_la-graph.lo
  CC       libmini_la-mini-codegen.lo
  CC       libmini_la-mini-exceptions.lo
  CC       libmini_la-mini-trampolines.lo
  CC       libmini_la-declsec.lo
  CC       libmini_la-wapihandles.lo
  CC       libmini_la-branch-opts.lo
  CC       libmini_la-mini-generic-sharing.lo
  CC       libmini_la-regalloc2.lo
  CC       libmini_la-tasklets.lo
  CC       libmini_la-simd-intrinsics.lo
  CC       libmini_la-unwind.lo
  CC       libmini_la-image-writer.lo
  CC       libmini_la-dwarfwriter.lo
  CC       libmini_la-mini-gc.lo
  CC       libmini_la-debugger-agent.lo
  CC       libmini_la-debug-debugger.lo
  CC       libmini_la-xdebug.lo
  CC       libmini_la-mini-x86.lo
  CC       libmini_la-exceptions-x86.lo
  CC       libmini_la-tramp-x86.lo
  CC       libmini_la-mini-posix.lo
  CXXLD    libmini.la
  CCLD     libmonoboehm-2.0.la
  CCLD     libmonosgen-2.0.la
  CC       libmini_static_la-mini.lo
mini.c:93:1: warning: unknown attribute 'tls_model' ignored [-Wattributes]
MONO_FAST_TLS_DECLARE(mono_jit_tls);
^
./../mono/utils/mono-compiler.h:16:61: note: expanded from macro 'MONO_FAST_TLS_DECLARE'
#define MONO_FAST_TLS_DECLARE(x) static __thread gpointer x MONO_TLS_FAST;
                                                            ^
./../mono/utils/mono-compiler.h:51:38: note: expanded from macro 'MONO_TLS_FAST'
#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic")))
                                     ^
mini.c:2548:1: warning: unknown attribute 'tls_model' ignored [-Wattributes]
MONO_FAST_TLS_DECLARE(mono_lmf_addr);
^
./../mono/utils/mono-compiler.h:16:61: note: expanded from macro 'MONO_FAST_TLS_DECLARE'
#define MONO_FAST_TLS_DECLARE(x) static __thread gpointer x MONO_TLS_FAST;
                                                            ^
./../mono/utils/mono-compiler.h:51:38: note: expanded from macro 'MONO_TLS_FAST'
#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic")))
                                     ^
mini.c:2554:1: warning: unknown attribute 'tls_model' ignored [-Wattributes]
MONO_FAST_TLS_DECLARE(mono_lmf);
^
./../mono/utils/mono-compiler.h:16:61: note: expanded from macro 'MONO_FAST_TLS_DECLARE'
#define MONO_FAST_TLS_DECLARE(x) static __thread gpointer x MONO_TLS_FAST;
                                                            ^
./../mono/utils/mono-compiler.h:51:38: note: expanded from macro 'MONO_TLS_FAST'
#define MONO_TLS_FAST __attribute__((tls_model("local-dynamic")))
                                     ^
3 warnings generated.
  CC       libmini_static_la-method-to-ir.lo
  CC       libmini_static_la-decompose.lo
  CC       libmini_static_la-jit-icalls.lo
  CC       libmini_static_la-trace.lo
  CC       libmini_static_la-dominators.lo
  CC       libmini_static_la-cfold.lo
  CC       libmini_static_la-regalloc.lo
  CC       libmini_static_la-helpers.lo
  CC       libmini_static_la-liveness.lo
  CC       libmini_static_la-ssa.lo
  CC       libmini_static_la-abcremoval.lo
  CC       libmini_static_la-ssapre.lo
  CC       libmini_static_la-local-propagation.lo
  CC       libmini_static_la-driver.lo
  CC       libmini_static_la-debug-mini.lo
  CC       libmini_static_la-linear-scan.lo
  CC       libmini_static_la-aot-compiler.lo
  CC       libmini_static_la-aot-runtime.lo
  CC       libmini_static_la-graph.lo
  CC       libmini_static_la-mini-codegen.lo
  CC       libmini_static_la-mini-exceptions.lo
  CC       libmini_static_la-mini-trampolines.lo
  CC       libmini_static_la-declsec.lo
  CC       libmini_static_la-wapihandles.lo
  CC       libmini_static_la-branch-opts.lo
  CC       libmini_static_la-mini-generic-sharing.lo
  CC       libmini_static_la-regalloc2.lo
  CC       libmini_static_la-tasklets.lo
  CC       libmini_static_la-simd-intrinsics.lo
  CC       libmini_static_la-unwind.lo
  CC       libmini_static_la-image-writer.lo
  CC       libmini_static_la-dwarfwriter.lo
  CC       libmini_static_la-mini-gc.lo
  CC       libmini_static_la-debugger-agent.lo
  CC       libmini_static_la-debug-debugger.lo
  CC       libmini_static_la-xdebug.lo
  CC       libmini_static_la-mini-x86.lo
  CC       libmini_static_la-exceptions-x86.lo
  CC       libmini_static_la-tramp-x86.lo
  CC       libmini_static_la-mini-posix.lo
  CXXLD    libmini-static.la
  CC       mono_boehm-main.o
  CCLD     mono-boehm
./.libs/libmini-static.a(libmini_static_la-mini.o): In function `mono_get_jit_tls_offset':
/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/mini/mini.c:2568: undefined reference to `mono_jit_tls'
/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/mini/mini.c:2568: undefined reference to `mono_jit_tls'
/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/mini/mini.c:2568: undefined reference to `mono_jit_tls'
/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/mini/mini.c:2568: undefined reference to `mono_jit_tls'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [mono-boehm] Error 1
gmake[4]: Leaving directory `/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/mini'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono/mini'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/wrkdirs/usr/ports/lang/mono/work/mono-3.2.3'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/lang/mono.
===>  Cleaning for mono-3.2.3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131602.rADG2Qmk091349>