GNU bug report logs - #74589
[PATCH 0/2] Decouple pipewire from qtbase.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 28 Nov 2024 13:02:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 74589 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 guix-patches <at> gnu.org:
bug#74589; Package guix-patches. (Thu, 28 Nov 2024 13:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 28 Nov 2024 13:02:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, maxim.cournoyer <at> gmail.com
Subject: [PATCH 0/2] Decouple pipewire from qtbase.
Date: Thu, 28 Nov 2024 13:58:24 +0100
In the spirit of 74517, we should need qtbase in the store to be able
to build pipewire, and the depencendy is there for an optional
graphical tool in libcamera.

Nicolas Graves (2):
  gnu: Add libcamera-minimal.
  gnu: pipewire: Replace libcamera by libcamera-minimal.

 gnu/packages/linux.scm      | 2 +-
 gnu/packages/networking.scm | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#74589; Package guix-patches. (Thu, 28 Nov 2024 13:42:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 74589 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 1/2] gnu: Add libcamera-minimal.
Date: Thu, 28 Nov 2024 14:41:22 +0100
* gnu/packages/networking.scm (libcamera-minimal): New variable.
---
 gnu/packages/networking.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index d78f4ca02f..cf90ffb1cd 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -470,6 +470,13 @@ (define-public libcamera
     (home-page "https://libcamera.org/")
     (license license:lgpl2.1+)))
 
+(define-public libcamera-minimal
+  (package
+    (inherit libcamera)
+    (name "libcamera-minimal")
+    (inputs (modify-inputs (package-inputs libcamera)
+              (delete "qtbase")))))
+
 (define-public libnice
   (package
     (name "libnice")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#74589; Package guix-patches. (Thu, 28 Nov 2024 13:42:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 74589 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH v2 1/2] gnu: Add libcamera-minimal.
Date: Thu, 28 Nov 2024 14:41:48 +0100
* gnu/packages/networking.scm (libcamera-minimal): New variable.
---
 gnu/packages/networking.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index d78f4ca02f..cf90ffb1cd 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -470,6 +470,13 @@ (define-public libcamera
     (home-page "https://libcamera.org/")
     (license license:lgpl2.1+)))
 
+(define-public libcamera-minimal
+  (package
+    (inherit libcamera)
+    (name "libcamera-minimal")
+    (inputs (modify-inputs (package-inputs libcamera)
+              (delete "qtbase")))))
+
 (define-public libnice
   (package
     (name "libnice")
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#74589; Package guix-patches. (Thu, 28 Nov 2024 13:42:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 74589 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH v2 2/2] gnu: pipewire: Replace libcamera by libcamera-minimal.
Date: Thu, 28 Nov 2024 14:41:49 +0100
* gnu/packages/linux.scm (pipewire)[inputs]: Replace libcamera by
libcamera-minimal.
---
 gnu/packages/linux.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f7e7126c3d..9faa8fcde1 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -10087,7 +10087,7 @@ (define-public pipewire
                   gstreamer
                   jack-2
                   ldacbt
-                  libcamera
+                  libcamera-minimal
                   libfdk
                   libfreeaptx
                   libsndfile
-- 
2.46.0





Message sent on to Nicolas Graves <ngraves <at> ngraves.fr>:
bug#74589. (Tue, 08 Apr 2025 13:59:02 GMT) Full text and rfc822 format available.

Message #17 received at 74589-submitter <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 74589-submitter <at> debbugs.gnu.org
Cc: z572 <at> z572.online, iyzsong <at> envs.net, maxim.cournoyer <at> gmail.com,
 Leo Famulari <leo <at> famulari.name>
Subject: RE: Decouple pipewire from qtbase.
Date: Tue, 8 Apr 2025 14:58:32 +0100
Hi,

As this changes pipewire it seems that 'desktop' would be impacted. It was proposed 130 days and I'm not sure if anyone was notified. Assume it would cause a big rebuild:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74589

Futurile / Steve

ps AFAIK the best way to add someone to a bug is to email it and cc them with some explanation of why it might be of interest to them!




Message sent on to Nicolas Graves <ngraves <at> ngraves.fr>:
bug#74589. (Wed, 23 Apr 2025 15:32:03 GMT) Full text and rfc822 format available.

Message #20 received at 74589-submitter <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Steve George <steve <at> futurile.net>
Cc: z572 <at> z572.online, 74589-submitter <at> debbugs.gnu.org, iyzsong <at> envs.net,
 Leo Famulari <leo <at> famulari.name>
Subject: Re: Decouple pipewire from qtbase.
Date: Thu, 24 Apr 2025 00:31:27 +0900
Hi,

Steve George <steve <at> futurile.net> writes:

> Hi,
>
> As this changes pipewire it seems that 'desktop' would be impacted. It
> was proposed 130 days and I'm not sure if anyone was notified. Assume
> it would cause a big rebuild:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74589

'guix refresh -l pipewire' doesn't ring any alarm.

Though, strangely, when qtbase is removed from libcamera in
libcamera-minimal, it looses gstreamer support and there's no longer doc
produced, it seems, so the move-doc-and-gst phase fails:

--8<---------------cut here---------------start------------->8---
phase `move-doc-and-gst' failed after 0.0 seconds
Backtrace:
           8 (primitive-load "/gnu/store/nlsm52b733bzsnn90mba6lw8hc4…")
In guix/build/gnu-build-system.scm:
    966:2  7 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1752:10  6 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
    634:9  5 (for-each #<procedure 7fffeebaf680 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
  1752:10  4 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
   987:23  3 (_)
In unknown file:
           2 (rename-file "/gnu/store/njj0wj8vly6w380rx7bi8rrdrjq32…" …)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure rename-file: No such file or directory
build process 18 exited with status 256
builder for `/gnu/store/a70h2kf7i9ksazzzbqv5nm31yk1zfgcg-libcamera-minimal-0.3.1.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

Nicolas, is this something you had seen?

-- 
Thanks,
Maxim




This bug report was last modified 52 days ago.

Previous Next


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