Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Meta-package dependency resolution
@ 2021-08-22 14:00 DBLouis
  2022-06-02  2:15 ` github-actions
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: DBLouis @ 2021-08-22 14:00 UTC (permalink / raw)
  To: ml

[-- 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
```

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Meta-package dependency resolution
  2021-08-22 14:00 [ISSUE] Meta-package dependency resolution DBLouis
@ 2022-06-02  2:15 ` github-actions
  2022-06-17  2:13 ` [ISSUE] [CLOSED] " github-actions
  2022-06-18 19:12 ` Chocimier
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-06-02  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/32631#issuecomment-1144344962

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] Meta-package dependency resolution
  2021-08-22 14:00 [ISSUE] Meta-package dependency resolution DBLouis
  2022-06-02  2:15 ` github-actions
@ 2022-06-17  2:13 ` github-actions
  2022-06-18 19:12 ` Chocimier
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-06-17  2:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]

Closed 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
```

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Meta-package dependency resolution
  2021-08-22 14:00 [ISSUE] Meta-package dependency resolution DBLouis
  2022-06-02  2:15 ` github-actions
  2022-06-17  2:13 ` [ISSUE] [CLOSED] " github-actions
@ 2022-06-18 19:12 ` Chocimier
  2 siblings, 0 replies; 4+ messages in thread
From: Chocimier @ 2022-06-18 19:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/issues/32631#issuecomment-1159541046

Comment:
This is expected. 
Xbps can replace already installed package with another package that has `provides` on it, but does not backtrack to solve conflict if virtual is added to transaction after real one.
Backtracking is hard, if you have a good idea of how to implement, send an RFC to xbps repo.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-18 19:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22 14:00 [ISSUE] Meta-package dependency resolution DBLouis
2022-06-02  2:15 ` github-actions
2022-06-17  2:13 ` [ISSUE] [CLOSED] " github-actions
2022-06-18 19:12 ` Chocimier

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).