From: DBLouis <DBLouis@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] Meta-package dependency resolution
Date: Sun, 22 Aug 2021 16:00:34 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32631@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]
New issue by DBLouis on void-packages repository
https://github.com/void-linux/void-packages/issues/32631
Description:
I am having an issue with XBPS, not sure if this is the expected behavior or not.
Here is a minimal reproducible example:
```sh
# Template file for 'foobar'
pkgname=foobar
version=1
revision=1
build_style=meta
# cgmanager depends on dbus (could be anything depending on dbus)
# dbus-elogind is placed after, on purpose
depends="cgmanager dbus-elogind"
short_desc="whatever"
license="whatever"
homepage="whatever"
```
The following will attempt to install both `dbus` and `dbus-elogind` and eventually fail.
```sh
./xbps-src pkg foobar
xbps-install \
-R https://alpha.de.repo.voidlinux.org/current \
-R hostdir/binpkgs/test \
-r "$(mktemp -d)" -S foobar
```
Installing directly does not fail and correctly replace `dbus` with `dbus-elogind`, no matter the order:
```sh
xbps-install \
-R https://alpha.de.repo.voidlinux.org/current \
-r "$(mktemp -d)" -S cgmanager dbus-elogind
```
next reply other threads:[~2021-08-22 14:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-22 14:00 DBLouis [this message]
2022-06-02 2:15 ` github-actions
2022-06-17 2:13 ` [ISSUE] [CLOSED] " github-actions
2022-06-18 19:12 ` Chocimier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32631@inbox.vuxu.org \
--to=dblouis@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).