Opened 3 years ago
Last modified 3 years ago
#64449 assigned defect
python310 and python39 fail to configure for x86_64+ppc on 10.6.8: Unknown float word ordering
Reported by: | barracuda156 | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | universal, leopard | Cc: | |
Port: | python310, python39 |
Description
---> Fetching distfiles for python310 ---> Python-3.10.1.tar.xz does not exist in /opt/local/var/macports/distfiles/python310 ---> Attempting to fetch Python-3.10.1.tar.xz from http://distfiles.macports.org/python310 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 17.9M 100 17.9M 0 0 1547k 0 0:00:11 0:00:11 --:--:-- 1670k ---> Verifying checksums for python310 ---> Checksumming Python-3.10.1.tar.xz ---> Extracting python310 ---> Extracting Python-3.10.1.tar.xz Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/python310/Python-3.10.1.tar.xz' | /usr/bin/gnutar --no-same-owner -xf - ---> Applying patches to python310 ---> Applying patch-setup.py.diff Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/python310/files/patch-setup.py.diff' patching file setup.py ---> Applying patch-Lib-cgi.py.diff Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/python310/files/patch-Lib-cgi.py.diff' patching file Lib/cgi.py ---> Applying patch-configure.diff Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/python310/files/patch-configure.diff' patching file configure Hunk #1 succeeded at 3265 (offset 10 lines). Hunk #2 succeeded at 6577 (offset 12 lines). Hunk #3 succeeded at 7594 (offset 12 lines). ---> Applying patch-Lib-ctypes-macholib-dyld.py.diff Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/python310/files/patch-Lib-ctypes-macholib-dyld.py.diff' patching file Lib/ctypes/macholib/dyld.py Hunk #1 succeeded at 28 (offset 5 lines). ---> Applying patch-configure-xcode4bug.diff Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/python310/files/patch-configure-xcode4bug.diff' patching file configure Hunk #1 succeeded at 17379 (offset 269 lines). ---> Applying sysconfig.py.patch Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/python310/files/sysconfig.py.patch' patching file Lib/sysconfig.py Hunk #1 succeeded at 464 (offset 35 lines). ---> Patching cgi.py: s|@@PREFIX@@|/opt/local|g ---> Patching dyld.py: s|@@PREFIX@@|/opt/local|g ---> Patching Makefile.pre.in: s|/setup.py|/setup.py --no-user-cfg| ---> Patching configure: s|@@APPLICATIONS_DIR@@|/Applications/MacPorts| ---> Patching configure: s|@@UNIVERSAL_ARCH_FLAGS@@|-arch x86_64 -arch ppc| ---> Patching configure: s|@@LIPO_32BIT_FLAGS@@|-extract ppc| ---> Patching configure: s|@@LIPO_INTEL64_FLAGS@@|| ---> Patching configure: s|@@ARCH_RUN_32BIT@@|/usr/bin/arch -ppc| ---> Configuring python310 Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-framework=/opt/local/Library/Frameworks --enable-ipv6 --enable-loadable-sqlite-extensions --with-computed-gotos --with-ensurepip=no --with-readline=editline --with-system-expat --with-system-ffi --enable-universalsdk=/ configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-apple-darwin10.8.0 checking host system type... x86_64-apple-darwin10.8.0 checking for python3.10... no checking for python3... no checking for python... python checking for --enable-universalsdk... / checking for --with-universal-archs... 32-bit checking MACHDEP... "darwin" checking for gcc... /usr/bin/gcc-4.2 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 /usr/bin/gcc-4.2 accepts -g... yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for a sed that does not truncate output... /usr/bin/sed checking for --with-cxx-main=<compiler>... no checking for the platform triplet based on compiler characteristics... darwin checking for -Wl,--no-as-needed... no 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 the Android API level... not Android checking for --with-suffix... checking for case-insensitive build directory... yes checking LIBRARY... libpython$(VERSION)$(ABIFLAGS).a checking LINKCC... $(PURIFY) $(MAINCC) checking EXPORTSYMS... checking for GNU ld... no checking for --enable-shared... no checking for --enable-profiling... no checking LDLIBRARY... $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) checking for ar... ar checking for readelf... no checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... ./install-sh -c -d checking for --with-pydebug... no checking for --with-trace-refs... no checking for --with-assertions... no checking for --enable-optimizations... no checking PROFILE_TASK... -m test --pgo --timeout=$(TESTTIMEOUT) checking for --with-lto... no checking for llvm-profdata... no checking for -Wextra... yes checking whether /usr/bin/gcc-4.2 accepts and needs -fno-strict-aliasing... yes checking if we can turn off /usr/bin/gcc-4.2 unused result warning... no checking if we can turn off /usr/bin/gcc-4.2 unused parameter warning... yes checking if we can turn off /usr/bin/gcc-4.2 missing field initializers warning... yes checking if we can turn on /usr/bin/gcc-4.2 mixed sign comparison warning... yes checking if we can turn on /usr/bin/gcc-4.2 unreachable code warning... no checking if we can turn on /usr/bin/gcc-4.2 strict-prototypes warning... no checking if we can make implicit function declaration an error in /usr/bin/gcc-4.2... yes checking if we can use visibility in /usr/bin/gcc-4.2... yes checking which MACOSX_DEPLOYMENT_TARGET to use... 10.5 checking if specified universal architectures work... yes checking whether pthreads are available without options... yes checking whether /usr/bin/g++-4.2 also accepts flags for thread support... no checking for ANSI C header files... (cached) yes checking asm/types.h usability... no checking asm/types.h presence... no checking for asm/types.h... no checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no 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 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 sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... 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 utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/devpoll.h usability... no checking sys/devpoll.h presence... no checking for sys/devpoll.h... no checking sys/epoll.h usability... no checking sys/epoll.h presence... no checking for sys/epoll.h... no checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes checking sys/bsdtty.h usability... no checking sys/bsdtty.h presence... no checking for sys/bsdtty.h... no checking sys/event.h usability... yes checking sys/event.h presence... yes checking for sys/event.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/kern_control.h usability... yes checking sys/kern_control.h presence... yes checking for sys/kern_control.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... yes checking sys/lock.h presence... yes checking for sys/lock.h... yes 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/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/sendfile.h usability... no checking sys/sendfile.h presence... no checking for sys/sendfile.h... no 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/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/sys_domain.h usability... yes checking sys/sys_domain.h presence... yes checking for sys/sys_domain.h... 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/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... 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... no checking pty.h presence... no checking for pty.h... no 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... no checking netpacket/packet.h presence... no checking for netpacket/packet.h... no 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 linux/tipc.h usability... no checking linux/tipc.h presence... no checking for linux/tipc.h... no checking linux/random.h usability... no checking linux/random.h presence... no checking for linux/random.h... no checking spawn.h usability... yes checking spawn.h presence... yes checking for spawn.h... yes checking util.h usability... yes checking util.h presence... yes checking for util.h... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking endian.h usability... no checking endian.h presence... no checking for endian.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/sysmacros.h usability... no checking sys/sysmacros.h presence... no checking for sys/sysmacros.h... no checking linux/memfd.h usability... no checking linux/memfd.h presence... no checking for linux/memfd.h... no checking linux/wait.h usability... no checking linux/wait.h presence... no checking for linux/wait.h... no checking sys/memfd.h usability... no checking sys/memfd.h presence... no checking for sys/memfd.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/eventfd.h usability... no checking sys/eventfd.h presence... no checking for sys/eventfd.h... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether sys/types.h defines makedev... yes checking bluetooth/bluetooth.h usability... no checking bluetooth/bluetooth.h presence... no checking for bluetooth/bluetooth.h... no checking for net/if.h... yes checking for linux/netlink.h... no checking for linux/qrtr.h... no checking for linux/vm_sockets.h... no checking for linux/can.h... no checking for linux/can/bcm.h... no checking for linux/can/j1939.h... no checking for linux/can/raw.h... no checking for clock_t in time.h... yes checking for makedev... yes checking for le64toh... 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 ssize_t... yes checking for __uint128_t... no checking size of int... 4 checking size of long... 8 checking alignment of long... 8 checking size of long 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... 8 checking size of size_t... 8 checking alignment of size_t... 8 checking size of pid_t... 4 checking size of uintptr_t... 8 checking for long double... yes checking size of long double... 16 checking size of _Bool... 1 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 size of pthread_key_t... 8 checking whether pthread_key_t is compatible with int... no checking for --enable-framework... yes checking for dyld... always on for Darwin checking for --with-address-sanitizer... no checking for --with-memory-sanitizer... no checking for --with-undefined-behavior-sanitizer... no checking the extension of shared libraries... .so checking LDSHARED... $(CC) -bundle -undefined dynamic_lookup checking CCSHARED... checking LINKFORSHARED... -Wl,-stack_size,1000000 -framework CoreFoundation $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) checking CFLAGSFORSHARED... $(CCSHARED) checking SHLIBS... $(LIBS) checking for sendfile in -lsendfile... no checking for dlopen in -ldl... yes checking for shl_load in -ldld... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking for uuid_generate_time_safe... no checking for uuid_generate_time in -luuid... no checking for uuid_create... no checking for uuid_enc_be... no checking for library containing sem_init... none required checking for textdomain in -lintl... yes checking aligned memory access is required... no checking for --with-hash-algorithm... default checking for --with-tzpath... "/usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo" checking for t_open in -lnsl... no checking for socket in -lsocket... no checking for --with-libs... no checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for --with-system-expat... yes checking for --with-system-ffi... yes checking for --with-system-libmpdec... no checking for --with-decimal-contextvar... yes checking for --enable-loadable-sqlite-extensions... yes checking for --with-tcltk-includes... default checking for --with-tcltk-libs... default checking for --with-dbmliborder... checking if PTHREAD_SCOPE_SYSTEM is supported... yes checking for pthread_sigmask... yes checking for pthread_getcpuclockid... no checking if --enable-ipv6 is specified... yes checking ipv6 stack type... kame using libc checking for CAN_RAW_FD_FRAMES... no checking for CAN_RAW_JOIN_FILTERS... no checking for --with-doc-strings... yes checking for --with-pymalloc... yes checking for --with-c-locale-coercion... yes checking for --with-valgrind... no checking for --with-dtrace... no checking for dlopen... yes checking DYNLOADFILE... dynload_shlib.o checking MACHDEP_OBJS... none checking for alarm... yes checking for accept4... no 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 close_range... no checking for copy_file_range... no checking for ctermid... yes checking for dup3... no checking for execv... yes checking for explicit_bzero... no checking for explicit_memset... no checking for faccessat... no checking for fchmod... yes checking for fchmodat... no checking for fchown... yes checking for fchownat... no checking for fdwalk... no checking for fexecve... no checking for fdopendir... no checking for fork... yes checking for fpathconf... yes checking for fstatat... no checking for ftime... yes checking for ftruncate... yes checking for futimesat... no checking for futimens... no checking for futimes... yes checking for gai_strerror... yes checking for getentropy... no checking for getgrgid_r... yes checking for getgrnam_r... yes checking for getgrouplist... 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 getpriority... yes checking for getresuid... no checking for getresgid... no checking for getpwent... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for getspnam... no checking for getspent... no checking for getsid... yes checking for getwd... yes checking for if_nameindex... yes checking for initgroups... yes checking for kill... yes checking for killpg... yes checking for lchown... yes checking for lockf... yes checking for linkat... no checking for lstat... yes checking for lutimes... yes checking for mmap... yes checking for memrchr... no checking for mbrtowc... yes checking for mkdirat... no checking for mkfifo... yes checking for madvise... yes checking for mkfifoat... no checking for mknod... yes checking for mknodat... no checking for mktime... yes checking for mremap... no checking for nice... yes checking for openat... no checking for pathconf... yes checking for pause... yes checking for pipe2... no checking for plock... no checking for poll... yes checking for posix_fallocate... no checking for posix_fadvise... no checking for posix_spawn... yes checking for posix_spawnp... yes checking for pread... yes checking for preadv... no checking for preadv2... no checking for pthread_condattr_setclock... no checking for pthread_init... no checking for pthread_kill... yes checking for pwrite... yes checking for pwritev... no checking for pwritev2... no checking for readlink... yes checking for readlinkat... no checking for readv... yes checking for realpath... yes checking for renameat... no checking for sem_open... yes checking for sem_timedwait... no checking for sem_clockwait... no checking for sem_getvalue... yes checking for sem_unlink... yes checking for sendfile... yes checking for setegid... yes checking for seteuid... yes checking for setgid... yes checking for sethostname... yes checking for setlocale... yes checking for setregid... yes checking for setreuid... yes checking for setresuid... no checking for setresgid... no checking for setsid... yes checking for setpgid... yes checking for setpgrp... yes checking for setpriority... yes checking for setuid... yes checking for setvbuf... yes checking for sched_get_priority_max... yes checking for sched_setaffinity... no checking for sched_setscheduler... no checking for sched_setparam... no checking for sched_rr_get_interval... no checking for sigaction... yes checking for sigaltstack... yes checking for sigfillset... yes checking for siginterrupt... yes checking for sigpending... yes checking for sigrelse... yes checking for sigtimedwait... no checking for sigwait... yes checking for sigwaitinfo... no checking for snprintf... yes checking for splice... no checking for strftime... yes checking for strlcpy... yes checking for strsignal... yes checking for symlinkat... no checking for sync... 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... no checking for truncate... yes checking for uname... yes checking for unlinkat... no checking for utimensat... no checking for utimes... yes checking for vfork... yes checking for waitid... yes checking for waitpid... yes checking for wait3... yes checking for wait4... yes checking for wcscoll... yes checking for wcsftime... yes checking for wcsxfrm... yes checking for wmemcmp... yes checking for writev... yes checking for _getpty... no checking for rtpSpawn... no checking for lchmod... yes checking whether dirfd is declared... yes checking for chroot... yes checking for link... yes checking for symlink... yes checking for fchdir... yes checking for fsync... yes checking for fdatasync... no checking for epoll... no checking for epoll_create1... no checking for kqueue... yes checking for prlimit... no checking for _dyld_shared_cache_contains_path... no checking for memfd_create... no checking for eventfd... no checking for ctermid_r... yes 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... yes checking for lchflags... yes 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... yes checking for forkpty... 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 getpgrp... yes checking for setpgrp... (cached) yes checking for library containing crypt... none required checking for library containing crypt_r... no checking for crypt_r... no checking for clock_gettime... no checking for clock_gettime in -lrt... no checking for clock_getres... no checking for clock_getres in -lrt... no checking for clock_settime... no checking for clock_settime in -lrt... no 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... yes checking for struct stat.st_gen... yes checking for struct stat.st_birthtime... no checking for struct stat.st_blocks... yes checking for struct passwd.pw_gecos... yes checking for struct passwd.pw_passwd... yes checking for siginfo_t.si_band... 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 for sockaddr_alg... no checking whether char is unsigned... no checking for an ANSI C-conforming const... 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... yes checking for gethostbyname_r... no checking for gethostbyname... yes checking for __fpu_control... no checking for __fpu_control in -lieee... no checking for --with-libm=STRING... default LIBM="" checking for --with-libc=STRING... default LIBC="" checking for x64 gcc inline assembler... no checking whether float word ordering is bigendian... unknown configure: error: Unknown float word ordering. You need to manually preset ax_cv_c_float_words_bigendian=no (or yes) according to your system. Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-framework=/opt/local/Library/Frameworks --enable-ipv6 --enable-loadable-sqlite-extensions --with-computed-gotos --with-ensurepip=no --with-readline=editline --with-system-expat --with-system-ffi --enable-universalsdk=/ Exit code: 1 Error: Failed to configure python310: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python310/python310/work/Python-3.10.1/config.log
Attachments (3)
Change History (15)
Changed 3 years ago by barracuda156
Changed 3 years ago by barracuda156
Attachment: | config.log added |
---|
comment:1 Changed 3 years ago by barracuda156
Changed 3 years ago by barracuda156
Attachment: | ppc_config.log added |
---|
comment:2 Changed 3 years ago by barracuda156
Port: | python39 added |
---|---|
Summary: | python310 fails to configure for x86_64+ppc on 10.6.8: Unknown float word ordering → python310 and python39 fail to configure for x86_64+ppc on 10.6.8: Unknown float word ordering |
Same error with python39
:
checking whether float word ordering is bigendian... unknown configure: error: Unknown float word ordering. You need to manually preset ax_cv_c_float_words_bigendian=no (or yes) according to your system. Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-framework=/opt/local/Library/Frameworks --enable-ipv6 --enable-loadable-sqlite-extensions --with-computed-gotos --with-ensurepip=no --with-system-expat --with-system-ffi --enable-universalsdk=/ Exit code: 1 Error: Failed to configure python39: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/work/Python-3.9.9/config.log Error: Failed to configure python39: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python39/python39/main.log for details.
comment:3 Changed 3 years ago by reneeotten (Renee Otten)
Keywords: | snow removed |
---|---|
Owner: | set to jmroot |
Status: | new → assigned |
comment:4 follow-up: 5 Changed 3 years ago by kencu (Ken)
you might get this to build in this nonstandard way, by modifying the portfile or the build files directly as per this:
It would take some tweaking, but is probably possible.
I think Josh will just close this ticket, but will leave it for him to decide.
comment:5 Changed 3 years ago by barracuda156
Replying to kencu:
you might get this to build in this nonstandard way, by modifying the portfile or the build files directly as per this: https://github.com/macports/macports-ports/blob/80f4d4019c7adcd98fc9ebb9646cb581dcbeea6c/lang/python310/Portfile#L177 It would take some tweaking, but is probably possible.
I have tried to do that with build files (for ppc+ppc64), and while it worked for python27
, it failed for python38
and later. Specifically, while build itself completes, modules fail to function.
I addressed that here: https://trac.macports.org/ticket/50821#comment:9
And adding legacysupport 1.0
didn’t solve the problem either.
comment:6 follow-up: 7 Changed 3 years ago by kencu (Ken)
the fix for python27 was trivially simple, and is quite different than the python3s.
your path forward, should you care to continue exploring, would be as I mentioned here 64449#comment:4
essentially, the universal build of python3.x in macports is largely driven by the portfile, and a ppc64 pathway is so uncommon that the logic would appear to need to be tweaked to accomodate that.
comment:7 Changed 3 years ago by barracuda156
Replying to kencu:
the fix for python27 was trivially simple, and is quite different than the python3s. your path forward, should you care to continue exploring, would be as I mentioned here 64449#comment:4 essentially, the universal build of python3.x in macports is largely driven by the portfile, and a ppc64 pathway is so uncommon that the logic would appear to need to be tweaked to accomodate that.
I did that in build files via patches. I used BBEdit multi-file search on source code, found all instances on this sort and added ppc64 in a way similar to how x86_64 is added there. In result python38–310 built for me as universal, but some modules failed to work. That is where I got stuck.
I will post specific diff files once I am back to office (they are on Quad locally), if you could take a look.
comment:8 follow-up: 9 Changed 3 years ago by kencu (Ken)
OK, that sounds like progress. Well done.
We have found modules in python do fail to build at times on certain older or non-standard systems, especially the c interface modules I recall. So that is not a complete surprise.
comment:9 Changed 3 years ago by barracuda156
Replying to kencu:
We have found modules in python do fail to build at times on certain older or non-standard systems, especially the c interface modules I recall. So that is not a complete surprise.
By the way how to patch files inside .whl? Like for example: Python-3.8.12/Lib/ensurepip/_bundled/pip-21.1.1-py3-none-any.whl/pip/_vendor/packaging/tags.py
I can see this file in BBEdit, but if I try cd
to there or cp -p
directly, it fails, I get this error:
Sergey-Fedorovs-Mac-mini:Lib svacchanda$ cd /Users/svacchanda/Documents/Python-3.8.12/Lib/ensurepip/_bundled/pip-21.1.1-py3-none-any.whl/pip/_vendor/packaging -bash: cd: /Users/svacchanda/Documents/Python-3.8.12/Lib/ensurepip/_bundled/pip-21.1.1-py3-none-any.whl/pip/_vendor/packaging: Not a directory
So I can edit the original file, but dunno how to generate a patch with diff.
comment:10 follow-up: 11 Changed 3 years ago by bryancn
FWIW, python39 (python39-3.9.10_0.darwin_9.ppc.tbz2) installed successfully on my G5 today using port selfupdate. First time successful in months.
comment:11 Changed 3 years ago by barracuda156
Replying to bryancn:
FWIW, python39 (python39-3.9.10_0.darwin_9.ppc.tbz2) installed successfully on my G5 today using port selfupdate. First time successful in months.
For ppc32? This is a bit strange, I never had issues with installing any python as ppc32 on 10.5.8 PPC.
comment:12 Changed 3 years ago by bryancn
Sorry, I misled you. I was looking at the wrong G5 - one that always succeeded as you say. On the other I had messed with the configuration trying to install pyobjc. This too installed perfectly with a reinstall & clean.
After I added
muniversal 1.0
portgroup, this error happens: