Bug#921232: mono: Internal compiler error building libsbml on s390x

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <154919727875.12423.15799564688380176403.reportbug__16449.857659039$1549197393$gmane$org@localhost>
Package: mono-mcs
Version: 5.18.0.240+dfsg-2
Severity: serious
Control: affects -1 src:libsbml

https://buildd.debian.org/status/fetch.php?pkg=libsbml&arch=s390x&ver=5.17.2%2Bdfsg-3&stamp=1548889326&raw=0

...
[ 98%] Build csharp files
Creating: libsbmlcsP.dll
csharp-files/FbcModelPlugin.cs(119,3): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/ListOfMembers.cs(120,3): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/Parameter.cs(126,3): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/SBMLDocument.cs(1221,5): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/SBMLError.cs(10796,5): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/SBMLNamespaces.cs(596,5): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/SyntaxChecker.cs(396,5): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/Trigger.cs(128,3): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/XMLNode.cs(133,3): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
csharp-files/libsbml.cs(1481,3): error CS0589: Internal compiler error during parsingSystem.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
  at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x0003a] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitKeepEmptyEntries (System.ReadOnlySpan`1[T] sepList, System.ReadOnlySpan`1[T] lengthList, System.Int32 defaultLength, System.Int32 count) [0x00049] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.SplitInternal (System.ReadOnlySpan`1[T] separators, System.Int32 count, System.StringSplitOptions options) [0x000d1] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at System.String.Split (System.Char separator, System.StringSplitOptions options) [0x00009] in <d0e12f672b88444ab4b6d9b2ecf20142>:0 
  at Mono.CSharp.Tokenizer.update_formatted_doc_comment (System.Int32 current_comment_start) [0x0002a] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.xtoken () [0x00b1c] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.Tokenizer.token () [0x00000] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x0010f] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
Compilation failed: 10 error(s), 0 warnings
CMake Error at /<<BUILDDIR>>/libsbml-5.17.2+dfsg/src/bindings/csharp/compile-native-files.cmake:101 (message):
  Could not create the managed library


make[4]: *** [src/bindings/csharp/CMakeFiles/binding_csharp_managed_lib.dir/build.make:65: src/bindings/csharp/libsbmlcsP.dll] Error 1



We dn't have any kind of CI coverage on s390x,
it is therefore not obvious whether this is
a problem confined to one package or whether
Mono is completely broken on s390x.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.