From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SP7wHUvP51/xUwAA0tVLHw (envelope-from ) for ; Sun, 27 Dec 2020 00:03:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MHDNGUvP51/gJwAAB5/wlQ (envelope-from ) for ; Sun, 27 Dec 2020 00:03:23 +0000 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 750D29403CA for ; Sun, 27 Dec 2020 00:03:22 +0000 (UTC) Received: from localhost ([::1]:50006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktJWr-0006p5-Ck for larch@yhetil.org; Sat, 26 Dec 2020 19:03:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktJWZ-0006nQ-Pd for bug-guix@gnu.org; Sat, 26 Dec 2020 19:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktJWZ-0007Ms-7G for bug-guix@gnu.org; Sat, 26 Dec 2020 19:03:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktJWZ-000413-3l for bug-guix@gnu.org; Sat, 26 Dec 2020 19:03:03 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#26215: gschemas.compiled should not be added to the profile by multiple packages Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Dec 2020 00:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26215 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Prikler X-Debbugs-Original-Cc: 26215-done@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160902736415396 (code B ref -1); Sun, 27 Dec 2020 00:03:03 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2020 00:02:44 +0000 Received: from localhost ([127.0.0.1]:60093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktJWG-00040F-AV for submit@debbugs.gnu.org; Sat, 26 Dec 2020 19:02:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:44148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktJWE-000408-Vh for submit@debbugs.gnu.org; Sat, 26 Dec 2020 19:02:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktJWE-0006TK-P3 for bug-guix@gnu.org; Sat, 26 Dec 2020 19:02:42 -0500 Received: from pelzflorian.de ([5.45.111.108]:45788 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktJWB-0007Cy-SU for bug-guix@gnu.org; Sat, 26 Dec 2020 19:02:42 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id EBEEB3605C2; Sun, 27 Dec 2020 01:02:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1609027356; bh=RvrwIBVopL84mpsiVeZY41qOC6k36yc/dB9ymPySl7k=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=HkUeUX/76mqnhCrH4eWaq66V+2Vp6onrLmB9/HyjMBCG8784cO5a7i6xTa942c7ST RytVwIuyby14z9YQ6C9KPutZF+1eonwizJhdIE+vkTm+PNl+vRaAw+KbcQAgJjJVXD xnmGwWrzgmN4hCueUc8vYoUFLnEOYAn5UTHq2H7M= Date: Sun, 27 Dec 2020 01:02:24 +0100 From: "pelzflorian (Florian Pelz)" Message-ID: <20201227000224.uhthhfoeaov5odni@pelzflorian.localdomain> References: <2df15184d0776c75bb37052bd40f76b59e742e95.camel@student.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2df15184d0776c75bb37052bd40f76b59e742e95.camel@student.tugraz.at> Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Cc: 26215-done@debbugs.gnu.org, 26215@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=pelzflorian.de header.s=mail header.b=HkUeUX/7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 750D29403CA X-Spam-Score: 0.18 X-Migadu-Scanner: scn1.migadu.com X-TUID: EvVhJ73YStuW Hello Leo! Thank you for going through old issues! So the issue appears to be fixed by commit de136f3ee7878dea139e751b7e4ca04c2542c91d (from year 2018) making sure a gschemas.compiled encompassing all packages in a Guix profile gets created. Reverting that commit does not print warnings today (I don’t know why), but still causes choosing one of the packages’ gschemas.compiled over the other. For normal usage, creating individual, per-package gschemas.compiled files in glib-or-gtk-build-system probably is *useless*. Checking the utility is hard though because I have not found a package that does not create a per-package gschemas.compiled in their build phase anyway. I think the bug is done. Purging the gschemas.compiled files from all packages would need to be done in an extra phase for many build systems (glib-or-gtk build system, cmake build system, meson build system) that would be useless when a package does not use glib. It is difficult. Also the gschemas.compiled files are small in size. Some people maybe even do or could rely on the per-package gschemas.compiled file in self-written setups that do not use Guix profiles/environments. Closing. Regards, Florian