[Mono-dev] Strange build problem

Alexander Köplinger alexander.koeplinger at xamarin.com
Wed Jan 20 14:02:45 UTC 2016


Hey,

Are you sure you’re running this on the nealef-s390x-2 machine and not nealef-s390x-1 ?
This sounds exactly like the problem with the ancient gcc we ran into on the -1 machine, that’s why we’re only using the -2 machine on Jenkins now.

In fact, my IRC log shows we discussed this back in October 2015:

<directhex> neale: still no success compiling on nealef-s390x-1, with -O2
<directhex> https://jenkins.mono-project.com/job/z/label=centos-s390x/2065/parsed_console/log_content.html#ERROR1
<directhex> System/AndroidPlatform.cs(66,246): error CS1525: Unexpected symbol `end-of-file', expecting `end-of-file'
<directhex> ._.
<neale> directhex: At least it got rid of the inline errors problem ;-)
<directhex> yes this is technically true
<neale> I've never seen this particular problem before
<directhex> maybe a checkout problem? want to delete the workspace?
<neale> The z workspace?
<akoeplinger> hmm, it affects all files that are completely #ifdefed out
<neale> Yup
<directhex> neale: yes
<neale> z gone\
<directhex> it's renamed to "z" because the same job also handles windows builds, and windows has a silly low PATH_MAX
<directhex> which the old name was causing errors for
<neale> Ah
<directhex> so single-char job names if they run on windows
<neale> I ran a build in /home/jenkins/workspace/test-mono-mainline-communityarchitectures/label/centos-s390x (From Sep28) and forced a recompile of Android.cs which has the same ifdef situation and the build was clean.
<directhex> that job name is the old "z" job
<directhex> see, very long name, poor windows
<neale> Understood, just wanted to point out that a build used to work for those files

AFAIK we never got past that problem on the -1 machine, so we just stopped using it.

- Alex

> Am 20.01.2016 um 03:13 schrieb Neale Ferguson <neale at sinenomine.net>:
> 
> Re: bugzilla 37781
> 
> On the same virtual machine in which the Jenkins bot successfully builds
> mono, I am encountering failures of an unusual type. Thinking it might be
> a hangover to something in the account’s home directory, I created a
> completely new account, cloned from master, configured and built. It craps
> out with the following:
> 
> MCS     [build] mscorlib.dll
> Assembly/AssemblyInfo.cs(33,5): error CS8025: Parsing error
> System/AndroidPlatform.cs(66,246): error CS1525: Unexpected symbol
> `end-of-file', expecting `end-of-file'
> System/Console.iOS.cs(127,246): error CS1525: Unexpected symbol
> `end-of-file', expecting `end-of-file'
> System/Guid.MonoTouch.cs(24,253): error CS1525: Unexpected symbol
> `end-of-file', expecting `end-of-file'
> System/TimeZoneInfo.Android.cs(737,246): error CS1525: Unexpected symbol
> `end-of-file', expecting `end-of-file'
> System/TimeZoneInfo.MonoTouch.cs(109,246): error CS1525: Unexpected symbol
> `end-of-file', expecting `end-of-file'
> System.Globalization/RegionInfo.MonoTouch.cs(54,246): error CS1525:
> Unexpected symbol `end-of-file', expecting `end-of-file'
> System.IO/LogcatTextWriter.cs(80,246): error CS1525: Unexpected symbol
> `end-of-file', expecting `end-of-file'
> System.Security/SecurityManager_mobile.cs(215,246): error CS1525:
> Unexpected symbol `end-of-file', expecting `end-of-file'
> System.Security.Cryptography/CryptoConfig.fullaot.cs(239,246): error
> CS1525: Unexpected symbol `end-of-file', expecting `end-of-file'
> ../../../external/referencesource/mscorlib/system/resources/__hresults.cs(2
> 6,246): error CS1525: Unexpected symbol `end-of-file', expecting
> `end-of-file'
> ../../../external/referencesource/mscorlib/system/resources/looselylinkedre
> sourcereference.cs(89,246): error CS1525: Unexpected symbol `end-of-file',
> expecting `end-of-file'
> Compilation failed: 12 error(s), 0 warnings
> 
> I am at a loss to work out WTF is happening. I like the way the error
> message keeps a straight face when it complains about encountering
> “end-of-file” symbol when it was really expecting “end-of-file”!
> 
> 
> Any suggestions about where to look?
> 
> Neale
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list