GNU bug report logs - #73898
MPV should not propagate all inputs

Previous Next

Package: guix;

Reported by: Antero Mejr <mail <at> antr.me>

Date: Sun, 20 Oct 2024 02:35:02 UTC

Severity: normal

To reply to this bug, email your comments to 73898 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#73898; Package guix. (Sun, 20 Oct 2024 02:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antero Mejr <mail <at> antr.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 20 Oct 2024 02:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <mail <at> antr.me>
To: bug-guix <at> gnu.org
Subject: MPV should not propagate all inputs
Date: Sun, 20 Oct 2024 02:33:37 +0000
Currently, MPV propagates most of its inputs, which is not correct.

When MPV tries to propagate a different version of a dependency (like
ffmpeg) that is a different version what is currently installed, Guix
operations will fail.

The source code in video.scm says that the inputs are propagated so
pkg-config will work, but that is not a valid reason. The pkg-config
file should be patched so that pkg-config will work without unnecessary
propagated-inputs.




Information forwarded to bug-guix <at> gnu.org:
bug#73898; Package guix. (Wed, 23 Oct 2024 12:55:01 GMT) Full text and rfc822 format available.

Message #8 received at 73898 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Antero Mejr <mail <at> antr.me>
Cc: 73898 <at> debbugs.gnu.org
Subject: Re: bug#73898: MPV should not propagate all inputs
Date: Wed, 23 Oct 2024 21:52:39 +0900
Hi Antero,

Antero Mejr <mail <at> antr.me> writes:

> Currently, MPV propagates most of its inputs, which is not correct.
>
> When MPV tries to propagate a different version of a dependency (like
> ffmpeg) that is a different version what is currently installed, Guix
> operations will fail.
>
> The source code in video.scm says that the inputs are propagated so
> pkg-config will work, but that is not a valid reason. The pkg-config
> file should be patched so that pkg-config will work without unnecessary
> propagated-inputs.

Maybe we could have a mpv package that doesn't propagate anything, and a libmpv
that does, if there are any users (other packages) of mpv as a library?

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#73898; Package guix. (Wed, 23 Oct 2024 16:55:01 GMT) Full text and rfc822 format available.

Message #11 received at 73898 <at> debbugs.gnu.org (full text, mbox):

From: Antero Mejr <mail <at> antr.me>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 73898 <at> debbugs.gnu.org
Subject: Re: bug#73898: MPV should not propagate all inputs
Date: Wed, 23 Oct 2024 16:53:49 +0000
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Maybe we could have a mpv package that doesn't propagate anything, and a libmpv
> that does, if there are any users (other packages) of mpv as a library?

There was already some discussion about that here:
https://issues.guix.gnu.org/68250

It seems like once the pkgconf stuff is merged, mpv can be built as a
shared library, move the propagated-inputs to inputs, and meson will
output the correct pkg-config file without breaking downstream
dependencies. Not sure though.




This bug report was last modified 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.