Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256901 - dev-lang/mono 2.2 fails to build
Summary: dev-lang/mono 2.2 fails to build
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet
Depends on:
Reported: 2009-01-30 09:38 UTC by Robert Bradbury
Modified: 2009-04-05 16:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info information (emrginfo.lst,3.81 KB, text/plain)
2009-01-30 19:18 UTC, Robert Bradbury
build.log for mono-2.2 that fails (build.log,1.17 MB, text/plain)
2009-01-30 19:22 UTC, Robert Bradbury
Build Log (emerge-mono.log,277.22 KB, text/plain)
2009-03-23 18:30 UTC, David Akerman

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2009-01-30 09:38:50 UTC
Precise error appears to be undefined "mono_build_date" in

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 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.