Comments (6)
The AUR has partial support for provides
, in that you can search
by provides, but not an info
query. yay
uses this since some time: Jguer/yay#1856 (Before that, it had a pkgname
heuristic that could easily lead to rate limiting.)
So this is effectively a dupe of #1042
from aurutils.
The PKGBUILD
looks poorly designed by depending on so many libfoo.so
virtual packages.
The depends
array is intended for package names (including virtual package names) and not file or libs unless those are provided as virtuals by some parent package.
In this case scenefx
does provide the virtual package libscenefx.so
so it ought to resolve but this is such a weird way of packaging things. I suppose he really wants the versions of libraries to be specific.
from aurutils.
It does look like this is a subset of that more general issue, but it could be a special case. Looking at wlroots
as an example, since swayfx depends on a specific version libwlroots.so=12
- that lib version isn't actually specified in the PKGBUILD (and isn't the same as the package version): https://gitlab.archlinux.org/archlinux/packaging/packages/wlroots/-/blob/main/PKGBUILD?ref_type=heads#L42
But the version info is there in provides
in the built package - if I run pacman -Qi wlroots
I do see Provides : libwlroots.so=12-64
. So it seems like there's some special case in makepkg
that adds that info, which makes me wonder if it's also special-cased somewhere else. Whatever yay
and paru
do seems to work though, so it's probably the same as far as search is concerned.
from aurutils.
Actually it looks like yay
doesn't handle version specifications properly. paru -S python=3.10.14
tries to install python310
, but yay -S python=3.10.14
tries to install python
(which is 3.12). The same happens with libwlroots.so=13
which should install wlroots-git
but yay
wants to reinstall wlroots
.
from aurutils.
Right now aur-sync
doesn't support version specifications on the command-line either (as the AUR RPC does not support versioned queries). Only versioned dependencies from the package metadata is taken into consideration, which includes versioned provides
added by makepkg
.
from aurutils.
Updated #1042 with the point on versioned CLI arguments.
from aurutils.
Related Issues (20)
- `depends`: erroneous output when combining conflicting packages HOT 1
- `perl`: improve test coverage
- `sync`: system `pacman.conf` is still used with `--chroot` HOT 2
- `sync` attempt to build dependencies satisfied by the official repositories; example: `devtools-git` -> `bzr` (satisfied by `breezy`) HOT 8
- `examples/sync-rebuild`: handle rebuild targets that have an AUR update
- `sync`: take optional dependencies into account for build order HOT 1
- Is it possible to override makepkg.conf build options in chroot when using aurutils? HOT 3
- `lib`: add `sync--filter` HOT 1
- Is the warning about makechrootpkg still relevant HOT 3
- `sync`: '--root' option leads to aur-build '-r' option (aka '--rmdeps') instead of '--root' HOT 2
- `sync` with repo present in pacman.conf broken since v19 HOT 1
- mkarchroot not found HOT 1
- `aur sync -c` does not work HOT 5
- aur-build error (aurutils 19.2) HOT 2
- `repo`: Output `]` when nothing is found with -J and -s. HOT 2
- `repo`, `repo-parse`: spurious `.db` suffix in repository names
- aurutils terminal coloring with systemd 256 HOT 4
- aurutils, after cloning/fetching from AUR package "python-apscheduler", says invalid git revision, but manually one can build the package HOT 5
- `depends`: broken. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aurutils.