Found local metadata for flint-2.5.2.p5
Using cached file /Applications/Sage3.app/Contents/Resources/sage/upstream/flint-2.5.2.tar.gz
flint-2.5.2.p5
====================================================
Setting up build directory for flint-2.5.2.p5
Finished extraction
Applying patches from ../patches...
Applying ../patches/Makefile.subdirs.patch
patching file Makefile.subdirs
Applying ../patches/flint-pie-hardening-conflict.patch
patching file fq/Makefile
patching file fq_poly/Makefile
patching file Makefile.subdirs
patching file padic_mat/Makefile
patching file padic_poly/Makefile
patching file qadic/Makefile
Applying ../patches/flintxx-include.patch
patching file flintxx/flint_classes.h
Applying ../patches/flush-memory-msg.patch
patching file memory_manager.c
Applying ../patches/linking_SunOS_FreeBSD.patch
patching file Makefile.in
patching file configure
Applying ../patches/no_language_standard_override.patch
patching file configure
Hunk #1 succeeded at 554 with fuzz 2 (offset 2 lines).
Applying ../patches/use_ldflags_in_tests.patch
patching file Makefile.in
Hunk #1 succeeded at 228 (offset 1 line).
Hunk #2 succeeded at 243 (offset 1 line).
****************************************************
Host system:
Darwin U 18.7.0 Darwin Kernel Version 18.7.0: Sun Dec 1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
****************************************************
C compiler: clang
C compiler version:
Apple clang version 11.0.0 (clang-1100.0.33.16)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
****************************************************
Package 'flint' is currently not installed
No legacy uninstaller found for 'flint'; nothing to do
Configuring FLINT.
Configuring...x86_64-Darwin
Testing __builtin_popcountl...yes
Testing native popcount...yes
Testing __thread...yes
Testing fenv...yes
FLINT was successfully configured.
Building flint-2.5.2.p5
cbrtrem.c:49:2: warning: no newline at end of file [-Wnewline-eof]
}
^
1 warning generated.
root_estimate.c:127:2: warning: no newline at end of file [-Wnewline-eof]
}
^
1 warning generated.
lucas_chain.c:243:2: warning: no newline at end of file [-Wnewline-eof]
}
^
1 warning generated.
In file included from is_reduced_mpfr.c:27:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
In file included from is_reduced_mpfr.c:28:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
2 warnings generated.
In file included from is_reduced_mpfr_with_removal.c:27:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
In file included from is_reduced_mpfr_with_removal.c:28:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
2 warnings generated.
In file included from add.c:30:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from clear.c:30:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from equal.c:28:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from init.c:30:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from randtest.c:27:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from scalar_mul_2exp.c:30:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from scalar_mul_mpfr.c:30:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from scalar_product.c:30:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from set.c:30:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from zero.c:30:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
1 warning generated.
In file included from clear.c:30:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
1 warning generated.
In file included from equal.c:28:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
In file included from equal.c:29:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
2 warnings generated.
In file included from init.c:30:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
1 warning generated.
In file included from mul_classical.c:28:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
1 warning generated.
In file included from randtest.c:28:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
1 warning generated.
In file included from set.c:29:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
In file included from set.c:30:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
2 warnings generated.
In file included from swap.c:28:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
1 warning generated.
In file included from zero.c:28:
../mpfr_vec.h:26:9: warning: 'MFPR_VEC_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_VEC_H
^~~~~~~~~~
../mpfr_vec.h:27:9: note: 'MPFR_VEC_H' is defined here; did you mean 'MFPR_VEC_H'?
#define MPFR_VEC_H
^~~~~~~~~~
MFPR_VEC_H
In file included from zero.c:29:
../mpfr_mat.h:26:9: warning: 'MFPR_MAT_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef MFPR_MAT_H
^~~~~~~~~~
../mpfr_mat.h:27:9: note: 'MPFR_MAT_H' is defined here; did you mean 'MFPR_MAT_H'?
#define MPFR_MAT_H
^~~~~~~~~~
MFPR_MAT_H
2 warnings generated.
KS2_pack.c:163:2: warning: no newline at end of file [-Wnewline-eof]
}
^
1 warning generated.
KS2_unpack.c:284:2: warning: no newline at end of file [-Wnewline-eof]
}
^
1 warning generated.
number_of_partitions_mpfr.c:387:5: warning: 'mpfr_root' is deprecated [-Wdeprecated-declarations]
mpfr_root(ch, ex, k, MPFR_RNDN);
^
/usr/local/include/mpfr.h:691:1: note: 'mpfr_root' has been explicitly marked deprecated here
MPFR_DEPRECATED
^
/usr/local/include/mpfr.h:326:42: note: expanded from macro 'MPFR_DEPRECATED'
# define MPFR_DEPRECATED __attribute__ ((deprecated))
^
1 warning generated.
init_set_fmpz_frac_readonly.c:34:2: warning: no newline at end of file [-Wnewline-eof]
}
^
1 warning generated.
clear.c:36:26: warning: if statement has empty body [-Wempty-body]
if (rop->den != NULL);
^
clear.c:36:26: note: put the semicolon on a separate line to silence this warning
1 warning generated.
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:19:
../../../../../../include/NTL/tools.h:1026:1: error: unknown type name 'constexpr'
constexpr bool Relocate_aux_has_trivial_copy(T*)
^
../../../../../../include/NTL/tools.h:1026:11: error: expected unqualified-id
constexpr bool Relocate_aux_has_trivial_copy(T*)
^
../../../../../../include/NTL/tools.h:1171:4: error: unknown type name 'plain_c_string_streambuf'
plain_c_string_streambuf buf(y);
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:20:
../../../../../../include/NTL/vector.h:211:11: error: unknown type name 'constexpr'
static constexpr bool relocatable = DeclareRelocatableType((T*)0);
^
../../../../../../include/NTL/vector.h:211:21: error: expected member name or ';' after declaration specifiers
static constexpr bool relocatable = DeclareRelocatableType((T*)0);
~~~~~~~~~~~~~~~~ ^
../../../../../../include/NTL/vector.h:212:11: error: unknown type name 'constexpr'
static constexpr bool copyable = Relocate_aux_has_any_copy((T*)0);
^
../../../../../../include/NTL/vector.h:212:21: error: expected member name or ';' after declaration specifiers
static constexpr bool copyable = Relocate_aux_has_any_copy((T*)0);
~~~~~~~~~~~~~~~~ ^
../../../../../../include/NTL/vector.h:248:11: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
Vec(Vec&& a) NTL_FAKE_NOEXCEPT
^
../../../../../../include/NTL/vector.h:248:16: error: expected ';' at end of declaration list
Vec(Vec&& a) NTL_FAKE_NOEXCEPT
^
;
../../../../../../include/NTL/vector.h:195:15: error: use of undeclared identifier 'relocatable'
{ VecStrategy<NTL_RELOC_TAG>::do_BlockDestroy(p, n); }
^
../../../../../../include/NTL/tools.h:1005:24: note: expanded from macro 'NTL_RELOC_TAG'
#define NTL_RELOC_TAG (relocatable)
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:20:
../../../../../../include/NTL/vector.h:198:15: error: use of undeclared identifier 'relocatable'
{ VecStrategy<NTL_RELOC_TAG>::do_BlockConstruct(p, n); }
^
../../../../../../include/NTL/tools.h:1005:24: note: expanded from macro 'NTL_RELOC_TAG'
#define NTL_RELOC_TAG (relocatable)
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:20:
../../../../../../include/NTL/vector.h:201:15: error: use of undeclared identifier 'relocatable'
{ VecStrategy<NTL_RELOC_TAG>::do_BlockConstructFromVec(p, n, q); }
^
../../../../../../include/NTL/tools.h:1005:24: note: expanded from macro 'NTL_RELOC_TAG'
#define NTL_RELOC_TAG (relocatable)
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:20:
../../../../../../include/NTL/vector.h:204:15: error: use of undeclared identifier 'relocatable'
{ VecStrategy<NTL_RELOC_TAG>::do_BlockConstructFromObj(p, n, q); }
^
../../../../../../include/NTL/tools.h:1005:24: note: expanded from macro 'NTL_RELOC_TAG'
#define NTL_RELOC_TAG (relocatable)
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:20:
../../../../../../include/NTL/vector.h:465:20: error: unknown type name 'constexpr'
template <class T> NTL_DECLARE_RELOCATABLE((Vec<T>*))
^
../../../../../../include/NTL/tools.h:1125:36: note: expanded from macro 'NTL_DECLARE_RELOCATABLE'
#define NTL_DECLARE_RELOCATABLE(x) NTL_DECLARE_RELOCATABLE_WHEN(x) \
^
../../../../../../include/NTL/tools.h:1007:41: note: expanded from macro 'NTL_DECLARE_RELOCATABLE_WHEN'
#define NTL_DECLARE_RELOCATABLE_WHEN(x) \
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:20:
../../../../../../include/NTL/vector.h:465:20: error: expected unqualified-id
../../../../../../include/NTL/tools.h:1125:36: note: expanded from macro 'NTL_DECLARE_RELOCATABLE'
#define NTL_DECLARE_RELOCATABLE(x) NTL_DECLARE_RELOCATABLE_WHEN(x) \
^
../../../../../../include/NTL/tools.h:1008:11: note: expanded from macro 'NTL_DECLARE_RELOCATABLE_WHEN'
constexpr bool DeclareRelocatableType x
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:21:
../../../../../../include/NTL/SmartPtr.h:298:21: warning: rvalue references are a C++11 extension [-Wc++11-extensions]
SmartPtr(SmartPtr&& other) noexcept : dp(other.dp), cp(other.cp)
^
../../../../../../include/NTL/SmartPtr.h:298:30: error: expected ';' at end of declaration list
SmartPtr(SmartPtr&& other) noexcept : dp(other.dp), cp(other.cp)
^
;
../../../../../../include/NTL/SmartPtr.h:365:20: error: unknown type name 'constexpr'
template <class T> NTL_DECLARE_RELOCATABLE((SmartPtr<T>*))
^
../../../../../../include/NTL/tools.h:1125:36: note: expanded from macro 'NTL_DECLARE_RELOCATABLE'
#define NTL_DECLARE_RELOCATABLE(x) NTL_DECLARE_RELOCATABLE_WHEN(x) \
^
../../../../../../include/NTL/tools.h:1007:41: note: expanded from macro 'NTL_DECLARE_RELOCATABLE_WHEN'
#define NTL_DECLARE_RELOCATABLE_WHEN(x) \
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:21:
../../../../../../include/NTL/SmartPtr.h:365:20: error: expected unqualified-id
../../../../../../include/NTL/tools.h:1125:36: note: expanded from macro 'NTL_DECLARE_RELOCATABLE'
#define NTL_DECLARE_RELOCATABLE(x) NTL_DECLARE_RELOCATABLE_WHEN(x) \
^
../../../../../../include/NTL/tools.h:1008:11: note: expanded from macro 'NTL_DECLARE_RELOCATABLE_WHEN'
constexpr bool DeclareRelocatableType x
^
In file included from interfaces/NTL-interface.cpp:32:
In file included from ../../../../../../include/NTL/ZZ.h:21:
../../../../../../include/NTL/SmartPtr.h:449:43: error: expected class name
class CloneablePtrControlDerived : public CloneablePtrControl {
^
../../../../../../include/NTL/SmartPtr.h:454:4: error: unknown type name 'CloneablePtrControl'
CloneablePtrControl *clone() const
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
make[7]: *** [build/interfaces/NTL-interface.lo] Error 1
clang: error: no such file or directory: 'build/interfaces/NTL-interface.lo'
make[6]: *** [libflint-13.5.2.dylib] Error 1
make[5]: *** [library] Error 2
make[4]: *** [verbose] Error 2
********************************************************************************
Error building flint-2.5.2.p5
********************************************************************************
real 14m35.220s
user 9m44.865s
sys 3m35.518s
************************************************************************
Error installing package flint-2.5.2.p5
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
/Applications/Sage3.app/Contents/Resources/sage/logs/pkgs/flint-2.5.2.p5.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/Sage3.app/Contents/Resources/sage/local/var/tmp/sage/build/flint-2.5.2.p5 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/Applications/Sage3.app/Contents/Resources/sage/local/var/tmp/sage/build/flint-2.5.2.p5' && '/Applications/Sage3.app/Contents/Resources/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************