Skip to content

gitoxide fails at compilation on archlinx #602

Closed as not planned
Closed as not planned
@ptr1337

Description

@ptr1337

Duplicates

  • I have searched the existing issues

Current behavior 😯

Compiling gitoxide with the PKGBUILD https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gitoxide is failing. This issue is present since some versions.
I tried to compile it on a chroot and directly on my rig. Both showing the same issue.

<details>
  <summary>Example</summary>
   Compiling gitoxide v0.18.0 (/tmp/makepkg/gitoxide/src/gitoxide-0.18.0)
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/tmp/rustcIkuGy4/symbols.o" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2.ein.53b07ead-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/build/libz-sys-56830d2a4b180a73/out/lib" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/build/sha1-asm-0af6ade1f7a0487b/out" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/build/curl-sys-33ddfcbaef7dc82e/out/build" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/build/openssl-sys-461b6fa775ebe4e9/out/openssl-build/install/lib" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcIkuGy4/libcurl_sys-9c2c843729d5c118.rlib" "/tmp/rustcIkuGy4/libopenssl_sys-8a77983293365fe4.rlib" "/tmp/rustcIkuGy4/liblibz_sys-e91e1c179c7f0be6.rlib" "/tmp/rustcIkuGy4/libsha1_asm-7d7dbc33bea4d821.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1fd459d18d250a66.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2.ein.53b07ead-cgu.0.rcgu.o: in function `core::ops::function::FnOnce::call_once{{vtable.shim}}':
          ein.53b07ead-cgu.0:(.text._ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h3c4b62fe562d37a7E+0x16): undefined reference to `curl_global_init'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2.ein.53b07ead-cgu.0.rcgu.o: in function `std::sync::once::Once::call_once::{{closure}}':
          ein.53b07ead-cgu.0:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h1909b9fec4959adcE+0x16): undefined reference to `curl_global_init'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2.ein.53b07ead-cgu.0.rcgu.o: in function `flate2::mem::Decompress::decompress':
          ein.53b07ead-cgu.0:(.text._ZN6flate23mem10Decompress10decompress17h496cd65d3d81eb56E+0x52): undefined reference to `inflate'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2.ein.53b07ead-cgu.0.rcgu.o: in function `<git_features::zlib::Inflate as core::default::Default>::default':
          ein.53b07ead-cgu.0:(.text._ZN70_$LT$git_features..zlib..Inflate$u20$as$u20$core..default..Default$GT$7default17hea7730e05904d5ddE+0x91): undefined reference to `inflateInit2_'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2.ein.53b07ead-cgu.0.rcgu.o: in function `git_odb::store_impls::loose::find::<impl git_odb::store_impls::loose::Store>::find_inner':
          ein.53b07ead-cgu.0:(.text._ZN7git_odb11store_impls5loose4find52_$LT$impl$u20$git_odb..store_impls..loose..Store$GT$10find_inner17h3bd5606239ce147aE+0x147): undefined reference to `inflateInit2_'
          /usr/bin/ld: ein.53b07ead-cgu.0:(.text._ZN7git_odb11store_impls5loose4find52_$LT$impl$u20$git_odb..store_impls..loose..Store$GT$10find_inner17h3bd5606239ce147aE+0x2e3): undefined reference to `inflateEnd'
          /usr/bin/ld: ein.53b07ead-cgu.0:(.text._ZN7git_odb11store_impls5loose4find52_$LT$impl$u20$git_odb..store_impls..loose..Store$GT$10find_inner17h3bd5606239ce147aE+0xddc): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2.ein.53b07ead-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<git_features::zlib::Inflate>':
          ein.53b07ead-cgu.0:(.text._ZN4core3ptr48drop_in_place$LT$git_features..zlib..Inflate$GT$17h1117d45974f1bcbbE+0xc): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/ein-2f1e30ff0397a0c2.ein.53b07ead-cgu.0.rcgu.o: in function `git_pack::data::file::decode_entry::<impl git_pack::data::File>::decompress_entry_from_data_offset':
          ein.53b07ead-cgu.0:(.text._ZN8git_pack4data4file12decode_entry38_$LT$impl$u20$git_pack..data..File$GT$33decompress_entry_from_data_offset17h51a506f1325acd33E+0x113): undefined reference to `inflateEnd'
          collect2: error: ld returned 1 exit status
          
  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `gitoxide` due to previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/tmp/rustczHSzHl/symbols.o" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/build/libz-sys-56830d2a4b180a73/out/lib" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/build/sha1-asm-0af6ade1f7a0487b/out" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/build/curl-sys-33ddfcbaef7dc82e/out/build" "-L" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/build/openssl-sys-461b6fa775ebe4e9/out/openssl-build/install/lib" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustczHSzHl/libcurl_sys-9c2c843729d5c118.rlib" "/tmp/rustczHSzHl/libopenssl_sys-8a77983293365fe4.rlib" "/tmp/rustczHSzHl/liblibz_sys-e91e1c179c7f0be6.rlib" "/tmp/rustczHSzHl/libsha1_asm-7d7dbc33bea4d821.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1fd459d18d250a66.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `<git_pack::data::input::bytes_to_entries::BytesToEntriesIter<R> as core::iter::traits::iterator::Iterator>::next':
          gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h84aa113e1fcceb81E+0x7b2): undefined reference to `inflateReset2'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h84aa113e1fcceb81E+0xa33): undefined reference to `inflate'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h84aa113e1fcceb81E+0xeab): undefined reference to `inflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h84aa113e1fcceb81E+0x1007): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `<git_pack::data::input::bytes_to_entries::BytesToEntriesIter<R> as core::iter::traits::iterator::Iterator>::next':
          gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h854e7bbb459b7a05E+0x7b2): undefined reference to `inflateReset2'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h854e7bbb459b7a05E+0xa33): undefined reference to `inflate'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h854e7bbb459b7a05E+0xeab): undefined reference to `inflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h854e7bbb459b7a05E+0x1007): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `<git_pack::data::input::bytes_to_entries::BytesToEntriesIter<R> as core::iter::traits::iterator::Iterator>::next':
          gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hc052e37c7f5f7ad6E+0x7b2): undefined reference to `inflateReset2'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hc052e37c7f5f7ad6E+0xa2d): undefined reference to `inflate'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hc052e37c7f5f7ad6E+0xe9b): undefined reference to `inflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN127_$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$R$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hc052e37c7f5f7ad6E+0xff7): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_transport::client::blocking_io::http::curl::Curl::make_request':
          gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl4Curl12make_request17h287ab9e79cef5ed0E+0x12f): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl4Curl12make_request17h287ab9e79cef5ed0E+0x1128): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `gitoxide_core::pack::explode::pack_or_pack_index::{{closure}}::{{closure}}':
          gix.e561f94c-cgu.0:(.text._ZN13gitoxide_core4pack7explode18pack_or_pack_index28_$u7b$$u7b$closure$u7d$$u7d$28_$u7b$$u7b$closure$u7d$$u7d$17h3cd13132ac683ce8E+0x989): undefined reference to `deflateReset'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13gitoxide_core4pack7explode18pack_or_pack_index28_$u7b$$u7b$closure$u7d$$u7d$28_$u7b$$u7b$closure$u7d$$u7d$17h3cd13132ac683ce8E+0x160d): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `<git_pack::data::input::lookup_ref_delta_objects::LookupRefDeltaObjectsIter<I,LFn> as core::iter::traits::iterator::Iterator>::next':
          gix.e561f94c-cgu.0:(.text._ZN148_$LT$git_pack..data..input..lookup_ref_delta_objects..LookupRefDeltaObjectsIter$LT$I$C$LFn$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17he6826cbe62718c61E+0xe5f): undefined reference to `inflateReset2'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN148_$LT$git_pack..data..input..lookup_ref_delta_objects..LookupRefDeltaObjectsIter$LT$I$C$LFn$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17he6826cbe62718c61E+0x10f8): undefined reference to `inflate'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN148_$LT$git_pack..data..input..lookup_ref_delta_objects..LookupRefDeltaObjectsIter$LT$I$C$LFn$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17he6826cbe62718c61E+0x1728): undefined reference to `inflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN148_$LT$git_pack..data..input..lookup_ref_delta_objects..LookupRefDeltaObjectsIter$LT$I$C$LFn$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17he6826cbe62718c61E+0x18ac): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<core::option::Option<git_transport::client::blocking_io::http::curl::remote::Request>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr112drop_in_place$LT$core..option..Option$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$17h545b3bdbaae55da0E+0x2b): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<std::sync::mutex::Mutex<std::sync::mpsc::sync::State<git_transport::client::blocking_io::http::curl::remote::Request>>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr151drop_in_place$LT$std..sync..mutex..Mutex$LT$std..sync..mpsc..sync..State$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$$GT$17h086612a715e0a9c0E+0x43): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<gitoxide_core::pack::explode::pack_or_pack_index<std::path::PathBuf,std::path::PathBuf,prodash::progress::utils::DoOrDiscard<prodash::tree::item::Item>>::{{closure}}::{{closure}}>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr247drop_in_place$LT$gitoxide_core..pack..explode..pack_or_pack_index$LT$std..path..PathBuf$C$std..path..PathBuf$C$prodash..progress..utils..DoOrDiscard$LT$prodash..tree..item..Item$GT$$GT$..$u7b$$u7b$closure$u7d$$u7d$..$u7b$$u7b$closure$u7d$$u7d$$GT$17h2df17033539a591dE+0x2c): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<git_odb::Sink>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr34drop_in_place$LT$git_odb..Sink$GT$17h37130c43293805ecE+0x17): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<git_pack::data::input::bytes_to_entries::BytesToEntriesIter<std::io::buffered::bufreader::BufReader<git_pack::bundle::write::types::PassThrough<git_features::interrupt::Read<git_features::progress::Read<std::fs::File,prodash::progress::utils::ThroughputOnDrop<prodash::progress::utils::DoOrDiscard<prodash::tree::item::Item>>>>>>>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr395drop_in_place$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$std..io..buffered..bufreader..BufReader$LT$git_pack..bundle..write..types..PassThrough$LT$git_features..interrupt..Read$LT$git_features..progress..Read$LT$std..fs..File$C$prodash..progress..utils..ThroughputOnDrop$LT$prodash..progress..utils..DoOrDiscard$LT$prodash..tree..item..Item$GT$$GT$$GT$$GT$$GT$$GT$$GT$$GT$17hfe8fa6b834970802E+0x47): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<curl::easy::list::List>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr43drop_in_place$LT$curl..easy..list..List$GT$17h6dd4147a425a3e22E+0x5): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<flate2::mem::Decompress>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr44drop_in_place$LT$flate2..mem..Decompress$GT$17hdc528b4c5bba1617E+0xc): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<git_pack::data::input::bytes_to_entries::BytesToEntriesIter<std::io::buffered::bufreader::BufReader<git_pack::bundle::write::types::PassThrough<git_features::interrupt::Read<git_features::progress::Read<alloc::boxed::Box<dyn std::io::Read+core::marker::Send>,prodash::progress::utils::ThroughputOnDrop<prodash::progress::utils::DoOrDiscard<prodash::tree::item::Item>>>>>>>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr451drop_in_place$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$std..io..buffered..bufreader..BufReader$LT$git_pack..bundle..write..types..PassThrough$LT$git_features..interrupt..Read$LT$git_features..progress..Read$LT$alloc..boxed..Box$LT$dyn$u20$std..io..Read$u2b$core..marker..Send$GT$$C$prodash..progress..utils..ThroughputOnDrop$LT$prodash..progress..utils..DoOrDiscard$LT$prodash..tree..item..Item$GT$$GT$$GT$$GT$$GT$$GT$$GT$$GT$17hfe40a88ef177522fE+0x47): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<gitoxide_core::pack::explode::OutputWriter>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr63drop_in_place$LT$gitoxide_core..pack..explode..OutputWriter$GT$17hcacc054c2db6209dE+0x3e): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<alloc::boxed::Box<flate2::mem::Decompress>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr69drop_in_place$LT$alloc..boxed..Box$LT$flate2..mem..Decompress$GT$$GT$17h03db6fa3950e9773E+0x10): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<git_pack::data::input::lookup_ref_delta_objects::LookupRefDeltaObjectsIter<git_pack::data::input::bytes_to_entries::BytesToEntriesIter<std::io::buffered::bufreader::BufReader<git_features::interrupt::Read<git_features::progress::Read<alloc::boxed::Box<dyn git_transport::client::blocking_io::bufread_ext::ExtendedBufRead+core::marker::Unpin>,prodash::progress::utils::ThroughputOnDrop<prodash::progress::utils::DoOrDiscard<prodash::tree::item::Item>>>>>>,alloc::boxed::Box<dyn core::ops::function::FnMut<(git_hash::object_id::ObjectId,&mut alloc::vec::Vec<u8>)>+Output = core::option::Option<git_object::Data>>>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr751drop_in_place$LT$git_pack..data..input..lookup_ref_delta_objects..LookupRefDeltaObjectsIter$LT$git_pack..data..input..bytes_to_entries..BytesToEntriesIter$LT$std..io..buffered..bufreader..BufReader$LT$git_features..interrupt..Read$LT$git_features..progress..Read$LT$alloc..boxed..Box$LT$dyn$u20$git_transport..client..blocking_io..bufread_ext..ExtendedBufRead$u2b$core..marker..Unpin$GT$$C$prodash..progress..utils..ThroughputOnDrop$LT$prodash..progress..utils..DoOrDiscard$LT$prodash..tree..item..Item$GT$$GT$$GT$$GT$$GT$$GT$$C$alloc..boxed..Box$LT$dyn$u20$core..ops..function..FnMut$LT$$LP$git_hash..object_id..ObjectId$C$$RF$mut$u20$alloc..vec..Vec$LT$u8$GT$$RP$$GT$$u2b$Output$u20$$u3d$$u20$core..option..Option$LT$git_object..Data$GT$$GT$$GT$$GT$17hf92bcb7bd8fe253fE+0x2f): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<git_transport::client::blocking_io::http::curl::remote::Request>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr84drop_in_place$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$17h5d9335acdd93ca06E+0x1d): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<core::option::Option<alloc::boxed::Box<flate2::mem::Decompress>>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr97drop_in_place$LT$core..option..Option$LT$alloc..boxed..Box$LT$flate2..mem..Decompress$GT$$GT$$GT$17h5759e5ff8502f59aE+0x15): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_odb::store_impls::dynamic::verify::<impl git_odb::Store>::verify_integrity':
          gix.e561f94c-cgu.0:(.text._ZN7git_odb11store_impls7dynamic6verify32_$LT$impl$u20$git_odb..Store$GT$16verify_integrity17hb88511abf9247af3E+0x6a88): undefined reference to `deflateReset'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN7git_odb11store_impls7dynamic6verify32_$LT$impl$u20$git_odb..Store$GT$16verify_integrity17hb88511abf9247af3E+0x6d37): undefined reference to `deflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN7git_odb11store_impls7dynamic6verify32_$LT$impl$u20$git_odb..Store$GT$16verify_integrity17hb88511abf9247af3E+0x6f85): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ops::function::FnOnce::call_once{{vtable.shim}}':
          gix.e561f94c-cgu.0:(.text._ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h3c4b62fe562d37a7E+0x16): undefined reference to `curl_global_init'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `std::sync::once::Once::call_once::{{closure}}':
          gix.e561f94c-cgu.0:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h1909b9fec4959adcE+0x16): undefined reference to `curl_global_init'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `<curl::error::Error as core::fmt::Display>::fmt':
          gix.e561f94c-cgu.0:(.text._ZN57_$LT$curl..error..Error$u20$as$u20$core..fmt..Display$GT$3fmt17h3363fb34cdddec59E+0x1c): undefined reference to `curl_easy_strerror'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `<curl::error::Error as core::fmt::Debug>::fmt':
          gix.e561f94c-cgu.0:(.text._ZN55_$LT$curl..error..Error$u20$as$u20$core..fmt..Debug$GT$3fmt17h8a4d48042b5486ecE+0x3a): undefined reference to `curl_easy_strerror'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `curl::easy::list::List::append':
          gix.e561f94c-cgu.0:(.text._ZN4curl4easy4list4List6append17h46b69d4b2374e626E+0x6d): undefined reference to `curl_slist_append'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `flate2::mem::Compress::new':
          gix.e561f94c-cgu.0:(.text._ZN6flate23mem8Compress3new17h29c8087596c6700fE+0xa2): undefined reference to `deflateInit2_'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `flate2::mem::Compress::compress':
          gix.e561f94c-cgu.0:(.text._ZN6flate23mem8Compress8compress17hd17634ab99fde4c7E+0x4e): undefined reference to `deflate'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `flate2::mem::Decompress::new':
          gix.e561f94c-cgu.0:(.text._ZN6flate23mem10Decompress3new17h2407493c36494b20E+0x91): undefined reference to `inflateInit2_'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `flate2::mem::Decompress::decompress':
          gix.e561f94c-cgu.0:(.text._ZN6flate23mem10Decompress10decompress17h496cd65d3d81eb56E+0x52): undefined reference to `inflate'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_odb::store_impls::loose::find::<impl git_odb::store_impls::loose::Store>::find_inner':
          gix.e561f94c-cgu.0:(.text._ZN7git_odb11store_impls5loose4find52_$LT$impl$u20$git_odb..store_impls..loose..Store$GT$10find_inner17h3bd5606239ce147aE+0x147): undefined reference to `inflateInit2_'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN7git_odb11store_impls5loose4find52_$LT$impl$u20$git_odb..store_impls..loose..Store$GT$10find_inner17h3bd5606239ce147aE+0x2e3): undefined reference to `inflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN7git_odb11store_impls5loose4find52_$LT$impl$u20$git_odb..store_impls..loose..Store$GT$10find_inner17h3bd5606239ce147aE+0xded): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<git_features::zlib::stream::deflate::Write<tempfile::file::NamedTempFile>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr100drop_in_place$LT$git_features..zlib..stream..deflate..Write$LT$tempfile..file..NamedTempFile$GT$$GT$17h4bc154efcf4220d9E+0xd): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_pack::cache::delta::traverse::resolve::decompress_all_at_once':
          gix.e561f94c-cgu.0:(.text._ZN8git_pack5cache5delta8traverse7resolve22decompress_all_at_once17h43db9fa3805692c3E+0xd4): undefined reference to `inflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN8git_pack5cache5delta8traverse7resolve22decompress_all_at_once17h43db9fa3805692c3E+0x18b): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_pack::data::file::decode_entry::<impl git_pack::data::File>::decompress_entry_from_data_offset':
          gix.e561f94c-cgu.0:(.text._ZN8git_pack4data4file12decode_entry38_$LT$impl$u20$git_pack..data..File$GT$33decompress_entry_from_data_offset17h51a506f1325acd33E+0x113): undefined reference to `inflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_pack::data::input::entry::<impl git_pack::data::input::Entry>::from_data_obj':
          gix.e561f94c-cgu.0:(.text._ZN8git_pack4data5input5entry46_$LT$impl$u20$git_pack..data..input..Entry$GT$13from_data_obj17h7ddfef845977e353E+0x139): undefined reference to `deflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN8git_pack4data5input5entry46_$LT$impl$u20$git_pack..data..input..Entry$GT$13from_data_obj17h7ddfef845977e353E+0x26d): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<git_features::zlib::stream::deflate::Write<alloc::vec::Vec<u8>>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr96drop_in_place$LT$git_features..zlib..stream..deflate..Write$LT$alloc..vec..Vec$LT$u8$GT$$GT$$GT$17hcde6f722c2044dd6E+0xc): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_pack::data::output::entry::<impl git_pack::data::output::Entry>::from_data':
          gix.e561f94c-cgu.0:(.text._ZN8git_pack4data6output5entry47_$LT$impl$u20$git_pack..data..output..Entry$GT$9from_data17h8c2ef71d298fd932E+0x144): undefined reference to `deflateEnd'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN8git_pack4data6output5entry47_$LT$impl$u20$git_pack..data..output..Entry$GT$9from_data17h8c2ef71d298fd932E+0x1bb): undefined reference to `deflateEnd'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<alloc::vec::Vec<core::option::Option<git_transport::client::blocking_io::http::curl::remote::Request>>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr135drop_in_place$LT$alloc..vec..Vec$LT$core..option..Option$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$$GT$17h5f7d1a2b6dbbb73dE+0x1b): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<core::option::Option<git_transport::client::blocking_io::http::curl::remote::Request>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr112drop_in_place$LT$core..option..Option$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$17he3063b5f165ed6a6E+0x2b): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<std::sync::mpsc::Receiver<git_transport::client::blocking_io::http::curl::remote::Request>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr117drop_in_place$LT$std..sync..mpsc..Receiver$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$17h06984e9436f55fc1E+0x2f7): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN4core3ptr117drop_in_place$LT$std..sync..mpsc..Receiver$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$17h06984e9436f55fc1E+0x3db): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN4core3ptr117drop_in_place$LT$std..sync..mpsc..Receiver$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$17h06984e9436f55fc1E+0x4f9): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o:gix.e561f94c-cgu.0:(.text._ZN4core3ptr117drop_in_place$LT$std..sync..mpsc..Receiver$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$17h06984e9436f55fc1E+0x6a4): more undefined references to `curl_slist_free_all' follow
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_transport::client::blocking_io::http::curl::remote::new::{{closure}}':
          gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x8d): undefined reference to `curl_easy_init'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x26b): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x2b1): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x413): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x454): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x499): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o:gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x4da): more undefined references to `curl_easy_setopt' follow
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_transport::client::blocking_io::http::curl::remote::new::{{closure}}':
          gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x29fe): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x2a20): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x2a56): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x2ab1): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x2aea): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x2b3f): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o:gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x2b7b): more undefined references to `curl_easy_setopt' follow
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `git_transport::client::blocking_io::http::curl::remote::new::{{closure}}':
          gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x371d): undefined reference to `curl_easy_cleanup'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x3a65): undefined reference to `curl_easy_perform'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x44dd): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN13git_transport6client11blocking_io4http4curl6remote3new28_$u7b$$u7b$closure$u7d$$u7d$17h7ce62b9fcefd4f50E+0x45e3): undefined reference to `curl_easy_cleanup'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<core::option::Option<curl::easy::form::Form>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr71drop_in_place$LT$core..option..Option$LT$curl..easy..form..Form$GT$$GT$17hf86a30291dcc4517E+0x22): undefined reference to `curl_formfree'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN4core3ptr71drop_in_place$LT$core..option..Option$LT$curl..easy..form..Form$GT$$GT$17hf86a30291dcc4517E+0x33): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<core::option::Option<curl::easy::list::List>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr71drop_in_place$LT$core..option..Option$LT$curl..easy..list..List$GT$$GT$17h96582717643409f1E+0xc): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<curl::easy::handler::Inner<git_transport::client::blocking_io::http::curl::remote::Handler>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr118drop_in_place$LT$curl..easy..handler..Inner$LT$git_transport..client..blocking_io..http..curl..remote..Handler$GT$$GT$17h2e52409459345c83E+0x14): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN4core3ptr118drop_in_place$LT$curl..easy..handler..Inner$LT$git_transport..client..blocking_io..http..curl..remote..Handler$GT$$GT$17h2e52409459345c83E+0x25): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: gix.e561f94c-cgu.0:(.text._ZN4core3ptr118drop_in_place$LT$curl..easy..handler..Inner$LT$git_transport..client..blocking_io..http..curl..remote..Handler$GT$$GT$17h2e52409459345c83E+0x36): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `curl::easy::handler::Easy2<H>::setopt_path':
          gix.e561f94c-cgu.0:(.text._ZN4curl4easy7handler14Easy2$LT$H$GT$11setopt_path17h6b3702df1376e211E+0x76): undefined reference to `curl_easy_setopt'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<curl::easy::handler::Easy2<git_transport::client::blocking_io::http::curl::remote::Handler>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr118drop_in_place$LT$curl..easy..handler..Easy2$LT$git_transport..client..blocking_io..http..curl..remote..Handler$GT$$GT$17h6c1d6ae75feb945dE+0xf): undefined reference to `curl_easy_cleanup'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `std::sync::mpsc::spsc_queue::Queue<T,ProducerAddition,ConsumerAddition>::pop':
          gix.e561f94c-cgu.0:(.text._ZN3std4sync4mpsc10spsc_queue52Queue$LT$T$C$ProducerAddition$C$ConsumerAddition$GT$3pop17he717ba25b1129b86E+0x153): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<std::sync::mpsc::stream::Message<git_transport::client::blocking_io::http::curl::remote::Request>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr124drop_in_place$LT$std..sync..mpsc..stream..Message$LT$git_transport..client..blocking_io..http..curl..remote..Request$GT$$GT$17h685f7da08a10402dE+0x32): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<alloc::vec::Vec<curl::easy::list::List>>':
          gix.e561f94c-cgu.0:(.text._ZN4core3ptr66drop_in_place$LT$alloc..vec..Vec$LT$curl..easy..list..List$GT$$GT$17h79aa51f63e6617edE+0x13): undefined reference to `curl_slist_free_all'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `core::ops::function::FnOnce::call_once{{vtable.shim}}':
          gix.e561f94c-cgu.0:(.text._ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h620e0fac918f4422E+0x16): undefined reference to `curl_global_init'
          /usr/bin/ld: /tmp/makepkg/gitoxide/src/gitoxide-0.18.0/target/release/deps/gix-1754b80ef1daa0d4.gix.e561f94c-cgu.0.rcgu.o: in function `std::sync::once::Once::call_once::{{closure}}':
          gix.e561f94c-cgu.0:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h7493f83fe1a03a86E+0x16): undefined reference to `curl_global_init'
          collect2: error: ld returned 1 exit status
          
  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `gitoxide` due to previous error
==> ERROR: A failure occurred in build().
    Aborting...

Expected behavior 🤔

successful compilation

Steps to reproduce 🕹

git clone https://aur.archlinux.org/gitoxide
cd gitoxide
makepkg -si

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions