Bug#996279: xmds2: autopkgtest needs update for new version of gcc-defaults: 5 tests fail to build

Paul Gevers elbrus at debian.org
Tue Oct 12 21:12:47 BST 2021


Source: xmds2
Version: 3.0.0+dfsg-5
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:gcc-defaults

[X-Debbugs-CC: debian-ci at lists.debian.org, gcc-defaults at packages.debian.org]

Dear maintainer(s),

With a recent upload of gcc-defaults the autopkgtest of xmds2 fails in
testing on the releases where it's not blocked when that autopkgtest is
run with the binary packages of gcc-defaults from unstable. It passes
when run with only packages from testing. In tabular form:

                       pass            fail
gcc-defaults           from testing    1.194
xmds2                  from testing    3.0.0+dfsg-5
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of gcc-defaults to
testing [1].

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from gcc-defaults should
really add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=gcc-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/x/xmds2/15914167/log.gz

======================================================================
FAIL: test_fibre_integer_dimensions_mpi
(__main__.main.<locals>.ScriptTestCase)
mpi/fibre_integer_dimensions_mpi.xmds
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 328, in newfunc
    return func(*(args + fargs), **newkeywords)
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 106, in scriptTestingFunction
    self.assertTrue(returnCode == 0, ("Failed to compile." % locals()) +
message)
AssertionError: False is not true : Failed to compile.
stdout:
b'xmds2 version 3.0.0 "Release the Kraken" (Debian package
3.0.0+dfsg-5)\nCopyright 2000-2019 Graham Dennis, Joseph Hope, Mattias
Johnsson\n                    and the xmds team\nGenerating source
code...\n... done\nCompiling simulation...\n\n\nFATAL ERROR: Failed to
compile. Check warnings and errors. The most important will be first.\n'
stderr:
b'In file included from
/usr/lib/python3/dist-packages/xpdeint/includes/solirte/randpool.h:19,\n
                from
/usr/lib/python3/dist-packages/xpdeint/includes/solirte/prng.h:13,\n
             from
fibre_integer_dimensions_mpi.cc:96:\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:
In function \xe2\x80\x98uint128_t SIMDOps::AndNot(const uint128_t&,
const
uint128_t&)\xe2\x80\x99:\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:402:32:
warning: narrowing conversion of
\xe2\x80\x98SIMDOps::AndNot(((uint64_t)((int64_t)LHS.uint128_t::VecData[0])),
((uint64_t)((int64_t)RHS.uint128_t::VecData[0])))\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  402 |     uint128_t
RetVal = {{AndNot(LHS.VecData[0], RHS.VecData[0]),
AndNot(LHS.VecData[1], RHS.VecData[1])}};\n      |

~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:402:72:
warning: narrowing conversion of
\xe2\x80\x98SIMDOps::AndNot(((uint64_t)((int64_t)LHS.uint128_t::VecData[1])),
((uint64_t)((int64_t)RHS.uint128_t::VecData[1])))\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  402 |     uint128_t
RetVal = {{AndNot(LHS.VecData[0], RHS.VecData[0]),
AndNot(LHS.VecData[1], RHS.VecData[1])}};\n      |

~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:
In function \xe2\x80\x98uint128_t SIMDOps::Parity(const
uint128_t&)\xe2\x80\x99:\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:468:26:
warning: narrowing conversion of \xe2\x80\x98x\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  468 |     uint128_t
RetVal = {{x, x}};\n      |
^\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:468:29:
warning: narrowing conversion of \xe2\x80\x98x\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  468 |     uint128_t
RetVal = {{x, x}};\n      |
^\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:
In function \xe2\x80\x98uint128_t SIMDOps::make_uint128_t(uint32_t,
uint32_t, uint32_t,
uint32_t)\xe2\x80\x99:\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:476:33:
warning: narrowing conversion of \xe2\x80\x98(((uint64_t)x0) |
(((uint64_t)x1) << 32))\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  476 |
static_cast<uint64_t>(x0) | (static_cast<uint64_t>(x1) << 32),\n      |

~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:477:33:
warning: narrowing conversion of \xe2\x80\x98(((uint64_t)x2) |
(((uint64_t)x3) << 32))\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  477 |
static_cast<uint64_t>(x2) | (static_cast<uint64_t>(x3) << 32)}};\n
|
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/mpi/fibre_integer_dimensions_mpi.xmds:
In function \xe2\x80\x98void
_segment1_jx_operators_evaluate_operator1(real)\xe2\x80\x99:\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/mpi/fibre_integer_dimensions_mpi.xmds:62:36:
error: reference to \xe2\x80\x98beta\xe2\x80\x99 is ambiguous\n   62 |
         dphi_dt = L[phi] - ggamma*phi + beta*n_1;\n      |
                       ^~~~\nIn file included from
/usr/include/c++/11/cmath:1927,\n                 from
/usr/include/c++/11/complex:44,\n                 from
fibre_integer_dimensions_mpi.cc:18:\n/usr/include/c++/11/bits/specfun.h:343:5:
note: candidates are: \xe2\x80\x98template<class _Tpa, class _Tpb>
typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa,
_Tpb)\xe2\x80\x99\n  343 |     beta(_Tpa __a, _Tpb __b)\n      |
^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/mpi/fibre_integer_dimensions_mpi.xmds:31:12:
note:                 \xe2\x80\x98const real beta\xe2\x80\x99\n   31 |
     const real beta = sqrt(4.0*M_PI*ggamma/10.0);\n      |
^~~~\n\n'

======================================================================
FAIL: test_fibre (__main__.main.<locals>.ScriptTestCase)
stochastic/fibre.xmds
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 328, in newfunc
    return func(*(args + fargs), **newkeywords)
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 106, in scriptTestingFunction
    self.assertTrue(returnCode == 0, ("Failed to compile." % locals()) +
message)
AssertionError: False is not true : Failed to compile.
stdout:
b'xmds2 version 3.0.0 "Release the Kraken" (Debian package
3.0.0+dfsg-5)\nCopyright 2000-2019 Graham Dennis, Joseph Hope, Mattias
Johnsson\n                    and the xmds team\nGenerating source
code...\n... done\nCompiling simulation...\n\n\nFATAL ERROR: Failed to
compile. Check warnings and errors. The most important will be first.\n'
stderr:
b'/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/stochastic/fibre.xmds:
In function \xe2\x80\x98void
_segment1_x_operators_evaluate_operator1(real)\xe2\x80\x99:\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/stochastic/fibre.xmds:56:37:
error: reference to \xe2\x80\x98beta\xe2\x80\x99 is ambiguous\n   56 |
         dphi_dt = L[phi] - ggamma*phi + beta*n_1;\n      |
                        ^~~~\nIn file included from
/usr/include/c++/11/cmath:1927,\n                 from
/usr/include/c++/11/complex:44,\n                 from
fibre.cc:18:\n/usr/include/c++/11/bits/specfun.h:343:5: note: candidates
are: \xe2\x80\x98template<class _Tpa, class _Tpb> typename
__gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa,
_Tpb)\xe2\x80\x99\n  343 |     beta(_Tpa __a, _Tpb __b)\n      |
^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/stochastic/fibre.xmds:25:12:
note:                 \xe2\x80\x98const real beta\xe2\x80\x99\n   25 |
     const real beta = sqrt(4.0*M_PI*ggamma/10.0);\n      |
^~~~\n\n'

======================================================================
FAIL: test_fibre_with_correlation_functions
(__main__.main.<locals>.ScriptTestCase)
stochastic/fibre_with_correlation_functions.xmds
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 328, in newfunc
    return func(*(args + fargs), **newkeywords)
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 106, in scriptTestingFunction
    self.assertTrue(returnCode == 0, ("Failed to compile." % locals()) +
message)
AssertionError: False is not true : Failed to compile.
stdout:
b'xmds2 version 3.0.0 "Release the Kraken" (Debian package
3.0.0+dfsg-5)\nCopyright 2000-2019 Graham Dennis, Joseph Hope, Mattias
Johnsson\n                    and the xmds team\nGenerating source
code...\n... done\nCompiling simulation...\n\n\nFATAL ERROR: Failed to
compile. Check warnings and errors. The most important will be first.\n'
stderr:
b'In file included from
/usr/lib/python3/dist-packages/xpdeint/includes/solirte/randpool.h:19,\n
                from
/usr/lib/python3/dist-packages/xpdeint/includes/solirte/prng.h:13,\n
             from
fibre_with_correlation_function.cc:86:\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:
In function \xe2\x80\x98uint128_t SIMDOps::AndNot(const uint128_t&,
const
uint128_t&)\xe2\x80\x99:\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:402:32:
warning: narrowing conversion of
\xe2\x80\x98SIMDOps::AndNot(((uint64_t)((int64_t)LHS.uint128_t::VecData[0])),
((uint64_t)((int64_t)RHS.uint128_t::VecData[0])))\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  402 |     uint128_t
RetVal = {{AndNot(LHS.VecData[0], RHS.VecData[0]),
AndNot(LHS.VecData[1], RHS.VecData[1])}};\n      |

~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:402:72:
warning: narrowing conversion of
\xe2\x80\x98SIMDOps::AndNot(((uint64_t)((int64_t)LHS.uint128_t::VecData[1])),
((uint64_t)((int64_t)RHS.uint128_t::VecData[1])))\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  402 |     uint128_t
RetVal = {{AndNot(LHS.VecData[0], RHS.VecData[0]),
AndNot(LHS.VecData[1], RHS.VecData[1])}};\n      |

~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:
In function \xe2\x80\x98uint128_t SIMDOps::Parity(const
uint128_t&)\xe2\x80\x99:\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:468:26:
warning: narrowing conversion of \xe2\x80\x98x\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  468 |     uint128_t
RetVal = {{x, x}};\n      |
^\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:468:29:
warning: narrowing conversion of \xe2\x80\x98x\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  468 |     uint128_t
RetVal = {{x, x}};\n      |
^\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:
In function \xe2\x80\x98uint128_t SIMDOps::make_uint128_t(uint32_t,
uint32_t, uint32_t,
uint32_t)\xe2\x80\x99:\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:476:33:
warning: narrowing conversion of \xe2\x80\x98(((uint64_t)x0) |
(((uint64_t)x1) << 32))\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  476 |
static_cast<uint64_t>(x0) | (static_cast<uint64_t>(x1) << 32),\n      |

~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/usr/lib/python3/dist-packages/xpdeint/includes/solirte/u128simd.h:477:33:
warning: narrowing conversion of \xe2\x80\x98(((uint64_t)x2) |
(((uint64_t)x3) << 32))\xe2\x80\x99 from
\xe2\x80\x98uint64_t\xe2\x80\x99 {aka \xe2\x80\x98long unsigned
int\xe2\x80\x99} to \xe2\x80\x98int64_t\xe2\x80\x99 {aka
\xe2\x80\x98long int\xe2\x80\x99} [-Wnarrowing]\n  477 |
static_cast<uint64_t>(x2) | (static_cast<uint64_t>(x3) << 32)}};\n
|
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/stochastic/fibre_with_correlation_functions.xmds:
In function \xe2\x80\x98void
_segment1_x_operators_evaluate_operator1(real)\xe2\x80\x99:\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/stochastic/fibre_with_correlation_functions.xmds:57:37:
error: reference to \xe2\x80\x98beta\xe2\x80\x99 is ambiguous\n   57 |
         dphi_dt = L[phi] - ggamma*phi + beta*n_1;\n      |
                        ^~~~\nIn file included from
/usr/include/c++/11/cmath:1927,\n                 from
/usr/include/c++/11/complex:44,\n                 from
fibre_with_correlation_function.cc:18:\n/usr/include/c++/11/bits/specfun.h:343:5:
note: candidates are: \xe2\x80\x98template<class _Tpa, class _Tpb>
typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::beta(_Tpa,
_Tpb)\xe2\x80\x99\n  343 |     beta(_Tpa __a, _Tpb __b)\n      |
^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/stochastic/fibre_with_correlation_functions.xmds:26:12:
note:                 \xe2\x80\x98const real beta\xe2\x80\x99\n   26 |
     const real beta = sqrt(4.0*M_PI*ggamma/10.0);\n      |
^~~~\n\n'

======================================================================
FAIL: test_arguments (__main__.main.<locals>.ScriptTestCase)
features/arguments.xmds
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 328, in newfunc
    return func(*(args + fargs), **newkeywords)
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 106, in scriptTestingFunction
    self.assertTrue(returnCode == 0, ("Failed to compile." % locals()) +
message)
AssertionError: False is not true : Failed to compile.
stdout:
b'xmds2 version 3.0.0 "Release the Kraken" (Debian package
3.0.0+dfsg-5)\nCopyright 2000-2019 Graham Dennis, Joseph Hope, Mattias
Johnsson\n                    and the xmds team\nGenerating source
code...\n... done\nCompiling simulation...\n\n\nFATAL ERROR: Failed to
compile. Check warnings and errors. The most important will be first.\n'
stderr:
b'arguments.cc: In function \xe2\x80\x98int main(int,
char**)\xe2\x80\x99:\narguments.cc:425:9: error: reference to
\xe2\x80\x98size\xe2\x80\x99 is ambiguous\n  425 |         size =
strtod(optarg, NULL);\n      |         ^~~~\nIn file included from
/usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from
arguments.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\narguments.cc:262:6: note:                 \xe2\x80\x98real
size\xe2\x80\x99\n  262 | real size = 20.0;\n      |
^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/arguments.xmds:37:15:
error: reference to \xe2\x80\x98size\xe2\x80\x99 is ambiguous\n   37 |
     minx = -0.5*size;\n      |               ^~~~\nIn file included
from /usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from
arguments.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\narguments.cc:262:6: note:                 \xe2\x80\x98real
size\xe2\x80\x99\n  262 | real size = 20.0;\n      |
^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/arguments.xmds:38:14:
error: reference to \xe2\x80\x98size\xe2\x80\x99 is ambiguous\n   38 |
     maxx = 0.5*size;\n      |              ^~~~\nIn file included from
/usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from
arguments.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\narguments.cc:262:6: note:                 \xe2\x80\x98real
size\xe2\x80\x99\n  262 | real size = 20.0;\n      |
^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/arguments.xmds:39:15:
error: reference to \xe2\x80\x98size\xe2\x80\x99 is ambiguous\n   39 |
     miny = -0.5*size*fraction;\n      |               ^~~~\nIn file
included from /usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from
arguments.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\narguments.cc:262:6: note:                 \xe2\x80\x98real
size\xe2\x80\x99\n  262 | real size = 20.0;\n      |
^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/arguments.xmds:40:14:
error: reference to \xe2\x80\x98size\xe2\x80\x99 is ambiguous\n   40 |
     maxy = 0.5*size*fraction;\n      |              ^~~~\nIn file
included from /usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from
arguments.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\narguments.cc:262:6: note:                 \xe2\x80\x98real
size\xe2\x80\x99\n  262 | real size = 20.0;\n      |
^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/arguments.xmds:41:25:
error: reference to \xe2\x80\x98size\xe2\x80\x99 is ambiguous\n   41 |
     width = 0.5*sqrt(0.5)*size*fraction*width_factor; // half the
simulation size\n      |                         ^~~~\nIn file included
from /usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from
arguments.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\narguments.cc:262:6: note:                 \xe2\x80\x98real
size\xe2\x80\x99\n  262 | real size = 20.0;\n      |
^~~~\narguments.cc: In function \xe2\x80\x98void
_write_xsil_header(FILE*)\xe2\x80\x99:\narguments.cc:1272:54: error:
reference to \xe2\x80\x98size\xe2\x80\x99 is ambiguous\n 1272 |
fprintf(fp, "  Command line argument size = %e\\n", size);\n      |
                                                 ^~~~\nIn file included
from /usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from
arguments.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\narguments.cc:262:6: note:                 \xe2\x80\x98real
size\xe2\x80\x99\n  262 | real size = 20.0;\n      |      ^~~~\n\n'

======================================================================
FAIL: test_space in filename (__main__.main.<locals>.ScriptTestCase)
features/space in filename.xmds
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 328, in newfunc
    return func(*(args + fargs), **newkeywords)
  File
"/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/./run_tests.py",
line 106, in scriptTestingFunction
    self.assertTrue(returnCode == 0, ("Failed to compile." % locals()) +
message)
AssertionError: False is not true : Failed to compile.
stdout:
b'xmds2 version 3.0.0 "Release the Kraken" (Debian package
3.0.0+dfsg-5)\nCopyright 2000-2019 Graham Dennis, Joseph Hope, Mattias
Johnsson\n                    and the xmds team\nGenerating source
code...\n... done\nCompiling simulation...\n\n\nFATAL ERROR: Failed to
compile. Check warnings and errors. The most important will be first.\n'
stderr:
b'space in filename.cc: In function \xe2\x80\x98int main(int,
char**)\xe2\x80\x99:\nspace in filename.cc:425:9: error: reference to
\xe2\x80\x98size\xe2\x80\x99 is ambiguous\n  425 |         size =
strtod(optarg, NULL);\n      |         ^~~~\nIn file included from
/usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from space in
filename.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\nspace in filename.cc:262:6: note:
\xe2\x80\x98real size\xe2\x80\x99\n  262 | real size = 20.0;\n      |

^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/space
in filename.xmds:39:15: error: reference to \xe2\x80\x98size\xe2\x80\x99
is ambiguous\n   39 |       minx = -0.5*size;\n      |
^~~~\nIn file included from /usr/include/c++/11/string:54,\n
     from /usr/include/c++/11/bits/locale_classes.h:40,\n
  from /usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from space in
filename.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\nspace in filename.cc:262:6: note:
\xe2\x80\x98real size\xe2\x80\x99\n  262 | real size = 20.0;\n      |

^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/space
in filename.xmds:40:14: error: reference to \xe2\x80\x98size\xe2\x80\x99
is ambiguous\n   40 |       maxx = 0.5*size;\n      |
^~~~\nIn file included from /usr/include/c++/11/string:54,\n
     from /usr/include/c++/11/bits/locale_classes.h:40,\n
  from /usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from space in
filename.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\nspace in filename.cc:262:6: note:
\xe2\x80\x98real size\xe2\x80\x99\n  262 | real size = 20.0;\n      |

^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/space
in filename.xmds:41:15: error: reference to \xe2\x80\x98size\xe2\x80\x99
is ambiguous\n   41 |       miny = -0.5*size*fraction;\n      |
      ^~~~\nIn file included from /usr/include/c++/11/string:54,\n
           from /usr/include/c++/11/bits/locale_classes.h:40,\n
        from /usr/include/c++/11/bits/ios_base.h:41,\n
from /usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from space in
filename.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\nspace in filename.cc:262:6: note:
\xe2\x80\x98real size\xe2\x80\x99\n  262 | real size = 20.0;\n      |

^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/space
in filename.xmds:42:14: error: reference to \xe2\x80\x98size\xe2\x80\x99
is ambiguous\n   42 |       maxy = 0.5*size*fraction;\n      |
    ^~~~\nIn file included from /usr/include/c++/11/string:54,\n
         from /usr/include/c++/11/bits/locale_classes.h:40,\n
      from /usr/include/c++/11/bits/ios_base.h:41,\n
from /usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from space in
filename.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\nspace in filename.cc:262:6: note:
\xe2\x80\x98real size\xe2\x80\x99\n  262 | real size = 20.0;\n      |

^~~~\n/tmp/autopkgtest-lxc.ekv9ekvw/downtmp/build.mTv/src/testsuite/features/space
in filename.xmds:43:25: error: reference to \xe2\x80\x98size\xe2\x80\x99
is ambiguous\n   43 |       width =
0.5*sqrt(0.5)*size*fraction*width_factor; // half the simulation size\n
     |                         ^~~~\nIn file included from
/usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from space in
filename.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\nspace in filename.cc:262:6: note:
\xe2\x80\x98real size\xe2\x80\x99\n  262 | real size = 20.0;\n      |
   ^~~~\nspace in filename.cc: In function \xe2\x80\x98void
_write_xsil_header(FILE*)\xe2\x80\x99:\nspace in filename.cc:1274:54:
error: reference to \xe2\x80\x98size\xe2\x80\x99 is ambiguous\n 1274 |
 fprintf(fp, "  Command line argument size = %e\\n", size);\n      |
                                                  ^~~~\nIn file included
from /usr/include/c++/11/string:54,\n                 from
/usr/include/c++/11/bits/locale_classes.h:40,\n                 from
/usr/include/c++/11/bits/ios_base.h:41,\n                 from
/usr/include/c++/11/ios:42,\n                 from
/usr/include/c++/11/istream:38,\n                 from
/usr/include/c++/11/sstream:38,\n                 from
/usr/include/c++/11/complex:45,\n                 from space in
filename.cc:18:\n/usr/include/c++/11/bits/range_access.h:254:5: note:
candidates are: \xe2\x80\x98template<class _Tp, long unsigned int _Nm>
constexpr std::size_t std::size(const _Tp (&)[_Nm])\xe2\x80\x99\n  254 |
    size(const _Tp (&)[_Nm]) noexcept\n      |
^~~~\n/usr/include/c++/11/bits/range_access.h:245:5: note:
   \xe2\x80\x98template<class _Container> constexpr decltype
(__cont.size()) std::size(const _Container&)\xe2\x80\x99\n  245 |
size(const _Container& __cont) noexcept(noexcept(__cont.size()))\n
|     ^~~~\nspace in filename.cc:262:6: note:
\xe2\x80\x98real size\xe2\x80\x99\n  262 | real size = 20.0;\n      |
   ^~~~\n\n'

----------------------------------------------------------------------
Ran 172 tests in 554.105s

FAILED (failures=5, skipped=1)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211012/5a349f0f/attachment-0001.sig>


More information about the debian-science-maintainers mailing list