daily pastebin goal
32%
SHARE
TWEET

pyenv_debug_output

n8henrie Nov 1st, 2018 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ PYENV_DEBUG=1 CFLAGS="-I$(brew --prefix openssl)/include" LDFLAGS="-L$(brew --prefix openssl)/lib" pyenv install 3.7.1
  2. + [pyenv:22] enable -f /usr/local/bin/../libexec/pyenv-realpath.dylib realpath
  3. + [pyenv:29] '[' -z '' ']'
  4. ++ [pyenv:31] type -p greadlink readlink
  5. ++ [pyenv:31] head -1
  6. + [pyenv:31] READLINK=/usr/local/bin/greadlink
  7. + [pyenv:32] '[' -n /usr/local/bin/greadlink ']'
  8. + [pyenv:54] '[' -z /usr/local/var/pyenv ']'
  9. + [pyenv:57] PYENV_ROOT=/usr/local/var/pyenv
  10. + [pyenv:59] export PYENV_ROOT
  11. + [pyenv:62] '[' -z '' ']'
  12. + [pyenv:63] '[' -n '' ']'
  13. + [pyenv:79] '[' -z '' ']'
  14. + [pyenv:80] PYENV_DIR=/Users/me/work
  15. + [pyenv:83] '[' '!' -d /Users/me/work ']'
  16. + [pyenv:83] '[' '!' -e /Users/me/work ']'
  17. ++ [pyenv:87] cd /Users/me/work
  18. ++ [pyenv:87] echo /Users/me/work
  19. + [pyenv:87] PYENV_DIR=/Users/me/work
  20. + [pyenv:88] export PYENV_DIR
  21. + [pyenv:91] shopt -s nullglob
  22. ++ [pyenv:93] abs_dirname /usr/local/bin/pyenv
  23. ++ [pyenv:39] local path=/usr/local/bin/pyenv
  24. ++ [pyenv:43] '[' -n /usr/local/bin/pyenv ']'
  25. ++ [pyenv:44] cd /usr/local/bin
  26. ++ [pyenv:45] local name=pyenv
  27. +++ [pyenv:46] resolve_link pyenv
  28. +++ [pyenv:35] /usr/local/bin/greadlink pyenv
  29. ++ [pyenv:46] path=../Cellar/pyenv/1.2.8/bin/pyenv
  30. ++ [pyenv:43] '[' -n ../Cellar/pyenv/1.2.8/bin/pyenv ']'
  31. ++ [pyenv:44] cd ../Cellar/pyenv/1.2.8/bin
  32. ++ [pyenv:45] local name=pyenv
  33. +++ [pyenv:46] resolve_link pyenv
  34. +++ [pyenv:35] /usr/local/bin/greadlink pyenv
  35. ++ [pyenv:46] path=../libexec/pyenv
  36. ++ [pyenv:43] '[' -n ../libexec/pyenv ']'
  37. ++ [pyenv:44] cd ../libexec
  38. ++ [pyenv:45] local name=pyenv
  39. +++ [pyenv:46] resolve_link pyenv
  40. +++ [pyenv:35] /usr/local/bin/greadlink pyenv
  41. +++ [pyenv:46] true
  42. ++ [pyenv:46] path=
  43. ++ [pyenv:43] '[' -n '' ']'
  44. ++ [pyenv:49] pwd
  45. + [pyenv:93] bin_path=/usr/local/Cellar/pyenv/1.2.8/libexec
  46. + [pyenv:97] export PATH=/usr/local/Cellar/pyenv/1.2.8/libexec:/usr/local/var/pyenv/shims:/usr/local/var/pyenv/bin:/Users/me/.cargo/bin:/Users/me/.rbenv/shims:/usr/local/opt/opencv3/bin:/usr/local/heroku/bin:/usr/local/opt/go/libexec/bin:/Users/me/go/bin:/usr/local/opt/ruby23/bin:/usr/local/opt/make/libexec/gnubin:/usr/local/opt/inetutils/libexec/gnubin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/gnu-which/libexec/gnubin:/usr/local/opt/gnu-units/libexec/gnubin:/usr/local/opt/gnu-time/libexec/gnubin:/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/gnu-getopt/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin::/usr/local/bin:/usr/local/sbin:/Users/me/Library/Python/3.6/bin:/Users/me/Library/Python/2.7/bin:/Users/me/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/me/.fzf/bin
  47. + [pyenv:97] PATH=/usr/local/Cellar/pyenv/1.2.8/libexec:/usr/local/var/pyenv/shims:/usr/local/var/pyenv/bin:/Users/me/.cargo/bin:/Users/me/.rbenv/shims:/usr/local/opt/opencv3/bin:/usr/local/heroku/bin:/usr/local/opt/go/libexec/bin:/Users/me/go/bin:/usr/local/opt/ruby23/bin:/usr/local/opt/make/libexec/gnubin:/usr/local/opt/inetutils/libexec/gnubin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/gnu-which/libexec/gnubin:/usr/local/opt/gnu-units/libexec/gnubin:/usr/local/opt/gnu-time/libexec/gnubin:/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/gnu-getopt/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin::/usr/local/bin:/usr/local/sbin:/Users/me/Library/Python/3.6/bin:/Users/me/Library/Python/2.7/bin:/Users/me/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/me/.fzf/bin
  48. + [pyenv:99] PYENV_HOOK_PATH=:/usr/local/var/pyenv/pyenv.d
  49. + [pyenv:100] '[' /usr/local/Cellar/pyenv/1.2.8 '!=' /usr/local/var/pyenv ']'
  50. + [pyenv:102] PYENV_HOOK_PATH=:/usr/local/var/pyenv/pyenv.d:/usr/local/Cellar/pyenv/1.2.8/pyenv.d
  51. + [pyenv:104] PYENV_HOOK_PATH=:/usr/local/var/pyenv/pyenv.d:/usr/local/Cellar/pyenv/1.2.8/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks
  52. + [pyenv:108] PYENV_HOOK_PATH=/usr/local/var/pyenv/pyenv.d:/usr/local/Cellar/pyenv/1.2.8/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks
  53. + [pyenv:109] export PYENV_HOOK_PATH
  54. + [pyenv:111] shopt -u nullglob
  55. + [pyenv:114] command=install
  56. + [pyenv:115] case "$command" in
  57. ++ [pyenv:128] command -v pyenv-install
  58. + [pyenv:128] command_path=/usr/local/bin/pyenv-install
  59. + [pyenv:129] '[' -z /usr/local/bin/pyenv-install ']'
  60. + [pyenv:137] shift 1
  61. + [pyenv:138] '[' 3.7.1 = --help ']'
  62. + [pyenv:145] exec /usr/local/bin/pyenv-install 3.7.1
  63. + [pyenv-install:32] shopt -s nullglob
  64. + [pyenv-install:36] export PYTHON_BUILD_DEFINITIONS
  65. + [pyenv-install:37] shopt -u nullglob
  66. + [pyenv-install:40] '[' 3.7.1 = --complete ']'
  67. ++ [pyenv-install:53] python-build --lib
  68. + [pyenv-install:53] eval 'lib ()
  69. {
  70.     function parse_options ()
  71.     {
  72.         OPTIONS=();
  73.         ARGUMENTS=();
  74.         local arg option index;
  75.         for arg in "$@";
  76.         do
  77.             if [ "${arg:0:1}" = "-" ]; then
  78.                 if [ "${arg:1:1}" = "-" ]; then
  79.                     OPTIONS[${#OPTIONS[*]}]="${arg:2}";
  80.                 else
  81.                     index=1;
  82.                     while option="${arg:$index:1}"; do
  83.                         [ -n "$option" ] || break;
  84.                         OPTIONS[${#OPTIONS[*]}]="$option";
  85.                         index=$(($index+1));
  86.                     done;
  87.                 fi;
  88.             else
  89.                 ARGUMENTS[${#ARGUMENTS[*]}]="$arg";
  90.             fi;
  91.         done
  92.     };
  93.     if [ "$1" == "--$FUNCNAME" ]; then
  94.         declare -f "$FUNCNAME";
  95.         echo "$FUNCNAME \"\$1\";";
  96.         exit;
  97.     fi
  98. }
  99. lib "$1";'
  100. ++ [pyenv-install:84] lib 3.7.1
  101. ++ [pyenv-install:78] '[' 3.7.1 == --lib ']'
  102. + [pyenv-install:69] unset FORCE
  103. + [pyenv-install:70] unset SKIP_EXISTING
  104. + [pyenv-install:71] unset KEEP
  105. + [pyenv-install:72] unset VERBOSE
  106. + [pyenv-install:73] unset HAS_PATCH
  107. + [pyenv-install:74] unset DEBUG
  108. + [pyenv-install:76] parse_options 3.7.1
  109. + [pyenv-install:57] OPTIONS=()
  110. + [pyenv-install:58] ARGUMENTS=()
  111. + [pyenv-install:59] local arg option index
  112. + [pyenv-install:60] for arg in "$@"
  113. + [pyenv-install:62] '[' 3 = - ']'
  114. + [pyenv-install:74] ARGUMENTS[${#ARGUMENTS[*]}]=3.7.1
  115. + [pyenv-install:114] '[' 1 -le 1 ']'
  116. + [pyenv-install:116] unset VERSION_NAME
  117. + [pyenv-install:122] DEFINITION=3.7.1
  118. + [pyenv-install:123] '[' -n 3.7.1 ']'
  119. + [pyenv-install:124] '[' -n 3.7.1 ']'
  120. + [pyenv-install:129] declare -a before_hooks after_hooks
  121. + [pyenv-install:141] OLDIFS='
  122. '
  123. + [pyenv-install:142] IFS='
  124. '
  125. + [pyenv-install:142] scripts=(`pyenv-hooks install`)
  126. ++ [pyenv-install:142] pyenv-hooks install
  127. + [pyenv-hooks:9] '[' install = --complete ']'
  128. + [pyenv-hooks:18] PYENV_COMMAND=install
  129. + [pyenv-hooks:19] '[' -z install ']'
  130. + [pyenv-hooks:24] enable -f /usr/local/Cellar/pyenv/1.2.8/libexec/pyenv-realpath.dylib realpath
  131. + [pyenv-hooks:55] IFS=:
  132. + [pyenv-hooks:55] hook_paths=($PYENV_HOOK_PATH)
  133. + [pyenv-hooks:57] shopt -s nullglob
  134. + [pyenv-hooks:58] for path in "${hook_paths[@]}"
  135. + [pyenv-hooks:58] for path in "${hook_paths[@]}"
  136. + [pyenv-hooks:58] for path in "${hook_paths[@]}"
  137. + [pyenv-hooks:58] for path in "${hook_paths[@]}"
  138. + [pyenv-hooks:58] for path in "${hook_paths[@]}"
  139. + [pyenv-hooks:63] shopt -u nullglob
  140. + [pyenv-install:143] IFS='
  141. '
  142. + [pyenv-install:149] '[' -n '' ']'
  143. + [pyenv-install:149] VERSION_NAME=3.7.1
  144. + [pyenv-install:150] '[' -n '' ']'
  145. + [pyenv-install:151] PREFIX=/usr/local/var/pyenv/versions/3.7.1
  146. + [pyenv-install:153] '[' -d /usr/local/var/pyenv/versions/3.7.1 ']'
  147. + [pyenv-install:157] '[' -d /usr/local/var/pyenv/versions/3.7.1/bin ']'
  148. + [pyenv-install:175] '[' -n '' ']'
  149. + [pyenv-install:182] '[' -z '' ']'
  150. + [pyenv-install:182] '[' -d /usr/local/var/pyenv/cache ']'
  151. + [pyenv-install:186] '[' -z '' ']'
  152. + [pyenv-install:187] case "${VERSION_NAME}" in
  153. + [pyenv-install:193] for version_info in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"
  154. ++ [pyenv-install:195] pyenv-whence python3.7.1
  155. ++ [pyenv-install:195] true
  156. + [pyenv-install:193] for version_info in "${VERSION_NAME%-dev}" "${VERSION_NAME%.*}" "${VERSION_NAME%%.*}"
  157. ++ [pyenv-install:195] pyenv-whence python3.7
  158. + [pyenv-install:195] for version in $(pyenv-whence "python${version_info}" 2>/dev/null || true)
  159. + [pyenv-install:196] [[ 3.7.0 != \a\n\a\c\o\n\d\a* ]]
  160. + [pyenv-install:196] [[ 3.7.0 != \m\i\n\i\c\o\n\d\a* ]]
  161. + [pyenv-install:197] PYENV_BOOTSTRAP_VERSION=3.7.0
  162. + [pyenv-install:198] break 2
  163. + [pyenv-install:230] '[' -n 3.7.0 ']'
  164. + [pyenv-install:231] export PYENV_VERSION=3.7.0
  165. + [pyenv-install:231] PYENV_VERSION=3.7.0
  166. + [pyenv-install:242] trap cleanup SIGINT
  167. + [pyenv-install:245] STATUS=0
  168. + [pyenv-install:246] python-build 3.7.1 /usr/local/var/pyenv/versions/3.7.1
  169. python-build: use openssl from homebrew
  170. python-build: use readline from homebrew
  171. Downloading Python-3.7.1.tar.xz...
  172. -> https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tar.xz
  173. Installing Python-3.7.1...
  174. python-build: use readline from homebrew
  175.  
  176. BUILD FAILED (OS X 10.14 using python-build 20180424)
  177.  
  178. Inspect or clean up the working tree at /var/folders/xv/gqk_1btj70v8gfz8xb0ydw940000gn/T/python-build.20181101195354.61397
  179. Results logged to /var/folders/xv/gqk_1btj70v8gfz8xb0ydw940000gn/T/python-build.20181101195354.61397.log
  180.  
  181. Last 10 log lines:
  182.   "__Py_InitializeFromConfig", referenced from:
  183.       _test_init_from_config in _testembed.o
  184.       _test_init_dev_mode in _testembed.o
  185.       _test_init_isolated in _testembed.o
  186. ld: symbol(s) not found for architecture x86_64
  187. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  188. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  189. make: *** [Makefile:582: python.exe] Error 1
  190. make: *** Waiting for unfinished jobs....
  191. make: *** [Makefile:723: Programs/_testembed] Error 1
  192. + [pyenv-install:246] STATUS=1
  193. + [pyenv-install:249] '[' 1 == 2 ']'
  194. + [pyenv-install:277] '[' 1 == 0 ']'
  195. + [pyenv-install:280] cleanup
  196. + [pyenv-install:239] '[' -z '' ']'
  197. + [pyenv-install:239] rm -rf /usr/local/var/pyenv/versions/3.7.1
  198. + [pyenv-install:283] exit 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top