Package Details: wttrbar-git 0.7.1.r0.g40a68d0-1

Git Clone URL: https://aur.archlinux.org/wttrbar-git.git (read-only, click to copy)
Package Base: wttrbar-git
Description: Show the weather in Waybar, using the great wttr.io
Upstream URL: https://github.com/bjesus/wttrbar
Keywords: waybar wayland wlroots
Licenses: MIT
Conflicts: wttrbar
Provides: wttrbar
Submitter: None
Maintainer: willemw
Last Packager: willemw
Votes: 2
Popularity: 0.145275
First Submitted: 2023-06-29 20:33 (UTC)
Last Updated: 2024-02-14 14:27 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

alekgr commented on 2024-05-06 12:49 (UTC) (edited on 2024-05-06 12:49 (UTC) by alekgr)

yea, I noticed that too, but by pinning I was able to install without any issues very odd

willemw commented on 2024-05-06 09:12 (UTC)

@alekgr: Cannot reproduce the error. After building and installing wttrbat-git, there is no spdlog installed. wttrbar-git does not seem to have an (indirect) dependency on spdlog, neither building with rust nor with rustup.

alekgr commented on 2024-05-05 23:48 (UTC)

so for right now I had to pin spdlog

alekgr commented on 2024-05-05 22:36 (UTC)

getting error: failed to prepare transaction (could not satisfy dependencies) :: installing spdlog (1.14.1-1) breaks dependency 'libspdlog.so=1.13-64' required by waybar-git

willemw commented on 2023-10-10 18:19 (UTC)

Fixed the issue for this packages, since it is not an issue with all Rust packages (with similar build statements).

willemw commented on 2023-10-10 05:59 (UTC)

Yes, the LTO compile option is the issue.

Arch Linux's supported default is "LTO disabled" (for now). See /etc/makepkg.conf:

# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)

This includes building in Rust (https://wiki.archlinux.org/title/Talk:Rust_package_guidelines#RUSTFLAGS_link-time_optimization).

CachyOS is an LTO enabled OS. See first feature on https://cachyos.org/. They should have a solution for building AUR packages that fail when LTO is enabled, I would think.

pauper commented on 2023-10-09 20:22 (UTC)

Yes, that fixed it thanks. I frequently have trouble building cargo packages in a chroot on AUR - I wonder if this could be a solution?

chrisqq commented on 2023-10-09 20:11 (UTC)

adding options=(!lto) fixed it.

willemw commented on 2023-10-09 17:57 (UTC)

As a test, add line options=(!lto) to the PKGBUILD file and then try to build the package.

chrisqq commented on 2023-10-09 15:43 (UTC)

Pauper, are you on cachyos? I wasn't able to get this working and ran out of time and haven't had time to come back to it yet so it's still borken for me. I'm pretty sure it's something to do with a required build item not being passed through properly but beyond that I don't know.