You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce: Start with Sage 3.4. Apply the attached patch (dependency-tracker-bug-testcase.patch). Rebuild with "sage -b", then run Sage. Type:
sage: import sage.rings.polynomial.real_roots
You will get an error:
TypeError: sage.rings.real_mpfi.RealIntervalField is not a type object
But if you touch real_roots.pyx and rebuild, the error goes away.
So somehow real_roots.pyx depends on real_mpfi.pyx in a way that the dependency tracker doesn't catch. (It's not obvious how, because real_roots.pyx never even mentions mpfi.)
jdemeyer@tamiyo:/usr/local/src/sage-git$ touch src/sage/rings/real_mpfi.pxd
jdemeyer@tamiyo:/usr/local/src/sage-git$ ./sage -b
scons: `install' is up to date.
Updating Cython code....
Enabling Cython debugging support
Compiling sage/rings/complex_interval.pyx because it depends on ./sage/rings/real_mpfi.pxd.
Compiling sage/rings/real_mpfi.pyx because it depends on sage/rings/real_mpfi.pxd.
Compiling sage/rings/polynomial/real_roots.pyx because it depends on ./sage/rings/real_mpfi.pxd.
[...]
To reproduce: Start with Sage 3.4. Apply the attached patch (dependency-tracker-bug-testcase.patch). Rebuild with "sage -b", then run Sage. Type:
You will get an error:
But if you touch real_roots.pyx and rebuild, the error goes away.
So somehow real_roots.pyx depends on real_mpfi.pyx in a way that the dependency tracker doesn't catch. (It's not obvious how, because real_roots.pyx never even mentions
mpfi
.)Component: build
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/5545
The text was updated successfully, but these errors were encountered: