Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 256901

Summary: dev-lang/mono 2.2 fails to build
Product: Gentoo Linux Reporter: Robert Bradbury <robert.bradbury>
Component: [OLD] UnspecifiedAssignee: dotnet project <dotnet>
Status: RESOLVED CANTFIX    
Severity: normal CC: david_akerman
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: N/A
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info information
build.log for mono-2.2 that fails
Build Log

Description Robert Bradbury 2009-01-30 09:38:50 UTC
Precise error appears to be undefined "mono_build_date" in libmono.so.0.

Context from log file is:
echo "#define XSLT_PATTERN" > Mono.Xml.Xsl/PatternTokenizer.cs
cat System.Xml.XPath/Tokenizer.cs >>Mono.Xml.Xsl/PatternTokenizer.cs
MCS     [basic] System.Xml.dll
/root2/var/tmp/portage/dev-lang/mono-2.2-r2/work/mono-2.2/mono/mini/.libs/lt-mono: relocation error: /root2/var/tmp/portage/dev-lang/mono-2.2-r2/work/mono-2.2/mono/mini/.libs/lt-mono: symbol mono_build_date, version VER_1 not defined in file libmono.so.0 with link time reference
make[8]: *** [../../class/lib/basic/System.Xml.dll] Error 127


Reproducible: Always

Steps to Reproduce:
1. emerge mono (2.2) [which requires "dev-lang/mono ~x86" in /etc/portage/package.keywords]

Actual Results:  
Emerge fails.

Expected Results:  
Emerge should succeed.
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-30 10:05:07 UTC
Please attach build.log and emerge --info.
Also, if you already have mono installed, does emerge -C mono&&emerge mono make it compile?
Comment 2 Robert Bradbury 2009-01-30 19:18:05 UTC
Created attachment 180302 [details]
emerge --info information

emerge --info listing
Comment 3 Robert Bradbury 2009-01-30 19:22:39 UTC
Created attachment 180307 [details]
build.log for mono-2.2 that fails

Build.log for mono-2.2-r3 that fails.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-08 17:23:38 UTC
The log you attached does not match the output you pasted in the Description.
Comment 5 David Akerman 2009-03-23 18:30:18 UTC
Created attachment 186019 [details]
Build Log

Log from failed emerge matching bug description
Comment 6 David Akerman 2009-03-23 18:32:43 UTC
I got the same error (see build log attached in previous comment).

emerge -C mono && emerge mono resolved the issue for me.