From unknown Sun Jun 22 03:57:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38544: gparted segfaults Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Dec 2019 10:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38544 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 38544@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15758862208447 (code B ref -1); Mon, 09 Dec 2019 10:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2019 10:10:20 +0000 Received: from localhost ([127.0.0.1]:52617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieFzf-0002CB-UB for submit@debbugs.gnu.org; Mon, 09 Dec 2019 05:10:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:53893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieFze-0002C3-5L for submit@debbugs.gnu.org; Mon, 09 Dec 2019 05:10:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51933) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieFzc-0002v6-Rp for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieFzb-0007ci-Ic for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:16 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ieFzb-0007a2-81 for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:15 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1575886212; cv=none; d=zohomail.com; s=zohoarc; b=chvn59bvSca+XHubgqpXI4DMQUQDvNZeGd5IQK/hRre24nVjw/rA3B1bJjyZ4CgTisWo8b71f15x0bTxPQcYRGYJtuG2uqjTlbrGVbES3b/m0XfeOwJdTN6dROU1O2aKkDJ8gVY9q0W2bSNYm5xoweALd1UL16WUXTBPLHkRT8c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575886212; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=DEQ5dGSxpYmFpWqqOrza7Y+61jlJUTNuqKnjn2di0uk=; b=e4a6mlGWfpbWq4k8i51DrLyLBXaMk1ciaUV7L0Iu3QSn7ZgdlHwS5Yts33KexkADqUi1Wqc6QsasxC4mUPGNBja1Df/gRjlMDrOFTo6hkSusJI6MdSjqIfzGEPUlP8UjwC67GvYtKRFwlocjCcBuCtpLeyRM3k+ErAJDMemdx0w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1575886212; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=DEQ5dGSxpYmFpWqqOrza7Y+61jlJUTNuqKnjn2di0uk=; b=ewKM1qeg+DiSk/RMYe2k2u2SXU1PHWoZYOME6eyTDVrWYaUXOhxpxVXPknMLBz2O 1Lix8US6YsImdPTbje6CQFZ4hySVYbv8Tq4dDFZeczy3Rk/PjcZy8ESi7QtdNaPl3yR JNbochfCPgAe/4ihq9KfylCcBJxIIjjNk1sMArE8= Received: from localhost (p4FD5A667.dip0.t-ipconnect.de [79.213.166.103]) by mx.zohomail.com with SMTPS id 1575886209445855.2968212750151; Mon, 9 Dec 2019 02:10:09 -0800 (PST) User-agent: mu4e 1.2.0; emacs 26.3 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 09 Dec 2019 11:10:06 +0100 Message-ID: <87muc16c8x.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 136.143.188.50 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This segfaults: sudo /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gpar= ted --8<---------------cut here---------------start------------->8--- =E2=80=A6 (gpartedbin:5364): Gdk-CRITICAL **: 11:06:10.219: gdk_cairo_surface_create_= from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gpartedbin:5364): GLib-GObject-CRITICAL **: 11:06:10.219: g_object_unref: = assertion 'G_IS_OBJECT (object)' failed (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon '= drive-harddisk' for stock: Icon 'drive-harddisk' not present in theme Adwai= ta (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon '= image-missing' for stock: Failed to load /org/gtk/libgtk/icons/24x24/status= /image-missing.png: Unrecognized image file format /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gparted: line= 202: 5364 Segmentation fault $BASE_CMD--8<---------------cut here---= ------------end--------------->8--- This does not segfault: sudo -E /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/g= parted The problem here is that when run as root but without the environment of the current user gparted fails to find the image loader modules. -- Ricardo From unknown Sun Jun 22 03:57:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38544: gparted segfaults Resent-From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Dec 2019 07:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38544 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: 38544@debbugs.gnu.org Received: via spool by 38544-submit@debbugs.gnu.org id=B38544.157596355021632 (code B ref 38544); Tue, 10 Dec 2019 07:40:02 +0000 Received: (at 38544) by debbugs.gnu.org; 10 Dec 2019 07:39:10 +0000 Received: from localhost ([127.0.0.1]:54898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iea6v-0005cq-Pq for submit@debbugs.gnu.org; Tue, 10 Dec 2019 02:39:09 -0500 Received: from mail-ed1-f46.google.com ([209.85.208.46]:39092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iea6u-0005ce-7N for 38544@debbugs.gnu.org; Tue, 10 Dec 2019 02:39:08 -0500 Received: by mail-ed1-f46.google.com with SMTP id v16so15087927edy.6 for <38544@debbugs.gnu.org>; Mon, 09 Dec 2019 23:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=JnTeZaLAnu+KeQUkSnmbwPAxqZ4CB4hCYvvmc8evzmg=; b=KRWY5m8CbXfx1A7lgbCki5MYOIXUEFW0KfT4+UjKvVZFJ4VUH3NkOHUxuLbLrD3LZt yi8XSOMERfgsAFalXq1awRvWG9ACOED+qC1WAMEgFhxdLjab4wlcpZRuNPYsnmLeX1HB ZaJ+7Dd2Eal5fYbwNY8Rccq0RaARwmPMdDo6TXEW/ro/EIqb0ZHvCaKiVOXHGeejf/HU UXcOmK577r/+JXluE6L/iGaERNigyqX4EgMc6kvdbQApeHq/4xTFwrJ5g3qWJTn/NxNq SF3bKgHS7cvz8Va+YmSSGh+5G2fyGKuSOYgW4VwNpeYsQ/Nga7jV9i3nsb+InD5knmm3 M/OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=JnTeZaLAnu+KeQUkSnmbwPAxqZ4CB4hCYvvmc8evzmg=; b=cALKa3P1vMgM+Er0nx99gZleVjfMnwgSZKF8mka8tMT0lWYpn1+cKNQxFCWhbEMtVx iLn/R0o33zKidykhe0ttzs/d/VpvQsoYTiJ6sh3rFY3GitB0rvsf7Um73cjK8OAThvH/ 684Zsm2CwE7dJb+oPT+r7cOJ1s7NmfmTUxp3nEnRIx5CEdrf3jJW0/X5MoCPiGUguEI5 5TY2sYiutF0Fdt4BaogH7xlZR8RmNZu9GvFXWATU7fZoAKZ6bsc0wmpGfIWY4JNzz4UK /8lRXj8AD7pcpFOyvheoZNq6/zZMPXbOnQYuRzbXDc96PViqrXQ/qfbZF3lkKvHkOCXI ud4Q== X-Gm-Message-State: APjAAAXKv3Hu5kqcWMiN+abeTp7Skp1qwPysUubLZyRKIteKhD7lKf4p HuuT2PAT4wGs6SeFcMNicbkjH3k22SSjFVYyGyTF1IU= X-Google-Smtp-Source: APXvYqxOn/izcDayu62f2AS90tZfo73LT6pYMX9wywHEMtlDvxXi77ppGKhSC8HTzePMrSixt28CqEMAPj3R+r1Yu20= X-Received: by 2002:a17:906:2344:: with SMTP id m4mr2140511eja.110.1575963542136; Mon, 09 Dec 2019 23:39:02 -0800 (PST) MIME-Version: 1.0 References: <87muc16c8x.fsf@elephly.net> In-Reply-To: <87muc16c8x.fsf@elephly.net> From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Tue, 10 Dec 2019 08:38:50 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Ricardo Wurmus ezt =C3=ADrta (id=C5=91pont: 2019. dec.= 9., H, 11:11): > > This segfaults: > > sudo /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gp= arted > > --8<---------------cut here---------------start------------->8--- > =E2=80=A6 > (gpartedbin:5364): Gdk-CRITICAL **: 11:06:10.219: gdk_cairo_surface_creat= e_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed > > (gpartedbin:5364): GLib-GObject-CRITICAL **: 11:06:10.219: g_object_unref= : assertion 'G_IS_OBJECT (object)' failed > > (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon= 'drive-harddisk' for stock: Icon 'drive-harddisk' not present in theme Adw= aita > > (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon= 'image-missing' for stock: Failed to load /org/gtk/libgtk/icons/24x24/stat= us/image-missing.png: Unrecognized image file format > /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gparted: li= ne 202: 5364 Segmentation fault $BASE_CMD--8<---------------cut here-= --------------end--------------->8--- > > This does not segfault: > > sudo -E /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin= /gparted > > The problem here is that when run as root but without the environment of > the current user gparted fails to find the image loader modules. Yes, I concur. I believe this affects multiple packages, but as it is rarely needed to run them with sudo this did not become apparent. Question is what needs to be done here. I would say if it is ok to run these with sudo -E, then we could work it around by documenting this, but the proper solution would be to ensure that these modules are found. > > -- > Ricardo > > > > Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21 From unknown Sun Jun 22 03:57:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38544: gparted segfaults Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 04 Jan 2020 18:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38544 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus , 38544@debbugs.gnu.org Received: via spool by 38544-submit@debbugs.gnu.org id=B38544.15781629845469 (code B ref 38544); Sat, 04 Jan 2020 18:37:02 +0000 Received: (at 38544) by debbugs.gnu.org; 4 Jan 2020 18:36:24 +0000 Received: from localhost ([127.0.0.1]:43369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inoHg-0001Q9-DA for submit@debbugs.gnu.org; Sat, 04 Jan 2020 13:36:24 -0500 Received: from mx1.riseup.net ([198.252.153.129]:42138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inoHf-0001Q1-EK for 38544@debbugs.gnu.org; Sat, 04 Jan 2020 13:36:24 -0500 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 47qr8417DnzFcms; Sat, 4 Jan 2020 10:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1578162981; bh=/SRV+COtOqRizaIyMu9vRQk3SgKiswPWsbZ8LmV8L1Y=; h=Subject:From:To:Date:In-Reply-To:References:From; b=pQ4f3s1E7yLx9LeUclT3Z4Sd5QW8CHNPJNBcMS2kQHuNI+8PDf8SOmZe+Tt5UsOcj QEhlQkd7BKCToxCrAE1p9X73OFV/ktS4RJ8E2LVN86ns2X3vovdppbQ/MQEc0YYzwj QTsyiwRtqwD3KxnNKf9OEfYI/W0iGBxpCysDZ1HY= X-Riseup-User-ID: 5054AFDCB1831D72D21B055BA79A58D97CF8C120CB34517795BC109F3A5D14AF Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 47qr7g3bYGzJsrW; Sat, 4 Jan 2020 10:35:59 -0800 (PST) Message-ID: From: raingloom Date: Sat, 04 Jan 2020 19:35:56 +0100 In-Reply-To: <87muc16c8x.fsf@elephly.net> References: <87muc16c8x.fsf@elephly.net> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, 2019-12-09 at 11:10 +0100, Ricardo Wurmus wrote: > This segfaults: > > sudo /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted- > 1.0.0/bin/gparted > > --8<---------------cut here---------------start------------->8--- > … > (gpartedbin:5364): Gdk-CRITICAL **: 11:06:10.219: > gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF > (pixbuf)' failed > > (gpartedbin:5364): GLib-GObject-CRITICAL **: 11:06:10.219: > g_object_unref: assertion 'G_IS_OBJECT (object)' failed > > (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme > icon 'drive-harddisk' for stock: Icon 'drive-harddisk' not present in > theme Adwaita > > (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme > icon 'image-missing' for stock: Failed to load > /org/gtk/libgtk/icons/24x24/status/image-missing.png: Unrecognized > image file format > /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted- > 1.0.0/bin/gparted: line 202: 5364 Segmentation fault $BASE_CMD- > -8<---------------cut here---------------end--------------->8--- > > This does not segfault: > > sudo -E /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted- > 1.0.0/bin/gparted > > The problem here is that when run as root but without the environment > of > the current user gparted fails to find the image loader modules. > > -- > Ricardo I tried fixing this by adding the wrapper step from glib-or-gtk but that didn't do anything. From unknown Sun Jun 22 03:57:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38544: [PATCH] gnu: gparted: Use the Glib-or-GTK build system. References: <87muc16c8x.fsf@elephly.net> In-Reply-To: <87muc16c8x.fsf@elephly.net> Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Jul 2020 13:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38544 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 38544@debbugs.gnu.org Received: via spool by 38544-submit@debbugs.gnu.org id=B38544.159473463228249 (code B ref 38544); Tue, 14 Jul 2020 13:51:01 +0000 Received: (at 38544) by debbugs.gnu.org; 14 Jul 2020 13:50:32 +0000 Received: from localhost ([127.0.0.1]:50445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvLKK-0007LZ-DN for submit@debbugs.gnu.org; Tue, 14 Jul 2020 09:50:32 -0400 Received: from tobias.gr ([80.241.217.52]:39598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvLKH-0007LP-JZ for 38544@debbugs.gnu.org; Tue, 14 Jul 2020 09:50:30 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 946ce55d for <38544@debbugs.gnu.org>; Tue, 14 Jul 2020 13:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=2xi0dE1QN grDlQHFSZwBMiIbLaOR60ANvdp7Q0psyJ4=; b=lEGIdbkgPLtQH7RlR0i5t1cZO rKLPHyiIQJPBOorfCmBE6CnAlvnqIobXM1f98smpdZdxMsnV9f5MD7jqQPVX3+vh WtHGsXNtXITk5c2WQ1xuXFSBzq9TuTd3h5m2APkEBt9b4GtzZYK+QFUh5YO7z5FL xhUpmGP677IWgSTFn3mIV/4LbfOYW8jbgYZBNMvXxjrL/QJRsbkdj0xoBpFqbSwq MG1DoKd7OPNL3Rzrbe4zrAEsM06bnj3DuS1jcy07Fmf/T8+1nP7j0j/RR6LuVzjU hm+XbW1JQYWA4HJHEQvCVfmQ0XrYRraxvvnPV3a2pI8Rm5m4KHsIjMq/ExZXg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 1ec0ba87 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <38544@debbugs.gnu.org>; Tue, 14 Jul 2020 13:50:38 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Tue, 14 Jul 2020 15:50:19 +0200 Message-Id: <20200714135019.25283-1-me@tobias.gr> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Fixes . * gnu/packages/disk.scm (gparted)[build-system]: Use glib-or-gtk-build-system. --- raingloom 写道: > I tried fixing this by adding the wrapper step from glib-or-gtk but > that didn't do anything. Strange, this works for me (after a pointless detour writing a custom wrap phase with shared-mime-info et al): gnu/packages/disk.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index a5278d8c8c..6d812f560c 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -78,6 +78,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system gnu) + #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system go) #:use-module (guix build-system python) #:use-module (guix build-system trivial) @@ -432,7 +433,7 @@ and can dramatically shorten the lifespan of the drive if left unchecked.") version "/gparted-" version ".tar.gz")) (sha256 (base32 "092rgwjh1825fal6v3yafq2wr0i61hh0a2n0j4296zn0zdx7pzp2")))) - (build-system gnu-build-system) + (build-system glib-or-gtk-build-system) (arguments ;; Tests require access to paths outside the build container, such ;; as '/dev/disk/by-id' -- 2.27.0 From unknown Sun Jun 22 03:57:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38544: [PATCH] gnu: gparted: Use the Glib-or-GTK build system. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Jul 2020 10:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38544 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 38544@debbugs.gnu.org Cc: me@tobias.gr X-Debbugs-Original-To: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Debbugs-Original-Cc: 38544@debbugs.gnu.org, Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.159489407424505 (code B ref -1); Thu, 16 Jul 2020 10:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2020 10:07:54 +0000 Received: from localhost ([127.0.0.1]:54647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw0nx-0006NB-P9 for submit@debbugs.gnu.org; Thu, 16 Jul 2020 06:07:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:37130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw0nw-0006N2-0Q for submit@debbugs.gnu.org; Thu, 16 Jul 2020 06:07:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jw0nv-0007OU-SW for bug-guix@gnu.org; Thu, 16 Jul 2020 06:07:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45891) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jw0nu-0002L3-Bz; Thu, 16 Jul 2020 06:07:50 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50174 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jw0nt-0004EI-Ok; Thu, 16 Jul 2020 06:07:50 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87muc16c8x.fsf@elephly.net> <20200714135019.25283-1-me@tobias.gr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Messidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 16 Jul 2020 12:07:47 +0200 In-Reply-To: <20200714135019.25283-1-me@tobias.gr> (Tobias Geerinckx-Rice via Bug reports for's message of "Tue, 14 Jul 2020 15:50:19 +0200") Message-ID: <87eepb7oy4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Tobias Geerinckx-Rice via Bug reports for GNU Guix skribis: > Fixes . > > * gnu/packages/disk.scm (gparted)[build-system]: Use > glib-or-gtk-build-system. Makes sense, LGTM! Ludo=E2=80=99. From unknown Sun Jun 22 03:57:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#38544: closed (Re: bug#38544: [PATCH] gnu: gparted: Use the Glib-or-GTK build system.) Message-ID: References: <874kq7pbm0.fsf@nckx> <87muc16c8x.fsf@elephly.net> X-Gnu-PR-Message: they-closed 38544 X-Gnu-PR-Package: guix Reply-To: 38544@debbugs.gnu.org Date: Thu, 16 Jul 2020 18:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1594923542-16157-1" This is a multi-part message in MIME format... ------------=_1594923542-16157-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38544: gparted segfaults which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38544@debbugs.gnu.org. --=20 38544: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38544 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1594923542-16157-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38544-done) by debbugs.gnu.org; 16 Jul 2020 18:18:36 +0000 Received: from localhost ([127.0.0.1]:55971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw8Sq-0004C0-8p for submit@debbugs.gnu.org; Thu, 16 Jul 2020 14:18:36 -0400 Received: from tobias.gr ([80.241.217.52]:36394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jw8So-0004Br-7g for 38544-done@debbugs.gnu.org; Thu, 16 Jul 2020 14:18:35 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id f15398c7; Thu, 16 Jul 2020 18:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=eU8mw+3PqLxewTOBmnJBoO IiwLQ/YHLoQOn7Zur0dak=; b=MetJyGgSKvLLhO8opQCheKJovkFjg24m++VkE/ gM1XNRPu3bhPpUALJfJHCf7EyhxjT0x+QgZI/2zK2PnBq8I/YSdUeCvyVsnvvRQ6 +S89pkCuqoDr+9Pggf/dANEdMITWbcKkQ26G5ML9QVHJjL6FGOsOdEAxnu1OMfki Xjr4RAaA1O6iKktHqnNyW6K10TOao6wUn61pDP5bWx8omfY+iH8EbDS5IWUupaX0 NMXtdDBTRN6P590dDM81hzmdWpyWxbWOnvEGJ+eSZNIZOO1DVcJ7l23QSjZNOCea EXJLGNJxOba4V32e8Tb7ULq/dKeB1lI6h6Ieo5ZLYtxV1Awg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 2431682a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 16 Jul 2020 18:18:45 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#38544: [PATCH] gnu: gparted: Use the Glib-or-GTK build system. References: <87muc16c8x.fsf@elephly.net> <20200714135019.25283-1-me@tobias.gr> <87eepb7oy4.fsf@gnu.org> In-reply-to: <87eepb7oy4.fsf@gnu.org> Date: Thu, 16 Jul 2020 20:18:31 +0200 Message-ID: <874kq7pbm0.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38544-done Cc: 38544-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s =E5=86=99=E9=81=93=EF=BC=9A >> Fixes . >> >> * gnu/packages/disk.scm (gparted)[build-system]: Use >> glib-or-gtk-build-system. > > Makes sense, LGTM! Thanks! Pushed. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXxCZ9wAKCRANsP+IT1Vt eQYyAP9aGyipgiB5IgWHfzWrABWW+QEJm9SUZeViw00Czv6luAD/ZuGFClafE5qh q7TcYh0M9t18Bx2QuSzCaTasqvTKUgY= =jt5n -----END PGP SIGNATURE----- --=-=-=-- ------------=_1594923542-16157-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Dec 2019 10:10:20 +0000 Received: from localhost ([127.0.0.1]:52617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieFzf-0002CB-UB for submit@debbugs.gnu.org; Mon, 09 Dec 2019 05:10:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:53893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ieFze-0002C3-5L for submit@debbugs.gnu.org; Mon, 09 Dec 2019 05:10:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51933) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieFzc-0002v6-Rp for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieFzb-0007ci-Ic for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:16 -0500 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ieFzb-0007a2-81 for bug-guix@gnu.org; Mon, 09 Dec 2019 05:10:15 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1575886212; cv=none; d=zohomail.com; s=zohoarc; b=chvn59bvSca+XHubgqpXI4DMQUQDvNZeGd5IQK/hRre24nVjw/rA3B1bJjyZ4CgTisWo8b71f15x0bTxPQcYRGYJtuG2uqjTlbrGVbES3b/m0XfeOwJdTN6dROU1O2aKkDJ8gVY9q0W2bSNYm5xoweALd1UL16WUXTBPLHkRT8c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575886212; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=DEQ5dGSxpYmFpWqqOrza7Y+61jlJUTNuqKnjn2di0uk=; b=e4a6mlGWfpbWq4k8i51DrLyLBXaMk1ciaUV7L0Iu3QSn7ZgdlHwS5Yts33KexkADqUi1Wqc6QsasxC4mUPGNBja1Df/gRjlMDrOFTo6hkSusJI6MdSjqIfzGEPUlP8UjwC67GvYtKRFwlocjCcBuCtpLeyRM3k+ErAJDMemdx0w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1575886212; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=DEQ5dGSxpYmFpWqqOrza7Y+61jlJUTNuqKnjn2di0uk=; b=ewKM1qeg+DiSk/RMYe2k2u2SXU1PHWoZYOME6eyTDVrWYaUXOhxpxVXPknMLBz2O 1Lix8US6YsImdPTbje6CQFZ4hySVYbv8Tq4dDFZeczy3Rk/PjcZy8ESi7QtdNaPl3yR JNbochfCPgAe/4ihq9KfylCcBJxIIjjNk1sMArE8= Received: from localhost (p4FD5A667.dip0.t-ipconnect.de [79.213.166.103]) by mx.zohomail.com with SMTPS id 1575886209445855.2968212750151; Mon, 9 Dec 2019 02:10:09 -0800 (PST) User-agent: mu4e 1.2.0; emacs 26.3 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: gparted segfaults X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 09 Dec 2019 11:10:06 +0100 Message-ID: <87muc16c8x.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 136.143.188.50 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This segfaults: sudo /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gpar= ted --8<---------------cut here---------------start------------->8--- =E2=80=A6 (gpartedbin:5364): Gdk-CRITICAL **: 11:06:10.219: gdk_cairo_surface_create_= from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed (gpartedbin:5364): GLib-GObject-CRITICAL **: 11:06:10.219: g_object_unref: = assertion 'G_IS_OBJECT (object)' failed (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon '= drive-harddisk' for stock: Icon 'drive-harddisk' not present in theme Adwai= ta (gpartedbin:5364): Gtk-WARNING **: 11:06:10.273: Error loading theme icon '= image-missing' for stock: Failed to load /org/gtk/libgtk/icons/24x24/status= /image-missing.png: Unrecognized image file format /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/gparted: line= 202: 5364 Segmentation fault $BASE_CMD--8<---------------cut here---= ------------end--------------->8--- This does not segfault: sudo -E /gnu/store/yzxyxnxja4y1riwh3mrqrvb7h4vhxlqb-gparted-1.0.0/bin/g= parted The problem here is that when run as root but without the environment of the current user gparted fails to find the image loader modules. -- Ricardo ------------=_1594923542-16157-1--