lf- / nix-otel

Nix OpenTelemetry sender plugin
MIT License
60 stars 5 forks source link

Build fails on `aarch64-darwin` #9

Closed Gabriella439 closed 1 year ago

Gabriella439 commented 1 year ago

The relevant part appears to be:

$ nix build
…
  = note: ld: framework not found Security
          clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

The following warnings were emitted during compilation:

warning: clang-11: warning: -lnixexpr: 'linker' input unused [-Wunused-command-line-argument]
warning: clang-11: warning: -lnixstore: 'linker' input unused [-Wunused-command-line-argument]
warning: clang-11: warning: -lnixutil: 'linker' input unused [-Wunused-command-line-argument]
warning: clang-11: warning: -lgc: 'linker' input unused [-Wunused-command-line-argument]
warning: clang-11: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument]
warning: clang-11: warning: -lnixstore: 'linker' input unused [-Wunused-command-line-argument]
warning: clang-11: warning: -lnixutil: 'linker' input unused [-Wunused-command-line-argument]
warning: clang-11: warning: -lnixmain: 'linker' input unused [-Wunused-command-line-argument]
warning: clang-11: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument]
warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/grcylffxcbh8l3rghxq3nhi8yi4s5gsf-boehm-gc-8.2.2/lib"' [-Wunused-command-line-argument]
warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument]
warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument]

error: could not compile `nix-otel-plugin` due to previous error
Full log output ``` warning: clang-11: warning: -lnixexpr: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixstore: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixutil: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lgc: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixstore: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixutil: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixmain: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/grcylffxcbh8l3rghxq3nhi8yi4s5gsf-boehm-gc-8.2.2/lib"' [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument] error: linking with `cc` failed: exit status: 1 | = note: "cc" "-Wl,-exported_symbols_list,/tmp/nix-shell.CbTiyD/rustcQn8pSR/list" "-arch" "arm64" "/tmp/nix-shell.CbTiyD/rustcQn8pSR/symbols.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.13ap4deuvvidk6y8.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1596x4bdpabii575.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.15aab1md7gu1ouq8.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.15egwx1zxkk6hh5g.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.162y2esecb0jbq76.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.18ekwbprj4vsovn6.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1apsj15wj71u1tjt.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1c49eoq2fsvohhob.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1ho8ywa6gy3tva5p.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1jbqaeg6wj0lx8tp.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1jf0nstqjvulhy8m.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1jzd3uhfk1d5yz9m.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1k0jejd3ags98ebp.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1k6hdkfxrbhdz55s.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1kfjxa982j98dpun.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1l06bzz3buwqf2zs.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1lat6d7kyoskaens.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1mel8zry5xvdop6d.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1n4fyq6l7r9urrv1.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1oaqhxc61bx7w69n.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1op3isuckqj4yb67.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1oshapnjuki0q7h9.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1owjg94saqi71evs.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1ph36jswqdi9ahg6.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1qz08gkc2tzud5mx.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1rqwef051h2w01ve.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1s52dmep1zc4jp8f.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1tetfga7fmsxi36h.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1uw70dehr9sy75ae.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1wj28j7khn2tu8f2.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1xjt8idu9smmzzot.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.1zh8hsyu6m14jq2b.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.20hun0jnambuv3qe.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.21zndv6u5yed0vxf.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.22150qscntxa6l1l.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.231v066nz1qme46z.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.23yzpuifpoq1b9uq.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2414wdmus560nbzk.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.241wv40o0ehjr6k8.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.24wsu2y6440yitrb.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.255oulw6jlldpfkc.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.26d44nqlrbu67dry.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.27cavrbwtowt8jj8.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.28f0fws330h0qx0c.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.29mxbqn1vj9ke6tx.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.29prqqd2xfnhf1vh.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2a367hb32aagk3o3.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2e48fzezqoi2vx8d.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2ed6gvifw6o5k7rg.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2ggcsv4nc6hm41g0.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2h3d6exjt8td2426.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2i4xfa7hbrfhv0wz.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2i9wwh5em8na62tl.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2inl6m7d6eiuqtu4.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2jmmgfk0ozybvgde.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2ltfm1thg0vzsoox.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2nfh0efkrggxejap.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2np7xsy72jlz11w4.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2ookpla67ylaq55q.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2q7n835kpdnh1kli.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2qox7p33umssk89c.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2uv3rsn3nkdmgm7l.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2v720mdc9vct4416.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.2zbbnqo8thti00g7.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.325xkc4ht1dcy73t.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.33i2hd43m4mvun4m.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.33rb6l20gwcgg2aq.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.346j5tqi0hmjffg6.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.34dubz2m961okbou.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.37tg8dc106nklv7h.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3809sz0xo1ku1zof.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.39sf5knvhvn6f1lh.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3ak7t56ioizklj4e.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3bnjydpzzmb5ruch.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3cd8bfqnqxsdbnpn.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3d1r13t4d6fwpwpp.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3dxps74xvdphsa5h.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3elexqd1z3tq7epp.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3eurhi4b6dvq9quc.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3hrivo5xlnmdi14q.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3hxue2xgz9du3w5m.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3ocksl3d7i4tsbpf.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3q3kae7ysos14o5f.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3q65a3snm9ci510b.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3qh7qbhhz4jrg5q1.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3qrwn9pt9npt6nj8.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3r7slwzjvgsv15o2.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3rtkelxgnow6fq36.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3ttaqj3iag3w73hw.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3v1oe8ygqi5cx4nu.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3v3pya8i6cngi2z6.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3xo6pchulvt8pfln.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3xpx9cqxnjxhzlmp.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3zaz4v7vd6vnlpuv.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3zcvrmkek3evn1cb.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.3zntcpg4og668mjn.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.43ng5bmdr6xzy1v0.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.470ok7jmpihbc5x.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.47c2v8sr555xd76y.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.486narl33g5scds5.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.48po2csubjhligpe.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.49e920kdm3xte63e.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4c72zv01qb9v4tlk.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4d2r58zvzdy6dtr3.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4e44ub052apsyvtr.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4k2ytxtsq3sf3ua1.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4kk83khawlc5z42c.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4kszztlt4hqe6f4x.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4ktyv2iy2q0h0flm.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4l83ckq45ogl0o8c.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4m8gs81qbd6fgb2c.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4mj3ygg4g5f1s062.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4mtdlfd7m18096xy.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4owacuvv8xcsbykj.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4prb2hibaptmwmyx.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4r2fvo7h3536yi5r.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4rrgghchg0fd7qy5.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4rsy16a11er663b9.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4sm4irgqv4kir9r9.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4stwv2w5h515ykfo.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4uf174vpze79g4dj.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4xb2w3ohv57e9b28.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.502of1upk6hxtakj.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.508vvagrxgp2afzz.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.509qi7yamlcz90cl.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.50id9su87o3a54qj.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.510iln8sic7iha54.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.5a0p7qwxetwtwy7y.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.5bgw4hej3tfyghu.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.5e3nvso8r5ge0z6c.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.5f196lqwzwpbzcvh.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.5fcuau1ku99jnif7.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.5rin27pz1i8eemu.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.6zvr21tvsd65tzj.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.7uqshbfk4f1dwow.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.97l2nql2hp3jla0.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.9i99zi3rhxo0hk1.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.a7t09t7zcuzmr42.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.abzb579l1lfaufi.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.bcscjnva2rhjnes.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.cmcctxqoqjwsnxq.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.d79oyqwvsxw9gre.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.d92ik2wbdob3lhj.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.dhyxcm2u2g1k5a5.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.dv9prgvj8ld64kb.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.ez8w2174ow8ffjt.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.fxy2j0ky7tu90ae.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.h4c93igppakfrlc.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.jwoa2m9kmeyses6.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.m8ezwm76qwy9lzt.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.mlievsoqtbw462p.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.p6oyauc4gcd9xt2.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.ph9qsaupqk7qo73.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.qnp0y37nlrr8aeb.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.t96q8ht8cam1m0k.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.tow1778r127wim8.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.uwf4nyenait1j1z.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.w51wnrpoalmf3k2.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.wriz8hj9gzp2dj2.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.xw6h4qjsaj8xbg5.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.yizfmoyicsrn16b.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.yvweoi6thaohjo.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.za6z4pmy3pxjh3x.rcgu.o" "/Users/gabriella/proj/nix-otel/target/debug/deps/nix_otel_plugin.4i5nw3zdxg8walnf.rcgu.o" "-L" "/Users/gabriella/proj/nix-otel/target/debug/deps" "-L" "/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib" "-L" "/nix/store/grcylffxcbh8l3rghxq3nhi8yi4s5gsf-boehm-gc-8.2.2/lib" "-L" "/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib" "-L" "/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib" "-L" "/Users/gabriella/proj/nix-otel/target/debug/build/nix-otel-plugin-af5d498ed1b2b133/out" "-L" "/Users/gabriella/proj/nix-otel/target/debug/build/ring-e25a2ff2e4afa4d0/out" "-L" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib" "-lnixexpr" "-lgc" "-lpthread" "-lnixstore" "-lnixutil" "-lnixmain" "-Wl,-force_load" "-Wl,/Users/gabriella/proj/nix-otel/target/debug/build/nix-otel-plugin-af5d498ed1b2b133/out/libnix_otel_plugin.a" "/Users/gabriella/proj/nix-otel/target/debug/deps/libopentelemetry_otlp-d6d853b0d43f8bf7.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfutures-5ad40f0f6323ae48.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libopentelemetry_proto-c7a0181fde595603.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtonic-70b06eb1d169734f.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libhyper_timeout-15529eee4c342939.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtokio_io_timeout-9e9642197907bc1c.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libasync_stream-47cb751ebf351012.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/librustls_native_certs-9c76e3f95440ad32.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/librustls_pemfile-28fc5afa05e93629.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libbase64-8d29ef2a96f743be.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libsecurity_framework-c8aeb08284ebd065.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libsecurity_framework_sys-baadc650212a2397.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libcore_foundation-3362bd5642a9be96.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libcore_foundation_sys-eb52ade8c75a367f.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libaxum-4074f7f727d20241.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libmatchit-7b139b7823f2ce0e.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtower_http-e1d496728fa4acf9.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libbitflags-2c5e027d35400324.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libserde-37969924829a959f.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libsync_wrapper-d5e06b13d55bc394.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libaxum_core-72766f96031c66f9.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libmime-5a0d426e36d2ff94.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtokio_rustls-a37e5528d5b2f8a4.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/librustls-dee0ca59229018d1.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libsct-c5e2871d10ce6347.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libwebpki-95aeee09df654e11.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libring-f9ba984eb371ef57.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libuntrusted-1ccfc5627dfce72b.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libhyper-8f93201d17408d44.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libwant-b8eaa355db0a4254.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtry_lock-0d0091cb22aba18c.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libhttparse-13b36dbff83cca34.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libh2-c4cd47c32efadc78.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libhttpdate-6c39653c404394b3.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtower-2225daf2faa0bf54.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtokio_util-81188bbb9d5320ab.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtower_layer-29af70bcc8cc1915.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libprost-e58b0abb465223a6.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libpin_project-aa846d70c2732680.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtracing-d0eee05161361bde.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtracing_core-99bf1e9f89da0aee.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtower_service-587eb66addae7d3b.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libhttp_body-0380f7f76bcdc119.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libhttp-37e4190088644912.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libitoa-db9502e98080a56a.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libopentelemetry-ddd3c4eff7781b69.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libopentelemetry_sdk-c617af623cdcbf9d.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libcrossbeam_channel-1560891e83634cf7.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libcrossbeam_utils-9ef8664df660b24a.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtokio_stream-2edc1427adc7a131.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libdashmap-15efb32c1afc6c99.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfutures_executor-62fbab2224b894af.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/librand-53be661c9982d5d3.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/librand_chacha-2b105f8b84e70260.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libppv_lite86-41d27b68ef4e0f9e.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/librand_core-9c9b5ba36deedc6c.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libgetrandom-774e8b08ef380edb.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libpercent_encoding-fe10a6e574bf234a.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfnv-fe738865c95c420e.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libopentelemetry_api-e8511cd027d75032.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libindexmap-a6b53281840abbb2.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libhashbrown-94003526a57cd0c3.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfutures_util-b7f1a3fc32438589.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfutures_io-ceb7f7b69b5c8b64.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libslab-3d11971f1df5787e.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfutures_task-7a8770ea909201c4.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libpin_utils-60b652c7ce88f2b0.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfutures_channel-828087ec1a42bf2c.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfutures_sink-80a78c84d39b4557.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libfutures_core-20cdbbdbfbdebffe.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libthiserror-5e6cadeaae29ce7e.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libtokio-0daf07a7e8984b9e.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libsignal_hook_registry-9633c3f1e60a619b.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libnum_cpus-596fc4046f286c70.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libsocket2-c50ea4ad6cfe3d7c.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libmemchr-cfbc9cd8d45f922b.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libbytes-63a152b0d8b6deca.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libmio-17c4050bf864a211.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/liblog-b54c368acdcd99ce.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libpin_project_lite-743e2bf79a124e67.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libparking_lot-95de48c9e2a03bec.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libparking_lot_core-b0e52db7f9092c04.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/liblibc-8df34a35660669d3.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libcfg_if-adb2b4024abb8fe1.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libsmallvec-e002a789b23c6eda.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/liblock_api-52be1b088fc51f8e.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libscopeguard-e0d79ac96367112b.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libthread_local-a629889b8973be6d.rlib" "/Users/gabriella/proj/nix-otel/target/debug/deps/libonce_cell-70507d7848deccc7.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libstd-932c0275f3d8989f.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libpanic_abort-a54b1a7d8ee81c3e.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libobject-dfdb188ed29e81e2.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-3f4e730dbf9e807d.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-baff0c0daf7cfca4.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libgimli-3c9c79876cd1130a.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-567442931783d884.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-c1a06982f48eae87.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-cc083973cce84fe9.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-3fd584da9cb8edeb.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libadler-278ac2421411f51c.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-88149b0a482bb135.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libunwind-3a0d819a1f827d4e.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-e4c98571dc90db71.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/liblibc-54f9910817e341b1.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/liballoc-97a33b7af47e99dc.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-6767a6460220c364.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libcore-02bbd9be13e9068d.rlib" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-590d308ecc08e427.rlib" "-framework" "Security" "-framework" "CoreFoundation" "-framework" "Security" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/nix/store/4j19s3y2546mhnhc0410qaxb2ld9bqly-rustc-1.63.0/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/gabriella/proj/nix-otel/target/debug/deps/libnix_otel_plugin.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" = note: ld: framework not found Security clang-11: error: linker command failed with exit code 1 (use -v to see invocation) The following warnings were emitted during compilation: warning: clang-11: warning: -lnixexpr: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixstore: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixutil: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lgc: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixstore: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixutil: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: -lnixmain: 'linker' input unused [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/grcylffxcbh8l3rghxq3nhi8yi4s5gsf-boehm-gc-8.2.2/lib"' [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument] warning: clang-11: warning: argument unused during compilation: '-L"/nix/store/77dkkq1a8sxd18y731kgsl3ihniyjh6n-nix-2.11.0/lib"' [-Wunused-command-line-argument] error: could not compile `nix-otel-plugin` due to previous error ```

I also tried cargo build inside of nix develop and got the same issue.

I tried adding darwin.apple_sdk.frameworks.Security as a buildInput, which might have improved things, but that led to a new error:

$ nix build
…
error: linking with `/nix/store/sxvqpkwix4hq49qxkzghc5d3s14nhcy8-clang-wrapper-11.1.0/bin/cc` failed: exit status: 1
  |
  = note: "/nix/store/sxvqpkwix4hq49qxkzghc5d3s14nhcy8-clang-wrapper-11.1.0/bin/cc" "-Wl,-exported_symbols_list,/private/tmp/nix-build-nix-otel-0.1.0.drv-0/rustcb24iZY/list" "-arch" "arm64" "/private/tmp/nix-build-nix-otel-0.1.0.drv-0/rustcb24iZY/symbols.o" "/private/tmp>
  = note: Undefined symbols for architecture arm64:
            "vtable for __cxxabiv1::__si_class_type_info", referenced from:
                typeinfo for OTelLogger in libnix_otel_plugin.a(plugin.o)
            NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
            "___cxa_guard_abort", referenced from:
                ___cxx_global_var_init.3 in libnix_otel_plugin.a(plugin.o)
            "___cxa_guard_release", referenced from:
                ___cxx_global_var_init.2 in libnix_otel_plugin.a(plugin.o)
                ___cxx_global_var_init.3 in libnix_otel_plugin.a(plugin.o)
            "___cxa_allocate_exception", referenced from:
                std::__1::__throw_length_error(char const*) in libnix_otel_plugin.a(plugin.o)
            "std::length_error::~length_error()", referenced from:
                std::__1::__throw_length_error(char const*) in libnix_otel_plugin.a(plugin.o)
            "std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()", referenced from:
                ___cxx_global_var_init.3 in libnix_otel_plugin.a(plugin.o)
                __GLOBAL__sub_I_plugin.cpp in libnix_otel_plugin.a(plugin.o)