GNU bug report logs - #49122
gobject-introspection and not finding cairo

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: John Kehayias <john.kehayias@HIDDEN>; dated Sun, 20 Jun 2021 00:25:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 49122 <at> debbugs.gnu.org:


Received: (at 49122) by debbugs.gnu.org; 20 Jan 2024 22:18:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 20 17:18:15 2024
Received: from localhost ([127.0.0.1]:36058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rRJfK-0001YB-Rw
	for submit <at> debbugs.gnu.org; Sat, 20 Jan 2024 17:18:15 -0500
Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:50546)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1rRJfH-0001Xu-W3
 for 49122 <at> debbugs.gnu.org; Sat, 20 Jan 2024 17:18:13 -0500
Received: by mail-qv1-xf34.google.com with SMTP id
 6a1803df08f44-681397137afso17030636d6.1
 for <49122 <at> debbugs.gnu.org>; Sat, 20 Jan 2024 14:18:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1705789083; x=1706393883; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=w0g7NtCppK89839Q/qufA+STmjW1ACqrQTLHr5+jDZo=;
 b=ImIepwvz27spZgdz03ANKFDzQshCWIw+z+VEk5rJ2XZYVP03TUqtRo4gkNrmToup1M
 MNNdvZ73JEkGwskkVrkkbKeItmMJoQ9aOhavjzSrJ23eIDN3/tYNVde1JDx3pEppBr2I
 fTuJ/kP3Hhs0SUtvsmDxNEAT+OJ+QcIFpCyHY3UrtPLLqaA/ES+9JnSCum5UMuzYxNvo
 azjA/nqmuTTHHiTEBKGmJ/RFcj3V4BwuiJ2jgbOCAD9I+lzaLpgdYCTA3F7BUUMlqWO9
 FI6vGcWwEXaNZ0+8w7BD64raraVSQbWV4/5VbmsNe+PmFb2Whqe23CqeqtkyhgBl+Xx7
 M3uw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1705789083; x=1706393883;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=w0g7NtCppK89839Q/qufA+STmjW1ACqrQTLHr5+jDZo=;
 b=hcwpZvKF3mtd6vtrHUwodLkTqaMcV+J9xbpCBt1E3uLD27CLJMgn8PzzpQ29onzJFc
 JEh2QmaK/T/zZYzLCg24EeJW2BKajB99huzxX858TDIEZuQogt6Ow/8w8Hvax/QjBc5Y
 /tONKjTk9dsAw9wD8xF4M4x6M1Lt7fNHaiDjgj/av0wnwuDi7HbWFOd49RBCwSSMuc3c
 MOXl2aqaX5uzKorEd2JKBocv0YaxLgexWn7iDhPufb1jZGN/V8KF78chQIALdOBHniVZ
 cS0sIsEUOM/Kg8Uj95tPkQ/OtQZmQiPKvan3J7zOlgq/BgoSAlMEYvXjYPxj2iMDpUsY
 0YNw==
X-Gm-Message-State: AOJu0YyGOQuTAes1KiJMudNWlKcEKu75OILQZJvc1XvCgkPc8Hjcsrru
 nbQjB3oxTtjl/i7lVU65IO5uAA4G4iKpe1g2SzQLmlYQ53zJ3Bahi3A8taFYuX4=
X-Google-Smtp-Source: AGHT+IGkqy75WE5V6XOt/uckWk5HkOAP2XWaGBoUMoTk8YuzB/SdepcbGFvlkXzoOErqsqfSF0kqng==
X-Received: by 2002:a0c:f291:0:b0:686:69d:53d with SMTP id
 k17-20020a0cf291000000b00686069d053dmr1268042qvl.20.1705789082988; 
 Sat, 20 Jan 2024 14:18:02 -0800 (PST)
Received: from hurd (dsl-10-128-232.b2b2c.ca. [72.10.128.232])
 by smtp.gmail.com with ESMTPSA id
 pi2-20020a0562144a8200b00685aa8aae1csm746321qvb.12.2024.01.20.14.18.02
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 20 Jan 2024 14:18:02 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: John Kehayias <john.kehayias@HIDDEN>
Subject: Re: bug#49122: gobject-introspection and not finding cairo
In-Reply-To: <zUU7RiK8_yvzxLZxIyAIo3cUoO7pKuN4KeRmxwHUN9UYHN9i0TDX0OdXu5-GxRbxgecj3HGwfMF7DEnqS9LF0aKtHcxbSWWJX_9Gn-VFclY=@protonmail.com>
 (John Kehayias's message of "Sun, 20 Jun 2021 23:59:38 +0000")
References: <NU1oXuYXmLmLVwBBnwvv_21WrRNCjHFfDC16NAPAg8uzXlw9N0FhL69CwdG2KdPRBpb5YoOEjDr8ZiDagZpJfLTOFXxOJLecW-HlRjZONMo=@protonmail.com>
 <zUU7RiK8_yvzxLZxIyAIo3cUoO7pKuN4KeRmxwHUN9UYHN9i0TDX0OdXu5-GxRbxgecj3HGwfMF7DEnqS9LF0aKtHcxbSWWJX_9Gn-VFclY=@protonmail.com>
Date: Sat, 20 Jan 2024 17:18:01 -0500
Message-ID: <87edebd4yu.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 49122
Cc: "49122 <at> debbugs.gnu.org" <49122 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi John,

John Kehayias <john.kehayias@HIDDEN> writes:

> I've managed to fix the initial problem I noted, but this would depend
> on having cairo as an input so that gobject-introspection can find the
> library to patch the typelib. Unfortunately, this would be a circular
> dependency. This is a long standing issue with how cairo is handled
> here (see, e.g.,
> https://gitlab.freedesktop.org/cairo/cairo/-/issues/141).
>
> I don't know how circular dependencies are solved in guix, so I'm not
> sure what to do to fix this. gobject-introspection doesn't need cairo
> to build or function, so the build depends is not really needed other
> than to fix this bug. So this could be done with a separate package or
> in two steps?

Upstream said:

--8<---------------cut here---------------start------------->8---
The Cairo API is not really introspectable, because its type system does
not use GObject.

We could generate the introspection data by using a filter script to
turn the snake case cairo_*_t types into the expected CamelCase Cairo*
types, but it's not entirely trivial, and it would still not by usable
by anything.
--8<---------------cut here---------------end--------------->8---

Introducing an extra dependency to the closure of gobject-introspection,
we'd have applications soft-linking to potentially different versions of
cairo (cairo and cairo-sans-poppler), which seems ugly.

Could we move the cairo.gir file to the cairo package, and this would be
picked up by gobject-introspection if at the right location?

It'd differ from upstream, but that'd be cleaner.  Perhaps we could
contribute such fix for inclusion upstream too.

-- 
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#49122; Package guix. Full text available.

Message received at 49122 <at> debbugs.gnu.org:


Received: (at 49122) by debbugs.gnu.org; 8 Sep 2021 00:07:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 07 20:07:37 2021
Received: from localhost ([127.0.0.1]:58061 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mNl7p-0000CP-Gj
	for submit <at> debbugs.gnu.org; Tue, 07 Sep 2021 20:07:37 -0400
Received: from out2.migadu.com ([188.165.223.204]:64115)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mNl7m-0000CE-Ce
 for 49122 <at> debbugs.gnu.org; Tue, 07 Sep 2021 20:07:36 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1631059652;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=l+mOZGycZecxOCh19cN7AWqXHL56Cl/AMHRUD1Anick=;
 b=QWRY5c/E3AlPadQpt2sBJSz8WQtQmXE+RO1aGRDTeqsyuilVkK3Y7oNTnLjYw7p6H0bilf
 fQdMjShFD9mtcOPvQO6l8hyDvU8xjI8lFgvCHLGwaXH9qFSkfvKBPxE9j7WlDi0yymOJwj
 lIMDQX1shXlmiCbYjnVgJOEx1k15rWRsPmX/5NzUcdyvl8iMw5cZ6tH61xe2gX+PmDs1Is
 nTL66TxSqAiIDZwk6cEzT3FtyINkchzkpyRzRSf6pz8+pBqhVWvIVnUwTDggKQ3ESixpk8
 ICCgqiRI9iQcXlMyY+bDe2UGHXdDVvqBCTfaOW/CYTTbfOt1fnR5dAb+iBJH+Q==
From: Raghav Gururajan <rg@HIDDEN>
To: 49122 <at> debbugs.gnu.org
References: <5c2f2026-03ed-2e9a-66f2-c428101b68de@HIDDEN>
Subject: Re: gobject-introspection and not finding cairo
Message-ID: <0f2be41f-b20f-7ffa-fa17-9b51636cd92a@HIDDEN>
Date: Tue, 7 Sep 2021 20:07:31 -0400
MIME-Version: 1.0
In-Reply-To: <5c2f2026-03ed-2e9a-66f2-c428101b68de@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="GYLw9tMAxOppBPhdd4lX4u7sXxzHiRJB1"
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 49122
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--GYLw9tMAxOppBPhdd4lX4u7sXxzHiRJB1
Content-Type: multipart/mixed; boundary="BXoHlfEFQkro1Zl2xBzLaNTciHagbgfzO";
 protected-headers="v1"
From: Raghav Gururajan <rg@HIDDEN>
To: 49122 <at> debbugs.gnu.org
Message-ID: <0f2be41f-b20f-7ffa-fa17-9b51636cd92a@HIDDEN>
Subject: Re: gobject-introspection and not finding cairo
References: <5c2f2026-03ed-2e9a-66f2-c428101b68de@HIDDEN>
In-Reply-To: <5c2f2026-03ed-2e9a-66f2-c428101b68de@HIDDEN>

--BXoHlfEFQkro1Zl2xBzLaNTciHagbgfzO
Content-Type: multipart/mixed;
 boundary="------------172CF82ED112120E0830D9CA"
Content-Language: en-CA

This is a multi-part message in MIME format.
--------------172CF82ED112120E0830D9CA
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi John!

> Something like this:
>=20
> ```
> (define-public gobject-introspection+cairo
>  =C2=A0 (hidden-package
>  =C2=A0=C2=A0 (package
>  =C2=A0=C2=A0=C2=A0=C2=A0 (inherit gobject-introspection)
>  =C2=A0=C2=A0=C2=A0=C2=A0 (arguments
>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (substitute-keyword-arguments (package-=
arguments=20
> gobject-introspection)
>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((#:configure-flags flags '=
'())
>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(cons* "-Dcairo=3Dtr=
ue" ,flags))))
>  =C2=A0=C2=A0=C2=A0=C2=A0 (inputs
>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(("cairo" ,cairo)
>  =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ,@(package-inputs gobject-i=
ntrospection))))))
> ```

Or, something like this:

```
(define-public gobject-introspection+cairo
   (hidden-package
    (package
      (inherit gobject-introspection)
      (arguments
       (substitute-keyword-arguments (package-arguments=20
gobject-introspection)
         ((#:configure-flags flags ''())
          `(append
            (list
             "-Dcairo=3Dtrue"
             (string-append "-Dcairo_libname=3D"
                            (assoc-ref %build-inputs "cairo")
                            "/lib/libcairo-gobject.so"))
            ,flags))))
      (inputs
       `(("cairo" ,cairo)
         ,@(package-inputs gobject-introspection))))))
```

Regards,
RG.

--------------172CF82ED112120E0830D9CA
Content-Type: application/pgp-keys;
 name="OpenPGP_0x5F5816647F8BE551.asc"
Content-Transfer-Encoding: quoted-printable
Content-Description: OpenPGP public key
Content-Disposition: attachment;
 filename="OpenPGP_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yQbrw7NNVJhZ2hhdiBHdXJ1cmFqYW4gKFRyYWRlKSA8dHJhZGVAcmFnaGF2Z3Vyd=
XJh
amFuLm5hbWU+wpAEExYIADgWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYBNNHQIbAwULCQgHA=
gYV
CgkICwIEFgIDAQIeAQIXgAAKCRBfWBZkf4vlUQ+9AP0S/6S5PLshS/vz7ezRO2HokruaRiDhg=
w0t
yRM3LAefSQEA7rEBw9sSUsDgRILGKUi1ZzQq5AJ0F77KOXyurVqnywXOOARfZkIkEgorBgEEA=
ZdV
AQUBAQdAZgiqc2NhH/myrCCan9x7gKI6QBPZ/1b+Bz/f3n95ozkDAQgHwngEGBYIACAWIQTNL=
V6q
qYzLN9qR1rBfWBZkf4vlUQUCX2ZCJAIbDAAKCRBfWBZkf4vlUV/OAQD+tMNgmddPSchLpaDPp=
sdD
hpvra2uTonNUmnfbTvPgpQD/dG72NCT8hBUVqtzxwQmBrXY/nPEUxctYuvu3unUmzQU=3D
=3DooAX
-----END PGP PUBLIC KEY BLOCK-----

--------------172CF82ED112120E0830D9CA--

--BXoHlfEFQkro1Zl2xBzLaNTciHagbgfzO--

--GYLw9tMAxOppBPhdd4lX4u7sXxzHiRJB1
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYTf+wwUDAAAAAAAKCRBfWBZkf4vlURIw
AP4uqA8ZNbkmRcJqxDP453j1r13Ac80ieOFE2PetIFJQLQD+M9kuIlfKwctCEkQDG3Bbnv9iMG3I
Qz9NL5AdF7SRawg=
=Gs2i
-----END PGP SIGNATURE-----

--GYLw9tMAxOppBPhdd4lX4u7sXxzHiRJB1--




Information forwarded to bug-guix@HIDDEN:
bug#49122; Package guix. Full text available.

Message received at 49122 <at> debbugs.gnu.org:


Received: (at 49122) by debbugs.gnu.org; 7 Sep 2021 23:06:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 07 19:06:49 2021
Received: from localhost ([127.0.0.1]:58011 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mNkAz-0007Ap-7j
	for submit <at> debbugs.gnu.org; Tue, 07 Sep 2021 19:06:49 -0400
Received: from out0.migadu.com ([94.23.1.103]:57983)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rg@HIDDEN>) id 1mNkAv-0007Ad-Nb
 for 49122 <at> debbugs.gnu.org; Tue, 07 Sep 2021 19:06:47 -0400
To: 49122 <at> debbugs.gnu.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; 
 s=key1; t=1631056004;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=yEt7Hj0+9EqYLWgxKy46adWRiQHywZHjyP6CDcnV2oI=;
 b=ANWjHZWl0kgJhIKr/uozR/CAEn0M8LapabbOPWSnsdSB8QnOfS8UBAMx7btp4K78d1Xo7C
 HC9OKRjd1SbsMF8JBIHQc4nrwzyx06MmzvEEdNnreVYpWqllx4NIJjR4RX/DthXhsjaoR4
 lWENyopnUWyrXkITWl9XhzEzEPNvMG6j+0f3rrDbv3XiF4yBIa+vBLZkLAl2qdrNcwUakR
 ROIHFjm+HaCo4AuDNuW7HhZcUvwq+lAcFqk2lBZbXJMzRWVvCzZtdsdlFa+Gphiu0s74zO
 oGNdTdeVDVfYDx7ALV+3IuFugi8yRoXS6QUcrIjU27ZEcuiY9PvWTtTD/YuFiw==
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Raghav Gururajan <rg@HIDDEN>
Subject: Re: gobject-introspection and not finding cairo
Message-ID: <5c2f2026-03ed-2e9a-66f2-c428101b68de@HIDDEN>
Date: Tue, 7 Sep 2021 19:06:42 -0400
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="aBjf9GxuIG2rZ0J50ukyIT0OAAuHfiWQf"
X-Migadu-Flow: FLOW_OUT
X-Migadu-Auth-User: rg@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 49122
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--aBjf9GxuIG2rZ0J50ukyIT0OAAuHfiWQf
Content-Type: multipart/mixed; boundary="JX6jVcxPA5ux4n2wJtnrOSkHomo8GWyB7";
 protected-headers="v1"
From: Raghav Gururajan <rg@HIDDEN>
To: 49122 <at> debbugs.gnu.org
Message-ID: <5c2f2026-03ed-2e9a-66f2-c428101b68de@HIDDEN>
Subject: Re: gobject-introspection and not finding cairo

--JX6jVcxPA5ux4n2wJtnrOSkHomo8GWyB7
Content-Type: multipart/mixed;
 boundary="------------E7017D3085617221E2B23911"
Content-Language: en-CA

This is a multi-part message in MIME format.
--------------E7017D3085617221E2B23911
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi John!

You could try creating a gobject-introspection variant with cairo=20
enabled and use that variant as native-input for your packages.

Something like this:

```
(define-public gobject-introspection+cairo
   (hidden-package
    (package
      (inherit gobject-introspection)
      (arguments
       (substitute-keyword-arguments (package-arguments=20
gobject-introspection)
         ((#:configure-flags flags ''())
          `(cons* "-Dcairo=3Dtrue" ,flags))))
      (inputs
       `(("cairo" ,cairo)
         ,@(package-inputs gobject-introspection))))))
```

Regards,
RG.

--------------E7017D3085617221E2B23911
Content-Type: application/pgp-keys;
 name="OpenPGP_0x5F5816647F8BE551.asc"
Content-Transfer-Encoding: quoted-printable
Content-Description: OpenPGP public key
Content-Disposition: attachment;
 filename="OpenPGP_0x5F5816647F8BE551.asc"

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX2ZCJBYJKwYBBAHaRw8BAQdAdiUK33kml2dYjrWidlr4/v0pmjpUv7hOsBN/oSl5wx7NL=
1Jh
Z2hhdiBHdXJ1cmFqYW4gKFJHKSA8cmdAcmFnaGF2Z3VydXJhamFuLm5hbWU+wpMEExYIADsFC=
wkI
BwIGFQoJCAsCBBYCAwECHgECF4ACGQEWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYRS1pwIbI=
wAK
CRBfWBZkf4vlUbYYAQCe+UaQKTg+iaEL0XAuhyZgiMNpjoqrvlZCAb8ahNLe3AEA1/v+k2EjE=
ap/
lfeUSxuzy4MvYXxRRJMZ1C+qJs7MIgPNPVJhZ2hhdiBHdXJ1cmFqYW4gKEVkdWNhdGlvbikgP=
GVk
dWNhdGlvbkByYWdoYXZndXJ1cmFqYW4ubmFtZT7CkAQTFggAOBYhBM0tXqqpjMs32pHWsF9YF=
mR/
i+VRBQJgE0xGAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEF9YFmR/i+VRQcQBALNRe=
1V/
5DKN8ZxyVQlzt4TdGUyNom7xJ6r23ANtcygxAQDBjw6NLXV3aY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content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTNLV6qqYzLN9qR1rBfWBZkf4vlUQUCYTfwggUDAAAAAAAKCRBfWBZkf4vlUYQx
AP0VF5l4JhOxEevyljoBZ9mQXgmaSzicKu3gAmwXQGMhqwD/UiUPv7D6x1spLcVyITanBURAP+ax
6RmbxyxxXbmZBwM=
=o+FC
-----END PGP SIGNATURE-----

--aBjf9GxuIG2rZ0J50ukyIT0OAAuHfiWQf--




Information forwarded to bug-guix@HIDDEN:
bug#49122; Package guix. Full text available.

Message received at 49122 <at> debbugs.gnu.org:


Received: (at 49122) by debbugs.gnu.org; 21 Jun 2021 02:04:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 20 22:04:18 2021
Received: from localhost ([127.0.0.1]:35036 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lv9IQ-0008Li-Dw
	for submit <at> debbugs.gnu.org; Sun, 20 Jun 2021 22:04:18 -0400
Received: from mail-4317.protonmail.ch ([185.70.43.17]:44533)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <john.kehayias@HIDDEN>) id 1lv9IN-0008LP-6A
 for 49122 <at> debbugs.gnu.org; Sun, 20 Jun 2021 22:04:16 -0400
Date: Mon, 21 Jun 2021 02:04:06 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1624241048;
 bh=rKjebpBtwIftFpNsttxEcG+tLib4xFn/gltYeD6CNoM=;
 h=Date:To:From:Reply-To:Subject:From;
 b=ceQuz3NCjkQjEyHQF4ms63Inuo2yFlUiPEUFtNSVRZTvhMQt6MJRljEmWDPi3s86g
 TKqndE2XKvAUwW1PsZh2Z6KbaPuxQLemLYScvdOfAMcNSmqfEml787T2Uf2+Jb6Hmg
 ofFvxW+kkaljEoya5OfyVUgIVbgtmVhyPf4lwwiU=
To: "49122 <at> debbugs.gnu.org" <49122 <at> debbugs.gnu.org>
From: John Kehayias <john.kehayias@HIDDEN>
Subject: (No Subject)
Message-ID: <S5U-gizfg9KaYJJXAKf2O9DmT33cBTLXMiX6SITY2FPDk6nGwERrd-TmPwsfkduxC-jbwIzhys9-oq1gAW6Bt55wpT5jRovDh2_KIMMUF5o=@protonmail.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="b1_63M1rG9oWX3trFkP0N8oKKkw9XRWFWE6ruftVBQh0"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Of course,
 saw right after my last message that the dependency
 cycle here is through poppler, and cairo-sans-poppler exists. So I think
 I've solved this problem and will submit a patch. I've attached the current
 changes I've been working on and testing for now. 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 SLIGHTLY_BAD_SUBJECT   Subject contains something slightly spammy
 -0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [185.70.43.17 listed in wl.mailspike.net]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (john.kehayias[at]protonmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Debbugs-Envelope-To: 49122
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: John Kehayias <john.kehayias@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

This is a multi-part message in MIME format.

--b1_63M1rG9oWX3trFkP0N8oKKkw9XRWFWE6ruftVBQh0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Of course, saw right after my last message that the dependency cycle here i=
s through poppler, and cairo-sans-poppler exists. So I think I've solved th=
is problem and will submit a patch.

I've attached the current changes I've been working on and testing for now.


--b1_63M1rG9oWX3trFkP0N8oKKkw9XRWFWE6ruftVBQh0
Content-Type: text/x-patch; name=go-cairo.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=go-cairo.patch

ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9nbGliLnNjbSBiL2dudS9wYWNrYWdlcy9nbGliLnNj
bQppbmRleCAyMDYyMjJiNTc4Li5mYjNkYmRlY2I1IDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMv
Z2xpYi5zY20KKysrIGIvZ251L3BhY2thZ2VzL2dsaWIuc2NtCkBAIC00OTYsNiArNDk2LDEzIEBA
IGR5bmFtaWMgbG9hZ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W5zLXBvcHBs
ZXIpIDsgYnJlYWsgZGVwZW5kZW5jeSBsb29wIHZpYSBwb3BwbGVyCiAgICAgICAgKCJmbGV4IiAs
ZmxleCkKICAgICAgICAoImdsaWIiICxnbGliKQogICAgICAgICgicHl0aG9uIiAscHl0aG9uLXdy
YXBwZXIpCg==

--b1_63M1rG9oWX3trFkP0N8oKKkw9XRWFWE6ruftVBQh0--





Information forwarded to bug-guix@HIDDEN:
bug#49122; Package guix. Full text available.

Message received at 49122 <at> debbugs.gnu.org:


Received: (at 49122) by debbugs.gnu.org; 20 Jun 2021 23:59:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 20 19:59:50 2021
Received: from localhost ([127.0.0.1]:34997 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lv7Ly-0005G9-29
	for submit <at> debbugs.gnu.org; Sun, 20 Jun 2021 19:59:50 -0400
Received: from mail-4316.protonmail.ch ([185.70.43.16]:64837)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <john.kehayias@HIDDEN>) id 1lv7Lu-0005Fp-Mf
 for 49122 <at> debbugs.gnu.org; Sun, 20 Jun 2021 19:59:48 -0400
Date: Sun, 20 Jun 2021 23:59:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1624233579;
 bh=CzOfYU0oZcU6kJlrCO5LfkAVvMQ5kllcrZOIjQDJOMM=;
 h=Date:To:From:Reply-To:Subject:From;
 b=eIZIbdA4aJoMCWvA7xP53NzomuOsJJGMKP461CJtlcmaYqswjva3xb9PSnpE3Yika
 BLtZLKOY1+UBBz77aOf06BBuZTkAzI9ZJRnx8snz4V2bwLfrTtUxVrnM9IANChJVX9
 zPaKuBFb872Bo1COAp0WcPD+PXFMRKjOec9pfE5k=
To: "49122 <at> debbugs.gnu.org" <49122 <at> debbugs.gnu.org>
From: John Kehayias <john.kehayias@HIDDEN>
Subject: (No Subject)
Message-ID: <zUU7RiK8_yvzxLZxIyAIo3cUoO7pKuN4KeRmxwHUN9UYHN9i0TDX0OdXu5-GxRbxgecj3HGwfMF7DEnqS9LF0aKtHcxbSWWJX_9Gn-VFclY=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  I've managed to fix the initial problem I noted, but this
 would depend on having cairo as an input so that gobject-introspection can
 find the library to patch the typelib. Unfortunately, this would be [...]
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 SLIGHTLY_BAD_SUBJECT   Subject contains something slightly spammy
 -0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
 [185.70.43.16 listed in wl.mailspike.net]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (john.kehayias[at]protonmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Debbugs-Envelope-To: 49122
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: John Kehayias <john.kehayias@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

I've managed to fix the initial problem I noted, but this would depend on h=
aving cairo as an input so that gobject-introspection can find the library =
to patch the typelib. Unfortunately, this would be a circular dependency. T=
his is a long standing issue with how cairo is handled here (see, e.g., htt=
ps://gitlab.freedesktop.org/cairo/cairo/-/issues/141).

I don't know how circular dependencies are solved in guix, so I'm not sure =
what to do to fix this. gobject-introspection doesn't need cairo to build o=
r function, so the build depends is not really needed other than to fix thi=
s bug. So this could be done with a separate package or in two steps?




Information forwarded to bug-guix@HIDDEN:
bug#49122; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Jun 2021 00:24:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 19 20:24:22 2021
Received: from localhost ([127.0.0.1]:60987 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lulG9-0003Bm-6q
	for submit <at> debbugs.gnu.org; Sat, 19 Jun 2021 20:24:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:37624)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <john.kehayias@HIDDEN>) id 1lufj1-0004X1-K4
 for submit <at> debbugs.gnu.org; Sat, 19 Jun 2021 14:29:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37312)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <john.kehayias@HIDDEN>)
 id 1lufj1-00006N-6c
 for bug-guix@HIDDEN; Sat, 19 Jun 2021 14:29:47 -0400
Received: from mail-0201.mail-europe.com ([51.77.79.158]:39813)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <john.kehayias@HIDDEN>)
 id 1lufix-0002Rj-HJ
 for bug-guix@HIDDEN; Sat, 19 Jun 2021 14:29:46 -0400
Date: Sat, 19 Jun 2021 18:29:05 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1624127347;
 bh=cn2Wj7TvJeY7r8y0wa11mRtvrTjOGhTGF92uPYZF1oc=;
 h=Date:To:From:Reply-To:Subject:From;
 b=emQTpIJWGTKwzyVrTkmyAFj5UWU32AoogWqSC33iNwqcK0krTFXTxf+64qPybFRsr
 JsKoNXAI1cKfcC5W32jkmP5G3Lp3+QGKY0AsGk22nTNli0JMtwv/QZfivWXan23c3Z
 /DYFl1Pi9Ju0EiFsMuVxQcXXjKNG3YR8zeZkg9x8=
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
From: John Kehayias <john.kehayias@HIDDEN>
Subject: gobject-introspection and not finding cairo
Message-ID: <NU1oXuYXmLmLVwBBnwvv_21WrRNCjHFfDC16NAPAg8uzXlw9N0FhL69CwdG2KdPRBpb5YoOEjDr8ZiDagZpJfLTOFXxOJLecW-HlRjZONMo=@protonmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
Received-SPF: pass client-ip=51.77.79.158;
 envelope-from=john.kehayias@HIDDEN; helo=mail-0201.mail-europe.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 19 Jun 2021 20:24:20 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: John Kehayias <john.kehayias@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello,

I'm trying to build some new packages, one of which is ghc-gi-cairo (from g=
hc-haskell-gi: https://github.com/haskell-gi/haskell-gi). These depend on g=
object-introspection and finding library information from gir. However, it =
appears the typelib for cairo does not include the absolute path for cairo =
(though gobject-introspection right now does not depend on cairo, so that m=
akes sense?) and the library cannot be found from this info.

Perhaps the name exposed in the typelib should be something else? I know th=
ere are patches for paths in gobject-introspection, and this issue of libra=
ry path from gobject-introspection is not just in guix (e.g. https://github=
.com/Cimbali/pympress/issues/58). In building I do see LIBRARY_PATH include=
s the correct gobject-introspection (it does find the girepository in confi=
gure) and cairo, but as far as I can tell the path to cairo must be found v=
ia the typelib when using gobject-introspection?

I've tried building gobject-introspection with cairo enabled in meson, whic=
h didn't help. I also tried patching the cairo.gir file (as in https://gith=
ub.com/Cimbali/pympress/issues/58#issuecomment-503174954), but haven't figu=
red out what needs to go in there to make it work. Probably gobject-introsp=
ection needs to be build with cairo as an input and correctly get the full =
path to the library in generating the typelib? But what goes in the gir/cai=
ro-1.0.gir.in file exactly?

From the gobject-introspection package running:

strings /gnu/store/irmw6agiw3adqphw8c3m19g31fw1yf34-gobject-introspection-1=
.62.0/lib/girepository-1.0/cairo-1.0.typelib | grep lib

has output:

libcairo-gobject.so.2
xlib


End of building ghc-gi-cairo has the following message:

starting phase `configure'
running "runhaskell Setup.hs" with command "configure" and parameters ("--p=
refix=3D/gnu/store/w95yciqs7i7aqm6v7qa6fiy6m6f25czb-ghc-gi-cairo-1.0.25" "-=
-libdir=3D/gnu/store/w95yciqs7i7aqm6v7qa6fiy6m6f25czb-ghc-gi-cairo-1.0.25/l=
ib" "--docdir=3D/gnu/store/w95yciqs7i7aqm6v7qa6fiy6m6f25czb-ghc-gi-cairo-1.=
0.25/share/doc/ghc-gi-cairo-1.0.25" "--libsubdir=3D$compiler/$pkg-$version"=
 "--package-db=3D/tmp/guix-build-ghc-gi-cairo-1.0.25.drv-0/package.conf.d" =
"--global" "--enable-tests" "--enable-shared" "--enable-executable-dynamic"=
 "--ghc-option=3D-fPIC" "--ghc-option=3D-optl=3D-Wl,-rpath=3D/gnu/store/w95=
yciqs7i7aqm6v7qa6fiy6m6f25czb-ghc-gi-cairo-1.0.25/lib/$compiler/$pkg-$versi=
on")

** (process:19): WARNING **: 17:28:36.142: Failed to load shared library 'l=
ibcairo-gobject.so.2' referenced by the typelib: libcairo-gobject.so.2: can=
not open shared object file: No such file or directory
Could not resolve symbol "cairo_gobject_context_get_type" in namespace "cai=
ro-1.0"

Appreciate any tips, help, or things to try!

John




Acknowledgement sent to John Kehayias <john.kehayias@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#49122; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 22:30:02 UTC

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