Hi Sage team.

I know this problem has already been reported but for the previous 6.2 
release. So, In short, same advice with 6.3 : compile as non-root ?

Thank you.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cd build && \
    "../build/pipestatus" \
        "env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \
        "tee -a ../logs/install.log"
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-UMDrhlpdVN,guid=07a882086abf1b37cb75d5d2542d7526
DESKTOP_SESSION=default
DISPLAY=:0
GDMSESSION=default
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/home/mainuser/.cache/keyring-n1e8fV
GNOME_KEYRING_PID=3241
GPG_AGENT_INFO=/home/mainuser/.cache/keyring-n1e8fV/gpg:0:1
HOME=/root
LANG=fr_FR.UTF-8
LOGNAME=root
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MAIL=/var/mail/root
MAKEFLAGS=
MAKELEVEL=1
MAKE=make
MFLAGS=
PATH=/opt/sage-6.3/src/bin:/opt/sage-6.3/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/opt/sage-6.3/build
PYTHONPATH=/opt/sage-6.3/local
SAGE_EXTCODE=/opt/sage-6.3/local/share/sage/ext
SAGE_LOCAL=/opt/sage-6.3/local
SAGE_LOGS=/opt/sage-6.3/logs/pkgs
SAGE_PARALLEL_SPKG_BUILD=
SAGE_ROOT=/opt/sage-6.3
SAGE_SPKG_INST=/opt/sage-6.3/local/var/lib/sage/installed
SAGE_SRC=/opt/sage-6.3/src
SAGE_VERSION=6.3
SESSION_MANAGER=local/station1:@/tmp/.ICE-unix/3259,unix/station1:/tmp/.ICE-unix/3259
SHELL=/bin/bash
SHLVL=4
SSH_AGENT_PID=3299
SSH_AUTH_SOCK=/home/mainuser/.cache/keyring-n1e8fV/ssh
TERM=xterm
USERNAME=mainuser
USER=root
_=/usr/bin/env
WINDOWID=31457285
WINDOWPATH=7
XAUTHORITY=/var/run/gdm3/auth-for-mainuser-q6EFKn/database
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_SESSION_COOKIE=ea4c2f745774f6f17f9f103e541aa93f-1412271067.335804-1279574595
***********************************************
make[1]: entrant dans le répertoire « /opt/sage-6.3/build »
make base
make[2]: entrant dans le répertoire « /opt/sage-6.3/build »
make[2]: Rien à faire pour « base ».
make[2]: quittant le répertoire « /opt/sage-6.3/build »
env SAGE_BUILD_TOOLCHAIN=yes make toolchain
make[2]: entrant dans le répertoire « /opt/sage-6.3/build »
make[2]: Rien à faire pour « toolchain ».
make[2]: quittant le répertoire « /opt/sage-6.3/build »
make toolchain-deps
make[2]: entrant dans le répertoire « /opt/sage-6.3/build »
make /opt/sage-6.3/local/var/lib/sage/installed/zlib-1.2.8.p0
make[3]: entrant dans le répertoire « /opt/sage-6.3/build »
make[3]: « /opt/sage-6.3/local/var/lib/sage/installed/zlib-1.2.8.p0 » est à 
jour.
make[3]: quittant le répertoire « /opt/sage-6.3/build »
make /opt/sage-6.3/local/var/lib/sage/installed/mpir-2.6.0.p4
make[3]: entrant dans le répertoire « /opt/sage-6.3/build »
make[3]: « /opt/sage-6.3/local/var/lib/sage/installed/mpir-2.6.0.p4 » est à 
jour.
make[3]: quittant le répertoire « /opt/sage-6.3/build »
make /opt/sage-6.3/local/var/lib/sage/installed/mpfr-3.1.2.p0
make[3]: entrant dans le répertoire « /opt/sage-6.3/build »
make[3]: « /opt/sage-6.3/local/var/lib/sage/installed/mpfr-3.1.2.p0 » est à 
jour.
make[3]: quittant le répertoire « /opt/sage-6.3/build »
make /opt/sage-6.3/local/var/lib/sage/installed/mpc-1.0.2.p0
make[3]: entrant dans le répertoire « /opt/sage-6.3/build »
make[3]: « /opt/sage-6.3/local/var/lib/sage/installed/mpc-1.0.2.p0 » est à 
jour.
make[3]: quittant le répertoire « /opt/sage-6.3/build »
make /opt/sage-6.3/local/var/lib/sage/installed/ppl-1.1
make[3]: entrant dans le répertoire « /opt/sage-6.3/build »
make[3]: « /opt/sage-6.3/local/var/lib/sage/installed/ppl-1.1 » est à jour.
make[3]: quittant le répertoire « /opt/sage-6.3/build »
make[2]: quittant le répertoire « /opt/sage-6.3/build »
make all-sage
make[2]: entrant dans le répertoire « /opt/sage-6.3/build »
/opt/sage-6.3/build/pipestatus "sage-spkg ${SAGE_SPKG_OPTS} pynac-0.3.2 
2>&1" "tee -a /opt/sage-6.3/logs/pkgs/pynac-0.3.2.log"
Found local metadata for pynac-0.3.2
Found local sources at /opt/sage-6.3/upstream/pynac-0.3.2.tar.bz2
Checksum: d7a80f5c96eec3ac9ecb6757d004e460fbfecece vs 
d7a80f5c96eec3ac9ecb6757d004e460fbfecece
pynac-0.3.2
====================================================
Setting up build directory for pynac-0.3.2
Finished set up
****************************************************
Host system:
Linux station1 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/sage-6.3/local/libexec/gcc/x86_64-unknown-linux-gnu/4.7.3/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../src/configure --prefix=/opt/sage-6.3/local 
--with-local-prefix=/opt/sage-6.3/local --with-gmp=/opt/sage-6.3/local 
--with-mpfr=/opt/sage-6.3/local --with-mpc=/opt/sage-6.3/local 
--with-system-zlib --disable-multilib --disable-nls  
Thread model: posix
gcc version 4.7.3 (GCC) 
****************************************************
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 for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for python... /opt/sage-6.3/local/bin/python
checking for a version of Python >= '2.1.0'... sys:1: RuntimeWarning: not 
adding directory '' to sys.path since it's writable by an untrusted group.
Untrusted users could put files in this directory which might then be 
imported by your Python code. As a general precaution from similar 
exploits, you should not execute Python code from this directory
yes
checking for the distutils Python package... no
configure: error: cannot import Python module "distutils".
Please check your Python installation. The error was:
sys:1: RuntimeWarning: not adding directory '' to sys.path since it's 
writable by an untrusted group.
Untrusted users could put files in this directory which might then be 
imported by your Python code. As a general precaution from similar 
exploits, you should not execute Python code from this directory
make[3]: Entering directory 
`/opt/sage-6.3/local/var/tmp/sage/build/pynac-0.3.2/src'
make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory 
`/opt/sage-6.3/local/var/tmp/sage/build/pynac-0.3.2/src'
Error building pynac.

real    0m1.742s
user    0m0.580s
sys    0m0.392s
************************************************************************
Error installing package pynac-0.3.2
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /opt/sage-6.3/logs/pkgs/pynac-0.3.2.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/opt/sage-6.3/local/var/tmp/sage/build/pynac-0.3.2 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 '/opt/sage-6.3/local/var/tmp/sage/build/pynac-0.3.2' && 
'/opt/sage-6.3/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** [/opt/sage-6.3/local/var/lib/sage/installed/pynac-0.3.2] 
Erreur 1
make[2]: quittant le répertoire « /opt/sage-6.3/build »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « /opt/sage-6.3/build »

real    0m2.778s
user    0m1.160s
sys    0m0.564s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:

package: pynac-0.3.2
log file: /opt/sage-6.3/logs/pkgs/pynac-0.3.2.log
build directory: /opt/sage-6.3/local/var/tmp/sage/build/pynac-0.3.2

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.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" 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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to