Hello, I'm trying to build sage 8.2 from source on Fedora 28. The build crashes with a segmentation fault. I've always built sage from source in the past and has no problems - until now.
I've included the log file. TIA to anyone who can solve this for me! DN -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Found local metadata for python2-2.7.14.p2 Using cached file /media/data/sage-8.2/upstream/Python-2.7.14.tgz python2-2.7.14.p2 ==================================================== Setting up build directory for python2-2.7.14.p2 Finished extraction Applying patches from ../patches... Applying ../patches/2.6.5-FD_SETSIZE.patch patching file Modules/selectmodule.c Applying ../patches/cygwin64.patch patching file Modules/_ctypes/libffi/src/x86/ffi.c patching file Modules/_ctypes/libffi/src/x86/win64.S patching file Modules/_ctypes/libffi/fficonfig.py.in Applying ../patches/descr_ref-issue_25750.patch patching file Objects/typeobject.c Hunk #1 succeeded at 2608 (offset 66 lines). Hunk #2 succeeded at 2630 (offset 66 lines). Hunk #3 succeeded at 2638 (offset 66 lines). Hunk #4 succeeded at 2650 (offset 66 lines). Hunk #5 succeeded at 2658 (offset 66 lines). Applying ../patches/disable_print_refs_debug.patch patching file Python/pythonrun.c Applying ../patches/getcallargs-issue_20108.patch patching file Lib/inspect.py Hunk #1 succeeded at 894 (offset 2 lines). Applying ../patches/hashlibfallbacks-issue_18000.patch patching file Lib/test/test_hashlib.py patching file setup.py Hunk #2 succeeded at 871 (offset 20 lines). Applying ../patches/linux_linking_issue_25229.patch patching file Lib/distutils/unixccompiler.py Applying ../patches/ncurses-issue_14438.patch patching file Include/py_curses.h Applying ../patches/ncurses-issue_9665.patch patching file configure.ac Hunk #1 succeeded at 1250 (offset 5 lines). patching file configure Hunk #1 succeeded at 6200 (offset 54 lines). Applying ../patches/no_strict_proto-issue_5755.patch patching file configure.ac Hunk #1 succeeded at 1056 (offset 5 lines). patching file configure Hunk #1 succeeded at 5985 (offset 54 lines). Applying ../patches/permissions.patch patching file Makefile.pre.in Hunk #1 succeeded at 63 (offset 4 lines). Applying ../patches/re_match_index-issue_27177.patch patching file Lib/test/test_index.py patching file Modules/_sre.c Hunk #1 succeeded at 3329 (offset 26 lines). Applying ../patches/socket.patch patching file Lib/socket.py Hunk #2 succeeded at 67 with fuzz 1. Applying ../patches/sys_path_security-issue_16202.patch patching file Python/sysmodule.c Applying ../patches/tinfo.patch patching file Lib/distutils/ccompiler.py patching file Lib/distutils/unixccompiler.py Hunk #2 succeeded at 253 (offset 2 lines). Hunk #3 succeeded at 284 (offset 2 lines). Hunk #4 succeeded at 303 (offset 2 lines). Hunk #5 succeeded at 316 (offset 2 lines). patching file setup.py Hunk #1 succeeded at 723 (offset -3 lines). Hunk #2 succeeded at 779 (offset -3 lines). Hunk #3 succeeded at 1371 (offset -6 lines). Applying ../patches/uuid-issue_11063.patch patching file Lib/uuid.py **************************************************** Host system: Linux yamnuska.org 4.16.8-300.fc28.x86_64 #1 SMP Wed May 9 20:23:40 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 8.1.1 20180502 (Red Hat 8.1.1-1) (GCC) **************************************************** checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for python2.7... python2.7 checking for --enable-universalsdk... no checking for --with-universal-archs... 32-bit checking MACHDEP... linux2 checking EXTRAPLATDIR... checking for --without-gcc... no checking for --with-icc... no 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 for --with-cxx-main=<compiler>... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for --with-suffix... checking for case-insensitive build directory... no checking LIBRARY... libpython$(VERSION).a checking LINKCC... $(PURIFY) $(MAINCC) checking for GNU ld... yes checking for --enable-shared... yes checking for --enable-profiling... no checking LDLIBRARY... libpython$(VERSION).so checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for --with-pydebug... no checking whether gcc accepts -fno-strict-aliasing... yes checking whether gcc accepts -OPT:Olimit=0... no checking whether gcc accepts -Olimit 1500... no checking whether gcc supports ParseTuple __format__... no checking for --enable-optimizations... no checking for --with-lto... no checking target system type... x86_64-pc-linux-gnu checking for -llvm-profdata... no checking for llvm-profdata... '' checking whether pthreads are available without options... no checking whether gcc accepts -Kpthread... no checking whether gcc accepts -Kthread... no checking whether gcc accepts -pthread... yes checking whether g++ also accepts flags for thread support... yes checking for ANSI C header files... (cached) yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking io.h usability... no checking io.h presence... no checking for io.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for stdint.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking thread.h usability... no checking thread.h presence... no checking for thread.h... no checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking sys/bsdtty.h usability... no checking sys/bsdtty.h presence... no checking for sys/bsdtty.h... no checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking sys/lock.h usability... no checking sys/lock.h presence... no checking for sys/lock.h... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for sys/stat.h... (cached) yes checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking bluetooth.h usability... no checking bluetooth.h presence... no checking for bluetooth.h... no checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no checking linux/tipc.h usability... yes checking linux/tipc.h presence... yes checking for linux/tipc.h... yes checking spawn.h usability... yes checking spawn.h presence... yes checking for spawn.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether sys/types.h defines makedev... yes checking for linux/netlink.h... yes checking for clock_t in time.h... yes checking for makedev... yes checking Solaris LFS bug... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for uint32_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint64_t... yes checking for int32_t... yes checking for int32_t... yes checking for int64_t... yes checking for int64_t... yes checking for ssize_t... yes checking size of int... 4 checking size of long... 8 checking size of void *... 8 checking size of short... 2 checking size of float... 4 checking size of double... 8 checking size of fpos_t... 16 checking size of size_t... 8 checking size of pid_t... 4 checking for long long support... yes checking size of long long... 8 checking for long double support... yes checking size of long double... 16 checking for _Bool support... yes checking size of _Bool... 1 checking for uintptr_t... yes checking size of uintptr_t... 8 checking size of off_t... 8 checking whether to enable large file support... no checking size of time_t... 8 checking for pthread_t... yes checking size of pthread_t... 8 checking for --enable-toolbox-glue... no checking for --enable-framework... no checking for dyld... no checking SO... .so checking LDSHARED... $(CC) -shared checking CCSHARED... -fPIC checking LINKFORSHARED... -Xlinker -export-dynamic checking CFLAGSFORSHARED... $(CCSHARED) checking SHLIBS... $(LIBS) checking for dlopen in -ldl... yes checking for shl_load in -ldld... no checking for library containing sem_init... -lpthread checking for textdomain in -lintl... no checking for t_open in -lnsl... no checking for socket in -lsocket... no checking for --with-libs... no checking for pkg-config... /media/data/sage-8.2/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for --with-system-expat... no checking for --with-system-ffi... no checking for --with-tcltk-includes... default checking for --with-tcltk-libs... default checking for --with-dbmliborder... checking for --with-signal-module... yes checking for --with-dec-threads... no checking for --with-threads... yes checking if PTHREAD_SCOPE_SYSTEM is supported... yes checking for pthread_sigmask... yes checking for pthread_atfork... yes checking if --enable-ipv6 is specified... yes checking if RFC2553 API is available... yes checking ipv6 stack type... linux-glibc checking for OSX 10.5 SDK or later... no checking for --with-doc-strings... yes checking for --with-tsc... no checking for --with-pymalloc... yes checking for --with-valgrind... no checking for --with-wctype-functions... no checking for dlopen... yes checking DYNLOADFILE... dynload_shlib.o checking MACHDEP_OBJS... MACHDEP_OBJS checking for alarm... yes checking for setitimer... yes checking for getitimer... yes checking for bind_textdomain_codeset... yes checking for chown... yes checking for clock... yes checking for confstr... yes checking for ctermid... yes checking for execv... yes checking for fchmod... yes checking for fchown... yes checking for fork... yes checking for fpathconf... yes checking for ftime... yes checking for ftruncate... yes checking for gai_strerror... yes checking for getgroups... yes checking for getlogin... yes checking for getloadavg... yes checking for getpeername... yes checking for getpgid... yes checking for getpid... yes checking for getentropy... yes checking for getpriority... yes checking for getresuid... yes checking for getresgid... yes checking for getpwent... yes checking for getspnam... yes checking for getspent... yes checking for getsid... yes checking for getwd... yes checking for initgroups... yes checking for kill... yes checking for killpg... yes checking for lchmod... no checking for lchown... yes checking for lstat... yes checking for mkfifo... yes checking for mknod... yes checking for mktime... yes checking for mmap... yes checking for mremap... yes checking for nice... yes checking for pathconf... yes checking for pause... yes checking for plock... no checking for poll... yes checking for pthread_init... no checking for putenv... yes checking for readlink... yes checking for realpath... yes checking for select... yes checking for sem_open... yes checking for sem_timedwait... yes checking for sem_getvalue... yes checking for sem_unlink... yes checking for setegid... yes checking for seteuid... yes checking for setgid... yes checking for setlocale... yes checking for setregid... yes checking for setreuid... yes checking for setsid... yes checking for setpgid... yes checking for setpgrp... yes checking for setuid... yes checking for setvbuf... yes checking for snprintf... yes checking for setlocale... (cached) yes checking for setregid... (cached) yes checking for setreuid... (cached) yes checking for setresuid... yes checking for setresgid... yes checking for setsid... (cached) yes checking for setpgid... (cached) yes checking for setpgrp... (cached) yes checking for setuid... (cached) yes checking for setvbuf... (cached) yes checking for snprintf... (cached) yes checking for sigaction... yes checking for siginterrupt... yes checking for sigrelse... yes checking for strftime... yes checking for sysconf... yes checking for tcgetpgrp... yes checking for tcsetpgrp... yes checking for tempnam... yes checking for timegm... yes checking for times... yes checking for tmpfile... yes checking for tmpnam... yes checking for tmpnam_r... yes checking for truncate... yes checking for uname... yes checking for unsetenv... yes checking for utimes... yes checking for waitpid... yes checking for wait3... yes checking for wait4... yes checking for wcscoll... yes checking for _getpty... no checking for chroot... yes checking for link... yes checking for symlink... yes checking for fchdir... yes checking for fsync... yes checking for fdatasync... yes checking for epoll... yes checking for kqueue... no checking for ctermid_r... no checking for flock declaration... yes checking for flock... yes checking for getpagesize... yes checking for broken unsetenv... no checking for true... true checking for inet_aton in -lc... yes checking for chflags... no checking for lchflags... no checking for inflateCopy in -lz... yes checking for hstrerror... yes checking for inet_aton... yes checking for inet_pton... yes checking for setgroups... yes checking for openpty... no checking for openpty in -lutil... yes checking for forkpty... yes checking for memmove... yes checking for fseek64... no checking for fseeko... yes checking for fstatvfs... yes checking for ftell64... no checking for ftello... yes checking for statvfs... yes checking for dup2... yes checking for getcwd... yes checking for strdup... yes checking for getpgrp... yes checking for setpgrp... (cached) yes checking for gettimeofday... yes checking for major... yes checking for getaddrinfo... yes checking getaddrinfo bug... no checking for getnameinfo... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct stat.st_rdev... yes checking for struct stat.st_blksize... yes checking for struct stat.st_flags... no checking for struct stat.st_gen... no checking for struct stat.st_birthtime... no checking for struct stat.st_blocks... yes checking for time.h that defines altzone... no checking whether sys/select.h and sys/time.h may both be included... yes checking for addrinfo... yes checking for sockaddr_storage... yes checking whether char is unsigned... no checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for working signed char... yes checking for prototypes... yes checking for variable length prototypes and stdarg.h... yes checking for socketpair... yes checking if sockaddr has sa_len member... no checking whether va_list is an array... yes checking for gethostbyname_r... yes checking gethostbyname_r with 6 args... yes checking for __fpu_control... yes checking for --with-fpectl... no checking for --with-libm=STRING... default LIBM="-lm" checking for --with-libc=STRING... default LIBC="" checking whether C doubles are little-endian IEEE 754 binary64... yes checking whether C doubles are big-endian IEEE 754 binary64... no checking whether C doubles are ARM mixed-endian IEEE 754 binary64... no checking whether we can use gcc inline assembler to get and set x87 control word... yes checking for x87-style double rounding... no checking whether tanh preserves the sign of zero... yes checking for acosh... yes checking for asinh... yes checking for atanh... yes checking for copysign... yes checking for erf... yes checking for erfc... yes checking for expm1... yes checking for finite... yes checking for gamma... yes checking for hypot... yes checking for lgamma... yes checking for log1p... yes checking for round... yes checking for tgamma... yes checking whether isinf is declared... yes checking whether isnan is declared... yes checking whether isfinite is declared... yes checking whether POSIX semaphores are enabled... yes checking for broken sem_getvalue... no checking digit size for Python's longs... no value specified checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking size of wchar_t... 4 checking for UCS-4 tcl... no checking whether wchar_t is signed... yes checking what type to use for unicode... no type found checking whether byte ordering is bigendian... no checking whether right shift extends the sign bit... yes checking for getc_unlocked() and friends... yes checking how to link readline libs... -lreadline checking for rl_callback_handler_install in -lreadline... yes checking for rl_pre_input_hook in -lreadline... yes checking for rl_completion_display_matches_hook in -lreadline... yes checking for rl_resize_terminal in -lreadline... yes checking for rl_completion_matches in -lreadline... yes checking for broken nice()... no checking for broken poll()... no checking for struct tm.tm_zone... (cached) yes checking for working tzset()... yes checking for tv_nsec in struct stat... yes checking for tv_nsec2 in struct stat... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for term.h... yes checking whether mvwdelch is an expression... yes checking whether WINDOW has _flags... yes checking for is_term_resized... yes checking for resize_term... yes checking for resizeterm... yes configure: checking for device files checking for /dev/ptmx... yes checking for /dev/ptc... no checking for %lld and %llu printf() format support... yes checking for %zd printf() format support... yes checking for socklen_t... yes checking for build directories... checking for --with-computed-gotos... no value specified checking whether gcc -pthread supports computed gotos... yes done checking for ensurepip... no configure: creating ./config.status config.status: creating Makefile.pre config.status: creating Modules/Setup.config config.status: creating Misc/python.pc config.status: creating Modules/ld_so_aix config.status: creating pyconfig.h creating Modules/Setup creating Modules/Setup.local creating Makefile If you want a release build with all optimizations active (LTO, PGO, etc), please run ./configure --enable-optimizations make[3]: Entering directory '/media/data/sage-8.2/local/var/tmp/sage/build/python2-2.7.14.p2/src' gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/node.o Parser/node.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/boolobject.o Objects/boolobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/bufferobject.o Objects/bufferobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/bytes_methods.o Objects/bytes_methods.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/bytearrayobject.o Objects/bytearrayobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/capsule.o Objects/capsule.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/cellobject.o Objects/cellobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/classobject.o Objects/classobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/cobject.o Objects/cobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/codeobject.o Objects/codeobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/complexobject.o Objects/complexobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/descrobject.o Objects/descrobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/enumobject.o Objects/enumobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/exceptions.o Objects/exceptions.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/genobject.o Objects/genobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/fileobject.o Objects/fileobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/frameobject.o Objects/frameobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/funcobject.o Objects/funcobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/intobject.o Objects/intobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/iterobject.o Objects/iterobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/listobject.o Objects/listobject.c In file included from Include/Python.h:78, from Objects/listobject.c:3: Objects/listobject.c: In function 'list_resize': Include/pymem.h:110:34: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) ^ Include/pymem.h:77:21: note: in definition of macro 'PyMem_REALLOC' : realloc((p), (n) ? (n) : 1)) ^ Objects/listobject.c:62:9: note: in expansion of macro 'PyMem_RESIZE' PyMem_RESIZE(items, PyObject *, new_allocated); ^~~~~~~~~~~~ Objects/listobject.c: In function 'list_ass_subscript': Objects/listobject.c:2649:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] PyMem_MALLOC(slicelength*sizeof(PyObject*)); Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Objects/listobject.c:2730:41: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] PyMem_MALLOC(slicelength*sizeof(PyObject*)); Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c In file included from Include/Python.h:78, from Objects/dictobject.c:10: Objects/dictobject.c: In function 'dictresize': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Objects/dictobject.c:643:20: note: in expansion of macro 'PyMem_NEW' newtable = PyMem_NEW(PyDictEntry, newsize); ^~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/memoryobject.o Objects/memoryobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/methodobject.o Objects/methodobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/moduleobject.o Objects/moduleobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/object.o Objects/object.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/rangeobject.o Objects/rangeobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c In file included from Include/Python.h:78, from Objects/setobject.c:7: Objects/setobject.c: In function 'set_table_resize': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Objects/setobject.c:316:20: note: in expansion of macro 'PyMem_NEW' newtable = PyMem_NEW(setentry, newsize); ^~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/sliceobject.o Objects/sliceobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/stringobject.o Objects/stringobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/structseq.o Objects/structseq.c In file included from Include/Python.h:78, from Objects/structseq.c:4: Objects/structseq.c: In function 'PyStructSequence_InitType': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Objects/structseq.c:504:15: note: in expansion of macro 'PyMem_NEW' members = PyMem_NEW(PyMemberDef, n_members-n_unnamed_members+1); ^~~~~~~~~ Objects/structseq.c: In function 'structseq_repr': Objects/structseq.c:257:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(pbuf, typ->tp_name, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Objects/structseq.c:255:11: note: length computed here len = strlen(typ->tp_name) > TYPE_MAXSIZE ? TYPE_MAXSIZE : ^~~~~~~~~~~~~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/tupleobject.o Objects/tupleobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c In file included from Include/Python.h:78, from Objects/typeobject.c:3: Objects/typeobject.c: In function 'pmerge': Objects/typeobject.c:1514:44: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] remain = (int *)PyMem_MALLOC(SIZEOF_INT*to_merge_size); Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/weakrefobject.o Objects/weakrefobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/asdl.o Python/asdl.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/ast.o Python/ast.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c In file included from Include/Python.h:78, from Python/bltinmodule.c:3: Python/bltinmodule.c: In function 'builtin_map': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Python/bltinmodule.c:975:17: note: in expansion of macro 'PyMem_NEW' if ((seqs = PyMem_NEW(sequence, n)) == NULL) { ^~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/compile.o Python/compile.c Python/compile.c: In function '_Py_Mangle': Python/compile.c:236:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(buffer+1, p, plen); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Python/compile.c:222:12: note: length computed here plen = strlen(p); ^~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/codecs.o Python/codecs.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/errors.o Python/errors.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/frozen.o Python/frozen.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/frozenmain.o Python/frozenmain.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/future.o Python/future.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/getargs.o Python/getargs.c In file included from Include/Python.h:78, from Python/getargs.c:4: Python/getargs.c: In function 'convertsimple': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Python/getargs.c:1133:27: note: in expansion of macro 'PyMem_NEW' *buffer = PyMem_NEW(char, size + 1); ^~~~~~~~~ Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Python/getargs.c:1181:23: note: in expansion of macro 'PyMem_NEW' *buffer = PyMem_NEW(char, size + 1); ^~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/getcompiler.o Python/getcompiler.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/getcopyright.o Python/getcopyright.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -DPLATFORM='"linux2"' -o Python/getplatform.o ./Python/getplatform.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/getversion.o Python/getversion.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/graminit.o Python/graminit.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/import.o Python/import.c In file included from Include/Python.h:78, from Python/import.c:4: Python/import.c: In function '_PyImport_Init': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Python/import.c:165:15: note: in expansion of macro 'PyMem_NEW' filetab = PyMem_NEW(struct filedescr, countD + countS + 1); ^~~~~~~~~ Python/import.c: In function 'PyImport_ExtendInittab': Include/pymem.h:110:34: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] (type *) PyMem_REALLOC((p), (n) * sizeof(type)) ) ^ Include/pymem.h:77:21: note: in definition of macro 'PyMem_REALLOC' : realloc((p), (n) ? (n) : 1)) ^ Python/import.c:3472:5: note: in expansion of macro 'PyMem_RESIZE' PyMem_RESIZE(p, struct _inittab, i+n+1); ^~~~~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -I. -o Python/importdl.o ./Python/importdl.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/marshal.o Python/marshal.c In file included from Include/Python.h:78, from Python/marshal.c:9: Python/marshal.c: In function 'r_object': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ Python/marshal.c:859:18: note: in expansion of macro 'PyMem_NEW' buffer = PyMem_NEW(char, n); ^~~~~~~~~ Python/marshal.c: In function 'PyMarshal_WriteLongToFile': Python/marshal.c:70:35: warning: 'wf.ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \ ^~ Python/marshal.c:70:47: warning: 'wf.end' may be used uninitialized in this function [-Wmaybe-uninitialized] else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \ ^~ Python/marshal.c:77:10: warning: 'wf.str' may be used uninitialized in this function [-Wmaybe-uninitialized] if (p->str == NULL) ~^~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/modsupport.o Python/modsupport.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/mystrtoul.o Python/mystrtoul.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/mysnprintf.o Python/mysnprintf.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/peephole.o Python/peephole.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/pyarena.o Python/pyarena.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/pyctype.o Python/pyctype.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/pyfpe.o Python/pyfpe.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/pymath.o Python/pymath.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/pystate.o Python/pystate.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/random.o Python/random.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/structmember.o Python/structmember.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/sysmodule.o Python/sysmodule.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/traceback.o Python/traceback.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/getopt.o Python/getopt.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/pystrcmp.o Python/pystrcmp.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/pystrtod.o Python/pystrtod.c Python/pystrtod.c: In function 'format_float_short': Python/pystrtod.c:1007:13: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] strncpy(p, "ERR", 3); ^~~~~~~~~~~~~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/dtoa.o Python/dtoa.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/formatter_unicode.o Python/formatter_unicode.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/formatter_string.o Python/formatter_string.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/dynload_shlib.o Python/dynload_shlib.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Python/thread.o Python/thread.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Modules/config.o Modules/config.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -DPYTHONPATH='":plat-linux2:lib-tk:lib-old"' \ -DPREFIX='"/media/data/sage-8.2/local"' \ -DEXEC_PREFIX='"/media/data/sage-8.2/local"' \ -DVERSION='"2.7"' \ -DVPATH='""' \ -o Modules/getpath.o ./Modules/getpath.c ./Modules/getpath.c: In function 'calculate_path': ./Modules/getpath.c:489:17: warning: 'strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] strncpy(argv0_path, tmpbuffer, MAXPATHLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Modules/main.o Modules/main.c gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/threadmodule.c -o Modules/threadmodule.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/signalmodule.c -o Modules/signalmodule.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o In file included from Include/Python.h:78, from ./Modules/posixmodule.c:28: ./Modules/posixmodule.c: In function 'posix_execv': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ ./Modules/posixmodule.c:3185:16: note: in expansion of macro 'PyMem_NEW' argvlist = PyMem_NEW(char *, argc+1); ^~~~~~~~~ ./Modules/posixmodule.c: In function 'posix_execve': Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ ./Modules/posixmodule.c:3261:16: note: in expansion of macro 'PyMem_NEW' argvlist = PyMem_NEW(char *, argc+1); ^~~~~~~~~ Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ ./Modules/posixmodule.c:3282:15: note: in expansion of macro 'PyMem_NEW' envlist = PyMem_NEW(char *, i + 1); ^~~~~~~~~ Include/pymem.h:97:30: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] ( (type *) PyMem_MALLOC((n) * sizeof(type)) ) ) ^ Include/pymem.h:75:15: note: in definition of macro 'PyMem_MALLOC' : malloc((n) ? (n) : 1)) ^ ./Modules/posixmodule.c:3330:13: note: in expansion of macro 'PyMem_NEW' p = PyMem_NEW(char, len); ^~~~~~~~~ ./Modules/posixmodule.c: In function 'posix_major': ./Modules/posixmodule.c:7097:13: warning: In the GNU C Library, "major" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "major", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "major", you should undefine it after including <sys/types.h>. return PyInt_FromLong((long)major(device)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modules/posixmodule.c: In function 'posix_minor': ./Modules/posixmodule.c:7110:13: warning: In the GNU C Library, "minor" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "minor", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including <sys/types.h>. return PyInt_FromLong((long)minor(device)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Modules/posixmodule.c: In function 'posix_makedev': ./Modules/posixmodule.c:7123:13: warning: In the GNU C Library, "makedev" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "makedev", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including <sys/types.h>. return _PyInt_FromDev(makedev(major, minor)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/errnomodule.c -o Modules/errnomodule.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/_sre.c -o Modules/_sre.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/_weakref.c -o Modules/_weakref.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/zipimport.c -o Modules/zipimport.o In function 'read_directory', inlined from 'zipimporter_init' at ./Modules/zipimport.c:129:21: ./Modules/zipimport.c:841:9: warning: 'strncpy' output may be truncated copying between 0 and 4095 bytes from a string of length 4100 [-Wstringop-truncation] strncpy(path + length + 1, name, MAXPATHLEN - length - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/symtablemodule.c -o Modules/symtablemodule.o gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wno-unused -I. -IInclude -I./Include -fPIC -DPy_BUILD_CORE \ -DGITVERSION="\"`LC_ALL=C `\"" \ -DGITTAG="\"`LC_ALL=C `\"" \ -DGITBRANCH="\"`LC_ALL=C `\"" \ -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c rm -f libpython2.7.a ar rc libpython2.7.a Modules/getbuildinfo.o ar rc libpython2.7.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o ar rc libpython2.7.a Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o ar rc libpython2.7.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o Python/thread.o ar rc libpython2.7.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o ar rc libpython2.7.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o ranlib libpython2.7.a if test libpython2.7.so.1.0 != libpython2.7.so; then \ gcc -pthread -shared -L. -L/media/data/sage-8.2/local/lib -Wl,-rpath,/media/data/sage-8.2/local/lib -Wl,-hlibpython2.7.so.1.0 -o libpython2.7.so.1.0 Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o Python/thread.o Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o -lpthread -ldl -lutil -lm ; \ ln -f libpython2.7.so.1.0 libpython2.7.so; \ else \ gcc -pthread -shared -L. -L/media/data/sage-8.2/local/lib -Wl,-rpath,/media/data/sage-8.2/local/lib -o libpython2.7.so Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o Python/thread.o Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/_weakref.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o -lpthread -ldl -lutil -lm ; \ fi Modules/posixmodule.o: In function `posix_tmpnam': /media/data/sage-8.2/local/var/tmp/sage/build/python2-2.7.14.p2/src/./Modules/posixmodule.c:7642: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' Modules/posixmodule.o: In function `posix_tempnam': /media/data/sage-8.2/local/var/tmp/sage/build/python2-2.7.14.p2/src/./Modules/posixmodule.c:7589: warning: the use of `tempnam' is dangerous, better use `mkstemp' gcc -pthread -L. -L/media/data/sage-8.2/local/lib -Wl,-rpath,/media/data/sage-8.2/local/lib -Xlinker -export-dynamic -o python \ Modules/python.o \ -L. -lpython2.7 -lpthread -ldl -lutil -lm LD_LIBRARY_PATH=/media/data/sage-8.2/local/var/tmp/sage/build/python2-2.7.14.p2/src ./python -E -S -m sysconfig --generate-posix-vars ;\ if test $? -ne 0 ; then \ echo "generate-posix-vars failed" ; \ rm -f ./pybuilddir.txt ; \ exit 1 ; \ fi /bin/sh: line 5: 8497 Segmentation fault (core dumped) LD_LIBRARY_PATH=/media/data/sage-8.2/local/var/tmp/sage/build/python2-2.7.14.p2/src ./python -E -S -m sysconfig --generate-posix-vars generate-posix-vars failed make[3]: *** [Makefile:514: pybuilddir.txt] Error 1 make[3]: Leaving directory '/media/data/sage-8.2/local/var/tmp/sage/build/python2-2.7.14.p2/src' Error building Python. real 1m26.239s user 1m10.383s sys 0m14.818s ************************************************************************ Error building package python2-2.7.14.p2 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /media/data/sage-8.2/logs/pkgs/python2-2.7.14.p2.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /media/data/sage-8.2/local/var/tmp/sage/build/python2-2.7.14.p2 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 '/media/data/sage-8.2/local/var/tmp/sage/build/python2-2.7.14.p2' && '/media/data/sage-8.2/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************