From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GMT2CVktLWTRlgAASxT56A (envelope-from ) for ; Wed, 05 Apr 2023 10:12:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QPreCVktLWTw9wAAauVa8A (envelope-from ) for ; Wed, 05 Apr 2023 10:12:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 093A228DA9 for ; Wed, 5 Apr 2023 10:12:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjyFQ-0006vv-Tf; Wed, 05 Apr 2023 04:12:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjyFP-0006vn-4L for bug-guix@gnu.org; Wed, 05 Apr 2023 04:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjyFO-0003Hk-PT for bug-guix@gnu.org; Wed, 05 Apr 2023 04:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjyFO-0005Nr-AP for bug-guix@gnu.org; Wed, 05 Apr 2023 04:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62672: Unexpected interaction between gobject-introspection and grafts Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Apr 2023 08:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62672 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Collin J. Doering" , 62672@debbugs.gnu.org Received: via spool by 62672-submit@debbugs.gnu.org id=B62672.168068232020687 (code B ref 62672); Wed, 05 Apr 2023 08:12:02 +0000 Received: (at 62672) by debbugs.gnu.org; 5 Apr 2023 08:12:00 +0000 Received: from localhost ([127.0.0.1]:50812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjyFM-0005Na-0C for submit@debbugs.gnu.org; Wed, 05 Apr 2023 04:12:00 -0400 Received: from jpoiret.xyz ([206.189.101.64]:37736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjyFK-0005NS-H3 for 62672@debbugs.gnu.org; Wed, 05 Apr 2023 04:11:59 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id ED54F18531A; Wed, 5 Apr 2023 08:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1680682317; 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=6d3ddj7XoQ9nKfPLIvLGBPERTimkX1n2SOpWnuOl0V0=; b=ZRMmBz3GZ3QJigcMcb/gG3vXTTMLuzdcdmkRk7d5+9Gyu1TONdYdpATlUttyEA8NxEj0dX 3RmUDKOpi9WxjoEySC2eQ5q5XKjoRQOvhG+ZrGsOGfIRWPjqQu7DFloX7KjFJJeCV0uVyx a9A5HGWV5dJfStvC0QLVwsxC5z9RSIoQJT7VXqfVbcXBf8wVtzYWE++N6VnQzGi+S2Eih0 0KFl654Aixind9WNs/7M1KVBriJ8RBaP4adj+ZKCUYNxy6kgfZAAeQ9BivWWw6+fUxvleP 3YSXq+8jwArbOXGtSvEFb9vzXmciozoAeWdQpoIzQjvYF5fN9dyQ1mVqAYEi3w== In-Reply-To: <87bkk3m9pm.fsf@rekahsoft.ca> References: <87bkk3m9pm.fsf@rekahsoft.ca> Date: Wed, 05 Apr 2023 10:11:54 +0200 Message-ID: <874jpun3xx.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; none X-Spam-Score: -4.00 X-Migadu-Queue-Id: 093A228DA9 X-TUID: 3ORzquzse2AG --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Collin, "Collin J. Doering" via Bug reports for GNU Guix 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 packagi= ng 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' r= eferenced 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 haske= ll-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, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQtLUoQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaivOXC/9xZKpnnPSXRHmMvBxaKnM00JvEpTyJ0eOy Ji6aIXQDZUJgTBDHe179purYV6xAgjluNEHtryLFFM9G02MW3arqho0RMDgoNRBL gQiAVfJnM58FrCN3eUwqu9P22RjpcPrQIAUW8EtZyFt1FM5Z5pSgZ6al9/upIcpN 7Svpi4F1Jg55CqusArcIf1nQFi3e+ImBgpDymaCKPrwKVX0ODomBfX0zqA15nQ2b LjkadkFMeZr5aRRniSZVNTexaN8xy778I2GKtvAMVtkC0r7fFFgZJQaL0iyLxiyD I9MtMq52oFXVrByrMvmEHdk7GwgSP/Row5xxsyA1SCUu/HhYHnamS6SWm4kbfAcL E2nQWIu2wxMdaNrCgSQi8GJvMa8VejjmJM6s5N0PmcsVRXzF2Z0q3LbLxtdrRtWp T9a1GhJG3/xxKbHK5DZ5X7fEO7lK2fKWiGV86K64B2AUpI54TqPmGPbn6rCjlhoF Ccz7nuBzVbtSzmYNhSs1hTRqbinREE8= =3lTW -----END PGP SIGNATURE----- --=-=-=--