From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MNvFBjsXcWcMqwAAe85BDQ:P1 (envelope-from ) for ; Sun, 29 Dec 2024 09:32:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MNvFBjsXcWcMqwAAe85BDQ (envelope-from ) for ; Sun, 29 Dec 2024 10:32:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="tO2/Njp/"; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Q3631Ios; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735464762; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lMD1h3y+WRhAlC18er/f+EmfHRMjMloSFFpCQbSO9ZU=; b=YfSGXklvPRCEFL8LCDVfxbUEzxJc7kwTkk4dsxVG1Zyt9P+2czRsSryiZKojpaKomvC2QA vIlW3rVQTmyhtmVfBWskSTp0MBhotl0LWsU0fHio6UcUBGUN8Vcmge6J+o/oPn621+OAGc ykMzEM/shrPXQr687v4PByTVQ+uwthkD5D/duWODIJ/xwopVlmBxGUasTvT/ry42NsXnZh yv8ufaYwbo5W0vBiEAYIAbgUOkTaOqu8AbLBtmrW+2aSgZnPV2P85Z8jU5iKcIrEVlttT7 yR2NaeZDSrYWup/RsvhZsfeSTfX6Gqz4LQjiFG8tY0RepGlildnDJA/f+oR7ww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="tO2/Njp/"; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Q3631Ios; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735464762; a=rsa-sha256; cv=none; b=p61EUws9X8ix0L+UAQeZN3XgukPSI/M/4KmTR/ywwPP4hbUN5/ggnY6bN+vCyJ3qHIz3p/ 7PsvtzPk4XpE18Ym2KpWgD1JtqZx6Y4yTM7vuqFq3xVmPknUaeE+zqzGYPcCjk7Vyu15EW aJ7/EvwSQ3UYEwuFy++HiCix5v5/2gEVp6rDSyLt5bU2mcXaZz+AsnfguxvkMKvqJDcWCF 1PIrKQaxbWhm4D7OYwAP14xX1gTWwTUCw3EFuubE/WoUg2LwOVeswzSaZ9VhdTukfJyjB+ HANVXGZ65v5ulPyTUX6xJ5qTwWYsD06s/6YUqZANk5yWeI1YvSSyWc89vEwypw== 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 089CC81E4F for ; Sun, 29 Dec 2024 10:32:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRpej-0004Vp-7p; Sun, 29 Dec 2024 04:32:17 -0500 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 1tRpeV-0004V9-0D for bug-guix@gnu.org; Sun, 29 Dec 2024 04:32:07 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRpeU-0002Rb-OY for bug-guix@gnu.org; Sun, 29 Dec 2024 04:32:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=lMD1h3y+WRhAlC18er/f+EmfHRMjMloSFFpCQbSO9ZU=; b=tO2/Njp/KxFXjg5we+Bxha//xGLOKNV0pJS+XcX9NU/sekvtjLajRJ5Ut7yWGq+2NSWix+1HzyEAw43L+muVACi1yjesHT5TJsiqM4bAZVw5KHc/WmzyiaV6088PWaK23XaTKOB3W52I44/r77h1oPP7onRftivyYWiNNb+M8zQCsM6zxc9C2CAj7TZDjfvqqq8o9+WSuRt+YjWcOPVtWsSUSbM3lDH1XhN5+5+DSDwZAAXhPQjfO+SCgpPIWlRWIUGlTyNq/SY+LdqeX0CZl+mNLee04C6wClrOo8n787IK/s3rA3gIiLbHO2gZT6Yq+BM4EQJFl4HAuFak+JfcHQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRpeU-0005Hi-AW for bug-guix@gnu.org; Sun, 29 Dec 2024 04:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#75157: Grafting inconsistency with multiple outputs is causing problems Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 29 Dec 2024 09:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75157 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian (Florian Pelz)" Cc: 75157@debbugs.gnu.org Received: via spool by 75157-submit@debbugs.gnu.org id=B75157.173546467620239 (code B ref 75157); Sun, 29 Dec 2024 09:32:02 +0000 Received: (at 75157) by debbugs.gnu.org; 29 Dec 2024 09:31:16 +0000 Received: from localhost ([127.0.0.1]:53756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRpdj-0005GM-Iq for submit@debbugs.gnu.org; Sun, 29 Dec 2024 04:31:16 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRpdh-0005G6-4u for 75157@debbugs.gnu.org; Sun, 29 Dec 2024 04:31:15 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 275BE240027 for <75157@debbugs.gnu.org>; Sun, 29 Dec 2024 10:31:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735464664; bh=CH2gJ5KuvBzyyXAOAFalM9FEaR82p5rIKosmqT4w/Zw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type: Content-Transfer-Encoding:From; b=Q3631Iose4ks+YlfPHh+kyFC4DmgWkYX6puYTN3/XMnc0oANo/vOAGaC5LOkNbbug Pw/SfyxghdmfRoqBlk1ilAwPz6CnchgGwGzR+T4hXeGWBv7POpN1/NMObHedjg/Tq3 jIA5u+rWjqRHJxrjjngT9OYl90C7Ehrfn34mrEVxgl5JxVjQOsXiEp4mNbcuJG1/mB b8YYx7dWuLOFf6/7sB4KXYBuJ8HDd3XPJdSrmHZ+R//NbDOBHJpJLPG1kgwDrZWyq0 RjRO6dGfXixB8I+lOmvWZGv7VQ5YHf5n4ErUCKLH8Xn2DznL/qwiWoU6/0DqAkNQqp Njsc7E6I90T0Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YLYrP6JKPz9rxG; Sun, 29 Dec 2024 10:31:01 +0100 (CET) Message-ID: Date: Sun, 29 Dec 2024 09:30:54 +0000 MIME-Version: 1.0 References: <87o70vxrna.fsf@pelzflorian.de> Content-Language: en-US From: Dariqq In-Reply-To: <87o70vxrna.fsf@pelzflorian.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: , 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.86 X-Spam-Score: -4.86 X-Migadu-Queue-Id: 089CC81E4F X-Migadu-Scanner: mx10.migadu.com X-TUID: I4H6i476wsa9 Hello FLorian, I think you are experiencing a different (related) issue because the problem I seems to vanish by linking to the glib that is used by g-golf instead (the --no-grafts options ensures that only one glib is in my guix shell) On 29.12.24 01:24, pelzflorian (Florian Pelz) wrote: > > > Both my GLibs have one output only. I still believe above guix commit > is the first bad commit for you, as well, and > > guix time-machine -q --commit=78c4d00ab02ab41a22058cdbec0329752e47580f > > will show the error and parent commit > > guix time-machine -q --commit=08e0144d2338c8fb51e52e74274554583d0faa69 > > will be fine. Is it? > The problem i am seeing is still available in 08e0144d2338c8fb51e52e74274554583d0faa69. Here is what I've been playing around with: a simple c file that just loads a scm file. a simple scm file that just tries to instantiate a gobject class (in this example from json-glib but that is irrelevant, using something small and simple) --8<---------------cut here---------------start------------->8--- main.c: #include int main (int argc, char **argv) { scm_init_guile(); scm_c_primitive_load("foo.scm"); } foo.scm: (use-modules (g-golf)) (gi-import "Json") (describe (make #:immutable #t)) Build with gcc -o main main.c \ `pkg-config --cflags --libs guile-3.0` \ `pkg-config --cflags --libs gobject-2.0` Running this with grafts: ./main (process:3071): GLib-GObject-CRITICAL **: 08:50:36.946: g_object_new_is_valid_property: object class 'JsonParser' has no property named 'immutable' #< 7f186b2f56d0> is an instance of class Slots are: g-inst = # (process:3071): GLib-GObject-CRITICAL **: 08:50:36.947: g_object_get_is_valid_property: object class 'JsonParser' has no property named 'immutable' (process:3071): GLib-GObject-CRITICAL **: 08:50:36.947: g_object_get_is_valid_property: object class 'JsonParser' has no property named 'immutable' immutable = #f When not linking to gobject , using no-grafts or running directly from guile repl things work as I would expect: ./main #< 7ff2471f1d20> is an instance of class Slots are: g-inst = # immutable = #t --8<---------------cut here---------------end--------------->8--- On 08e0144d2338c8fb51e52e74274554583d0faa69 a similar problem exists: g-golf depends on the ungrafted out output of hidden glib but full glib is getting grafted (because of other other outputs) If I prepend the glib with the single output graft to pkgconfig path and rebuild (s.t. my c prgram is linked to the same glib that is used by g-golf) things start magically working again. > I believe what we describe here is yet another symptom of old bug > , but if we have a first bad commit, > and if it is the first bad commit for you, too, > it might help solve it. Or perhaps this bug can be solved separately if > really the loading through typelib vs. not through typelib is the cause. > There might be an even bigger issue here? However regardless of it causing issues I think having 2 different grafted glibs (or rather anything) is not really great. > Regards, > Florian Have nice day, Dariqq