[ Erroneously reported first on sage-release. Apologies.. ] I can't build sage 7.4beta6 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 -- 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 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. ************************************************************************