[MacPorts] #57295: python26 @2.6.9: __dyld section not supported (was: python26 build fails on mojave)

MacPorts noreply at macports.org
Mon Oct 8 10:48:20 UTC 2018


#57295: python26 @2.6.9: __dyld section not supported
-----------------------+--------------------
  Reporter:  rlhamil   |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:  mojave
      Port:  python26  |
-----------------------+--------------------
Description changed by ryandesign:

Old description:

> :info:build /usr/bin/clang -L/opt/local/lib
> -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -arch x86_64 -u _PyMac_Error Python.framework/Versions/2.6/Python -o
> python.exe \
> :info:build                     Modules/python.o \
> :info:build                      -ldl  -framework CoreFoundation
> :info:build dyld: __dyld section not supported in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/work/Python-2.6.9/Python.framework/Versions/2.6/Python
> :info:build /bin/sh: line 1: 40649 Abort trap: 6
> DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/work/Python-2.6.9:
> CC='/usr/bin/clang' LDSHARED='/usr/bin/clang -L/opt/local/lib
> -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -arch x86_64 -bundle -undefined dynamic_lookup' LDFLAGS='-L/opt/local/lib
> -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -arch x86_64' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'
> ./python.exe -E ./setup.py -q --no-user-cfg build
> :info:build make: *** [sharedmods] Error 134
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/work/Python-2.6.9'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/work/Python-2.6.9"
> && /usr/bin/make -j8 -w all MAKE="/usr/bin/make CC=/usr/bin/clang"
> :info:build Exit code: 2
> :error:build Failed to build python26: command execution failed

New description:

 {{{
 :info:build /usr/bin/clang -L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -u _PyMac_Error Python.framework/Versions/2.6/Python -o
 python.exe \
 :info:build                     Modules/python.o \
 :info:build                      -ldl  -framework CoreFoundation
 :info:build dyld: __dyld section not supported in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/work/Python-2.6.9/Python.framework/Versions/2.6/Python
 :info:build /bin/sh: line 1: 40649 Abort trap: 6
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/work/Python-2.6.9:
 CC='/usr/bin/clang' LDSHARED='/usr/bin/clang -L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64 -bundle -undefined dynamic_lookup' LDFLAGS='-L/opt/local/lib
 -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -arch x86_64' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'
 ./python.exe -E ./setup.py -q --no-user-cfg build
 :info:build make: *** [sharedmods] Error 134
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/work/Python-2.6.9'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python26/python26/work/Python-2.6.9"
 && /usr/bin/make -j8 -w all MAKE="/usr/bin/make CC=/usr/bin/clang"
 :info:build Exit code: 2
 :error:build Failed to build python26: command execution failed
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/57295#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list