[MacPorts] #62843: py-cryptography @3.4.7: ports failing to build for MacOS 10.12 and earlier

MacPorts noreply at macports.org
Sat May 8 18:30:08 UTC 2021


#62843: py-cryptography @3.4.7: ports failing to build for MacOS 10.12 and earlier
------------------------------+----------------------
  Reporter:  mascguy          |      Owner:  stromnov
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  py-cryptography  |
------------------------------+----------------------

Comment (by cjones051073):

 Not sure what's going on here. debugging a bit another port showing the
 same, fused, I patched the wrapper script to print the failing command
 (sorry, bit long....)

 {{{
   = note: ld: unknown option:
 -exported_symbols_list,/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/.tmp/rustcDGQ1So/list
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/.home/.cargo/macports/hyper-0.14.7
           /opt/local/libexec/llvm-11/bin/ld
 /opt/local/lib/libMacportsLegacySupport.a -L /opt/local/lib/rustlib/x86_64
 -apple-darwin/lib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.0.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.1.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.10.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.11.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.12.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.13.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.14.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.15.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.2.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.3.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.4.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.5.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.6.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.7.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.8.rcgu.o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.hyper.diqsjegp-
 cgu.9.rcgu.o -o
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libhyper-a4b0e5e3a2a46c9f.dylib
 -exported_symbols_list,/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/.tmp/rustcDGQ1So/list
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/hyper-a4b0e5e3a2a46c9f.lkw390eqixpk2xz.rcgu.o
 -dead_strip -dynamiclib -dylib -L
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps -L
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/release/deps
 -L /opt/local/lib/rustlib/x86_64-apple-darwin/lib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libwant-a285df1206f555f6.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libtry_lock-30a14a7d787f502e.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libsocket2-0674e1316e6e4289.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libh2-7ca1822a883635e0.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libindexmap-01f155597b2be3c4.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libhashbrown-0124d41b1d172c1d.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libtokio_util-1afdc1c47f0bea0c.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libfutures_sink-31fe2d91928d024b.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libhttparse-8a874a201e159c78.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libtower_service-3fee48f50ac4104e.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libfutures_channel-e13571ccf8fa0e5a.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libhttp_body-db223739896f0a40.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libfutures_util-e8ee52e0558927f8.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libfutures_io-c247ee0047fa4ba3.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libslab-7c06fd9b66942bc5.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libfutures_task-8750f938b14dbc70.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libpin_utils-0b4dbfd71b220833.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libfutures_core-87c62082a05b7f5a.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libpin_project-8073a0f0c313dec2.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libtokio-de99dacbb5ded683.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libnum_cpus-111c717377c865f5.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libmemchr-2af7b35b6d476da1.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libmio-03b7383b1df40e4a.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/liblibc-927d181e4465fb44.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libhttp-8263f0a6aeda2e12.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libitoa-016bb70a773dd000.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libbytes-57f3cbfbaa31d51f.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libfnv-c0496f1bd67a4cd6.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libtracing-cbc62f4e125d692b.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libpin_project_lite-0daf4547ac550f74.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libtracing_core-911dd28c0e1da407.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/liblazy_static-d1fc547ba207aea0.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/liblog-f9aefa55e03972e4.rlib
 /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/ffsend-0.2.72/target/x86_64
 -apple-darwin/release/deps/libcfg_if-ab51904cb344c487.rlib
 /opt/local/lib/rustlib/x86_64-apple-darwin/lib/libstd-
 85717d025629e453.rlib /opt/local/lib/rustlib/x86_64-apple-darwin/lib
 /libpanic_unwind-7b93fc750326a2be.rlib /opt/local/lib/rustlib/x86_64
 -apple-darwin/lib/libobject-e0b57a06c6fe8986.rlib
 /opt/local/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-
 1010a375b16ca14e.rlib /opt/local/lib/rustlib/x86_64-apple-darwin/lib
 /libgimli-53fd7cffb1a23848.rlib /opt/local/lib/rustlib/x86_64-apple-
 darwin/lib/librustc_demangle-7382aa49fc87fa87.rlib
 /opt/local/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-
 4713b0a77ad1af37.rlib /opt/local/lib/rustlib/x86_64-apple-darwin/lib
 /librustc_std_workspace_alloc-22bb2f853c557dc7.rlib
 /opt/local/lib/rustlib/x86_64-apple-darwin/lib/libunwind-
 664f179efd682082.rlib /opt/local/lib/rustlib/x86_64-apple-darwin/lib
 /libcfg_if-039cb2e28d943be0.rlib /opt/local/lib/rustlib/x86_64-apple-
 darwin/lib/liblibc-2e47240a720e4361.rlib /opt/local/lib/rustlib/x86_64
 -apple-darwin/lib/liballoc-a512143eec6cedff.rlib
 /opt/local/lib/rustlib/x86_64-apple-darwin/lib
 /librustc_std_workspace_core-b76b9c8edf8d9e8d.rlib
 /opt/local/lib/rustlib/x86_64-apple-darwin/lib/libcore-
 daf51c1efc4a00aa.rlib /opt/local/lib/rustlib/x86_64-apple-darwin/lib
 /libcompiler_builtins-64761f1fd53fac24.rlib -liconv -lSystem -lresolv -lc
 -lm -liconv
 }}}

 and indeed if I run that command by hand in the build area I get the same
 error

 {{{
 ld: unknown option:
 -exported_symbols_list,/opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_net_ffsend/ffsend/work/.tmp/rustcDGQ1So/list
 }}}

 thing is, the linker being used seems to understand it if I try with

 {{{
  > /opt/local/libexec/llvm-11/bin/ld -exported_symbols_list
 ld: missing file after -exported_symbols_list
 }}}

 so that suggests it does know about this flag...

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


More information about the macports-tickets mailing list