From:
[email protected]
Package: mcs
Version: 1.0.1-1
Severity: important
Tags: patch
When building mcs on amd64, I get the following error:
cd ../../gmcs && /usr/bin/make
make[4]: Entering directory `/usr/src/mcs-1.0.1/gmcs'
../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay > jay-tmp.out && mv jay-tmp.out cs-parser.cs
../jay/jay: 2 rules never reduced
../jay/jay: 30 shift/reduce conflicts, 1 reduce/reduce conflict. MONO_PATH="../class/lib/net_2_0_bootstrap:$MONO_PATH" mono ../mcs/mcs.exe -2 /target:exe /debug /out:gmcs.exe AssemblyInfo.cs anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs class.cs codegen.cs const.cs constant.cs convert.cs decl.
cs delegate.cs enum.cs ecore.cs expression.cs flowanalysis.cs generic.cs iterators.cs literal.cs location.cs modifiers.cs namespace.cs parameter.cs pending.cs report.cs rootcontext.cs statement.cs support.cs typemanager.cs symbolwriter.cs tree.cs
CryptoConvert.cs cs-parser.cs
/bin/sh: mono: command not found
make[4]: *** [gmcs.exe] Error 127
I think it should call say "cli" instead of mono.
So I tried to reproduce this on i386. But since mono-mint
isn't available anymore, I've rebuild the mono package
with mono-mint enabled. Then when using that I got the
same error. So other arches should have the same problem.
There weren't any build logs available yet.
With the attached patch applied, it builds without problems.
Kurt
--- gmcs/Makefile.orig 2004-08-13 15:59:58.213427091 +0200
+++ gmcs/Makefile 2004-08-13 16:02:54.494347959 +0200
@@ -69,7 +69,7 @@
dist-local: dist-default
gmcs.exe: $(all_sources)
- MONO_PATH="../class/lib/net_2_0_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" mono ../mcs/mcs.exe $(DEBUG_FLAGS) -2 /target:exe /debug /out:$@ $^
+ MONO_PATH="../class/lib/net_2_0_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) ../mcs/mcs.exe $(DEBUG_FLAGS) -2 /target:exe /debug /out:$@ $^
gmcs2.exe: $(all_sources)
MONO_PATH="../class/lib/net_2_0$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" time mcs -2 /target:exe /debug /out:$@ $^ $(DEBUG_FLAGS)
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)