make sage-8.0: error installing matplotlib on debian

69 views
Skip to first unread message

Thierry Coulbois

unread,
Jun 20, 2017, 5:28:11 AM6/20/17
to sage-devel
Okay guys,

I do not manage to make my new version of sage on my PC/debian.

Any help ?

Thanks,

Thierry

17N68:~/programmes/sage/cmi-sage> make
make build/make/Makefile
make[1] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage »
make[1]: « build/make/Makefile » est à jour.
make[1] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage »
build/bin/sage-logger \
    "cd build/make && ./install 'all'" logs/install.log
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-i7xCFsLlUa
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
DESKTOP_SESSION=gnome
DISPLAY=:1
GDMSESSION=gnome
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/home/coulbois/.gnupg/S.gpg-agent:0:1
GROUP=algebre
GTK2_MODULES=overlay-scrollbar
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
HOME=/home/coulbois
HOST=17N68
HOSTTYPE=x86_64-linux
IM_CONFIG_PHASE=1
INSTANCE=
JOB=dbus
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR:
LOGNAME=coulbois
MACHTYPE=x86_64
MAKEFLAGS= V=1
MAKELEVEL=1
MAKE=make
MAKE_TERMERR=/dev/pts/2
MAKE_TERMOUT=/dev/pts/2
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
MFLAGS=
OSTYPE=linux
PATH=/home/coulbois/programmes/sage/cmi-sage/build/bin:/home/coulbois/programmes/sage/cmi-sage/src/bin:/home/coulbois/programmes/sage/cmi-sage/local/bin:/usr/local/TeX/bin/i386-linux:/usr/local/TL7/bin/i386-linux:/usr/local/camllight/bin:/usr/local/matlab6/bin:/usr/local/OpenOffice/program:/usr/local/staroffice6.0/program:/usr/local/Acrobat/bin:/usr/local/Acrobat5/bin:/usr/local/netscape:/usr/local/jdk/bin:/usr/local/mozilla:/usr/local/firefox:/usr/local/thunderbird:/usr/local/Python/bin:/usr/local/eclipse:/usr/local/godi/bin:/usr/local/godi/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/coulbois/programmes/sage/cmi-sage/build/make
PYTHONPATH=/home/coulbois/programmes/sage/cmi-sage/local
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_QPA_PLATFORMTHEME=appmenu-qt5
SAGE_EXTCODE=/home/coulbois/programmes/sage/cmi-sage/local/share/sage/ext
SAGE_LOCAL=/home/coulbois/programmes/sage/cmi-sage/local
SAGE_LOGS=/home/coulbois/programmes/sage/cmi-sage/logs/pkgs
SAGE_ORIG_PATH_SET=True
SAGE_ORIG_PATH=/usr/local/TeX/bin/i386-linux:/usr/local/TL7/bin/i386-linux:/usr/local/camllight/bin:/usr/local/matlab6/bin:/usr/local/OpenOffice/program:/usr/local/staroffice6.0/program:/usr/local/Acrobat/bin:/usr/local/Acrobat5/bin:/usr/local/netscape:/usr/local/jdk/bin:/usr/local/mozilla:/usr/local/firefox:/usr/local/thunderbird:/usr/local/Python/bin:/usr/local/eclipse:/usr/local/godi/bin:/usr/local/godi/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SAGE_PYTHON3=yes
SAGE_ROOT=/home/coulbois/programmes/sage/cmi-sage
SAGE_SHARE=/home/coulbois/programmes/sage/cmi-sage/local/share
SAGE_SPKG_INST=/home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed
SAGE_SRC=/home/coulbois/programmes/sage/cmi-sage/src
SAGE_VERSION=8.0.beta4
SESSION=gnome
SESSION_MANAGER=local/17N68:@/tmp/.ICE-unix/2628,unix/17N68:/tmp/.ICE-unix/2628
SESSIONTYPE=gnome-session
SHELL=/bin/tcsh
SHLVL=3
SSH_AUTH_SOCK=/run/user/944/keyring/ssh
TERM=xterm-256color
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/944/2389
USER=coulbois
USERNAME=coulbois
_=/usr/bin/env
VENDOR=unknown
VTE_VERSION=4205
WINDOWID=39846598
WINDOWPATH=2
XAUTHORITY=/run/user/944/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=GNOME
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/944
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_ID=2
XDG_SESSION_TYPE=x11
XDG_VTNR=2
XMODIFIERS=@im=ibus
***********************************************
make[1] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make base
make[2] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make[2]: rien à faire pour « base ».
make[2] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
env SAGE_BUILD_TOOLCHAIN=yes make toolchain
make[2] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make[2]: rien à faire pour « toolchain ».
make[2] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make toolchain-deps
make[2] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/zlib-1.2.8.p0
make[3] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make[3]: « /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/zlib-1.2.8.p0 » est à jour.
make[3] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/mpir-2.7.2.p0
make[3] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make[3]: « /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/mpir-2.7.2.p0 » est à jour.
make[3] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/mpfr-3.1.5
make[3] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make[3]: « /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/mpfr-3.1.5 » est à jour.
make[3] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/mpc-1.0.3.p0
make[3] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make[3]: « /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/mpc-1.0.3.p0 » est à jour.
make[3] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make[2] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
make doc all-sage
make[2] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
if [ -z "$SAGE_INSTALL_FETCH_ONLY" ]; then \
    cd /home/coulbois/programmes/sage/cmi-sage/src && source bin/sage-env && \
    sage-logger -p 'time make sage' '/home/coulbois/programmes/sage/cmi-sage/logs/pkgs/sagelib-8.0.beta4.log'; \
fi
[sagelib-8.0.beta4] make[3] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/src »
[sagelib-8.0.beta4] (cd .                                    \
[sagelib-8.0.beta4]  && export SAGE_ROOT=/doesnotexist                        \
[sagelib-8.0.beta4]        SAGE_SRC=/doesnotexist                        \
[sagelib-8.0.beta4]        SAGE_SRC_ROOT=/doesnotexist                        \
[sagelib-8.0.beta4]        SAGE_DOC_SRC=/doesnotexist                        \
[sagelib-8.0.beta4]        SAGE_BUILD_DIR=/doesnotexist                        \
[sagelib-8.0.beta4]        SAGE_PKGS=/home/coulbois/programmes/sage/cmi-sage/build/pkgs        \
[sagelib-8.0.beta4]        SAGE_CYTHONIZED=/home/coulbois/programmes/sage/cmi-sage/src/build/cythonized                \
[sagelib-8.0.beta4]  && python -u setup.py --no-user-cfg build install)
[sagelib-8.0.beta4] Discovering Python/Cython source code....
[sagelib-8.0.beta4] Discovered Python/Cython sources, time: 1.37 seconds.
[sagelib-8.0.beta4] running build
[sagelib-8.0.beta4] Generating auto-generated sources
[sagelib-8.0.beta4] Building interpreters for fast_callable
[sagelib-8.0.beta4] running build_cython
[sagelib-8.0.beta4] Enabling Cython debugging support
[sagelib-8.0.beta4] Updating Cython code....
[sagelib-8.0.beta4] Finished Cythonizing, time: 3.30 seconds.
[sagelib-8.0.beta4] running build_py
[sagelib-8.0.beta4] running build_ext
[sagelib-8.0.beta4] Executing 0 commands (using 1 thread)
[sagelib-8.0.beta4] Time to execute 0 commands: 0.13 seconds.
[sagelib-8.0.beta4] Total time spent compiling C/C++ extensions: 0.95 seconds.
[sagelib-8.0.beta4] running install
[sagelib-8.0.beta4] running install_lib
[sagelib-8.0.beta4] running install_egg_info
[sagelib-8.0.beta4] Removing /home/coulbois/programmes/sage/cmi-sage/local/lib/python2.7/site-packages/sage-8.0.beta4-py2.7.egg-info
[sagelib-8.0.beta4] Writing /home/coulbois/programmes/sage/cmi-sage/local/lib/python2.7/site-packages/sage-8.0.beta4-py2.7.egg-info
[sagelib-8.0.beta4] Cleaning up stale installed files....
[sagelib-8.0.beta4] - cleaning /home/coulbois/programmes/sage/cmi-sage/local/lib/python2.7/site-packages
[sagelib-8.0.beta4] - cleaning build/lib.linux-x86_64-2.7
[sagelib-8.0.beta4] Finished cleaning, time: 0.34 seconds.
[sagelib-8.0.beta4] make[3] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/src »
[sagelib-8.0.beta4]
[sagelib-8.0.beta4] real    0m12.783s
[sagelib-8.0.beta4] user    0m2.960s
[sagelib-8.0.beta4] sys    0m0.712s
sage-logger -p 'sage-spkg matplotlib-1.5.1.p0' '/home/coulbois/programmes/sage/cmi-sage/logs/pkgs/matplotlib-1.5.1.p0.log'
[matplotlib-1.5.1.p0] Found local metadata for matplotlib-1.5.1.p0
[matplotlib-1.5.1.p0] Using cached file /home/coulbois/programmes/sage/cmi-sage/upstream/matplotlib-1.5.1.tar.bz2
[matplotlib-1.5.1.p0] matplotlib-1.5.1.p0
[matplotlib-1.5.1.p0] ====================================================
[matplotlib-1.5.1.p0] Setting up build directory for matplotlib-1.5.1.p0
[matplotlib-1.5.1.p0] Finished extraction
[matplotlib-1.5.1.p0] Applying patches from ../patches...
[matplotlib-1.5.1.p0] Applying ../patches/setup.py.patch
[matplotlib-1.5.1.p0] patching file setup.py
[matplotlib-1.5.1.p0] Hunk #1 succeeded at 88 (offset 3 lines).
[matplotlib-1.5.1.p0] ****************************************************
[matplotlib-1.5.1.p0] Host system:
[matplotlib-1.5.1.p0] Linux 17N68 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[matplotlib-1.5.1.p0] ****************************************************
[matplotlib-1.5.1.p0] C compiler: gcc
[matplotlib-1.5.1.p0] C compiler version:
[matplotlib-1.5.1.p0] Using built-in specs.
[matplotlib-1.5.1.p0] COLLECT_GCC=gcc
[matplotlib-1.5.1.p0] COLLECT_LTO_WRAPPER=/home/coulbois/programmes/sage/cmi-sage/local/libexec/gcc/x86_64-unknown-linux-gnu/5.4.0/lto-wrapper
[matplotlib-1.5.1.p0] Target: x86_64-unknown-linux-gnu
[matplotlib-1.5.1.p0] Configured with: ../src/configure --prefix=/home/coulbois/programmes/sage/cmi-sage/local --with-local-prefix=/home/coulbois/programmes/sage/cmi-sage/local --with-gmp=/home/coulbois/programmes/sage/cmi-sage/local --with-mpfr=/home/coulbois/programmes/sage/cmi-sage/local --with-mpc=/home/coulbois/programmes/sage/cmi-sage/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm 
[matplotlib-1.5.1.p0] Thread model: posix
[matplotlib-1.5.1.p0] gcc version 5.4.0 (GCC)
[matplotlib-1.5.1.p0] ****************************************************
[matplotlib-1.5.1.p0] NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the Matplotlib GUI.
[matplotlib-1.5.1.p0] Not building any matplotlib graphical backends.
[matplotlib-1.5.1.p0] Error: could not determine package name
[matplotlib-1.5.1.p0] Error installing matplotlib package.
[matplotlib-1.5.1.p0]
[matplotlib-1.5.1.p0] real    0m1.541s
[matplotlib-1.5.1.p0] user    0m0.332s
[matplotlib-1.5.1.p0] sys    0m0.104s
[matplotlib-1.5.1.p0] ************************************************************************
[matplotlib-1.5.1.p0] Error installing package matplotlib-1.5.1.p0
[matplotlib-1.5.1.p0] ************************************************************************
[matplotlib-1.5.1.p0] Please email sage-devel (http://groups.google.com/group/sage-devel)
[matplotlib-1.5.1.p0] explaining the problem and including the log file
[matplotlib-1.5.1.p0]   /home/coulbois/programmes/sage/cmi-sage/logs/pkgs/matplotlib-1.5.1.p0.log
[matplotlib-1.5.1.p0] Describe your computer, operating system, etc.
[matplotlib-1.5.1.p0] If you want to try to fix the problem yourself, *don't* just cd to
[matplotlib-1.5.1.p0] /home/coulbois/programmes/sage/cmi-sage/local/var/tmp/sage/build/matplotlib-1.5.1.p0 and type 'make' or whatever is appropriate.
[matplotlib-1.5.1.p0] Instead, the following commands setup all environment variables
[matplotlib-1.5.1.p0] correctly and load a subshell for you to debug the error:
[matplotlib-1.5.1.p0]   (cd '/home/coulbois/programmes/sage/cmi-sage/local/var/tmp/sage/build/matplotlib-1.5.1.p0' && '/home/coulbois/programmes/sage/cmi-sage/sage' --sh)
[matplotlib-1.5.1.p0] When you are done debugging, you can type "exit" to leave the subshell.
[matplotlib-1.5.1.p0] ************************************************************************
Makefile:2064 : la recette pour la cible « /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/matplotlib-1.5.1.p0 » a échouée
make[2]: *** [/home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/matplotlib-1.5.1.p0] Erreur 1
make[2] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
Makefile:796 : la recette pour la cible « all » a échouée
make[1]: *** [all] Erreur 2
make[1] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »

real    0m35.630s
user    0m9.120s
sys    0m1.512s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all'):

* package: matplotlib-1.5.1.p0
  log file: /home/coulbois/programmes/sage/cmi-sage/logs/pkgs/matplotlib-1.5.1.p0.log
  build directory: /home/coulbois/programmes/sage/cmi-sage/local/var/tmp/sage/build/matplotlib-1.5.1.p0

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:16 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 1

Dima Pasechnik

unread,
Jun 20, 2017, 7:09:11 AM6/20/17
to sage-devel
you have

SAGE_PYTHON3=yes

I don't think this will work as yet - or are you doing something experimental?

Thierry Coulbois

unread,
Jun 20, 2017, 7:25:29 AM6/20/17
to sage-devel
Yes I just tried a few things but this SAGE_PYTHON3=yes did not change anything.

Here is the log without this variable:


17N68:~/programmes/sage/cmi-sage> make
make build/make/Makefile
make[1] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage »
make[1]: « build/make/Makefile » est à jour.
make[1] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage »
build/bin/sage-logger \
    "cd build/make && ./install 'all'" logs/install.log
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-If4uSzG4Sb
MAKE_TERMERR=/dev/pts/3
MAKE_TERMOUT=/dev/pts/3

MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
MFLAGS=
OSTYPE=linux
PATH=/home/coulbois/programmes/sage/cmi-sage/build/bin:/home/coulbois/programmes/sage/cmi-sage/src/bin:/home/coulbois/programmes/sage/cmi-sage/local/bin:/usr/local/TeX/bin/i386-linux:/usr/local/TL7/bin/i386-linux:/usr/local/camllight/bin:/usr/local/matlab6/bin:/usr/local/OpenOffice/program:/usr/local/staroffice6.0/program:/usr/local/Acrobat/bin:/usr/local/Acrobat5/bin:/usr/local/netscape:/usr/local/jdk/bin:/usr/local/mozilla:/usr/local/firefox:/usr/local/thunderbird:/usr/local/Python/bin:/usr/local/eclipse:/usr/local/godi/bin:/usr/local/godi/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/coulbois/programmes/sage/cmi-sage/build/make
PYTHONPATH=/home/coulbois/programmes/sage/cmi-sage/local
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_QPA_PLATFORMTHEME=appmenu-qt5
SAGE_EXTCODE=/home/coulbois/programmes/sage/cmi-sage/local/share/sage/ext
SAGE_LOCAL=/home/coulbois/programmes/sage/cmi-sage/local
SAGE_LOGS=/home/coulbois/programmes/sage/cmi-sage/logs/pkgs
SAGE_ORIG_PATH_SET=True
SAGE_ORIG_PATH=/usr/local/TeX/bin/i386-linux:/usr/local/TL7/bin/i386-linux:/usr/local/camllight/bin:/usr/local/matlab6/bin:/usr/local/OpenOffice/program:/usr/local/staroffice6.0/program:/usr/local/Acrobat/bin:/usr/local/Acrobat5/bin:/usr/local/netscape:/usr/local/jdk/bin:/usr/local/mozilla:/usr/local/firefox:/usr/local/thunderbird:/usr/local/Python/bin:/usr/local/eclipse:/usr/local/godi/bin:/usr/local/godi/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
SAGE_ROOT=/home/coulbois/programmes/sage/cmi-sage
SAGE_SHARE=/home/coulbois/programmes/sage/cmi-sage/local/share
SAGE_SPKG_INST=/home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed
SAGE_SRC=/home/coulbois/programmes/sage/cmi-sage/src
SAGE_VERSION=8.0.beta4
SESSION=gnome
SESSION_MANAGER=local/17N68:@/tmp/.ICE-unix/1961,unix/17N68:/tmp/.ICE-unix/1961

SESSIONTYPE=gnome-session
SHELL=/bin/tcsh
SHLVL=3
SSH_AUTH_SOCK=/run/user/944/keyring/ssh
TERM=xterm-256color
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/944/1737

USER=coulbois
USERNAME=coulbois
_=/usr/bin/env
VENDOR=unknown
VTE_VERSION=4205
WINDOWID=33554442

WINDOWPATH=2
XAUTHORITY=/run/user/944/gdm/Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=GNOME
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/944
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=gnome
XDG_SESSION_ID=4
[sagelib-8.0.beta4] Discovered Python/Cython sources, time: 1.61 seconds.

[sagelib-8.0.beta4] running build
[sagelib-8.0.beta4] Generating auto-generated sources
[sagelib-8.0.beta4] Building interpreters for fast_callable
[sagelib-8.0.beta4] running build_cython
[sagelib-8.0.beta4] Enabling Cython debugging support
[sagelib-8.0.beta4] Updating Cython code....
[sagelib-8.0.beta4] Finished Cythonizing, time: 25.77 seconds.

[sagelib-8.0.beta4] running build_py
[sagelib-8.0.beta4] running build_ext
[sagelib-8.0.beta4] Executing 0 commands (using 1 thread)
[sagelib-8.0.beta4] Time to execute 0 commands: 0.25 seconds.
[sagelib-8.0.beta4] Total time spent compiling C/C++ extensions: 1.28 seconds.

[sagelib-8.0.beta4] running install
[sagelib-8.0.beta4] running install_lib
[sagelib-8.0.beta4] running install_egg_info
[sagelib-8.0.beta4] Removing /home/coulbois/programmes/sage/cmi-sage/local/lib/python2.7/site-packages/sage-8.0.beta4-py2.7.egg-info
[sagelib-8.0.beta4] Writing /home/coulbois/programmes/sage/cmi-sage/local/lib/python2.7/site-packages/sage-8.0.beta4-py2.7.egg-info
[sagelib-8.0.beta4] Cleaning up stale installed files....
[sagelib-8.0.beta4] - cleaning /home/coulbois/programmes/sage/cmi-sage/local/lib/python2.7/site-packages
[sagelib-8.0.beta4] - cleaning build/lib.linux-x86_64-2.7
[sagelib-8.0.beta4] Finished cleaning, time: 0.85 seconds.

[sagelib-8.0.beta4] make[3] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/src »
[sagelib-8.0.beta4]
[sagelib-8.0.beta4] real    0m50.289s
[sagelib-8.0.beta4] user    0m3.428s
[sagelib-8.0.beta4] sys    0m1.316s
[matplotlib-1.5.1.p0] real    0m2.701s
[matplotlib-1.5.1.p0] user    0m0.304s
[matplotlib-1.5.1.p0] sys    0m0.128s

[matplotlib-1.5.1.p0] ************************************************************************
[matplotlib-1.5.1.p0] Error installing package matplotlib-1.5.1.p0
[matplotlib-1.5.1.p0] ************************************************************************
[matplotlib-1.5.1.p0] Please email sage-devel (http://groups.google.com/group/sage-devel)
[matplotlib-1.5.1.p0] explaining the problem and including the log file
[matplotlib-1.5.1.p0]   /home/coulbois/programmes/sage/cmi-sage/logs/pkgs/matplotlib-1.5.1.p0.log
[matplotlib-1.5.1.p0] Describe your computer, operating system, etc.
[matplotlib-1.5.1.p0] If you want to try to fix the problem yourself, *don't* just cd to
[matplotlib-1.5.1.p0] /home/coulbois/programmes/sage/cmi-sage/local/var/tmp/sage/build/matplotlib-1.5.1.p0 and type 'make' or whatever is appropriate.
[matplotlib-1.5.1.p0] Instead, the following commands setup all environment variables
[matplotlib-1.5.1.p0] correctly and load a subshell for you to debug the error:
[matplotlib-1.5.1.p0]   (cd '/home/coulbois/programmes/sage/cmi-sage/local/var/tmp/sage/build/matplotlib-1.5.1.p0' && '/home/coulbois/programmes/sage/cmi-sage/sage' --sh)
[matplotlib-1.5.1.p0] When you are done debugging, you can type "exit" to leave the subshell.
[matplotlib-1.5.1.p0] ************************************************************************
Makefile:2064 : la recette pour la cible « /home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/matplotlib-1.5.1.p0 » a échouée
make[2]: *** [/home/coulbois/programmes/sage/cmi-sage/local/var/lib/sage/installed/matplotlib-1.5.1.p0] Erreur 1
make[2] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »
Makefile:796 : la recette pour la cible « all » a échouée
make[1]: *** [all] Erreur 2
make[1] : on quitte le répertoire « /home/coulbois/programmes/sage/cmi-sage/build/make »

real    1m14.510s
user    0m8.136s
sys    0m1.988s

Jeroen Demeyer

unread,
Jun 20, 2017, 7:38:54 AM6/20/17
to sage-...@googlegroups.com
What happens when you do

cd
'/home/coulbois/programmes/sage/cmi-sage/local/var/tmp/sage/build/matplotlib-1.5.1.p0/src'
&& '/home/coulbois/programmes/sage/cmi-sage/sage' --python setup.py --name

Sébastien Labbé

unread,
Jun 20, 2017, 7:43:30 AM6/20/17
to sage-devel


On Tuesday, June 20, 2017 at 11:28:11 AM UTC+2, Thierry Coulbois wrote:
 
[sagelib-8.0.beta4] make[3] : on entre dans le répertoire « /home/coulbois/programmes/sage/cmi-sage/src »

Maybe you can try with the newest develop version (8.0.beta11) ?

Sébastien

Thierry Coulbois

unread,
Jun 20, 2017, 8:20:34 AM6/20/17
to sage-devel
Here is what I get

17N68:~> cd '/home/coulbois/programmes/sage/cmi-sage/local/var/tmp/sage/build/matplotlib-1.5.1.p0/src' && '/home/coulbois/programmes/sage/cmi-sage/sage' --python setup.py --name
============================================================================
Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [1.5.1]
                python: yes [2.7.13 (default, Jun 15 2017, 16:43:35)  [GCC
                        5.4.0]]
              platform: yes [linux2]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.11.1]
              dateutil: yes [using dateutil version 2.5.3]
                  pytz: yes [using pytz version 2016.4]
                cycler: yes [using cycler version 0.10.0]
               tornado: yes [using tornado version 4.3]
             pyparsing: yes [using pyparsing version 2.1.5]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: yes [version 1.2.51]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [skipping due to configuration]
                qt5agg: no  [PyQt5 not found]
                qt4agg: no  [PySide not found; PyQt4 not found]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [skipping due to configuration]
                 tkagg: no  [skipping due to configuration]
                 wxagg: no  [skipping due to configuration]
                   gtk: no  [skipping due to configuration]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: no  [skipping due to configuration]

OPTIONAL LATEX DEPENDENCIES
                dvipng: no
           ghostscript: yes [version 9.18]
                 latex: yes [version 3.14159265]
               pdftops: yes [version 0.41.0]

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype

Thierry Coulbois

unread,
Jun 20, 2017, 8:26:11 AM6/20/17
to sage-devel
Salut Sébastien,

Bof, je voudrais compiler mon ticket public/train-track

Euh, I am on my public/train-track ticket, so not so easy to pull the lattest version.

Thierry

Dima Pasechnik

unread,
Jun 20, 2017, 9:48:59 AM6/20/17
to sage-devel
try

apt-get install libfreetype6-dev

Dima Pasechnik

unread,
Jun 20, 2017, 9:51:52 AM6/20/17
to sage-devel
or perhaps this rather means that Sage's freetype package was not (properly) installed.
Do you have SAGE_ROOT/local/include/freetype2/ft2build.h ?

Sébastien Labbé

unread,
Jun 20, 2017, 10:03:41 AM6/20/17
to sage-devel
I you have a clean branch develop of recent sage develop version you can create a new empty branch based on that recent develop version of sage:

git checkout develop -b train-track

Then, you can pull the public train-track branch:

git pull trac public/train-track

Then, you can work. Of course, when you push to the public branch again:

git push trac public/train-trac

You force everyone to work on the recent sage develop branch.... which might not be a bad thing anyway.

Sébastien

Thierry Coulbois

unread,
Jun 22, 2017, 3:52:30 PM6/22/17
to sage-devel
Thanks very much for your help: it worked. I first followed Sebastien's advice: I switched back to the develop branch and make succeeded (after several trials). Then I switch back to my public/train-track and built again and it is also working. In both cases I needed several passes of make...

Thanks
Reply all
Reply to author
Forward
0 new messages