Bug 140916 - lang/mono (2.4.2.3) installation fails
Summary: lang/mono (2.4.2.3) installation fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-mono (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-26 22:40 UTC by RandomUser
Modified: 2010-02-01 17:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RandomUser 2009-11-26 22:40:00 UTC

tail -60 make.reinstall
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data/net_1_1'
Making all in net_2_0
gmake[3]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data/net_2_0'
Making all in Browsers
gmake[4]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data/net_2_0/Browsers'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data/net_2_0/Browsers'
gmake[4]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data/net_2_0'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data/net_2_0'
gmake[3]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data/net_2_0'
gmake[3]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data'
gmake[2]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/data'
Making all in runtime
gmake[2]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/runtime'
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && gmake NO_DIR_CHECK=1 PROFILES='net_1_1 net_2_0 net_3_5' CC='cc' all-profiles
gmake[3]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake profile-do--net_1_1--all profile-do--net_2_0--all profile-do--net_3_5--all
gmake[4]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake PROFILE=basic all
gmake[5]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 1
gmake[6]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
*** The compiler 'false' doesn't appear to be usable.
*** Trying the 'monolite' directory.
gmake[7]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake[8]: *** [build/deps/basic-profile-check.exe] Error 138
gmake[8]: Entering directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
gmake[8]: *** [do-profile-check-monolite] Error 1
gmake[8]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake[7]: *** [do-profile-check] Error 2
gmake[7]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake[6]: *** [do-profile-check-monolite] Error 2
gmake[6]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake[5]: *** [do-profile-check] Error 2
gmake[5]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake[4]: *** [profile-do--basic--all] Error 2
gmake[4]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/ad4/usrports/lang/mono/work/mono-2.4.2.3'
gmake: *** [all] Error 2
*** Error code 1

Stop in /ad4/usrports/lang/mono.
*** Error code 1

Stop in /ad4/usrports/lang/mono.
*** Error code 1

Stop in /ad4/usrports/lang/mono.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-11-26 22:40:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mono

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Romain Tartière 2009-11-27 00:18:44 UTC
Hi

Can you please confirm that the following script does not detect any
problem:
http://bsd-sharp.googlecode.com/svn/trunk/Tools/scripts/mono-analyzer

This problem has been reported from time to time but I could never
reproduce it.  Providing a full backtrace MAY help (at least a partial
one does not help).  A shell access to a machine with mono failing to
build MAY help more.  If you can provide a shell access, please tell me.
Fixing this would be sooooooo cooooool!

Thanks!
Romain

-- 
Romain Tartière <romain@blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
Comment 3 Romain Tartière 2009-12-23 03:54:29 UTC
After some mail exchange with the PR submitter, the problem has been
identified and a workaround was found (switch threading libraries).

The following patch add information in the pkg-message file.

@@ -12,6 +12,13 @@
   - Removing kernel options or changing defaults to use experimental
     options can adversely affect Mono's ability to build and run.
 
+* The FreeBSD 6 kernel support for user threads (KSE(2), enabled by
+  default) is known to break Mono. KSE has been disabled by default in
+  FreeBSD 7.0 and removed in FreeBSD 8.0.  Use libmap.conf(5) to use
+  libthr(3):
+   # echo "libpthread.so.2  libthr.so.2" >> /etc/libmap.conf
+   # echo "libpthread.so    libthr.so"   >> /etc/libmap.conf
+
 * 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)

-- 
Romain Tartière <romain@blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
Comment 4 RandomUser 2009-12-23 09:18:22 UTC
Applying the suggested work-around of creating "/etc/libmap.conf" with
the two mappings for 'libpthread' has allowed mono-2.4.2.3 to be
successfully compiled AND installed.

This PR may be closed. Thanks.
Comment 5 dfilter service freebsd_committer freebsd_triage 2010-02-01 17:21:14 UTC
romain      2010-02-01 17:21:01 UTC

  FreeBSD ports repository

  Modified files:
    lang/mono            Makefile pkg-message 
  Log:
  Add notes about FreeBSD 6 threads.
  
  PR:             ports/140916
  Submitted by:   "RandomUser" <rannumgen@globaleyes.net>
  Approved by:    flz (mentor)
  
  Revision  Changes    Path
  1.89      +1 -0      ports/lang/mono/Makefile
  1.5       +7 -0      ports/lang/mono/pkg-message
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Romain Tartière freebsd_committer freebsd_triage 2014-06-01 07:11:04 UTC
State Changed
From-To: open->closed

Committed. Thanks!