From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kBQyLnXCNmPjBQAAbAwnHQ (envelope-from ) for ; Fri, 30 Sep 2022 12:18:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id APN/LXXCNmNR+QAAG6o9tA (envelope-from ) for ; Fri, 30 Sep 2022 12:18:29 +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 31BF019AB for ; Fri, 30 Sep 2022 12:18:29 +0200 (CEST) Received: from localhost ([::1]:52000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeD6C-0003Ez-5i for larch@yhetil.org; Fri, 30 Sep 2022 06:18:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeD5p-0003D4-OE for bug-guix@gnu.org; Fri, 30 Sep 2022 06:18:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeD5m-0005aU-RZ for bug-guix@gnu.org; Fri, 30 Sep 2022 06:18:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeD5m-0003oc-Ci for bug-guix@gnu.org; Fri, 30 Sep 2022 06:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58191: missing substitute for @gschemasCompiled@ ? References: In-Reply-To: Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 30 Sep 2022 10:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58191 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "58191@debbugs.gnu.org" <58191@debbugs.gnu.org> Received: via spool by 58191-submit@debbugs.gnu.org id=B58191.166453305614634 (code B ref 58191); Fri, 30 Sep 2022 10:18:02 +0000 Received: (at 58191) by debbugs.gnu.org; 30 Sep 2022 10:17:36 +0000 Received: from localhost ([127.0.0.1]:40566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeD5I-0003nv-Tc for submit@debbugs.gnu.org; Fri, 30 Sep 2022 06:17:36 -0400 Received: from mail-4018.proton.ch ([185.70.40.18]:52065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeD5C-0003na-HG for 58191@debbugs.gnu.org; Fri, 30 Sep 2022 06:17:32 -0400 Date: Fri, 30 Sep 2022 10:17:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1664533039; x=1664792239; bh=5XYJNhFnpiyUt05ArsgomE+X89nVQq4Fax3JuPqVfSM=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=qqokVeGJY4o6yLzXgiLa/01GWzDUMC5tVbwBK9FuBLfN1MbVCmLhV3Ix+5P3MYz7I ZvYmZmANmH0wCN/p7MUFd7g+TWd8C8DSgiBJiFv3YqX/QIO8i71telg3a9I0o6A7iV nUGPhaPs6X0Lth1hJrtTkQ1uBAP/H61VzpQXSyOVSZa65cMmtl8naCexUA1yDSEsmZ rsCS1q2v2xdZDjRQF1ZCIY3fNxAjEDRQmNGeHUgRMZZKKrHKWWtg3DAbo3JXLLLNCY ri27SNVuLlDg2uKEbC7asebPZQsViXSd1Ky4n38P73lNTzvZbFT5tqkDuzbfQBY6To y30o6sjm0VwsA== From: Attila Lendvai Message-ID: Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664533109; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=5XYJNhFnpiyUt05ArsgomE+X89nVQq4Fax3JuPqVfSM=; b=e6V7nbeaz24X1U/m2HvAlYbOwMk+sMsBDaJ61fxwZcgeJLd52ys0M2ad2PJNmpdmRsNebO qp5AxeOBPJ7hORnmP4xxm3/d1+IDipkeZqSaT4BQOgr/CxoTcOAS+UyBNs1xTDRnuGnN/m yif9DTjQrvSH0y4RIm+qKBV5hyjozsX6ih/Mp4g5cz+U/vgbl6SSa8KmMzrCXABuJM1B/G 7vTO7ouLZZKh6RSpNms6Jbi2ij890va5ISaseAt+nzgGn0OpbqqUC2tpHPYkH0ZiPFM5Nw cc+gqZRkayQX0GEsZZmpCIscZOPQajurGmQda7nqlXEI1iBLjx0Zg1wJ3lGmqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664533109; a=rsa-sha256; cv=none; b=CQ524VAt82vQfJ5/XoFsnP4dmibf8wHExeDTAOyXCn280fLGYEoMnqq/rCOroZMuJFo70S N3aHm+n5Bu6GwWwy5gvTUvm3gMpx2v9vu6j4wwxvyV/LbFJ76Ho0LmrPXIGpDeEZQ6IwRf oH+J2axX2aztKKqCqF4+by8Nh8DLEWzR/NyMsXW966ZCJctd8KvMT30Qplhz+OQkqv1dBq Mf8bd4h84L9fRE/t3rZI0BhaO4kBOE9VYFGPy5f8saGQRTKwZ080IbYrKWlYTxpFBqkd+U JAa+8VTiHQCL88JT3zBVv5ewbVCXn8mq0k2Dl5+l/PQtba1DMW6NZJkFOw3lug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail header.b=qqokVeGJ; dmarc=none; 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" X-Migadu-Spam-Score: 3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lendvai.name header.s=protonmail header.b=qqokVeGJ; dmarc=none; 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" X-Migadu-Queue-Id: 31BF019AB X-Spam-Score: 3.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: G+mGiQfJYdU+ i'm attaching my current WIP diff while i was trying to debug this. note that in my original submission there was a substitute for @gschemasCom= piled@ (https://issues.guix.gnu.org/53072), but it did not reach master whe= n it got pushed (https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/pack= ages/gnome-xyz.scm?id=3Da485e1e663060e8c62103d81dfffec591f624360). i'm not sure whether it's important. it shouldn't be, because gpaste used t= o work for me right until a recent reconfigure... but i thought that i poin= t it out. if that substitute was intentionally left out, then it may warran= t a comment on why, because the package's .patch file (inherited from NixOS= ) adds the marker (https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/pack= ages/patches/gpaste-fix-paths.patch). i tried to reinstate the substitute, as you can see below, but it does not = fix the new crash. i added some asserts, even sure-to-fail ones, and that c= ode path seems not yet reached when the sigsegv already happens. i'm out of ideas, and certainly out of my glib knowledge. ---- 2 files changed, 11 insertions(+), 5 deletions(-) gnu/packages/gnome-xyz.scm | 12 ++++++++---- gnu/packages/patches/gpaste-fix-paths.patch | 4 +++- modified gnu/packages/gnome-xyz.scm @@ -819,7 +819,7 @@ (define-public gnome-shell-extension-paperwm (define-public gpaste (package (name "gpaste") - (version "42.1") + (version "42.2") (source (origin (method git-fetch) (uri (git-reference @@ -828,12 +828,13 @@ (define-public gpaste (file-name (git-file-name name version)) (sha256 (base32 - "1dlqa69zvzzdxyh21qfrx2nhpfy0fbihxpgkxqmramcgv3h5k4q3")) + "0qq2p19p3r3lz8yfynpnf36cipv54bzdbmq1x5zgwhyl4yl41g28")) (patches (search-patches "gpaste-fix-paths.patch")))) (build-system meson-build-system) (native-inputs - (list gettext-minimal + (list gcr + gettext-minimal gobject-introspection (list glib "bin") ; for glib-compile-resources pkg-config @@ -862,7 +863,10 @@ (define-public gpaste (substitute* '("src/gnome-shell/extension.js" "src/gnome-shell/prefs.js") (("@typelibPath@") - (string-append #$output "/lib/girepository-1.0/"))))= )))) + (string-append #$output "/lib/girepository-1.0/"))) + (substitute* '("src/libgpaste/gpaste/gpaste-settings.c"= ) + (("@gschemasCompiled@") + (string-append #$output "/share/glib-2.0/schemas/"))= )))))) (home-page "https://github.com/Keruspe/GPaste") (synopsis "Clipboard management system for GNOME Shell") (description "GPaste is a clipboard manager, a tool which allows you t= o modified gnu/packages/patches/gpaste-fix-paths.patch @@ -30,14 +30,16 @@ diff --git a/src/libgpaste/gpaste/gpaste-settings.c b/s= rc/libgpaste/gpaste/gpast index 7e53eb64..57c399fc 100644 --- a/src/libgpaste/gpaste/gpaste-settings.c +++ b/src/libgpaste/gpaste/gpaste-settings.c -@@ -1013,7 +1013,11 @@ create_g_settings (void) +@@ -1013,7 +1013,13 @@ create_g_settings (void) } else { - return g_settings_new (G_PASTE_SETTINGS_NAME); + // library used by introspection requires schemas but we cannot s= et XDG_DATA_DIRS for the library + GSettingsSchemaSource *schema_source =3D g_settings_schema_source= _new_from_directory ("@gschemasCompiled@", NULL, FALSE, NULL); ++ g_assert (schema_source); + g_autoptr (GSettingsSchema) schema =3D g_settings_schema_source_l= ookup (schema_source, G_PASTE_SETTINGS_NAME, FALSE); ++ g_assert (schema); + g_settings_schema_source_unref (schema_source); + return g_settings_new_full (schema, NULL, NULL); }