Bug#981252: polymake: tests fail on mips{64,}el
Benjamin Lorenz writes: > Hello David, > > On 28/01/2021 12.59, David Bremner wrote: > > please try the attached patch, the issue is that this testcase should > not be run when flint is disabled. > > I will do some tests with the new flint 2.7 soon to check whether the > mips(64) situation has improved. Hi Benjamin; The patch worked, thanks very much. I guess I'll upload the patched version, unless you are planning a point release in the next few days. David
Bug#981252: polymake: tests fail on mips{64,}el
Hello David, On 28/01/2021 12.59, David Bremner wrote: The relevant output from the tests seems to be [ /polytope/objects/Polytope/properties/Triangulation and volume/RELATIVE_VOLUME ] 1polymake: WARNING: rule RELATIVE_VOLUME : SQUARED_RELATIVE_VOLUMES failed: Undefined subroutine &Polymake::polytope::Polytope__Rational::_Full_Spez::sum_of_square_roots_naive called at /<>/apps/polytope/rules/rational.rules line 73. /<>/apps/polytope/rules/rational.rules:65: testcase 1 expected: regular return got: EXCEPTION: no more rules available to compute 'RELATIVE_VOLUME' At a guess I'd imagine an architecture dependent bug in one of the dependencies. But that's purely a guess. please try the attached patch, the issue is that this testcase should not be run when flint is disabled. I will do some tests with the new flint 2.7 soon to check whether the mips(64) situation has improved. Best Benjamin diff --git a/apps/polytope/rules/rational.rules b/apps/polytope/rules/rational.rules index ba5b3244c7..d621777100 100644 --- a/apps/polytope/rules/rational.rules +++ b/apps/polytope/rules/rational.rules @@ -62,7 +62,7 @@ property N_01POINTS : Int; # The value is encoded as a map collecting the coefficients of various roots encountered in the sum. # For example, {(3 1/2),(5 7)} represents sqrt{3}/2 + 7 sqrt{5}. # If the output is not satisfactory, please use a symbolic algebra package. -# @example The following prints the 2-dimensional volume of a centered square with side length 2 embedded in the 3-space (the result is 4): +# @example [require bundled:flint] The following prints the 2-dimensional volume of a centered square with side length 2 embedded in the 3-space (the result is 4): # > $M = new Matrix([1,-1,1,0],[1,-1,-1,0],[1,1,-1,0],[1,1,1,0]); # > $p = new Polytope(VERTICES=>$M); # > print $p->RELATIVE_VOLUME; OpenPGP_signature Description: OpenPGP digital signature
Bug#981252: polymake: tests fail on mips{64,}el
Source: polymake Version: 4.3-2 Severity: serious Justification: FTBFS X-Debbugs-Cc: Benjamin Lorenz -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 The full log for mips64el is at https://buildd.debian.org/status/fetch.php?pkg=polymake&arch=mips64el&ver=4.3-2&stamp=1611277005&raw=0 The relevant output from the tests seems to be [ /polytope/objects/Polytope/properties/Triangulation and volume/RELATIVE_VOLUME ] 1polymake: WARNING: rule RELATIVE_VOLUME : SQUARED_RELATIVE_VOLUMES failed: Undefined subroutine &Polymake::polytope::Polytope__Rational::_Full_Spez::sum_of_square_roots_naive called at /<>/apps/polytope/rules/rational.rules line 73. /<>/apps/polytope/rules/rational.rules:65: testcase 1 expected: regular return got: EXCEPTION: no more rules available to compute 'RELATIVE_VOLUME' At a guess I'd imagine an architecture dependent bug in one of the dependencies. But that's purely a guess. - -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled - -- no debconf information -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEkiyHYXwaY0SiY6fqA0U5G1WqFSEFAmASpwkACgkQA0U5G1Wq FSExZg/+M1Jnk7AEmuP4LH9VstNLkapOuqAcBsjm+FXBaPPYqZDbWFS/XhrrvcRX DeTpTciZRG+4dmOYkkN+iBTGEqHCKRxQ4Gfb1nhPN3zgLVLdsubbkFB9+bOgZK1r F6bu6Ry0nz/pCSi1d8LXZeJMXtctlTHHcb5JeJcpNevi+s8GdZ00jMdsghCLIsbz oYs3eVW534JAiSrPv3xBP8dlMOwSp9N1tvFqqy47vNvZkJW0IBq3u23dxdvMDVWZ rOnsSZynE8idI6uCySkeDjjs5g4sUjsE1p+BT9e+BGXuIoDPY2MswcaMyZIIMmvf MCPiZP1rb857B6+Z45phkac7JK9ZrEaOlwaQ94CyAH5CNyU1o+CIaX9QQg1nLZP5 aXJ+BE+sjbcs2SA7+ZKr1lfNVdhwTmZQ2fzmS2EOJm0RXSjOIwGHSYUqoBX2dJ6c toSKobwNDKd7EdXY4Yrz2HLJvGgpks1s6AR40CfkyycMSC0aE4ELLvQ5BAhp/u4O TK0tc+Sr81BLrQaGAfzUS1Zts57wrfHGaxH4zkit+TZvtm3oHHHNx4aa3nR4PSOQ 9sFNgiQ/S9tKt95FzYmJYD2jyZ1SKVo8waebzNlFEvYQrOMhBBLjKt8JU4bWwGLV EVdj9cVsNpDgxzjFKc6Swlx9eKw9GHV8jwtw1ucQ6PbbcQtv8+A= =F26M -END PGP SIGNATURE-