Giter Site home page Giter Site logo

Comments (6)

AladW avatar AladW commented on June 16, 2024 1

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.

Earnestly avatar Earnestly commented on June 16, 2024

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.

DeltaWhy avatar DeltaWhy commented on June 16, 2024

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.

DeltaWhy avatar DeltaWhy commented on June 16, 2024

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.

AladW avatar AladW commented on June 16, 2024

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.

AladW avatar AladW commented on June 16, 2024

Updated #1042 with the point on versioned CLI arguments.

from aurutils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.