Package Details: cloneit-git 0.1.0+30.g02a4942-1

Git Clone URL: https://aur.archlinux.org/cloneit-git.git (read-only, click to copy)
Package Base: cloneit-git
Description: A cli tool to download specific GitHub directories or files.
Upstream URL: https://github.com/alok8bb/cloneit
Keywords: cli
Licenses: MIT
Conflicts: cloneit
Provides: cloneit
Submitter: notashelf
Maintainer: notashelf
Last Packager: notashelf
Votes: 0
Popularity: 0.000000
First Submitted: 2022-10-14 10:31 (UTC)
Last Updated: 2022-10-15 12:47 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

entailzwrapped commented on 2024-02-17 23:16 (UTC)

@dreieck /etc/makepkg.conf defaults were updated fairly recently, you might want to change them to your liking... ie back to OPTIONS=(!lto !debug...).

dreieck commented on 2024-02-14 10:58 (UTC)

Please add options+=('!lto') to disable LTO on systems where it is enabled by default. Otherwise build() fails while trying to link:

error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/android-sdk/emulator:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/usr/local/bin:/usr/local/sbin:/home/felics/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcn45tDs/symbols.o" "/tmp/makepkg/build/cloneit-git/src/cloneit-git/target/release/deps/cloneit-950a87b6902c3eec.cloneit.8d303febc9a79141-cgu.14.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/makepkg/build/cloneit-git/src/cloneit-git/target/release/deps" "-L" "/usr/lib" "-L" "/tmp/makepkg/build/cloneit-git/src/cloneit-git/target/release/build/zstd-sys-6841659479025008/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcn45tDs/libzstd_sys-9788469ddabd6156.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dc359f8c64813cd3.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lbz2" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/makepkg/build/cloneit-git/src/cloneit-git/target/release/deps/cloneit-950a87b6902c3eec" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /tmp/makepkg/build/cloneit-git/src/cloneit-git/target/release/deps/cloneit-950a87b6902c3eec.cloneit.8d303febc9a79141-cgu.14.rcgu.o: in function `core::ptr::drop_in_place<zstd::stream::zio::writer::Writer<std::fs::File,zstd::stream::raw::Encoder>>':
          cloneit.8d303febc9a79141-cgu.14:(.text._ZN4core3ptr104drop_in_place$LT$zstd..stream..zio..writer..Writer$LT$std..fs..File$C$zstd..stream..raw..Encoder$GT$$GT$17h0869c7b779d311d1E+0x16): undefined reference to `ZSTD_freeCCtx'
          /usr/bin/ld: /tmp/makepkg/build/cloneit-git/src/cloneit-git/target/release/deps/cloneit-950a87b6902c3eec.cloneit.8d303febc9a79141-cgu.14.rcgu.o: in function `zstd::stream::write::Encoder<W>::with_dictionary':
          cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd6stream5write16Encoder$LT$W$GT$15with_dictionary17h9bffb2be6a61726fE+0x17): undefined reference to `ZSTD_createCCtx'
          /usr/bin/ld: cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd6stream5write16Encoder$LT$W$GT$15with_dictionary17h9bffb2be6a61726fE+0x33): undefined reference to `ZSTD_CCtx_setParameter'
          /usr/bin/ld: cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd6stream5write16Encoder$LT$W$GT$15with_dictionary17h9bffb2be6a61726fE+0x3f): undefined reference to `ZSTD_isError'
          /usr/bin/ld: cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd6stream5write16Encoder$LT$W$GT$15with_dictionary17h9bffb2be6a61726fE+0x4c): undefined reference to `ZSTD_getErrorName'
          /usr/bin/ld: cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd6stream5write16Encoder$LT$W$GT$15with_dictionary17h9bffb2be6a61726fE+0xc0): undefined reference to `ZSTD_CCtx_loadDictionary'
          /usr/bin/ld: cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd6stream5write16Encoder$LT$W$GT$15with_dictionary17h9bffb2be6a61726fE+0xcc): undefined reference to `ZSTD_isError'
          /usr/bin/ld: cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd6stream5write16Encoder$LT$W$GT$15with_dictionary17h9bffb2be6a61726fE+0xdd): undefined reference to `ZSTD_getErrorName'
          /usr/bin/ld: cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd6stream5write16Encoder$LT$W$GT$15with_dictionary17h9bffb2be6a61726fE+0x208): undefined reference to `ZSTD_freeCCtx'
          /usr/bin/ld: /tmp/makepkg/build/cloneit-git/src/cloneit-git/target/release/deps/cloneit-950a87b6902c3eec.cloneit.8d303febc9a79141-cgu.14.rcgu.o: in function `<zstd::stream::write::Encoder<W> as std::io::Write>::flush':
          cloneit.8d303febc9a79141-cgu.14:(.text._ZN72_$LT$zstd..stream..write..Encoder$LT$W$GT$$u20$as$u20$std..io..Write$GT$5flush17h24e2a90edd29b355E+0x15): undefined reference to `ZSTD_flushStream'
[...]
          /usr/bin/ld: cloneit.8d303febc9a79141-cgu.14:(.text._ZN75_$LT$zstd..stream..raw..Encoder$u20$as$u20$zstd..stream..raw..Operation$GT$6reinit17hc3fdaa91b0ce7110E+0x33): undefined reference to `ZSTD_getErrorName'
          /usr/bin/ld: /tmp/makepkg/build/cloneit-git/src/cloneit-git/target/release/deps/cloneit-950a87b6902c3eec.cloneit.8d303febc9a79141-cgu.14.rcgu.o: in function `zstd::map_error_code':
          cloneit.8d303febc9a79141-cgu.14:(.text._ZN4zstd14map_error_code17hcd760784080d1911E+0xd): undefined reference to `ZSTD_getErrorName'
          collect2: error: ld returned 1 exit status

  = note: 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 `cloneit` (bin "cloneit") due to 1 previous error

Also, you can consider adding =${pkgver} to the provides entry.

Regards and thanks for maintaining!