Can't build it on Debian testing : PARI fails to build on a (copy of) a
(functional) Sage tree after distclean. See the attached log. This happens
either after (repeated) attempts at parallel build or with a serial build.
HTH,
--
Emmanuel Charpentier
Le samedi 24 septembre 2016 16:33:00 UTC+2, Volker Braun a écrit :
>
> As always, you can get the latest beta version from the "develop" git
> branch. Alternatively, the self-contained source tarball is at
> http://www.sagemath.org/download-latest.html
>
> c5dadf9 Updated SageMath version to 7.4.beta6
> dd4615e Trac #21555: using richcmp rather than cmp in two crystals files
> e07b3c8 Trac #21547: fixing tolerance of numeric test in
> matrix_double_dense.pyx
> ae71893 Trac #20985: decomposition of interval-posets into new components
> 1f995a1 Trac #21449: CoinBackend: _test_solve fails on 32-bit
> ab5e465 Trac #21541: Graph plotting: edge style for undirected graphs works
> 8b060dd Trac #21515: Correct variable names for input
> 1611db0 Trac #21548: py3 get rid of xrange in plot folder
> 624b01b Trac #21529: Bug in factoring of general symbolic expressions
> f07ce88 Trac #21415: Iterator over all orientations of a graph
> 9390a01 Trac #21360: Doctest: Numerics in nested symbolic powers not
> combined
> 446d606 Trac #21521: py3 remove one cmp sort in cyclotomic.pyx
> 3a29518 Trac #21489: py3 get rid of some xrange in various files
> bbdd234 Trac #21442: Add a function to check if a given subset is convex
> in a poset
> 150de70 Trac #21385: Remove support for Parent.__init__(gens=...)
> 90c89c9 Trac #21382: Remove sage.structure.generators
> 860c584 Trac #14064: Matrix.subdivide goes haywire if indices are not in
> increasing order
> 94643a3 Trac #21522: py3: more removal of sorted via cmp
> e6a030e Trac #21494: Several typos
> 86aa7e4 Trac #21487: Typos in "transition" and "transformation"
> f728ccc Trac #21506: Remove some deprecated code
> 5021477 Trac #21500: Add instructions for using ccache
> 61caf4c Trac #21481: Poset documentation polishing: Polynomials
> f76cb0a Trac #21465: some cleanup of unused imports in combinat
> 29a7126 Trac #21446: Speed up RealBall initialization
> 4c5bac8 Trac #21400: Make libgap_exec test more portable
> fd604e1 Trac #21520: py3: remove one comparison by cmp in sparse generic
> matrix
> 10cf9cf Trac #21519: get rid of six.moves.xrange in cython files (step2)
> be51dfb Trac #21502: empty graph YET AGAIN, this time chrpoly
> e1c4969 Trac #21501: Allow SAGE_LOCAL to be customized
> 750eb57 Trac #21488: py3 remove xrange in crypto folder
> 05dab9f Trac #21485: Package pandocfilter
> 4dfccf6 Trac #21484: Add doctest for load() of a Sage file
> 33b633c Trac #21483: Speed up imag() for quadratic number field elements
> a576690 Trac #21466: cleaner calls to all and any in combinat
> 2db097d Trac #21482: disabling the MAPLE interface to linbox
> c6a69ea Trac #21476: Get rid of six.moves.range in Cython files
> a0654df Trac #21475: Make __nonzero__ an alias of __bool__ (in some python
> files)
> 8771bdd Trac #21470: Replace range(n) by list(xrange(n)) in Cython files
> 3caa37c Trac #21406: Convert and doctest all special functions to SymPy
> e0f94ac Trac #21103: Update rubiks' patches to conform to same format as
> other patches
> f3b6fe9 Trac #21096: sage.structure.debug_options should be cimported
> fdb3547 Trac #20863: Complete documentation for overconvergent modular
> symbols
> 3f255c8 Trac #20827: Use WithEqualityById for number fields
> 408b4a2 Trac #19163: LatticePoset creation, better error reporting
> 6a4ee44 Trac #21486: rubik spkg-install should not assume 'which' is
> available on Linux
> 0ae5fd8 Updated SageMath version to 7.4.beta5
>
>
--
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.
Found local metadata for pari-2.8.0.alpha.p0
Using cached file /usr/local/sage-exp/upstream/pari-2.8.0.alpha.tar.gz
pari-2.8.0.alpha.p0
====================================================
Setting up build directory for pari-2.8.0.alpha.p0
Finished extraction
****************************************************
Host system:
Linux asus16-ec 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64
GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.1.1-11'
--with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-6 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 6.1.1 20160802 (Debian 6.1.1-11)
****************************************************
patching file config/get_config_options
Hunk #1 succeeded at 60 (offset 2 lines).
Hunk #2 succeeded at 140 (offset -10 lines).
patching file config/get_dlcflags
patching file src/language/init.c
Hunk #1 succeeded at 742 (offset 20 lines).
Hunk #2 succeeded at 757 (offset 20 lines).
Hunk #3 succeeded at 772 (offset 20 lines).
patching file src/test/dotest
============================================================
Configuring PARI/GP without graphics support (for plotting).
If you need it, pass the appropriate option(s) to PARI by
setting and exporting $PARI_CONFIGURE prior to building
Sage (or at least before you build/install the PARI spkg),
e.g. by typing at the shell prompt:
export PARI_CONFIGURE="--graphic=auto"
or
export PARI_CONFIGURE="--with-fltk"
Note that PARI doesn't treat it as an error if the requested
graphics library or the corresponding header files are not
found; it will then simply disable graphics support.
Please consult the PARI documentation for further details.
============================================================
To minimize Sage build time and to ensure the best reliability, PARI/GP
will not be tuned for your system. Experience shows tuning can be
unreliable. If you do want to tune PARI/GP, set the environment
variable SAGE_TUNE_pari="yes" by typing the following before building
Sage (or at least before building/installing PARI/GP):
SAGE_TUNE_pari=yes
export SAGE_TUNE_pari
If you do this, we strongly recommend to also enable checking. For this,
type the following:
SAGE_CHECK=yes
export SAGE_CHECK
Configuring pari-2.8.0 (DEVELOPMENT VERSION)
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...gzip is /bin/gzip
...cc is /usr/bin/cc
...gcc is /usr/bin/gcc
...ld is /usr/bin/ld
...perl is /usr/bin/perl
...zcat is /bin/zcat
GNU compatible compiler: gcc version 6.1.1 20160802 (Debian 6.1.1-11)
Using mt engine single
Given the previous choices, sizeof(long) is 8 chars.
The internal word representation of a double is not needed (64bit).
==========================================================================
Building for: amd64 running linux (x86-64/GMP kernel) 64-bit version
==========================================================================
C compiler is gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer
-g -fPIC
Executable linker is gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer
-g -Wl,--export-dynamic -L/usr/local/sage-exp/local/lib
-Wl,-rpath,/usr/local/sage-exp/local/lib
Dynamic Lib linker is gcc -shared $(CFLAGS) $(DLCFLAGS)
-Wl,-shared,-soname=$(LIBPARI_SONAME) -L/usr/local/sage-exp/local/lib
-Wl,-rpath,/usr/local/sage-exp/local/lib
Looking in C lib for some symbols...
...Found exp2.
...Found log2.
...Found strftime.
...Found getrusage.
...Found gettimeofday.
...Found sigaction.
...Found TIOCGWINSZ.
...Found getrlimit.
...Found stat.
...Found vsnprintf.
...Found mmap.
...Found waitpid.
...Found setsid.
...Found getenv.
...Found isatty.
...Found alarm.
...Found system.
...I did not find dlopen.
Try again, with -ldl this time...
...Found dlopen.
Checking for optional libraries and headers...
...Found gmp header in /usr/local/sage-exp/local/include
Using GNU MP, version 5.1.3
Hi-Res Graphics: none
...Found readline header in /usr/local/sage-exp/local/include/readline
Using GNU readline, version 6.3
Installation prefix ? [/usr/local/sage-exp/local]
...for architecture-independent files (share-prefix) ?
[/usr/local/sage-exp/local/share]
Installation directories for:
...executables (gp, gphelp) ? [/usr/local/sage-exp/local/bin]
...libraries (libpari) ? [/usr/local/sage-exp/local/lib]
...include files ? [/usr/local/sage-exp/local/include]
...manual pages ? [/usr/local/sage-exp/local/share/man/man1]
...other system-dependent data ? [/usr/local/sage-exp/local/lib/pari]
...other system-independent data ? [/usr/local/sage-exp/local/share/pari]
Default is dynamic executable and shared library
==========================================================================
Extracting examples/Makefile.linux-x86_64
Extracting Olinux-x86_64/Makefile
Extracting Makefile
Extracting Olinux-x86_64/paricfg.h
Extracting scripts and macros
...in doc
...in misc
==========================================================================
Shall we try to build pari 2.8.0 (alpha) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !
make[3]: Entering directory
'/usr/local/sage-exp/local/var/tmp/sage/build/pari-2.8.0.alpha.p0/src'
Making gp in Olinux-x86_64
make[4]: Entering directory
'/usr/local/sage-exp/local/var/tmp/sage/build/pari-2.8.0.alpha.p0/src/Olinux-x86_64'
../config/genkernel ../src ../src/kernel/x86_64/asm0.h > parilvl0.h
if test -r ./tune.h; then d=.; else d=../src/kernel/gmp; fi; cat
$d/tune.h ../src/kernel/gmp/int.h ../src/kernel/none/level1.h > parilvl1.h
cat parilvl0.h parilvl1.h > mpinl.h
cat ../src/mt/single.h > parimt.h
gcc -c -I. -I../src/headers -fPIC -O3 -Wall -fno-strict-aliasing
-fomit-frame-pointer -g -o emacs.o ../src/gp/emacs.c
f=funclist-$$-linux-x86_64.tmp; (cd ../src/desc && /usr/bin/perl merge_822
../../src/funclist > $f) && mv ../src/desc/$f ../src/desc/pari.desc
Can't locate PARI/822.pm in @INC (you may need to install the PARI::822 module)
(@INC contains: /usr/local/sage-exp/local/lib/perl5 /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.22.2 /usr/local/share/perl/5.22.2
/usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at merge_822 line
2.
BEGIN failed--compilation aborted at merge_822 line 2.
Makefile:956: recipe for target '../src/desc/pari.desc' failed
make[4]: *** [../src/desc/pari.desc] Error 2
make[4]: Leaving directory
'/usr/local/sage-exp/local/var/tmp/sage/build/pari-2.8.0.alpha.p0/src/Olinux-x86_64'
Makefile:34: recipe for target 'gp' failed
make[3]: *** [gp] Error 2
make[3]: Leaving directory
'/usr/local/sage-exp/local/var/tmp/sage/build/pari-2.8.0.alpha.p0/src'
Error: Building PARI/GP failed.
real 0m1.799s
user 0m0.640s
sys 0m0.108s
************************************************************************
Error installing package pari-2.8.0.alpha.p0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
/usr/local/sage-exp/logs/pkgs/pari-2.8.0.alpha.p0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/usr/local/sage-exp/local/var/tmp/sage/build/pari-2.8.0.alpha.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 '/usr/local/sage-exp/local/var/tmp/sage/build/pari-2.8.0.alpha.p0' &&
'/usr/local/sage-exp/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************