Package Details: aichat-git 0.22.0.r37.gb82eb89-1

Git Clone URL: https://aur.archlinux.org/aichat-git.git (read-only, click to copy)
Package Base: aichat-git
Description: Using ChatGPT/GPT-3.5/GPT-4 in the terminal
Upstream URL: https://github.com/sigoden/aichat
Licenses: MIT, Apache
Conflicts: aichat
Provides: aichat
Submitter: Junker
Maintainer: blackwell
Last Packager: blackwell
Votes: 1
Popularity: 0.094321
First Submitted: 2023-03-24 06:18 (UTC)
Last Updated: 2024-10-22 19:21 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

FabioLolix commented on 2024-04-10 17:10 (UTC)

Hello, please:

  • remove aichat-bin
  • add provides=(aichat)

dreieck commented on 2024-03-25 22:29 (UTC) (edited on 2024-04-11 12:13 (UTC) by dreieck)

Please add options+=('!lto') to disable LTO in environments where it is enabled by default.

Otherwise build fails while linking:

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/rustcJXZQt3/symbols.o" "/tmp/makepkg/build/aichat-git/src/aichat/target/release/deps/aichat-a5900a382fb0e28a.aichat.2fcc99d0def5bb30-cgu.15.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/makepkg/build/aichat-git/src/aichat/target/release/deps" "-L" "/tmp/makepkg/build/aichat-git/src/aichat/target/release/build/ring-d1674b2fa322a5f8/out" "-L" "/tmp/makepkg/build/aichat-git/src/aichat/target/release/build/onig_sys-f6a6091c8bcc6af6/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcJXZQt3/libonig_sys-8b158b5b839a14f6.rlib" "/tmp/rustcJXZQt3/libring-fd8e1e9d8ba79885.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1cdad4275bc9441f.rlib" "-Wl,-Bdynamic" "-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/aichat-git/src/aichat/target/release/deps/aichat-a5900a382fb0e28a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /tmp/makepkg/build/aichat-git/src/aichat/target/release/deps/aichat-a5900a382fb0e28a.aichat.2fcc99d0def5bb30-cgu.15.rcgu.o: in function `core::ptr::drop_in_place<syntect::parsing::syntax_definition::Pattern>':
          aichat.2fcc99d0def5bb30-cgu.15:(.text._ZN4core3ptr65drop_in_place$LT$syntect..parsing..syntax_definition..Pattern$GT$17h2ad8941e2e801336E+0x79): undefined reference to `onig_free'
          /usr/bin/ld: /tmp/makepkg/build/aichat-git/src/aichat/target/release/deps/aichat-a5900a382fb0e28a.aichat.2fcc99d0def5bb30-cgu.15.rcgu.o: in function `core::ptr::drop_in_place<syntect::parsing::parser::ParseState>':
          aichat.2fcc99d0def5bb30-cgu.15:(.text._ZN4core3ptr57drop_in_place$LT$syntect..parsing..parser..ParseState$GT$17h8d75f5db48e3f739E+0x83): undefined reference to `onig_region_free'
          /usr/bin/ld: aichat.2fcc99d0def5bb30-cgu.15:(.text._ZN4core3ptr57drop_in_place$LT$syntect..parsing..parser..ParseState$GT$17h8d75f5db48e3f739E+0x158): undefined reference to `onig_region_free'
          /usr/bin/ld: /tmp/makepkg/build/aichat-git/src/aichat/target/release/deps/aichat-a5900a382fb0e28a.aichat.2fcc99d0def5bb30-cgu.15.rcgu.o: in function `<onig::region::Region as core::clone::Clone>::clone':
          aichat.2fcc99d0def5bb30-cgu.15:(.text._ZN59_$LT$onig..region..Region$u20$as$u20$core..clone..Clone$GT$5clone17h99b4eebee3b54900E+0x19): undefined reference to `onig_region_copy'
          /usr/bin/ld: aichat.2fcc99d0def5bb30-cgu.15:(.text._ZN59_$LT$onig..region..Region$u20$as$u20$core..clone..Clone$GT$5clone17h99b4eebee3b54900E+0x39): undefined reference to `onig_region_free'
[...]

Regards and thanks for maintaining!