/home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src/config.log

> On 6/08/2017, at 19:06, Frédéric Chapoton <fchapot...@gmail.com> wrote:
> 
> Where can I find the config.log ?
> 
> Here the full sage-f pynac build log, just in case.
> 
> Found local metadata for pynac-0.7.8.p0
> Using cached file /home/chapoton/sage3/upstream/pynac-0.7.8.tar.bz2
> pynac-0.7.8.p0
> ====================================================
> Setting up build directory for pynac-0.7.8.p0
> Finished extraction
> Applying patches from ../patches...
> Applying ../patches/static-python-fix.patch
> patching file ginac/numeric.cpp
> Hunk #1 succeeded at 1500 (offset -36 lines).
> ****************************************************
> Host system:
> Linux icj-laptop 4.10.0-30-generic #34-Ubuntu SMP Mon Jul 31 19:38:17 UTC 
> 2017 x86_64 x86_64 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='Ubuntu 
> 6.3.0-12ubuntu2' --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 --program-prefix=x86_64-linux-gnu- --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 --enable-default-pie 
> --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 
> --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch 
> --disable-werror --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.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) 
> ****************************************************
> Starting build...
> Running build_pynac...
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether 
> /home/chapoton/sage3/local/var/lib/sage/installed/python3-3.6.1 version is >= 
> 2.7... no
> configure: error: Python interpreter is too old
> make[2]: Entering directory 
> '/home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src'
> make[2]: *** No targets specified and no makefile found.  Stop.
> make[2]: Leaving directory 
> '/home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0/src'
> Error building pynac.
> 
> real  0m0.306s
> user  0m0.096s
> sys   0m0.024s
> ************************************************************************
> Error installing package pynac-0.7.8.p0
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the log file
>   /home/chapoton/sage3/logs/pkgs/pynac-0.7.8.p0.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.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 '/home/chapoton/sage3/local/var/tmp/sage/build/pynac-0.7.8.p0' && 
> '/home/chapoton/sage3/sage' --sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
> 
> 
> Le dimanche 6 août 2017 09:02:45 UTC+2, François Bissey a écrit :
> Considering I routinely build pynac with python2.7, 3.4 and 3.6 
> in gentoo that’s quite odd. Could you please post pynac’s config.log 
> 
> > On 6/08/2017, at 19:00, Frédéric Chapoton <fchap...@gmail.com> wrote: 
> > 
> > I tried "PYTHON=python3 ./sage -f pynac" in a sage3 shell, with a strange 
> > failure as result: 
> > 
> > [pynac-0.7.8.p0] checking whether 
> > /home/chapoton/sage3/local/var/lib/sage/installed/python3-3.6.1 version is 
> > >= 2.7... no 
> > [pynac-0.7.8.p0] configure: error: Python interpreter is too old 
> > 
> > 
> > Le dimanche 6 août 2017 08:51:10 UTC+2, François Bissey a écrit : 
> > It is probably a correct assertion. What is needed is to set 
> > PYTHON 
> > to the desired python in spkg-install before calling configure. 
> > PYTHON=python3.6 ./sage -f pynac 
> > will also probably work in the interim. 
> > 
> > François 
> > 
> > > On 6/08/2017, at 18:07, Ralf Stephan <gtr...@gmail.com> wrote: 
> > > 
> > > The AX_PYTHON_DEVEL apparently finds the wrong Python version 
> > > and sets Pynac up for it. 
> > > 
> > > On Sunday, August 6, 2017 at 7:20:48 AM UTC+2, Ralf Stephan wrote: 
> > > 
> > > 
> > > On Saturday, August 5, 2017 at 1:22:44 PM UTC+2, Frédéric Chapoton wrote: 
> > > /home/chapoton/sage3/local/lib/libpython2.7.so.1.0(PyInt_FromLong+0x53)[0x7f950a139ef3]
> > >  
> > > /home/chapoton/sage3/local/lib/libpynac.so.13(+0x88196)[0x7f950a559196] 
> > > 
> > > Pynac calling  PyInt_FromLong from Python2.7 ? 
> > > 
> > > -- 
> > > 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+...@googlegroups.com. 
> > > To post to this group, send email to sage-...@googlegroups.com. 
> > > Visit this group at https://groups.google.com/group/sage-devel. 
> > > For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
> > -- 
> > 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+...@googlegroups.com. 
> > To post to this group, send email to sage-...@googlegroups.com. 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
> 
> 
> -- 
> 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.

-- 
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.

Reply via email to