Hi!

On 2017-12-07, François Bissey <frp.bis...@gmail.com> wrote:
> OK this looks suspiciously like 
> https://bugs.python.org/issue30074
> which was fixed by 
> https://github.com/python/cpython/pull/1154
> which should be in 2.7.14.
> What I suspect is happening is that those failures happen when
> people upgrade python from 2.7.13 (or older) to 2.7.14.
> I have a feeling that when the extension (and there is more than one failing)
> is loaded to be tested as being successfully built, the wrong libpython is 
> loaded.
> Because of our use of rpath, libpython from python 2.7.13 is used and missing 
> that particular symbol.
> If this is really the case, deleting SAGE_LOCAL/lib/libpython* should be 
> enough
> to fix the issue.

Sorry, I missed your replies before I posted a new thread for a
seemingly different error.

Would the problem you mention also be responsible for the following
failure when building sagelib?

make[3]: Entering directory '/home/king/Sage/git/sage/src'
make[3]: warning: -jN forced in submake: disabling jobserver mode.
cd . && export                                    \
    SAGE_ROOT=/doesnotexist                               \
    SAGE_SRC=/doesnotexist                                \
    SAGE_SRC_ROOT=/doesnotexist                           \
    SAGE_DOC_SRC=/doesnotexist                            \
    SAGE_BUILD_DIR=/doesnotexist                          \
    SAGE_PKGS=/home/king/Sage/git/sage/build/pkgs                \
&& sage-python23 -u setup.py --no-user-cfg build install
Discovering Python/Cython source code....
Discovered Python/Cython sources, time: 0.61 seconds.
running build
Generating auto-generated sources
Building interpreters for fast_callable
-> First build of interpreters
running build_cython
Enabling Cython debugging support
Updating Cython code....
************************************************************************
Traceback (most recent call last):
  File "setup.py", line 942, in <module>
    ext_modules = ext_modules)
  File "/home/king/Sage/git/sage/local/lib/python2.7/distutils/core.py", line 
151, in setup
    dist.run_commands()
  File "/home/king/Sage/git/sage/local/lib/python2.7/distutils/dist.py", line 
953, in run_commands
    self.run_command(cmd)
  File "/home/king/Sage/git/sage/local/lib/python2.7/distutils/dist.py", line 
972, in run_command
    cmd_obj.run()
  File "setup.py", line 847, in run
    build.run(self)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/distutils/command/build.py", line 
127, in run
    self.run_command(cmd_name)
  File "/home/king/Sage/git/sage/local/lib/python2.7/distutils/cmd.py", line 
326, in run_command
    self.distribution.run_command(command)
  File "/home/king/Sage/git/sage/local/lib/python2.7/distutils/dist.py", line 
972, in run_command
    cmd_obj.run()
  File "setup.py", line 370, in run
    cache=False,
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
 line 920, in cythonize
    aliases=aliases)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
 line 815, in create_extension_list
    kwds = deps.distutils_info(file, aliases, base).values
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
 line 670, in distutils_info
    return (self.transitive_merge(filename, self.distutils_info0, 
DistutilsInfo.merge)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
 line 680, in transitive_merge
    node, extract, merge, seen, {}, self.cimported_files)[0]
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
 line 685, in transitive_merge_helper
    deps = extract(node)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
 line 650, in distutils_info0
    cimports, externs, incdirs = self.cimports_externs_incdirs(filename)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Utils.py", 
line 44, in wrapper
    res = cache[args] = f(self, *args)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
 line 555, in cimports_externs_incdirs
    for include in self.included_files(filename):
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Utils.py", 
line 44, in wrapper
    res = cache[args] = f(self, *args)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py",
 line 537, in included_files
    include_path = self.context.find_include_file(include, None)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Compiler/Main.py",
 line 274, in find_include_file
    error(pos, "'%s' not found" % filename)
  File 
"/home/king/Sage/git/sage/local/lib/python2.7/site-packages/Cython/Compiler/Errors.py",
 line 178, in error
    raise InternalError(message)
InternalError: Internal compiler error: 'cysignals/signals.pxi' not found
************************************************************************
Error building the Sage library
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/king/Sage/git/sage/logs/pkgs/sagelib-8.1.rc4.log
Describe your computer, operating system, etc.
************************************************************************
Makefile:33: recipe for target 'sage' failed
make[3]: *** [sage] Error 1
make[3]: Leaving directory '/home/king/Sage/git/sage/src'

real    0m3.904s
user    0m1.916s
sys     0m0.184s


Best regards,
Simon

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