GNU bug report logs

#72998 [PATCH] gnu: ocaml-cairo2: Fix compilation.

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to guix-patches@gnu.org:
bug#72998; Package guix-patches. (Tue, 03 Sep 2024 08:53:02 GMT) (full text, mbox, link).


Acknowledgement sent to Jean-Pierre De Jesus Diaz <jean@foundation.xyz>:
New bug report received and forwarded. Copy sent to guix-patches@gnu.org. (Tue, 03 Sep 2024 08:53:02 GMT) (full text, mbox, link).


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

From: Jean-Pierre De Jesus Diaz <jean@foundation.xyz>
To: guix-patches@gnu.org
Subject: [PATCH] gnu: ocaml-cairo2: Fix compilation.
Date: Tue, 3 Sep 2024 08:51:01 +0000
This fixes the compilation of coq-ide, frama-c and why3.

* gnu/packages/ocaml.scm (ocaml-cairo2): Build only cairo2 dune package,
and remove lablgtk and gtk-2 from inputs.

Change-Id: I8ba1b6bc0bfd8a9dcddf43f34d767e7574ace49a
---
 gnu/packages/ocaml.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0e357bc891..d8f5eedb9e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8401,10 +8401,13 @@ (define-public ocaml-cairo2
                (base32
                 "06ag9b88ihhr7yd3s9l0ac7ysig02fmlmsswybbsvz71ni0mb105"))))
     (build-system dune-build-system)
+    (arguments
+     (list ;; FIXME: lablgtk@2 package does not build, so skip building the
+           ;; cairo-pango and cairo-gtk packages.  Once fixed, add lablgtk
+           ;; back to inputs and remove this.
+           #:package "cairo2"))
     (inputs
-     `(("cairo" ,cairo)
-       ("gtk+-2" ,gtk+-2)
-       ("lablgtk" ,lablgtk)))
+     (list cairo))
     (native-inputs
      (list pkg-config))
     (home-page "https://github.com/Chris00/ocaml-cairo")

base-commit: 3c21d0da62b3d6832dd1ab450d8ab50ab8d38f27
-- 
2.45.2




Information forwarded to guix-patches@gnu.org:
bug#72998; Package guix-patches. (Tue, 03 Sep 2024 10:08:02 GMT) (full text, mbox, link).


Message #8 received at 72998@debbugs.gnu.org (full text, mbox, reply):

From: Guillaume Le Vaillant <glv@posteo.net>
To: Jean-Pierre De Jesus Diaz <jean@foundation.xyz>
Cc: 72998@debbugs.gnu.org
Subject: Re: [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation.
Date: Tue, 03 Sep 2024 10:06:00 +0000
[Message part 1 (text/plain, inline)]
Jean-Pierre De Jesus Diaz <jean@foundation.xyz> skribis:

> This fixes the compilation of coq-ide, frama-c and why3.
>
> * gnu/packages/ocaml.scm (ocaml-cairo2): Build only cairo2 dune package,
> and remove lablgtk and gtk-2 from inputs.
>
> [...]
> +     (list ;; FIXME: lablgtk@2 package does not build, so skip building the
> +           ;; cairo-pango and cairo-gtk packages.  Once fixed, add lablgtk
> +           ;; back to inputs and remove this.
> +           #:package "cairo2"))

A fix for lablgtk was pushed yesterday in
0aa66ec0b0bef39591ddae3d8d06ac0fa71f03bb, so ocaml-cairo2 should build
now.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches@gnu.org:
bug#72998; Package guix-patches. (Tue, 03 Sep 2024 10:27:01 GMT) (full text, mbox, link).


Message #11 received at 72998@debbugs.gnu.org (full text, mbox, reply):

From: Jean-Pierre De Jesus Diaz <jean@foundation.xyz>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: 72998@debbugs.gnu.org
Subject: Re: [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation.
Date: Tue, 3 Sep 2024 10:23:31 +0000
Hello,

Sorry for the noise then, didn't notice a fix was already there.

I'm still a bit of a noob with Debbugs, so is there a way to close the
issue from my side?

On Tue, Sep 3, 2024 at 10:06 AM Guillaume Le Vaillant <glv@posteo.net> wrote:
>
> Jean-Pierre De Jesus Diaz <jean@foundation.xyz> skribis:
>
> > This fixes the compilation of coq-ide, frama-c and why3.
> >
> > * gnu/packages/ocaml.scm (ocaml-cairo2): Build only cairo2 dune package,
> > and remove lablgtk and gtk-2 from inputs.
> >
> > [...]
> > +     (list ;; FIXME: lablgtk@2 package does not build, so skip building the
> > +           ;; cairo-pango and cairo-gtk packages.  Once fixed, add lablgtk
> > +           ;; back to inputs and remove this.
> > +           #:package "cairo2"))
>
> A fix for lablgtk was pushed yesterday in
> 0aa66ec0b0bef39591ddae3d8d06ac0fa71f03bb, so ocaml-cairo2 should build
> now.




Reply sent to Guillaume Le Vaillant <glv@posteo.net>:
You have taken responsibility. (Tue, 03 Sep 2024 11:34:02 GMT) (full text, mbox, link).


Notification sent to Jean-Pierre De Jesus Diaz <jean@foundation.xyz>:
bug acknowledged by developer. (Tue, 03 Sep 2024 11:34:02 GMT) (full text, mbox, link).


Message #16 received at 72998-close@debbugs.gnu.org (full text, mbox, reply):

From: Guillaume Le Vaillant <glv@posteo.net>
To: Jean-Pierre De Jesus Diaz <jean@foundation.xyz>
Cc: 72998-close@debbugs.gnu.org
Subject: Re: [bug#72998] [PATCH] gnu: ocaml-cairo2: Fix compilation.
Date: Tue, 03 Sep 2024 11:11:54 +0000
[Message part 1 (text/plain, inline)]
Jean-Pierre De Jesus Diaz <jean@foundation.xyz> skribis:

> Hello,
>
> Sorry for the noise then, didn't notice a fix was already there.
>
> I'm still a bit of a noob with Debbugs, so is there a way to close the
> issue from my side?

No problem. To close an issue, you can just send an email to
<nnnnnn-done@debbugs.gnu.org> or <nnnnnn-close@debbugs.gnu.org> (where
nnnnnn is the issue number), like I did with this email.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs@gnu.org> to internal_control@debbugs.gnu.org. (Wed, 02 Oct 2024 11:24:23 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Nov 4 22:22:44 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.