indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.48k stars 239 forks source link

configure: error: C compiler cannot create executables #144

Open mpeters2 opened 5 years ago

mpeters2 commented 5 years ago

Shortened version of output:

no existing PyOxidizer artifacts found
processing config file /Development/Python Projects/pyapp/pyoxidizer.toml
resolving Python distribution...
downloading https://github.com/indygreg/python-build-standalone/releases/download/20190816/cpython-3.7.4-macos-20190817T0220.tar.zst
Python distribution available at /Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/pyoxidizer/cpython-3.7.4-macos-20190817T0220.tar.zst
reading data from Python distribution...
distribution info: PythonDistributionMinimalInfo {
    flavor: "cpython",
    version: "3.7.4",
    os: "macos",
    arch: "x86_64",
    extension_modules: [

...

    ],
    py_module_count: 1948,
}
compiling custom importlib modules to support in-memory importing
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
resolving Python resources (modules, extensions, resource data, etc)...
processing packaging rule: StdlibExtensionsPolicy(PackagingStdlibExtensionsPolicy { policy: "all" })

...

warning: venv contains __file__
warning: warnings contains __file__
__file__ was encountered in some modules; PyOxidizer does not set __file__ and this may create problems at run-time; see https://github.com/indygreg/PyOxidizer/issues/69 for more
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
resolved 0 embedded Python source modules: []
resolved 1027 embedded Python bytecode modules: [

...

    "zipfile",
]
resolved 1027 unique embedded Python modules
resolved 0 embedded resource files across 0 packages: {}
resolved 95 embedded extension modules: {
    "_abc",

...

    "zlib",
}
writing packed Python module and resource data...
10997861 bytes of Python module data written to /Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/pyoxidizer/py-modules
4 bytes of resources data written to /Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/pyoxidizer/python-resources
generating custom link library containing Python...
deriving custom config.c from 95 extension modules
compiling custom config.c to object file
running: "x86_64-apple-darwin13.4.0-clang" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=x86_64-apple-darwin" "-march=core2" "-mtune=haswell" "-mssse3" "-ftree-vectorize" "-fPIC" "-fPIE" "-fstack-protector-strong" "-O2" "-pipe" "-I" "/var/folders/d_/svpdy1848xj2xk001s765gh80000gq/T/libpython.mVz0K13MU9Za" "-std=c99" "-DNDEBUG" "-DPy_BUILD_CORE" "-o" "/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/pyoxidizer/config.o" "-c" "/var/folders/d_/svpdy1848xj2xk001s765gh80000gq/T/libpython.mVz0K13MU9Za/config.c"
exit code: 0
running: "/anaconda3/bin/x86_64-apple-darwin13.4.0-ar" "crs" "/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/pyoxidizer/libpyembeddedconfig.a" "/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/pyoxidizer/config.o"
exit code: 0
resolving inputs for custom Python library...
ignoring config.o since it may conflict with our version

...

exit code: 0
libpythonXY created
writing packaging state to /Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/pyoxidizer/packaging_state.cbor
    Updating crates.io index
    Updating git repository `https://github.com/indygreg/PyOxidizer.git`
  Downloaded jemalloc-sys v0.3.2
  Downloaded jemallocator-global v0.3.2
  Downloaded fs_extra v1.1.0
  Downloaded jemallocator v0.3.2
   Compiling memchr v2.2.1
   Compiling lazy_static v1.4.0
   Compiling autocfg v0.1.6
   Compiling regex-syntax v0.6.12
   Compiling libc v0.2.64
   Compiling fs_extra v1.1.0
   Compiling rand_core v0.4.2
   Compiling cc v1.0.46
   Compiling byteorder v1.3.2
   Compiling cpython v0.2.1 (https://github.com/indygreg/PyOxidizer.git?tag=v0.3.0#ae305ea8)
   Compiling pyembed v0.3.0 (/Development/Python Projects/pyapp/pyembed)
   Compiling cfg-if v0.1.10
   Compiling thread_local v0.3.6
   Compiling rand_core v0.3.1
   Compiling rand_pcg v0.1.2
   Compiling rand_chacha v0.1.1
   Compiling rand v0.6.5
   Compiling num-traits v0.2.8
   Compiling rand_xorshift v0.1.1
   Compiling rand_hc v0.1.0
   Compiling rand_isaac v0.1.1
   Compiling aho-corasick v0.7.6
   Compiling rand_os v0.1.3
   Compiling rand_jitter v0.1.4
   Compiling jemalloc-sys v0.3.2
error: failed to run custom build command for `jemalloc-sys v0.3.2`

Caused by:
  process didn't exit successfully: `/Development/Python Projects/pyapp/build/target/debug/build/jemalloc-sys-14edb9495344ea92/build-script-build` (exit code: 101)
--- stdout
TARGET=x86_64-apple-darwin
HOST=x86_64-apple-darwin
NUM_JOBS=8
OUT_DIR="/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out"
BUILD_DIR="/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/build"
SRC_DIR="/Users/MattPetersonsAccount/.cargo/registry/src/github.com-1ecc6299db9ec823/jemalloc-sys-0.3.2"
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-apple-darwin")
HOST = Some("x86_64-apple-darwin")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = Some("x86_64-apple-darwin13.4.0-clang")
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = Some("-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe")
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CC="x86_64-apple-darwin13.4.0-clang"
CFLAGS="-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe"
JEMALLOC_REPO_DIR="jemalloc"
JEMALLOC_SRC_DIR="/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc"
cargo:rustc-cfg=prefixed
--with-jemalloc-prefix=_rjem_
running: "sh" "/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc/configure" "--disable-cxx" "--with-jemalloc-prefix=_rjem_" "--with-private-namespace=_rjem_" "--host=x86_64-apple-darwin" "--build=x86_64-apple-darwin" "--prefix=/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out"
checking for xsltproc... /anaconda3/bin/xsltproc
checking for x86_64-apple-darwin-gcc... x86_64-apple-darwin13.4.0-clang
checking whether the C compiler works... no

--- stderr
configure: error: in `/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
thread 'main' panicked at 'command did not execute successfully: "sh" "/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc/configure" "--disable-cxx" "--with-jemalloc-prefix=_rjem_" "--with-private-namespace=_rjem_" "--host=x86_64-apple-darwin" "--build=x86_64-apple-darwin" "--prefix=/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out"
expected success, got: exit code: 77', /Users/MattPetersonsAccount/.cargo/registry/src/github.com-1ecc6299db9ec823/jemalloc-sys-0.3.2/build.rs:392:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
error: cargo build failed

Config log:

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

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

$ /Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc/configure --disable-cxx --with-jemalloc-prefix=rjem --with-private-namespace=rjem --host=x86_64-apple-darwin --build=x86_64-apple-darwin --prefix=/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out

---------

Platform.

---------

hostname = MacBook-Pro-8.local uname -m = x86_64 uname -r = 18.7.0 uname -s = Darwin uname -v = Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64

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

/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 Kernel configured for up to 8 processors. 4 processors are physically available. 8 processors are logically available. Processor type: x86_64h (Intel x86-64h Haswell) Processors active: 0 1 2 3 4 5 6 7 Primary memory available: 16.00 gigabytes Default processor set: 656 tasks, 2730 threads, 8 processors Load average: 7.88, Mach factor: 1.44 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /Users/MattPetersonsAccount/.cargo/bin PATH: /Users/MattPetersonsAccount/.cargo/bin PATH: /anaconda3/bin PATH: /anaconda3/condabin PATH: /Library/Frameworks/Python.framework/Versions/3.7/bin PATH: /Library/Frameworks/Python.framework/Versions/3.7/bin PATH: /anaconda3/bin PATH: /Users/MattPetersonsAccount/anaconda3/bin PATH: /usr/local/lib PATH: /usr/local/bin PATH: /Applications/anaconda/bin PATH: /Users/MattPetersonsAccount/anaconda/bin PATH: /Library/Frameworks/Python.framework/Versions/2.7/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /opt PATH: /opt/gnu-mcu-eclipse/arm-none-eabi-gcc/7.2.1-1.1-20180401-0515/bin PATH: /opt/X11/bin PATH: /usr/local/gcc_arm/gcc-arm-none-eabi-7-2018-q2-update/bin

-----------

Core tests.

-----------

configure:2641: checking for xsltproc configure:2659: found /anaconda3/bin/xsltproc configure:2672: result: /anaconda3/bin/xsltproc configure:2713: checking for x86_64-apple-darwin-gcc configure:2740: result: x86_64-apple-darwin13.4.0-clang configure:3009: checking for C compiler version configure:3018: x86_64-apple-darwin13.4.0-clang --version >&5 clang version 4.0.1 (tags/RELEASE_401/final) Target: x86_64-apple-darwin13.4.0 Thread model: posix InstalledDir: /anaconda3/bin configure:3029: $? = 0 configure:3018: x86_64-apple-darwin13.4.0-clang -v >&5 clang version 4.0.1 (tags/RELEASE_401/final) Target: x86_64-apple-darwin13.4.0 Thread model: posix InstalledDir: /anaconda3/bin configure:3029: $? = 0 configure:3018: x86_64-apple-darwin13.4.0-clang -V >&5 clang-4.0: error: argument to '-V' is missing (expected 1 value) clang-4.0: error: no input files configure:3029: $? = 1 configure:3018: x86_64-apple-darwin13.4.0-clang -qversion >&5 clang-4.0: error: unknown argument: '-qversion' clang-4.0: error: no input files configure:3029: $? = 1 configure:3049: checking whether the C compiler works configure:3071: x86_64-apple-darwin13.4.0-clang -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe conftest.c >&5 ld: library not found for -lgcc_s.10.4 clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) configure:3075: $? = 1 configure:3113: result: no configure: failed program was: / confdefs.h / #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" / end confdefs.h. /
int
main ()
{
;
return 0;
}

configure:3118: error: in /Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/build': configure:3120: error: C compiler cannot create executables Seeconfig.log' for more details

----------------

Cache variables.

----------------

ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=x86_64-apple-darwin13.4.0-clang ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=x86_64-apple-darwin13.4.0-clang++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-apple-darwin ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-apple-darwin ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_XSLTPROC=/anaconda3/bin/xsltproc ac_cv_prog_CC=x86_64-apple-darwin13.4.0-clang

-----------------

Output variables.

-----------------

AR='/anaconda3/bin/x86_64-apple-darwin13.4.0-ar' ARFLAGS='' AROUT='' AUTOCONF='' AWK='' BINDIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/bin' CC='x86_64-apple-darwin13.4.0-clang' CC_MM='' CFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' CONFIG='--disable-cxx --with-jemalloc-prefix=rjem --with-private-namespace=rjem --host=x86_64-apple-darwin --build=x86_64-apple-darwin '\''--prefix=/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out'\'' build_alias=x86_64-apple-darwin host_alias=x86_64-apple-darwin CC=x86_64-apple-darwin13.4.0-clang '\''CFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe'\'' '\''LDFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe'\'' '\''CPPFLAGS=-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe'\'' CXX=x86_64-apple-darwin13.4.0-clang++ '\''CXXFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0'\''' CONFIGURE_CFLAGS='' CONFIGURE_CXXFLAGS='' CPP='' CPPFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' CTARGET='' CXX='x86_64-apple-darwin13.4.0-clang++' CXXFLAGS='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0' DATADIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/share' DEFS='' DSO_LDFLAGS='' DUMP_SYMS='' ECHO_C='\c' ECHO_N='' ECHO_T='' EGREP='' EXEEXT='' EXTRA_CFLAGS='' EXTRA_CXXFLAGS='' EXTRA_LDFLAGS='' GREP='' HAVE_CXX14='' INCLUDEDIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/include' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' JEMALLOC_CPREFIX='' JEMALLOC_PREFIX='' LD='/anaconda3/bin/x86_64-apple-darwin13.4.0-ld' LDFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' LDTARGET='' LD_PRELOAD_VAR='' LIBDIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/lib' LIBOBJS='' LIBS='' LM='' LTLIBOBJS='' MANDIR='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/share/man' MKLIB='' NM='/anaconda3/bin/x86_64-apple-darwin13.4.0-nm' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PIC_CFLAGS='' PREFIX='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out' RANLIB='/anaconda3/bin/x86_64-apple-darwin13.4.0-ranlib' RPATH='' RPATH_EXTRA='' SHELL='/bin/sh' SOREV='' SPECIFIED_CFLAGS='-O0 -ffunction-sections -fdata-sections -fPIC -g -fno-omit-frame-pointer --target=x86_64-apple-darwin -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe' SPECIFIED_CXXFLAGS='-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0' TEST_LD_MODE='' XSLROOT='' XSLTPROC='/anaconda3/bin/xsltproc' a='' abi='' abs_objroot='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/build/' abs_srcroot='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc/' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='x86_64-apple-darwin' build_alias='x86_64-apple-darwin' build_cpu='' build_os='' build_vendor='' cfghdrs_in='' cfghdrs_out='' cfgoutputs_in='' cfgoutputs_out='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' enable_autogen='' enable_cache_oblivious='' enable_cxx='no' enable_debug='' enable_fill='' enable_initial_exec_tls='' enable_lazy_lock='' enable_log='' enable_prof='' enable_stats='' enable_tls='' enable_utrace='' enable_xmalloc='' enable_zone_allocator='' exe='' exec_prefix='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out' host='x86_64-apple-darwin' host_alias='x86_64-apple-darwin' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' importlib='' includedir='${prefix}/include' infodir='${datarootdir}/info' installsuffix='' je='' jemalloc_version='' jemalloc_version_bugfix='' jemalloc_version_gid='' jemalloc_version_major='' jemalloc_version_minor='' jemalloc_version_nrev='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libprefix='' link_whole_archive='' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' o='' objroot='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out' private_namespace='' program_transform_name='s,x,x,' psdir='${docdir}' rev='2' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' so='' srcroot='/Development/Python Projects/pyapp/build/target/x86_64-apple-darwin/debug/build/jemalloc-sys-6e65b48d48d75e23/out/jemalloc/' sysconfdir='${prefix}/etc' target_alias=''

-----------

confdefs.h.

-----------

/ confdefs.h /

define PACKAGE_NAME ""

define PACKAGE_TARNAME ""

define PACKAGE_VERSION ""

define PACKAGE_STRING ""

define PACKAGE_BUGREPORT ""

define PACKAGE_URL ""

configure: exit 77 `

indygreg commented 5 years ago

Buried in the output seems to be the core error: ld: library not found for -lgcc_s.10.4.

Since you are building on macOS, you shouldn't be seeing any references to GCC: macOS has used Clang exclusively for years. I'm not sure what is going on here.

The output references Anaconda. It seems that Rust's build system is picking up the Clang on your PATH which is provided by Anaconda? I would consider removing references to Anaconda from your PATH and trying again.

In the long term, PyOxidizer will likely ship its own package containing Clang and other build dependencies so problems like this aren't as likely.