I tried to install latte_int using sage -i latte_int and received an error 
installing the lidia package. I am using mac and running os 10.14.4. My log 
file is attached.

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
***********************************************************************
Found local metadata for lidia-2.3.0+latte-patches-2014-10-04.p0
Using cached file 
/Users/sophiaelia/sage/upstream/lidia-2.3.0+latte-patches-2014-10-04.tar.gz
lidia-2.3.0+latte-patches-2014-10-04.p0
====================================================
Setting up build directory for lidia-2.3.0+latte-patches-2014-10-04.p0
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Darwin Sophias-MacBook-Air.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 
11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.3)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
****************************************************
Package 'lidia' is currently not installed
No legacy uninstaller found for 'lidia'; nothing to do
Configuring lidia-2.3.0+latte-patches-2014-10-04.p0
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
/Users/sophiaelia/sage/local/var/tmp/sage/build/lidia-2.3.0+latte-patches-2014-10-04.p0/src/missing:
 Unknown `--is-lightweight' option
Try 
`/Users/sophiaelia/sage/local/var/tmp/sage/build/lidia-2.3.0+latte-patches-2014-10-04.p0/src/missing
 --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '501' is supported by ustar format... yes
checking whether GID '20' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -std=gnu++11 accepts -g... yes
checking dependency style of g++ -std=gnu++11... gcc3
checking how to run the C++ preprocessor... g++ -std=gnu++11 -E
checking for type bool... yes
checking for ISO C++ inline... yes
checking for ISO C++ casting... yes
checking for explicit constructors by ISO C++... yes
checking for mutable class members by ISO C++... yes
checking for working template<>... yes
checking for explicit template instantiation by ISO C++... yes
checking for ISO C++ namespaces... yes
checking build system type... i386-apple-darwin18.5.0
checking host system type... i386-apple-darwin18.5.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by g++ -std=gnu++11... ld
checking if the linker (ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i386-apple-darwin18.5.0 file names to 
i386-apple-darwin18.5.0 format... func_convert_file_noop
checking how to convert i386-apple-darwin18.5.0 file names to toolchain 
format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from g++ -std=gnu++11 object... 
ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... g++ -std=gnu++11 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if g++ -std=gnu++11 supports -fno-rtti -fno-exceptions... yes
checking for g++ -std=gnu++11 option to produce PIC... -fno-common -DPIC
checking if g++ -std=gnu++11 PIC flag -fno-common -DPIC works... yes
checking if g++ -std=gnu++11 static flag -static works... no
checking if g++ -std=gnu++11 supports -c -o file.o... yes
checking if g++ -std=gnu++11 supports -c -o file.o... (cached) yes
checking whether the g++ -std=gnu++11 linker (ld) supports shared libraries... 
yes
checking dynamic linker characteristics... darwin18.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -std=gnu++11 -E
checking for ld used by g++ -std=gnu++11... ld
checking if the linker (ld) is GNU ld... no
checking whether the g++ -std=gnu++11 linker (ld) supports shared libraries... 
yes
checking for g++ -std=gnu++11 option to produce PIC... -fno-common -DPIC
checking if g++ -std=gnu++11 PIC flag -fno-common -DPIC works... yes
checking if g++ -std=gnu++11 static flag -static works... no
checking if g++ -std=gnu++11 supports -c -o file.o... yes
checking if g++ -std=gnu++11 supports -c -o file.o... (cached) yes
checking whether the g++ -std=gnu++11 linker (ld) supports shared libraries... 
yes
checking dynamic linker characteristics... darwin18.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking for latex... latex
checking for LaTeX 2e... yes
checking for makeindex... makeindex
checking for bibtex... bibtex
checking for dvips... dvips
checking for latex2html... ${SHELL} 
/Users/sophiaelia/sage/local/var/tmp/sage/build/lidia-2.3.0+latte-patches-2014-10-04.p0/src/missing
 latex2html
checking for pdflatex... pdflatex
checking for texi2dvi... texi2dvi
checking for gunzip... gunzip
checking for bunzip2... bunzip2
checking for GNU MP (version >= 3.1)... yes
checking for ANSI C header files... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking cstddef usability... yes
checking cstddef presence... yes
checking for cstddef... yes
checking cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking cmath usability... yes
checking cmath presence... yes
checking for cmath... yes
checking cctype usability... yes
checking cctype presence... yes
checking for cctype... yes
checking cstring usability... yes
checking cstring presence... yes
checking for cstring... yes
checking ctime usability... yes
checking ctime presence... yes
checking for ctime... yes
checking cassert usability... yes
checking cassert presence... yes
checking for cassert... yes
checking climits usability... yes
checking climits presence... yes
checking for climits... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of double... 8
checking whether byte ordering is bigendian... no
checking for use of STLport... no
checking for random and srandom... yes
checking for mkstemp... yes
checking whether POSIX signals work... yes
checking whether POSIX times work... yes
checking whether POSIX time work... yes
checking whether to compile the finite fields package... yes
checking whether to compile the linear algebra package... yes
checking whether to compile the lattice package... yes
checking whether to compile the number fields package... yes
checking whether to compile the elliptic curve package... yes
checking whether to compile the elliptic curve order package... yes
checking whether to compile the elliptic curve generation package... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating LiDIA.spec
config.status: creating library/base/Makefile
config.status: creating examples/base/Makefile
config.status: creating library/finite_fields/Makefile
config.status: creating examples/finite_fields/Makefile
config.status: creating library/linear_algebra/Makefile
config.status: creating examples/linear_algebra/Makefile
config.status: creating library/lattices/Makefile
config.status: creating examples/lattices/Makefile
config.status: creating library/number_fields/Makefile
config.status: creating examples/number_fields/Makefile
config.status: creating library/elliptic_curves/Makefile
config.status: creating examples/elliptic_curves/Makefile
config.status: creating library/ec_order/Makefile
config.status: creating examples/ec_order/Makefile
config.status: creating library/gec/Makefile
config.status: creating examples/gec/Makefile
config.status: creating Makefile
config.status: creating library/Makefile
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating include/config.h
config.status: creating include/LiDIA/LiDIA.h
config.status: creating include/LiDIA/path.h
config.status: linking src/interfaces/bigint/gmp/bigint.cc to 
src/base/interfaces/bigint/bigint.cc
config.status: linking src/interfaces/udigit/gmp/udigit.cc to 
src/base/interfaces/udigit/udigit.cc
config.status: linking src/interfaces/udigit/gmp/udigit_appl.cc to 
src/base/interfaces/udigit/udigit_appl.cc
config.status: linking src/interfaces/bigint/gmp/bigint_def.h to 
include/LiDIA/kernel/bigint_def.h
config.status: linking src/interfaces/bigint/gmp/bigint_interface.h to 
include/LiDIA/kernel/bigint_interface.h
config.status: linking src/interfaces/udigit/gmp/udigit_def.h to 
include/LiDIA/kernel/udigit_def.h
config.status: linking src/interfaces/udigit/gmp/udigit_interface.h to 
include/LiDIA/kernel/udigit_interface.h
config.status: executing depfiles commands
config.status: executing libtool commands
Building lidia-2.3.0+latte-patches-2014-10-04.p0
cd library  && make  all
Making all in base
g++ -std=gnu++11 -DHAVE_CONFIG_H   -I../../include -I../../src/base/include 
-I./../../src/base/include -I/Users/sophiaelia/sage/local/include  -O2 -MT 
bytes_to_int_flag_generator.o -MD -MP -MF .deps/bytes_to_int_flag_generator.Tpo 
-c -o bytes_to_int_flag_generator.o `test -f 
'../../src/portability/bytes_to_int_flag_generator.cc' || echo 
'./'`../../src/portability/bytes_to_int_flag_generator.cc
../../src/portability/bytes_to_int_flag_generator.cc:219:37: error: non-type 
template argument evaluates to 18446744073709551613, which cannot be narrowed 
to type 'int' [-Wc++11-narrowing]
    typedef typename is_zero::apply<sizeof(T) - size>::type type;
                                    ^
../../src/portability/bytes_to_int_flag_generator.cc:184:33: note: in 
instantiation of template class 'size_match<4>::apply<signed char>' requested 
here
    typedef typename predicate::template apply<elem_type>::type pred_result;
                                ^
../../src/portability/bytes_to_int_flag_generator.cc:227:36: note: in 
instantiation of template class 'find_in_list::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, size_match<4> >' 
requested here
    typedef typename find_in_list::apply<candidate_list, pred>::type type;
                                   ^
../../src/portability/bytes_to_int_flag_generator.cc:391:29: note: in 
instantiation of template class 'fitting_int_type::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, 4>' requested 
here
  typedef fitting_int_type::apply<int_list, 4>::type int32_type;
                            ^
../../src/portability/bytes_to_int_flag_generator.cc:219:37: error: non-type 
template argument evaluates to 18446744073709551614, which cannot be narrowed 
to type 'int' [-Wc++11-narrowing]
    typedef typename is_zero::apply<sizeof(T) - size>::type type;
                                    ^
../../src/portability/bytes_to_int_flag_generator.cc:184:33: note: in 
instantiation of template class 'size_match<4>::apply<short>' requested here
    typedef typename predicate::template apply<elem_type>::type pred_result;
                                ^
../../src/portability/bytes_to_int_flag_generator.cc:193:20: note: in 
instantiation of template class 'find_in_list::apply<type_node<short, 
type_node<int, type_node<long, none_t> > >, size_match<4> >' requested here
  typedef typename apply<next, predicate>::type type;
                   ^
../../src/portability/bytes_to_int_flag_generator.cc:186:22: note: in 
instantiation of template class 'find_in_list::aux<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, size_match<4>, 
false_t>' requested here
    typedef typename aux<list, predicate, pred_result>::type type;
                     ^
../../src/portability/bytes_to_int_flag_generator.cc:227:36: note: in 
instantiation of template class 'find_in_list::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, size_match<4> >' 
requested here
    typedef typename find_in_list::apply<candidate_list, pred>::type type;
                                   ^
../../src/portability/bytes_to_int_flag_generator.cc:391:29: note: in 
instantiation of template class 'fitting_int_type::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, 4>' requested 
here
  typedef fitting_int_type::apply<int_list, 4>::type int32_type;
                            ^
../../src/portability/bytes_to_int_flag_generator.cc:219:37: error: non-type 
template argument evaluates to 18446744073709551609, which cannot be narrowed 
to type 'int' [-Wc++11-narrowing]
    typedef typename is_zero::apply<sizeof(T) - size>::type type;
                                    ^
../../src/portability/bytes_to_int_flag_generator.cc:184:33: note: in 
instantiation of template class 'size_match<8>::apply<signed char>' requested 
here
    typedef typename predicate::template apply<elem_type>::type pred_result;
                                ^
../../src/portability/bytes_to_int_flag_generator.cc:227:36: note: in 
instantiation of template class 'find_in_list::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, size_match<8> >' 
requested here
    typedef typename find_in_list::apply<candidate_list, pred>::type type;
                                   ^
../../src/portability/bytes_to_int_flag_generator.cc:392:29: note: in 
instantiation of template class 'fitting_int_type::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, 8>' requested 
here
  typedef fitting_int_type::apply<int_list, 8>::type int64_type;
                            ^
../../src/portability/bytes_to_int_flag_generator.cc:219:37: error: non-type 
template argument evaluates to 18446744073709551610, which cannot be narrowed 
to type 'int' [-Wc++11-narrowing]
    typedef typename is_zero::apply<sizeof(T) - size>::type type;
                                    ^
../../src/portability/bytes_to_int_flag_generator.cc:184:33: note: in 
instantiation of template class 'size_match<8>::apply<short>' requested here
    typedef typename predicate::template apply<elem_type>::type pred_result;
                                ^
../../src/portability/bytes_to_int_flag_generator.cc:193:20: note: in 
instantiation of template class 'find_in_list::apply<type_node<short, 
type_node<int, type_node<long, none_t> > >, size_match<8> >' requested here
  typedef typename apply<next, predicate>::type type;
                   ^
../../src/portability/bytes_to_int_flag_generator.cc:186:22: note: in 
instantiation of template class 'find_in_list::aux<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, size_match<8>, 
false_t>' requested here
    typedef typename aux<list, predicate, pred_result>::type type;
                     ^
../../src/portability/bytes_to_int_flag_generator.cc:227:36: note: in 
instantiation of template class 'find_in_list::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, size_match<8> >' 
requested here
    typedef typename find_in_list::apply<candidate_list, pred>::type type;
                                   ^
../../src/portability/bytes_to_int_flag_generator.cc:392:29: note: in 
instantiation of template class 'fitting_int_type::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, 8>' requested 
here
  typedef fitting_int_type::apply<int_list, 8>::type int64_type;
                            ^
../../src/portability/bytes_to_int_flag_generator.cc:219:37: error: non-type 
template argument evaluates to 18446744073709551612, which cannot be narrowed 
to type 'int' [-Wc++11-narrowing]
    typedef typename is_zero::apply<sizeof(T) - size>::type type;
                                    ^
../../src/portability/bytes_to_int_flag_generator.cc:184:33: note: in 
instantiation of template class 'size_match<8>::apply<int>' requested here
    typedef typename predicate::template apply<elem_type>::type pred_result;
                                ^
../../src/portability/bytes_to_int_flag_generator.cc:193:20: note: in 
instantiation of template class 'find_in_list::apply<type_node<int, 
type_node<long, none_t> >, size_match<8> >' requested here
  typedef typename apply<next, predicate>::type type;
                   ^
../../src/portability/bytes_to_int_flag_generator.cc:186:22: note: in 
instantiation of template class 'find_in_list::aux<type_node<short, 
type_node<int, type_node<long, none_t> > >, size_match<8>, false_t>' requested 
here
    typedef typename aux<list, predicate, pred_result>::type type;
                     ^
../../src/portability/bytes_to_int_flag_generator.cc:193:20: note: in 
instantiation of template class 'find_in_list::apply<type_node<short, 
type_node<int, type_node<long, none_t> > >, size_match<8> >' requested here
  typedef typename apply<next, predicate>::type type;
                   ^
../../src/portability/bytes_to_int_flag_generator.cc:186:22: note: in 
instantiation of template class 'find_in_list::aux<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, size_match<8>, 
false_t>' requested here
    typedef typename aux<list, predicate, pred_result>::type type;
                     ^
../../src/portability/bytes_to_int_flag_generator.cc:227:36: note: in 
instantiation of template class 'find_in_list::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, size_match<8> >' 
requested here
    typedef typename find_in_list::apply<candidate_list, pred>::type type;
                                   ^
../../src/portability/bytes_to_int_flag_generator.cc:392:29: note: in 
instantiation of template class 'fitting_int_type::apply<type_node<signed char, 
type_node<short, type_node<int, type_node<long, none_t> > > >, 8>' requested 
here
  typedef fitting_int_type::apply<int_list, 8>::type int64_type;
                            ^
5 errors generated.
make[4]: *** [bytes_to_int_flag_generator.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-subdirs] Error 2
********************************************************************************
Error building lidia-2.3.0+latte-patches-2014-10-04.p0
********************************************************************************

real    0m25.472s
user    0m12.631s
sys     0m11.565s
************************************************************************
Error installing package lidia-2.3.0+latte-patches-2014-10-04.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  /Users/sophiaelia/sage/logs/pkgs/lidia-2.3.0+latte-patches-2014-10-04.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/sophiaelia/sage/local/var/tmp/sage/build/lidia-2.3.0+latte-patches-2014-10-04.p0
 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 
'/Users/sophiaelia/sage/local/var/tmp/sage/build/lidia-2.3.0+latte-patches-2014-10-04.p0'
 && '/Users/sophiaelia/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

Reply via email to