andrewchambers / hpkgs

A package repository for hermes
45 stars 3 forks source link

Error linking python3 #128

Open jmckernon opened 2 months ago

jmckernon commented 2 months ago

Some kind of error linking the python3 package, seemingly to libffi but I'm not quite sure - not very experienced with linking C libraries. Something to do with musl vs gcc libc?

Having fixed up an issue with zlib.hpkg (see https://github.com/andrewchambers/hpkgs/issues/127), I got the error 'C compiler cannot create executables' on trying to build python3.hpkg. config.log below. (By the way, it's tricky to grab the logs before hermes clears out the temp build dir. Would an option to keep it for debugging purposes be a sensible option?)

I'm happy to have a go at patching this myself if anyone can give some direction, but as it is I don't really know where to start. Thanks!

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by python configure 3.8, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --with-openssl=/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl --prefix=/home/myuser/hermes-store/hpkg/df8436f5fb4033aa869d5ebeba45a2a1bacfc4c8-python3

## --------- ##
## Platform. ##
## --------- ##

hostname = myuser-desktop
uname -m = x86_64
uname -r = 6.6.1-arch1-1
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Wed, 08 Nov 2023 16:05:38 +0000

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/myuser/hermes-store/hpkg/d50244062c7e09686bde8977170b0d7293e0a206-awk/bin
PATH: /home/myuser/hermes-store/hpkg/69b8518e1112d27557c8eea4a0a88ae8bdaf9e46-coreutils/bin
PATH: /home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin
PATH: /home/myuser/hermes-store/hpkg/14a8c14bfc36d0cf9a7fccab59c589c0e168e911-grep/bin
PATH: /home/myuser/hermes-store/hpkg/e18f882990f16efafa300322934375390db487f7-make/bin
PATH: /home/myuser/hermes-store/hpkg/5cc60d724bd13353138084b17bf8b51355386762-pkgconf/bin
PATH: /home/myuser/hermes-store/hpkg/03ed1e4f5f17463c7276e3c3d8c52a472a3ebd95-sed/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2820: checking build system type
configure:2834: result: x86_64-pc-linux-gnu
configure:2854: checking host system type
configure:2867: result: x86_64-pc-linux-gnu
configure:2897: checking for python3.8
configure:2927: result: no
configure:2897: checking for python3
configure:2927: result: no
configure:2897: checking for python
configure:2927: result: no
configure:3018: checking for --enable-universalsdk
configure:3065: result: no
configure:3088: checking for --with-universal-archs
configure:3103: result: no
configure:3259: checking MACHDEP
configure:3310: result: "linux"
configure:3604: checking for gcc
configure:3620: found /home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/gcc
configure:3631: result: gcc
configure:3860: checking for C compiler version
configure:3869: gcc --version >&5
gcc (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3880: $? = 0
configure:3869: gcc -v >&5
Reading specs from /home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/lib/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../libexec/gcc/x86_64-linux-musl/9.2.0/lto-wrapper
Target: x86_64-linux-musl
Configured with: ../src_gcc/configure --enable-languages=c,c++ --enable-new-dtags CC='gcc -static --static' CXX='g++ -static --static' CFLAGS=-O3 CXXFLAGS=-O3 LDFLAGS=-s --disable-libquadmath --disable-decimal-float --disable-libitm --disable-fixed-point --disable-bootstrap --disable-assembly --disable-werror --target=x86_64-linux-musl --prefix= --libdir=/lib --disable-multilib --with-sysroot=/x86_64-linux-musl --enable-tls --disable-libmudflap --disable-libsanitizer --disable-gnu-indirect-function --disable-libmpx --enable-libstdcxx-time=rt --with-build-sysroot=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_sysroot AR_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/binutils/ar AS_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/gas/as-new LD_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/ld/ld-new NM_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/binutils/nm-new OBJCOPY_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/binutils/objcopy OBJDUMP_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/binutils/objdump RANLIB_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/binutils/ranlib READELF_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/binutils/readelf STRIP_FOR_TARGET=/tmp/hermes-tmpdir.MmcHjA/build/build/local/x86_64-linux-musl/obj_binutils/binutils/strip-new --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
Thread model: posix
gcc version 9.2.0 (GCC) 
configure:3880: $? = 0
configure:3869: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3880: $? = 1
configure:3869: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3880: $? = 1
configure:3900: checking whether the C compiler works
configure:3922: gcc -O2 -fstack-protector -fPIC -DTHREAD_STACK_SIZE=0x100000 -I/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/include -I/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/include -I/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/include -O2 -fstack-protector -fPIC -DTHREAD_STACK_SIZE=0x100000 -I/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/include -I/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/include -I/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/include -s -L/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib -lffi -L/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib -lcrypto -lssl -L/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib -lz -Wl,-rpath=/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib:/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib:/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib conftest.c  >&5
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: warning: libc.so.6, needed by /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so, not found (try using -rpath or -rpath-link)
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `mmap@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `sysconf@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `__stack_chk_fail@GLIBC_2.4'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `close@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `unlink@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `strchr@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `setmntent@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `endmntent@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `getenv@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `pthread_mutex_init@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `pthread_mutex_unlock@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `memcpy@GLIBC_2.14'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `mkostemp@GLIBC_2.7'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `pthread_mutex_lock@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `abort@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `free@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `__getdelim@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `access@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `statfs@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `hasmntopt@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `strlen@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `munmap@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `strncmp@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `__errno_location@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `write@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `memset@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `getmntent_r@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `ftruncate@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `fclose@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `fopen@GLIBC_2.2.5'
/home/myuser/hermes-store/hpkg/9458fdca3fdedf1048c80d41350e0a4b53d8ce96-gcc/bin/../lib/gcc/x86_64-linux-musl/9.2.0/../../../../x86_64-linux-musl/bin/ld: /home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib/libffi.so: undefined reference to `open@GLIBC_2.2.5'
collect2: error: ld returned 1 exit status
configure:3926: $? = 1
configure:3964: result: no
configure: failed program was:
| /* confdefs.h */
| #define _GNU_SOURCE 1
| #define _NETBSD_SOURCE 1
| #define __BSD_VISIBLE 1
| #define _DARWIN_C_SOURCE 1
| #define _PYTHONFRAMEWORK ""
| #define _XOPEN_SOURCE 700
| #define _XOPEN_SOURCE_EXTENDED 1
| #define _POSIX_C_SOURCE 200809L
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3969: error: in `/tmp/hermes-tmpdir.KoOiOb/build':
configure:3971: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -fstack-protector -fPIC -DTHREAD_STACK_SIZE=0x100000 -I/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/include -I/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/include -I/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/include'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-O2 -fstack-protector -fPIC -DTHREAD_STACK_SIZE=0x100000 -I/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/include -I/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/include -I/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-s -L/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib -lffi -L/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib -lcrypto -lssl -L/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib -lz -Wl,-rpath=/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib:/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib:/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_MACHDEP_set=
ac_cv_env_MACHDEP_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/pkgconfig:/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib/pkgconfig:/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PROFILE_TASK_set=
ac_cv_env_PROFILE_TASK_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_prog_ac_ct_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABIFLAGS=''
ALT_SOABI=''
AR=''
ARCH_RUN_32BIT=''
ARFLAGS=''
BASECFLAGS=''
BASECPPFLAGS=''
BLDLIBRARY=''
BLDSHARED=''
BUILDEXEEXT=''
CC='gcc'
CCSHARED=''
CFLAGS='-O2 -fstack-protector -fPIC -DTHREAD_STACK_SIZE=0x100000 -I/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/include -I/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/include -I/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/include'
CFLAGSFORSHARED=''
CFLAGS_ALIASING=''
CFLAGS_NODIST=''
CONFIGURE_MACOSX_DEPLOYMENT_TARGET=''
CONFIG_ARGS=' '\''--with-openssl=/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl'\'' '\''--prefix=/home/myuser/hermes-store/hpkg/df8436f5fb4033aa869d5ebeba45a2a1bacfc4c8-python3'\'' '\''CFLAGS=-O2 -fstack-protector -fPIC -DTHREAD_STACK_SIZE=0x100000 -I/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/include -I/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/include -I/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/include'\'' '\''LDFLAGS=-s -L/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib -lffi -L/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib -lcrypto -lssl -L/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib -lz -Wl,-rpath=/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib:/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib:/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib'\'' '\''CPPFLAGS=-O2 -fstack-protector -fPIC -DTHREAD_STACK_SIZE=0x100000 -I/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/include -I/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/include -I/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/include'\'' '\''PKG_CONFIG_PATH=/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/pkgconfig:/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib/pkgconfig:/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib/pkgconfig'\'''
CPP=''
CPPFLAGS='-O2 -fstack-protector -fPIC -DTHREAD_STACK_SIZE=0x100000 -I/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/include -I/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/include -I/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/include'
CXX=''
DEFS=''
DEF_MAKE_ALL_RULE=''
DEF_MAKE_RULE=''
DFLAGS=''
DLINCLDIR=''
DLLLIBRARY=''
DTRACE=''
DTRACE_HEADERS=''
DTRACE_OBJS=''
DYNLOADFILE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENSUREPIP=''
EXEEXT=''
EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
EXT_SUFFIX=''
FRAMEWORKALTINSTALLFIRST=''
FRAMEWORKALTINSTALLLAST=''
FRAMEWORKINSTALLAPPSPREFIX=''
FRAMEWORKINSTALLFIRST=''
FRAMEWORKINSTALLLAST=''
FRAMEWORKPYTHONW=''
FRAMEWORKUNIXTOOLSPREFIX='/home/myuser/hermes-store/hpkg/df8436f5fb4033aa869d5ebeba45a2a1bacfc4c8-python3'
GITBRANCH=''
GITTAG=''
GITVERSION=''
GNULD=''
GREP=''
HAS_GIT='no-repository'
HAVE_GETHOSTBYNAME=''
HAVE_GETHOSTBYNAME_R=''
HAVE_GETHOSTBYNAME_R_3_ARG=''
HAVE_GETHOSTBYNAME_R_5_ARG=''
HAVE_GETHOSTBYNAME_R_6_ARG=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTSONAME=''
LDCXXSHARED=''
LDFLAGS='-s -L/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/../lib -lffi -L/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib -lcrypto -lssl -L/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib -lz -Wl,-rpath=/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib:/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib:/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib'
LDFLAGS_NODIST=''
LDLIBRARY=''
LDLIBRARYDIR=''
LDSHARED=''
LDVERSION=''
LIBC=''
LIBFFI_INCLUDEDIR=''
LIBM=''
LIBOBJS=''
LIBPL=''
LIBPYTHON=''
LIBRARY=''
LIBS=''
LIBTOOL_CRUFT=''
LINKCC=''
LINKFORSHARED=''
LIPO_32BIT_FLAGS=''
LLVM_AR=''
LLVM_AR_FOUND=''
LLVM_PROFDATA=''
LLVM_PROF_ERR=''
LLVM_PROF_FILE=''
LLVM_PROF_FOUND=''
LLVM_PROF_MERGER=''
LN=''
LTLIBOBJS=''
MACHDEP='linux'
MACHDEP_OBJS=''
MAINCC=''
MKDIR_P=''
MULTIARCH=''
MULTIARCH_CPPFLAGS=''
NO_AS_NEEDED=''
OBJEXT=''
OPENSSL_INCLUDES=''
OPENSSL_LDFLAGS=''
OPENSSL_LIBS=''
OPT=''
OTHER_LIBTOOL_OPT=''
PACKAGE_BUGREPORT='https://bugs.python.org/'
PACKAGE_NAME='python'
PACKAGE_STRING='python 3.8'
PACKAGE_TARNAME='python'
PACKAGE_URL=''
PACKAGE_VERSION='3.8'
PATH_SEPARATOR=':'
PGO_PROF_GEN_FLAG=''
PGO_PROF_USE_FLAG=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/home/myuser/hermes-store/hpkg/50da714b664586c23bafd304c66cac57b955dfde-libffi/lib/pkgconfig:/home/myuser/hermes-store/hpkg/7b18452b87d0659ccef336fbb06d0760959cf99e-openssl/lib/pkgconfig:/home/myuser/hermes-store/hpkg/3cddf503b85e4abc6e6c71f7968e84f9041e40f2-zlib/lib/pkgconfig'
PLATFORM_TRIPLET=''
PROFILE_TASK=''
PY3LIBRARY=''
PYTHONFRAMEWORK=''
PYTHONFRAMEWORKDIR='no-framework'
PYTHONFRAMEWORKIDENTIFIER='org.python.python'
PYTHONFRAMEWORKINSTALLDIR=''
PYTHONFRAMEWORKPREFIX=''
PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
PYTHON_FOR_REGEN='python3'
PY_ENABLE_SHARED=''
READELF=''
RUNSHARED=''
SED=''
SHELL='/bin/sh'
SHLIBS=''
SHLIB_SUFFIX=''
SOABI=''
SOVERSION='1.0'
SRCDIRS=''
TCLTK_INCLUDES=''
TCLTK_LIBS=''
THREADHEADERS=''
TRUE=''
UNIVERSALSDK=''
UNIVERSAL_ARCH_FLAGS=''
VERSION='3.8'
_PYTHON_HOST_PLATFORM=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_READELF=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/myuser/hermes-store/hpkg/df8436f5fb4033aa869d5ebeba45a2a1bacfc4c8-python3'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define _GNU_SOURCE 1
#define _NETBSD_SOURCE 1
#define __BSD_VISIBLE 1
#define _DARWIN_C_SOURCE 1
#define _PYTHONFRAMEWORK ""
#define _XOPEN_SOURCE 700
#define _XOPEN_SOURCE_EXTENDED 1
#define _POSIX_C_SOURCE 200809L

configure: exit 77