New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FLINT 2.4.5's test suite fails unconditionally (t-NTL-interface) #18424
Comments
comment:1
I will create a branch with the appropriate patch in a couple of hours. |
New commits:
|
Branch: u/fbissey/flint-test |
Author: François Bissey |
Commit: |
comment:4
The proper fix is IMHO not to rename the file, but to add a dependency: --- flint-2.4.5/Makefile.in 2015-02-17 15:56:55.000000000 +0100
+++ flint-2.4.5/Makefile.in 2015-05-15 15:41:47.203690000 +0200
@@ -211,7 +211,7 @@
build/interfaces/NTL-interface.o: interfaces/NTL-interface.cpp NTL-interface.h
$(QUIET_CXX) $(CXX) $(CFLAGS) $(INCS) -c $< -o $@;
-build/interfaces/test/t-NTL-interface$(EXEEXT): interfaces/test/t-NTL-interface.cpp
+build/interfaces/test/t-NTL-interface$(EXEEXT): interfaces/test/t-NTL-interface.cpp build/interfaces/NTL-interface.o
$(QUIET_CXX) $(CXX) $(CFLAGS) $(INCS) $< build/interfaces/NTL-interface.o -o $@ $(LIBS);
print-%: Nice Makefile btw. ... B-) |
comment:5
Pretty embarrassing this already went into a stable Sage release, apparently without anybody even noticing. |
Changed keywords from none to NTL-interface.o check |
This comment has been minimized.
This comment has been minimized.
comment:7
Reported upstream yet? |
comment:8
Replying to @JohnCremona:
No idea; I can't imagine they haven't meanwhile noticed themselves... (although not everybody builds the NTL interface) |
comment:9
Looks like the bug was still there: https://github.com/wbhart/flint2/blob/trunk/Makefile.in#L234 |
comment:10
Replying to @nexttime:
Sorry, misread that. They just renamed the file, but didn't add a dependency, so it's half-fixed upstream. |
Upstream: Fixed upstream, but not in a stable release. |
comment:11
There's no corresponding issue on github I could comment on, just the commit by the author of the Gentoo patch. |
comment:12
Actually the patch is originally mine. The name on the patch is the guy who committed it to the main tree. I found my original bug report for it with some explanations. I didn't report it upstream because I couldn't reproduce it from a plain upstream tarball. By default upstream builds static stuff and if you do that there is no problem. Originally it wasn't present in sage either, I'd have to check but at some point we must have stopped building static libraries or objects in flint. It only happens when you build shared libraries exclusively. |
comment:13
Replying to @kiwifb:
Who else... I'll polish my patch a bit since |
comment:14
Replying to @nexttime:
Ah, no, |
Reviewer: Volker Braun |
Changed branch from u/fbissey/flint-test to |
comment:17
FWIW, a proper fix is now in trunk, so we can remove the patch on the next upgrade. |
Changed commit from |
FLINT 2.4.5 (and 2.4.4 at least) unconditionally fail its test suite when building the NTL interface test due to a bug in the
Makefile
:sage-on-gentoo and now Gentoo proper have carried a patch for the issue for some time now. See
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/flint/files/flint-2.4.4-test.patch?view=markup
Upstream: Fixed upstream, but not in a stable release.
Component: packages: standard
Keywords: NTL-interface.o check
Author: François Bissey
Branch:
5cdb5f9
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/18424
The text was updated successfully, but these errors were encountered: