Package Details: cosmic-comp-git 1.0.0.alpha.2.r0.gafdb656-2

Git Clone URL: https://aur.archlinux.org/cosmic-comp-git.git (read-only, click to copy)
Package Base: cosmic-comp-git
Description: Compositor for the COSMIC desktop environment
Upstream URL: https://github.com/pop-os/cosmic-comp
Licenses: GPL-3.0-or-later
Conflicts: cosmic-comp
Provides: cosmic-comp
Submitter: schw0reismus
Maintainer: soloturn (schw0reismus, yochananmarqos)
Last Packager: yochananmarqos
Votes: 3
Popularity: 0.73
First Submitted: 2022-03-28 08:33 (UTC)
Last Updated: 2024-09-26 18:38 (UTC)

Latest Comments

1 2 3 4 Next › Last »

pheki commented on 2024-12-02 16:06 (UTC)

@serxxx You probably need to run rustup update stable or just rustup update as stable seems to be outated on your machine and LazyCell was stabilized in 1.80.0

You don't see any warning as cosmic-comp does not specify it's MSRV (minimum supported rust version). The repo currently uses 1.80: https://github.com/pop-os/cosmic-comp/blob/master/rust-toolchain.toml, but this PKGBUILD forces the usage of stable. It's fine to just use the latest stable as Rust is (almost always) backwards compatible, so any version higher than 1.80 should work.

serxxx commented on 2024-08-14 19:58 (UTC)

@soloturn rustc 1.79.0 (129f3b996 2024-06-10)

It's chosen using rustup because some other rust thing required rustup. So it may be too recent, or not recent enough -- I didn't see any warnings about needing a specific rust version, which often are reported by the build process.

Is there a known good version that these cosmic packages build with? I am building clean, wiping the yay caches for the packages in between; I don't know what I might need to do to purge or clean whatever cruft Rust itself leaves around the filesystem.

soloturn commented on 2024-08-14 13:58 (UTC)

@serxxx it works for you now? what does rustc --version say for you?

yochananmarqos commented on 2024-08-13 22:35 (UTC)

@serxxx: There is no try, only do. :P

I build in a clean chroot every time I touch my almost 500 AUR packages. Any other issues that may arise building with makepkg or AUR helpers are in userspace. Check your local environment and tool configs.

serxxx commented on 2024-08-13 17:57 (UTC)

I've been trying to build these packages for a week or so, with no success. Most recently, the error is in compiling libcosmic, with:

error[E0658]: use of unstable library feature 'lazy_cell'

I suspect builders need to configure something for the Rust compiler to do unsafe things. Could we get a note on the wiki about any special Rust settings users need to make to get these packages to build, for people who aren't familiar with Rust?

yochananmarqos commented on 2024-07-13 19:01 (UTC)

@ptr1337: Upstream has been switching to Mold by default, but not all just yet. Since one would be building several / dozens of packages all at once the same linker should be used.

ptr1337 commented on 2024-07-13 19:00 (UTC)

Also, if you want to speed up the build, you can try to put -C lto=thin, if cargo does not ignore it.

Otherwise, we could also think about patching the Cargo.toml:

https://github.com/pop-os/cosmic-applets/blob/master/Cargo.toml#L61

ptr1337 commented on 2024-07-13 18:56 (UTC)

Could we please switch for all packages back to lld?

There is really not a noticeable performance benefit, when using mold - specially when LTO is used there is not even one.

Since we are now on Archlinux on LLD 18, even with non LTO there is mostly no difference and we also do not use here the split-debug-files option.

lld is just way safer to use.

yochananmarqos commented on 2024-07-08 18:28 (UTC)

@Rajala1404: It does now. ;)

Rajala1404 commented on 2024-07-08 16:09 (UTC) (edited on 2024-07-08 16:10 (UTC) by Rajala1404)

The Packaging doesn't work

==> Starting package()...

install -Dm0755 "target/release/cosmic-comp" ""/home/rajala1404/.cache/yay/cosmic-comp-git/pkg/cosmic-comp-git/usr/bin/cosmic-comp""

install -Dm0644 "data/keybindings.ron" ""/home/rajala1404/.cache/yay/cosmic-comp-git/pkg/cosmic-comp-git/usr/share/cosmic/com.system76.CosmicSettings.Shortcuts/v1/defaults""

install: cannot stat 'config.ron': No such file or directory

==> ERROR: A failure occurred in package().