On the latest OSX/Xcode, on the 8.2.rc1 branch with SAGE_CHECK=yes, I get an error while testing cython:
[cython-0.28.1] ERROR: runTest (__main__.CythonRunTestCase) [cython-0.28.1] compiling (cpp) and running libcpp_algo [cython-0.28.1] ---------------------------------------------------------------------- [cython-0.28.1] Traceback (most recent call last): [cython-0.28.1] File "runtests.py", line 1114, in run [cython-0.28.1] ext_so_path = self.runCompileTest() [cython-0.28.1] File "runtests.py", line 803, in runCompileTest [cython-0.28.1] self.test_directory, self.expect_errors, self.expect_warnings, self.annotate) [cython-0.28.1] File "runtests.py", line 1050, in compile [cython-0.28.1] so_path = self.run_distutils(test_directory, module, workdir, incdir) [cython-0.28.1] File "runtests.py", line 973, in run_distutils [cython-0.28.1] build_extension.run() [cython-0.28.1] File "/Users/dimpase/Sage/sagetrac-mirror/local/lib/python2.7/distutils/command/build_ext.py", line 340, in run [cython-0.28.1] self.build_extensions() [cython-0.28.1] File "/Users/dimpase/Sage/sagetrac-mirror/local/lib/python2.7/distutils/command/build_ext.py", line 449, in build_extensions [cython-0.28.1] self.build_extension(ext) [cython-0.28.1] File "runtests.py", line 486, in build_extension [cython-0.28.1] _build_ext.build_extension(self, ext) [cython-0.28.1] File "/Users/dimpase/Sage/sagetrac-mirror/local/lib/python2.7/distutils/command/build_ext.py", line 499, in build_extension [cython-0.28.1] depends=ext.depends) [cython-0.28.1] File "/Users/dimpase/Sage/sagetrac-mirror/local/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 343, in CCompiler_compile [cython-0.28.1] single_compile(o) [cython-0.28.1] File "/Users/dimpase/Sage/sagetrac-mirror/local/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 303, in single_compile [cython-0.28.1] self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) [cython-0.28.1] File "/Users/dimpase/Sage/sagetrac-mirror/local/lib/python2.7/site-packages/numpy/distutils/unixccompiler.py", line 61, in UnixCCompiler__compile [cython-0.28.1] raise CompileError(msg) [cython-0.28.1] CompileError: Command "cc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I/Users/dimpase/Sage/sagetrac-mirror/local/var/tmp/sage/build/cython-0.28.1/src/tests/run -I/Users/dimpase/Sage/sagetrac-mirror/local/include/python2.7 -c libcpp_algo.cpp -o /Users/dimpase/Sage/sagetrac-mirror/local/var/tmp/sage/build/cython-0.28.1/src/TEST_TMP/run/cpp/libcpp_algo/libcpp_algo.o -DCYTHON_REFNANNY=1" failed with exit status 1 [cython-0.28.1] [cython-0.28.1] ---------------------------------------------------------------------- [cython-0.28.1] Ran 10737 tests in 3506.735s On Wednesday, April 4, 2018 at 5:28:25 AM UTC+2, John H Palmieri wrote: > > > > On Tuesday, April 3, 2018 at 2:09:17 PM UTC-7, François Bissey wrote: >> >> >> >> > On 4/04/2018, at 02:34, John H Palmieri <[email protected]> wrote: >> > >> > >> > >> > On Monday, April 2, 2018 at 9:25:56 PM UTC-7, François Bissey wrote: >> > >> > >> > > On 2/04/2018, at 16:27, John H Palmieri <[email protected]> wrote: >> > > >> > > >> > > >> > > On Sunday, April 1, 2018 at 1:16:57 PM UTC-7, François Bissey wrote: >> > > >> > > >> > > > On 2/04/2018, at 03:48, John H Palmieri <[email protected]> >> wrote: >> > > > >> > > > >> > > > >> > > > On Sunday, April 1, 2018 at 2:06:37 AM UTC-7, Volker Braun wrote: >> > > > On Sunday, April 1, 2018 at 9:01:17 AM UTC+2, Dima Pasechnik wrote: >> > > > - when I do an incremental upgrade, I do not see these failures. >> > > > - when I do 'make distclean; make ptestlong', I see them (with >> > > > 8.2.beta8 or later; I haven't checked earlier versions). >> > > > >> > > > Is it the other way round? Surely it should work with "make >> distclean; make ptestlong"? >> > > > >> > > > >> > > > It is not the other way around: failures when building from >> scratch, no failures when upgrading. >> > > > >> > > >> > > I (painfully) checked on my old laptop and I get this stuff when >> > > building from scratch too. So we have some kind of new >> mis-compilation >> > > with clang. >> > > >> > > François >> > > >> > > You made a guess in email that it was Singular. Suggestions for how >> to test this? >> > > >> > >> > Based on the libraries apparently involved. But looking at the chain of >> > calls, i would be more inlined to suspect something in sage itself. >> Either >> > in the glue to singular or in the coercion framework. >> > But that’s speculative, I have no real ideas. Does anyone know if that >> breaks >> > 8.1 as well? If not, we may be able to bisect something. >> > >> > François >> > >> > I just tried with 8.1, and all tests pass. That builds with gcc, not >> clang, so it's a big difference. >> >> Forgot about that! So the earliest we can test is 8.2.beta5. >> >> François >> >> > 8.2.beta5 doesn't build without #24704 ("ppl build fails with > clang-5.0"), in case that provides any clues. WIth #24704, I get the same > doctest errors. > > -- > John > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
