On 2017-10-18 16:57, Erik Bray wrote:
Any ideas?  Looks odd...

Please try again with attached patch

--
You received this message because you are subscribed to the Google Groups 
"sage-release" 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-release.
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/sage/misc/cython.py b/src/sage/misc/cython.py
index b313269..3ae5f30 100644
--- a/src/sage/misc/cython.py
+++ b/src/sage/misc/cython.py
@@ -504,6 +504,14 @@ def cython(filename, verbose=0, compile_message=False,
                        (pxd, name)
         raise RuntimeError(msg)
 
+    print("filename: {}".format(filename))
+    print("base: {}".format(base))
+    print("target_dir: {}".format(target_dir))
+    print("build_dir: {}".format(build_dir))
+    print("pyxfile: {}".format(pyxfile))
+    print("C file: {}".format(ext.sources[0]))
+    print("C file contents:\n" + open(ext.sources[0]).read())
+
     if create_local_c_file:
         shutil.copy(os.path.join(target_dir, ext.sources[0]),
                     os.curdir)

Reply via email to