Hello,

Sage 9.2 fails to build because of cysignals on macos 10.15.7

Error installing package cysignals-1.10.2

I had been able to build Sage 9.2 from source when it came out. 

Then I tried to install the optional package sirocco, the -i optional 
failed, so I used -p and tried to rebuild sage from source. Now, I'm 
getting this compilation failure.

What should I do?

Thank you for your help,
Pierre Vanhove

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/36288985-134c-4887-894d-d64c3b525fafn%40googlegroups.com.
Found local metadata for cysignals-1.10.2
Using cached file /Users/pierre/local/sage-9.2/upstream/cysignals-1.10.2.tar.gz
cysignals-1.10.2
====================================================
Setting up build directory for cysignals-1.10.2
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Darwin macbookpro-vanhove.dyndns.cern.ch 19.6.0 Darwin Kernel Version 19.6.0: 
Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.27)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
****************************************************
Package 'cysignals' is currently not installed
No legacy uninstaller found for 'cysignals'; nothing to do
Configuring cysignals-1.10.2
configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--disable-dependency-tracking
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 whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/local/bin/ggrep
checking for egrep... /usr/local/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for fork... yes
checking for kill... yes
checking for sigprocmask... yes
checking for sigaltstack... yes
checking for backtrace... yes
checking for library containing pari_init... -lpari
checking whether PARI_SIGINT_block is declared... yes
checking for emms instruction... yes
checking whether setjmp() saves the signal mask... yes
checking for GNU libc... no
checking for _Atomic in C code... yes
checking for _Atomic in C++ code... yes
checking for std::atomic... yes
configure: creating ./config.status
config.status: creating src/cysignals/signals.pxd
config.status: creating src/config.h
config.status: creating src/cysignals/cysignals_config.h
configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--disable-dependency-tracking
Installing cysignals-1.10.2
Ignoring indexes: https://pypi.org/simple
Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-ephem-wheel-cache-szlheziw
Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-usbt5wi4
Initialized build tracking at 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-usbt5wi4
Created build tracker: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-usbt5wi4
Entered build tracker: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-usbt5wi4
Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-wheel-dsj28z3h
Processing 
/Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
  Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-yz8dr29b
  Added 
file:///Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
 to build tracker 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-usbt5wi4'
    Running setup.py 
(path:/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-yz8dr29b/setup.py)
 egg_info for package from 
file:///Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
    Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v
    Running command python setup.py egg_info
    running egg_info
    creating 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v/cysignals.egg-info
    writing 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v/cysignals.egg-info/PKG-INFO
    writing dependency_links to 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v/cysignals.egg-info/dependency_links.txt
    writing requirements to 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v/cysignals.egg-info/requires.txt
    writing top-level names to 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v/cysignals.egg-info/top_level.txt
    writing manifest file 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v/cysignals.egg-info/SOURCES.txt'
    
/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/setuptools/lib2to3_ex.py:13:
 PendingDeprecationWarning: lib2to3 package is deprecated and may not be able 
to parse Python 3.10+
      from lib2to3.refactor import RefactoringTool, get_fixers_from_package
    reading manifest file 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v/cysignals.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    no previously-included directories found matching 'build'
    no previously-included directories found matching 'dist'
    no previously-included directories found matching 'tmp'
    no previously-included directories found matching '.*'
    no previously-included directories found matching 'example/.*'
    writing manifest file 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-63fxxs0v/cysignals.egg-info/SOURCES.txt'
  Source in 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-yz8dr29b 
has version 1.10.2, which satisfies requirement cysignals==1.10.2 from 
file:///Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
  Removed cysignals==1.10.2 from 
file:///Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
 from build tracker 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-usbt5wi4'
Building wheels for collected packages: cysignals
  Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-wheel-tlj3v_xe
  Building wheel for cysignals (setup.py): started
  Destination directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-wheel-tlj3v_xe
  Running command /Users/pierre/local/sage-9.2/local/bin/python3 -u -c 'import 
sys, setuptools, tokenize; sys.argv[0] = 
'"'"'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-yz8dr29b/setup.py'"'"';
 
__file__='"'"'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-yz8dr29b/setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' 
bdist_wheel -d 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-wheel-tlj3v_xe
  running bdist_wheel
  running build
  Compiling src/cysignals/signals.pyx because it changed.
  Compiling src/cysignals/pysignals.pyx because it changed.
  Compiling src/cysignals/alarm.pyx because it changed.
  Compiling src/cysignals/pselect.pyx because it changed.
  Compiling src/cysignals/tests.pyx because it changed.
  [1/5] Cythonizing src/cysignals/alarm.pyx
  [2/5] Cythonizing src/cysignals/pselect.pyx
  [3/5] Cythonizing src/cysignals/pysignals.pyx
  [4/5] Cythonizing src/cysignals/signals.pyx
  [5/5] Cythonizing src/cysignals/tests.pyx
  running build_py
  
/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/setuptools/lib2to3_ex.py:13:
 PendingDeprecationWarning: lib2to3 package is deprecated and may not be able 
to parse Python 3.10+
    from lib2to3.refactor import RefactoringTool, get_fixers_from_package
  creating build/lib.macosx-10.15-x86_64-3.9
  creating build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/__init__.py -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/signals.pxi -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/memory.pxi -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/memory.pxd -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/pysignals.pxd -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/signals.pxd -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/cysignals_config.h -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/macros.h -> build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/struct_signals.h -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/pxi_warning.h -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  running build_ext
  building 'cysignals.signals' extension
  creating build/temp.macosx-10.15-x86_64-3.9
  creating build/temp.macosx-10.15-x86_64-3.9/build
  creating build/temp.macosx-10.15-x86_64-3.9/build/src
  creating build/temp.macosx-10.15-x86_64-3.9/build/src/cysignals
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic 
-DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot 
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk 
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include 
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
 -Wp,-U_FORTIFY_SOURCE -DCYTHON_CLINE_IN_TRACEBACK=0 -U_FORTIFY_SOURCE 
-Isrc/cysignals -Isrc -I/usr/local/include -I/usr/local/opt/openssl@1.1/include 
-I/usr/local/opt/sqlite/include -I/Users/pierre/local/sage-9.2/local/include 
-I/usr/local/Cellar/python@3.9/3.9.1/Frameworks/Python.framework/Versions/3.9/include/python3.9
 -c build/src/cysignals/signals.c -o 
build/temp.macosx-10.15-x86_64-3.9/build/src/cysignals/signals.o -pthread
  In file included from build/src/cysignals/signals.c:1570:
  build/src/cysignals/implementation.c:516:13: warning: unused function 
'print_enhanced_backtrace' [-Wunused-function]
  static void print_enhanced_backtrace(void)
              ^
  1 warning generated.
  gcc -bundle -undefined dynamic_lookup -L/usr/local/lib -isysroot 
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk 
-L/Users/pierre/local/sage-9.2/local/lib 
-Wl,-rpath,/Users/pierre/local/sage-9.2/local/lib -Wp,-U_FORTIFY_SOURCE 
build/temp.macosx-10.15-x86_64-3.9/build/src/cysignals/signals.o 
-L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib 
-o build/lib.macosx-10.15-x86_64-3.9/cysignals/signals.cpython-39-darwin.so 
-lpari -pthread
  ld: illegal thread local variable reference to regular symbol 
_PARI_SIGINT_pending for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
  error: command '/usr/bin/gcc' failed with exit code 1
  Building wheel for cysignals (setup.py): finished with status 'error'
  ERROR: Failed building wheel for cysignals
  Running setup.py clean for cysignals
  Running command /Users/pierre/local/sage-9.2/local/bin/python3 -u -c 'import 
sys, setuptools, tokenize; sys.argv[0] = 
'"'"'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-yz8dr29b/setup.py'"'"';
 
__file__='"'"'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-yz8dr29b/setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean 
--all
  running clean
  removing 'build/temp.macosx-10.15-x86_64-3.9' (and everything under it)
  removing 'build/lib.macosx-10.15-x86_64-3.9' (and everything under it)
  'build/bdist.macosx-10.15-x86_64' does not exist -- can't clean it
  'build/scripts-3.9' does not exist -- can't clean it
Failed to build cysignals
ERROR: Failed to build one or more wheels
Exception information:
Traceback (most recent call last):
  File 
"/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py",
 line 228, in _main
    status = self.run(options, args)
  File 
"/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py",
 line 182, in wrapper
    return func(self, options, args)
  File 
"/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py",
 line 184, in run
    raise CommandError(
pip._internal.exceptions.CommandError: Failed to build one or more wheels
Removed build tracker: 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-usbt5wi4'
********************************************************************************
Error building a wheel for cysignals-1.10.2
********************************************************************************

real    0m16.593s
user    0m8.353s
sys     0m4.121s
************************************************************************
Error installing package cysignals-1.10.2
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  /Users/pierre/local/sage-9.2/logs/pkgs/cysignals-1.10.2.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.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 '/Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2' 
&& '/Users/pierre/local/sage-9.2/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
Found local metadata for cysignals-1.10.2
Using cached file /Users/pierre/local/sage-9.2/upstream/cysignals-1.10.2.tar.gz
cysignals-1.10.2
====================================================
Setting up build directory for cysignals-1.10.2
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Darwin macbookpro-vanhove.dyndns.cern.ch 19.6.0 Darwin Kernel Version 19.6.0: 
Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64
****************************************************
C compiler: gcc
C compiler version:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.27)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
****************************************************
Package 'cysignals' is currently not installed
No legacy uninstaller found for 'cysignals'; nothing to do
Configuring cysignals-1.10.2
configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--disable-dependency-tracking
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 whether we are using the GNU C++ compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/local/bin/ggrep
checking for egrep... /usr/local/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for fork... yes
checking for kill... yes
checking for sigprocmask... yes
checking for sigaltstack... yes
checking for backtrace... yes
checking for library containing pari_init... -lpari
checking whether PARI_SIGINT_block is declared... yes
checking for emms instruction... yes
checking whether setjmp() saves the signal mask... yes
checking for GNU libc... no
checking for _Atomic in C code... yes
checking for _Atomic in C++ code... yes
checking for std::atomic... yes
configure: creating ./config.status
config.status: creating src/cysignals/signals.pxd
config.status: creating src/config.h
config.status: creating src/cysignals/cysignals_config.h
configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--disable-dependency-tracking
Installing cysignals-1.10.2
Ignoring indexes: https://pypi.org/simple
Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-ephem-wheel-cache-q0gwyk4k
Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-z78ie290
Initialized build tracking at 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-z78ie290
Created build tracker: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-z78ie290
Entered build tracker: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-z78ie290
Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-wheel-2n_u_buv
Processing 
/Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
  Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-4xypaene
  Added 
file:///Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
 to build tracker 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-z78ie290'
    Running setup.py 
(path:/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-4xypaene/setup.py)
 egg_info for package from 
file:///Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
    Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a
    Running command python setup.py egg_info
    running egg_info
    creating 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a/cysignals.egg-info
    writing 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a/cysignals.egg-info/PKG-INFO
    writing dependency_links to 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a/cysignals.egg-info/dependency_links.txt
    writing requirements to 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a/cysignals.egg-info/requires.txt
    writing top-level names to 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a/cysignals.egg-info/top_level.txt
    writing manifest file 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a/cysignals.egg-info/SOURCES.txt'
    
/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/setuptools/lib2to3_ex.py:13:
 PendingDeprecationWarning: lib2to3 package is deprecated and may not be able 
to parse Python 3.10+
      from lib2to3.refactor import RefactoringTool, get_fixers_from_package
    reading manifest file 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a/cysignals.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    no previously-included directories found matching 'build'
    no previously-included directories found matching 'dist'
    no previously-included directories found matching 'tmp'
    no previously-included directories found matching '.*'
    no previously-included directories found matching 'example/.*'
    writing manifest file 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-pip-egg-info-sxsid90a/cysignals.egg-info/SOURCES.txt'
  Source in 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-4xypaene 
has version 1.10.2, which satisfies requirement cysignals==1.10.2 from 
file:///Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
  Removed cysignals==1.10.2 from 
file:///Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2/src
 from build tracker 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-z78ie290'
Building wheels for collected packages: cysignals
  Created temporary directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-wheel-7lq5sf1u
  Building wheel for cysignals (setup.py): started
  Destination directory: 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-wheel-7lq5sf1u
  Running command /Users/pierre/local/sage-9.2/local/bin/python3 -u -c 'import 
sys, setuptools, tokenize; sys.argv[0] = 
'"'"'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-4xypaene/setup.py'"'"';
 
__file__='"'"'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-4xypaene/setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' 
bdist_wheel -d 
/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-wheel-7lq5sf1u
  running bdist_wheel
  running build
  Compiling src/cysignals/signals.pyx because it changed.
  Compiling src/cysignals/pysignals.pyx because it changed.
  Compiling src/cysignals/alarm.pyx because it changed.
  Compiling src/cysignals/pselect.pyx because it changed.
  Compiling src/cysignals/tests.pyx because it changed.
  [1/5] Cythonizing src/cysignals/alarm.pyx
  [2/5] Cythonizing src/cysignals/pselect.pyx
  [3/5] Cythonizing src/cysignals/pysignals.pyx
  [4/5] Cythonizing src/cysignals/signals.pyx
  [5/5] Cythonizing src/cysignals/tests.pyx
  running build_py
  
/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/setuptools/lib2to3_ex.py:13:
 PendingDeprecationWarning: lib2to3 package is deprecated and may not be able 
to parse Python 3.10+
    from lib2to3.refactor import RefactoringTool, get_fixers_from_package
  creating build/lib.macosx-10.15-x86_64-3.9
  creating build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/__init__.py -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/signals.pxi -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/memory.pxi -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/memory.pxd -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/pysignals.pxd -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/signals.pxd -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/cysignals_config.h -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/macros.h -> build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/struct_signals.h -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  copying src/cysignals/pxi_warning.h -> 
build/lib.macosx-10.15-x86_64-3.9/cysignals
  running build_ext
  building 'cysignals.signals' extension
  creating build/temp.macosx-10.15-x86_64-3.9
  creating build/temp.macosx-10.15-x86_64-3.9/build
  creating build/temp.macosx-10.15-x86_64-3.9/build/src
  creating build/temp.macosx-10.15-x86_64-3.9/build/src/cysignals
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic 
-DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -isysroot 
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk 
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include 
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
 -Wp,-U_FORTIFY_SOURCE -DCYTHON_CLINE_IN_TRACEBACK=0 -U_FORTIFY_SOURCE 
-Isrc/cysignals -Isrc -I/usr/local/include -I/usr/local/opt/openssl@1.1/include 
-I/usr/local/opt/sqlite/include -I/Users/pierre/local/sage-9.2/local/include 
-I/usr/local/Cellar/python@3.9/3.9.1/Frameworks/Python.framework/Versions/3.9/include/python3.9
 -c build/src/cysignals/signals.c -o 
build/temp.macosx-10.15-x86_64-3.9/build/src/cysignals/signals.o -pthread
  In file included from build/src/cysignals/signals.c:1570:
  build/src/cysignals/implementation.c:516:13: warning: unused function 
'print_enhanced_backtrace' [-Wunused-function]
  static void print_enhanced_backtrace(void)
              ^
  1 warning generated.
  gcc -bundle -undefined dynamic_lookup -L/usr/local/lib -isysroot 
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk 
-L/Users/pierre/local/sage-9.2/local/lib 
-Wl,-rpath,/Users/pierre/local/sage-9.2/local/lib -Wp,-U_FORTIFY_SOURCE 
build/temp.macosx-10.15-x86_64-3.9/build/src/cysignals/signals.o 
-L/usr/local/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/sqlite/lib 
-o build/lib.macosx-10.15-x86_64-3.9/cysignals/signals.cpython-39-darwin.so 
-lpari -pthread
  ld: illegal thread local variable reference to regular symbol 
_PARI_SIGINT_block for architecture x86_64
  clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
  error: command '/usr/bin/gcc' failed with exit code 1
  Building wheel for cysignals (setup.py): finished with status 'error'
  ERROR: Failed building wheel for cysignals
  Running setup.py clean for cysignals
  Running command /Users/pierre/local/sage-9.2/local/bin/python3 -u -c 'import 
sys, setuptools, tokenize; sys.argv[0] = 
'"'"'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-4xypaene/setup.py'"'"';
 
__file__='"'"'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-build-4xypaene/setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean 
--all
  running clean
  removing 'build/temp.macosx-10.15-x86_64-3.9' (and everything under it)
  removing 'build/lib.macosx-10.15-x86_64-3.9' (and everything under it)
  'build/bdist.macosx-10.15-x86_64' does not exist -- can't clean it
  'build/scripts-3.9' does not exist -- can't clean it
Failed to build cysignals
ERROR: Failed to build one or more wheels
Exception information:
Traceback (most recent call last):
  File 
"/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py",
 line 228, in _main
    status = self.run(options, args)
  File 
"/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py",
 line 182, in wrapper
    return func(self, options, args)
  File 
"/Users/pierre/local/sage-9.2/local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py",
 line 184, in run
    raise CommandError(
pip._internal.exceptions.CommandError: Failed to build one or more wheels
Removed build tracker: 
'/private/var/folders/fj/hhdkjbx57yb2kx64bwgym4340000gq/T/pip-req-tracker-z78ie290'
********************************************************************************
Error building a wheel for cysignals-1.10.2
********************************************************************************

real    0m11.191s
user    0m6.123s
sys     0m3.097s
************************************************************************
Error installing package cysignals-1.10.2
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  /Users/pierre/local/sage-9.2/logs/pkgs/cysignals-1.10.2.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.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 '/Users/pierre/local/sage-9.2/local/var/tmp/sage/build/cysignals-1.10.2' 
&& '/Users/pierre/local/sage-9.2/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

Reply via email to