all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "Collin J. Doering" <collin@rekahsoft.ca>, 62672@debbugs.gnu.org
Subject: bug#62672: Unexpected interaction between gobject-introspection and grafts
Date: Wed, 05 Apr 2023 10:11:54 +0200	[thread overview]
Message-ID: <874jpun3xx.fsf@jpoiret.xyz> (raw)
In-Reply-To: <87bkk3m9pm.fsf@rekahsoft.ca>

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

Hi Collin,

"Collin J. Doering" via Bug reports for GNU Guix <bug-guix@gnu.org>
writes:

> Hi team Guix!
>
> I was working on packaging taffybar (https://github.com/taffybar/taffybar), which depends on haskell-gi (https://github.com/haskell-gi/haskell-gi) - haskell bindings for goject-introspection capable libraries. While packaging gi-gdk, I hit this error:
>
> --8<---------------cut here---------------start------------->8---
> ** (process:23): WARNING **: 00:09:56.407: Failed to load shared library '/gnu/store/91ar3zh59n19rdn00png5r9hxp3k0y13-gtk-4.8.1/lib/libgtk-4.so.1' referenced by the typelib: libgtk-4.so.1: cannot open shared object file: No such file or directory
> Could not resolve symbol "gdk_device_pad_get_type" in namespace "Gdk-4.0"
> CallStack (from HasCallStack):
>   error, called at lib/Data/GI/CodeGen/LibGIRepository.hs:202:16 in haskell-gi-0.26.4-HCp1omjln8S5hdZ8Oexk5N:Data.GI.CodeGen.LibGIRepository
> error: in phase 'configure': uncaught exception:
> --8<---------------cut here---------------end--------------->8---

These errors can also be caused by dependent libraries not being found,
or linker errors, etc.  I would suggest to run `ldd` on the .so itself
(from glibc), and see what the output is.

Grafts are applied after all packages have been built, so it is normal
that the build environment would see and use the ungrafted gtk.

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

  reply	other threads:[~2023-04-05  8:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-05  0:04 bug#62672: Unexpected interaction between gobject-introspection and grafts Collin J. Doering via Bug reports for GNU Guix
2023-04-05  8:11 ` Josselin Poiret via Bug reports for GNU Guix [this message]
2023-04-05 16:59   ` Collin J. Doering via Bug reports for GNU Guix
2023-04-06 19:33     ` Josselin Poiret via Bug reports for GNU Guix
2023-04-05 19:55 ` John Kehayias via Bug reports for GNU Guix
2023-04-05 20:21   ` Collin J. Doering via Bug reports for GNU Guix
2024-04-27  1:32 ` Collin J. Doering via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jpun3xx.fsf@jpoiret.xyz \
    --to=bug-guix@gnu.org \
    --cc=62672@debbugs.gnu.org \
    --cc=collin@rekahsoft.ca \
    --cc=dev@jpoiret.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.