My first try at installing finishes with an error installing the 
(optional?) package pynormaliz

***************************************************************
Error building Sage.

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

* package: pynormaliz-2.5
  log file: /home/slabbe/GitBox/sage/logs/pkgs/pynormaliz-2.5.log
  build directory: 
/home/slabbe/GitBox/sage/local/var/tmp/sage/build/pynormaliz-2.5

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.


The pynormaliz-2.5.log finishes with:

[...]

    runstatedir='${localstatedir}/run'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

    ## ------------------- ##
    ## File substitutions. ##
    ## ------------------- ##

    SAGE_MAKE_DEPS=''

    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    /* confdefs.h */
    #define PACKAGE_NAME "Sage"
    #define PACKAGE_TARNAME "sage"
    #define PACKAGE_VERSION "8.8.beta6"
    #define PACKAGE_STRING "Sage 8.8.beta6"
    #define PACKAGE_BUGREPORT "sage-dev....."
    #define PACKAGE_URL ""

    configure: exit 1
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-loTgzR/setup.py", line 102, in <module>
        cmdclass = {'build_ext': build_ext, 'test': TestCommand},
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/core.py", line 151, 
in setup
        dist.run_commands()
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/dist.py", line 953, 
in run_commands
        self.run_command(cmd)
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/dist.py", line 972, 
in run_command
        cmd_obj.run()
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/setuptools/command/install.py",
 
line 61, in run
        return orig.install.run(self)
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/command/install.py", 
line 563, in run
        self.run_command('build')
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/cmd.py", 
line 326, in run_command
        self.distribution.run_command(command)
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/dist.py", line 972, 
in run_command
        cmd_obj.run()
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/command/build.py", 
line 127, in run
        self.run_command(cmd_name)
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/cmd.py", 
line 326, in run_command
        self.distribution.run_command(command)
      File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/distutils/dist.py", line 972, 
in run_command
        cmd_obj.run()
      File "/tmp/pip-req-build-loTgzR/setup.py", line 63, in run
        subprocess.check_call(["sh", "configure"], env = my_env )
      File "/home/slabbe/GitBox/sage/local/lib/python2.7/subprocess.py", 
line 190, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['sh', 'configure']' returned 
non-zero exit status 1
    Running setup.py install for PyNormaliz: finished with status 'error'
Cleaning up...
  Removing source in /tmp/pip-req-build-loTgzR
Removed build tracker '/tmp/pip-req-tracker-vrYyai'
Command "/home/slabbe/GitBox/sage/local/bin/python2 -u -c "import 
setuptools, 
tokenize;__file__='/tmp/pip-req-build-loTgzR/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg 
install --record /tmp/pip-record-avEj9i/install-record.txt 
--single-version-externally-managed --root 
/home/slabbe/GitBox/sage/local/var/tmp/sage/build/pynormaliz-2.5/inst 
--compile" failed with error code 1 in /tmp/pip-req-build-loTgzR/
Exception information:
Traceback (most recent call last):
  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pip/_internal/cli/base_command.py",
 
line 143, in main
    status = self.run(options, args)
  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pip/_internal/commands/install.py",
 
line 366, in run
    use_user_site=options.use_user_site,
  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pip/_internal/req/__init__.py",
 
line 49, in install_given_reqs
    **kwargs
  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py",
 
line 791, in install
    spinner=spinner,
  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pip/_internal/utils/misc.py",
 
line 705, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command "/home/slabbe/GitBox/sage/local/bin/python2 -u 
-c "import setuptools, 
tokenize;__file__='/tmp/pip-req-build-loTgzR/setup.py';f=getattr(tokenize, 
'open', open)(__file__);code=f.read().replace('\r\n', 
'\n');f.close();exec(compile(code, __file__, 'exec'))" --no-user-cfg 
install --record /tmp/pip-record-avEj9i/install-record.txt 
--single-version-externally-managed --root 
/home/slabbe/GitBox/sage/local/var/tmp/sage/build/pynormaliz-2.5/inst 
--compile" failed with error code 1 in /tmp/pip-req-build-loTgzR/
Error: installing with pip2 failed
********************************************************************************
Error installing pynormaliz-2.5
********************************************************************************

real    0m3.579s
user    0m1.256s
sys    0m0.208s
************************************************************************
Error installing package pynormaliz-2.5
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  /home/slabbe/GitBox/sage/logs/pkgs/pynormaliz-2.5.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/slabbe/GitBox/sage/local/var/tmp/sage/build/pynormaliz-2.5 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/slabbe/GitBox/sage/local/var/tmp/sage/build/pynormaliz-2.5' && 
'/home/slabbe/GitBox/sage/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************



-- 
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 sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/45bfed28-f30c-4e61-8c62-26db27799c7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to