Date: Sun, 23 Jun 2013 15:11:35 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/179899: [patch] src rev r251668 broke lang/mono build on 10-CURRENT Message-ID: <201306232211.r5NMBZIo062696@mousie.catspoiler.org> Resent-Message-ID: <201306232220.r5NMK0f2029746@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 179899 >Category: ports >Synopsis: [patch] src rev r251668 broke lang/mono build on 10-CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 23 22:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Don Lewis >Release: FreeBSD 10.0-CURRENT i386 >Organization: FreeBSD project >Environment: System: FreeBSD scratch.catspoiler.org 10.0-CURRENT FreeBSD 10.0-CURRENT #30 r252008: Wed Jun 19 18:26:44 PDT 2013 dl@scratch.catspoiler.org:/usr/obj/usr/src/sys/GENERICSMB i386 mono-3.0.3_2 clang configured as the default compiler >Description: Source revision r251668, which changed /usr/lib/libc.so to be an ld script instead of a symlink to /lib/libc.so.7 broke the lang/mono build. The failure manifests as follows: MCS [net_4_5] permview.exe MCS [net_4_5] mozroots.exe MCS [net_4_5] httpcfg.exe MDOC [net_4_5] cs-errors.tree System.DllNotFoundException: libc.so at (wrapper managed-to-native) System.CodeDom.Compiler.TempFileCollection:mkdir (string,uint) at System.CodeDom.Compiler.TempFileCollection.GetOwnTempDir () [0x00000] in <filename unknown>:0 at System.CodeDom.Compiler.TempFileCollection.get_BasePath () [0x00000] in <filename unknown>:0 at System.CodeDom.Compiler.TempFileCollection.AddExtension (System.String fileExtension, Boolean keepFile) [0x00000] in <filename unknown>:0 at System.CodeDom.Compiler.TempFileCollection.AddExtension (System.String fileExtension) [0x00000] in <filename unknown>:0 at System.Xml.Serialization.XmlSerializer.GenerateSerializers (System.Xml.Serialization.GenerationBatch batch, System.CodeDom.Compiler.CompilerParameters cp) [0x00000] in <filename unknown>:0 at System.Xml.Serialization.XmlSerializer.RunSerializerGeneration (System.Object obj) [0x00000] in <filename unknown>:0 Unhandled Exception: System.IO.DirectoryNotFoundException: Directory '/tmp/7b2716e7' not found. at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.StringsearchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filenam e unknown>:0 at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetDirectories (System.String path) [0x00000] in <filename unknown>:0 at System.IO.Directory.RecursiveDelete (System.String path) [0x00000] in <filename unknown>:0 at System.IO.Directory.Delete (System.String path, Boolean recursive) [0x00000] in <filename unknown>:0 at System.CodeDom.Compiler.TempFileCollection.Delete () [0x00000] in <filename unknown>:0 at System.CodeDom.Compiler.TempFileCollection.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.CodeDom.Compiler.TempFileCollection.Finalize () [0x00000] in <filename unknown>:0 gmake[7]: *** [cs-errors.tree] Error 255 gmake[6]: *** [do-all] Error 2 gmake[5]: *** [all-recursive] Error 1 gmake[4]: *** [profile-do--net_4_5--all] Error 2 gmake[3]: *** [profiles-do--all] Error 2 gmake[2]: *** [all-local] Error 2 gmake[2]: Leaving directory `/usr/ports/lang/mono/work/mono-3.0.3/runtime' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/mono/work/mono-3.0.3' gmake: *** [all] Error 2 *** Error code 1^M >How-To-Repeat: Attempt to build lang/mono on 10.0-CURRENT with src rev r251668 or newer. >Fix: The following patch fixes the build for me. This should work for all currently supported source branches. Index: files/patch-configure =================================================================== --- files/patch-configure (revision 321327) +++ files/patch-configure (working copy) @@ -16,3 +16,12 @@ use_sigposix=yes ;; *-*-*openbsd*) +@@ -24700,7 +24700,7 @@ + INTL="libintl.so.0" + ;; + *-*-*freebsd*) +- LIBC="libc.so" ++ LIBC="libc.so.7" + INTL="libintl.so" + SQLITE="libsqlite.so" + SQLITE3="libsqlite3.so" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306232211.r5NMBZIo062696>