Package Details: tiny 0.12.0-1

Git Clone URL: https://aur.archlinux.org/tiny.git (read-only, click to copy)
Package Base: tiny
Description: A terminal IRC client written in Rust
Upstream URL: https://github.com/osa1/tiny
Licenses: MIT
Conflicts: tiny
Provides: tiny
Replaces: tiny-irc-client
Submitter: nezbednik
Maintainer: ralphptorres
Last Packager: ralphptorres
Votes: 11
Popularity: 0.50
First Submitted: 2021-07-17 10:21 (UTC)
Last Updated: 2024-01-05 11:58 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

ralphptorres commented on 2023-12-09 02:48 (UTC)

carsme, jonasmalacofilho, thanks for the info. I'm now convinced this is a ring crate + gcc issue and that lto should be disabled. Pushed the necessary change. Cheers

jonasmalacofilho commented on 2023-12-08 21:01 (UTC) (edited on 2023-12-08 21:01 (UTC) by jonasmalacofilho)

I've had a similar issue with cargo-vet, and as far as I known it boils down to the mixing of GCC and LLVM LTO in Rust projects using LTO and the ring crate: https://github.com/briansmith/ring/issues/1444.

carsme commented on 2023-12-08 16:06 (UTC)

Nope, same issue in a clean chroot. As such I'm not sure where to begin looking for the probable cause. I've seen this issue one time before though, in seamonkey-2.53.17.1.

ralphptorres commented on 2023-12-08 11:18 (UTC)

Does it build in a clean chroot without the option? If not, I'll add it. But diagnose your rust install anyway, you might hit this issue again with other rust packages whose PKGBUILDs lack this option.

carsme commented on 2023-12-05 10:22 (UTC) (edited on 2023-12-05 10:22 (UTC) by carsme)

Ah sorry, LTO was the sole culprit. With options=(!lto) it builds both on my system and in a clean chroot with the regular rust pacakge. Would you mind adding it to the PKGBUILD? Thanks!

ralphptorres commented on 2023-12-05 09:32 (UTC)

Can't reproduce; can build fine with standard install of stable via rustup. Can you try doing a clean build? Can you also verify that the /usr/lib64/rustlib in your PATH does not cause the issue? If those don't help, try adding options=(!lto) in the PKGBUILD then build the package manually. As a last resort, visit upstream then try to compile the package manually to check if the issue is related to your rust installation or to the PKGBUILD.

carsme commented on 2023-12-05 09:18 (UTC) (edited on 2023-12-05 09:20 (UTC) by carsme)

Here's a PKGBUILD that works for me: https://github.com/carlsmedstad/tiny-irc-client/tree/fix-build

See commit message for a description of the changes. Let me know if you want help with the maintenance.

carsme commented on 2023-12-04 17:37 (UTC)

Doesn't build for me, tried with both rustc and stable toolchaing with rustup:

==> Starting build()...
   Compiling tiny v0.11.0 (/tmp/makepkg/tiny-irc-client/src/tiny-0.11.0/crates/tiny)
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/lib/ccache/bin:/usr/lib/aurutils:/home/carsme/.local/share/krew/bin:/home/carsme/.local/bin:/bin:/home/carsme/.local/share/cargo/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/carsme/.dotnet/tools:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcgcvnQV/symbols.o" "/tmp/makepkg/tiny-irc-client/src/tiny-0.11.0/target/release/deps/tiny-02fb3ecf980fb70a.tiny.3ddde757ecd95396-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/makepkg/tiny-irc-client/src/tiny-0.11.0/target/release/deps" "-L" "/tmp/makepkg/tiny-irc-client/src/tiny-0.11.0/target/release/build/ring-298ba2a0f6ecb74d/out" "-L" "/tmp/makepkg/tiny-irc-client/src/tiny-0.11.0/target/release/build/ring-bf4ee05a8d406ebe/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcgcvnQV/libring-f1417913383e6bbb.rlib" "/tmp/rustcgcvnQV/libring-6cff43b4d22f357d.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-98fd1385c431e43b.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/tiny-irc-client/src/tiny-0.11.0/target/release/deps/tiny-02fb3ecf980fb70a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
  = note: /bin/ld: /tmp/makepkg/tiny-irc-client/src/tiny-0.11.0/target/release/deps/tiny-02fb3ecf980fb70a.tiny.3ddde757ecd95396-cgu.0.rcgu.o: in function `ring::aead::aes_gcm::aes_gcm_seal':
          tiny.3ddde757ecd95396-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hd35cf6afcd36198aE+0x136): undefined reference to `GFp_ia32cap_P'
          /bin/ld: tiny.3ddde757ecd95396-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hd35cf6afcd36198aE+0x166): undefined reference to `GFp_ia32cap_P'
          /bin/ld: tiny.3ddde757ecd95396-cgu.0:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17hd35cf6afcd36198aE+0x250): undefined reference to `GFp_ia32cap_P'

netzego commented on 2021-12-15 17:35 (UTC) (edited on 2021-12-16 08:22 (UTC) by netzego)

The check() function in this repo, will cause two notification messages to shown up. blah sent private message msg to user. And e sent private message blah blah blah. So, stay calm and remove your tinfoil hats :-)

Here is the link for the issue on gh: https://github.com/osa1/tiny/issues/371.

Thx for the repo!

salkin-mada commented on 2021-05-16 12:43 (UTC)

@ny-a: No worries :) Thank you so much for maintaining this package! All good now.