From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 22 04:30:54 2017 Received: (at submit) by debbugs.gnu.org; 22 Mar 2017 08:30:54 +0000 Received: from localhost ([127.0.0.1]:38606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqbfR-0006kb-R3 for submit@debbugs.gnu.org; Wed, 22 Mar 2017 04:30:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqbfP-0006kN-LX for submit@debbugs.gnu.org; Wed, 22 Mar 2017 04:30:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqbfJ-0002d2-Hi for submit@debbugs.gnu.org; Wed, 22 Mar 2017 04:30:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqbfJ-0002cy-E8 for submit@debbugs.gnu.org; Wed, 22 Mar 2017 04:30:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqbfI-0005rI-0N for bug-guix@gnu.org; Wed, 22 Mar 2017 04:30:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqbfE-0002bg-TM for bug-guix@gnu.org; Wed, 22 Mar 2017 04:30:44 -0400 Received: from pelzflorian.de ([5.45.111.108]:52264 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqbfE-0002bF-K0 for bug-guix@gnu.org; Wed, 22 Mar 2017 04:30:40 -0400 Received: from [192.168.178.30] (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id CDBEC360012 for ; Wed, 22 Mar 2017 09:30:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1490171438; bh=csWH/XuHhk90r84qfnuDiME50f+S9+4ABPEm2SBWXAc=; h=To:From:Subject:Date; b=wtRkFf5OYsqUhZmu6JRL8hrqYLNR9JpVGuFNWgafW2mdOHAIYNfUT90h7clRyxsvA cWgxuDRLzrRWWxstEAzetzcXRUHmjTh/xOc0/vs7a7K0TOAQe1Var3mx82jeRzvmgi nsZXekxoHZVyFNyX1CQzoeTNVfVVf74jqZVAZ4Lk= To: bug-guix@gnu.org From: "pelzflorian (Florian Pelz)" Subject: gschemas.compiled should not be added to the profile by multiple packages Message-ID: Date: Wed, 22 Mar 2017 09:30:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) 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: -4.1 (----) Currently multiple packages contain the file share/glib-2.0/schemas/gschemas.compiled (which is built by glib-or-gtk-build-system). Doing so *works* (because each package=E2=80=99= s share directory in the Store is part of the XDG_DATA_DIRS environment variable, GSettings looks for settings in each of the gschemas.compiled files in the Store) but leads to *warnings* because only one package=E2=80= =99s gschemas.compiled can be added to the profile at the same time. To avoid these misleading warnings, either =C2=B7 no package=E2=80=99s gschemas.compiled should go to the profile on install *or* =C2=B7 gschemas.compiled should not be created for each package by glib-or-gtk-build-system, instead it should be created only once in each profile by a profile hook from the GSettings data of all packages in the manifest, =C2=B7 or something else? This bug report follows a discussion here: https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00552.html Is it easily possible to prevent a file from going from the Store to a profile? As for the other possible solution using a profile hook, John Darrington asked: > But what would happen if one had for example gnome-calculator in the > system profile, > and gnome-maps in the user profile? Would it work under those > circumstances? A profile hook for gschemas.compiled would eliminate half the purpose of glib-or-gtk-build-system I believe=E2=80=A6 It would still be used for se= tting GTK_PATH GTK+ modules. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 23 12:21:07 2017 Received: (at 26215) by debbugs.gnu.org; 23 Mar 2017 16:21:07 +0000 Received: from localhost ([127.0.0.1]:41191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr5U2-0001bZ-NA for submit@debbugs.gnu.org; Thu, 23 Mar 2017 12:21:06 -0400 Received: from mail-wr0-f181.google.com ([209.85.128.181]:35108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr5U1-0001an-Bv for 26215@debbugs.gnu.org; Thu, 23 Mar 2017 12:21:05 -0400 Received: by mail-wr0-f181.google.com with SMTP id u1so16924969wra.2 for <26215@debbugs.gnu.org>; Thu, 23 Mar 2017 09:21:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=KRqZ6uegjfYFYZxwN7IzZkJw+DDNJoWSDTe4v2fNhgk=; b=dFKxKIfMBGp3L+c/i+gRWZ+YuBHHKP+WsKmh7NfMIxRwpMsXAn5QPT1ChuXTeMhrs0 RRW3Y3GoaFVc2EqKMKYqh4StYM3YVoHybAZJQNDaLRoWTzwaAhlshNa9FUJM0xFTgc/h D+ma6p8LETTGNzxaIuy6r71/k/ZhMF3M40EbLuYQXeVR2T61RljxV3+ZbGYceEqZAB+Z ain3z6ljeKFSZQgds2y/3/8lS1IYr6Uw1uwN3tymiWrac5PrNcVe62SH/h+X4oH2wU8t lYilLeG7WFI1q1n+rgoWIHexLeRrLvbak1U3Mt5yWoShiVrM4V3pz8EFMRQx7fsHIVwA FXjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=KRqZ6uegjfYFYZxwN7IzZkJw+DDNJoWSDTe4v2fNhgk=; b=IfxIsCCc0jydulqLaPftR621i7+B4BrMj8+R0cnYcddoEYX6ZAEj1y8jU+wNOqKzq2 q/89Ud0FhWwTO/uzoCV7S3eRC6wucmZppV0ZFCkjnrsyWdhzYYRYIpTKtGeGuvYDz/7O HnLeKqopwC/nooTEJgLh4M9UpV+GiWPaZhuSIQwVfoPqr8D7oRcCdm0ZFxHv5Kp+o+X0 PaiWe/8b/89gyldbABtkpQsJ5zUbbjWYaVzZpV4SGG2P+Nuqpkx4AG1+x91AUQQd+N9L ouKk4ZQCUQXuzUM5BNoDjjFUawaheC2sNLRNrlmEyclYcKfdFX540r1NT+PYUjsEbrND luvQ== X-Gm-Message-State: AFeK/H3xpiYgcz9G/sbwYdAYQT+u9g5Wnm0R5cDbz7ph1PLvlu1hD4EHZV2wo88/B+u7qA== X-Received: by 10.223.160.231 with SMTP id n36mr3816798wrn.167.1490286059647; Thu, 23 Mar 2017 09:20:59 -0700 (PDT) Received: from lupo ([2001:4b00:180:3f01:dc4f:e85b:3942:1023]) by smtp.gmail.com with ESMTPSA id 82sm1890630wmg.0.2017.03.23.09.20.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Mar 2017 09:20:58 -0700 (PDT) From: Federico Beffa X-Google-Original-From: Federico Beffa Received: from beffa by lupo with local (Exim 4.88) (envelope-from ) id 1cr5Tt-0002eg-Hj; Thu, 23 Mar 2017 17:20:57 +0100 To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#26215: gschemas.compiled should not be added to the profile by multiple packages References: Date: Thu, 23 Mar 2017 17:20:57 +0100 In-Reply-To: (pelzflorian@pelzflorian.de's message of "Wed, 22 Mar 2017 09:30:37 +0100") Message-ID: <8760j0nevq.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 26215 Cc: 26215@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: -2.6 (--) "pelzflorian (Florian Pelz)" writes: > Currently multiple packages contain the file > share/glib-2.0/schemas/gschemas.compiled (which is built by > glib-or-gtk-build-system). Doing so *works* (because each package=E2=80= =99s > share directory in the Store is part of the XDG_DATA_DIRS environment > variable, GSettings looks for settings in each of the gschemas.compiled > files in the Store) but leads to *warnings* because only one package=E2= =80=99s > gschemas.compiled can be added to the profile at the same time. > > To avoid these misleading warnings, either > =C2=B7 no package=E2=80=99s gschemas.compiled should go to the profile on > install *or* > =C2=B7 gschemas.compiled should not be created for each package by > glib-or-gtk-build-system, instead it should be created only once > in each profile by a profile hook from the GSettings data of all > packages in the manifest, > =C2=B7 or something else? Note that if you mix GTK-2 and GTK-3 schemas many applications will crash. The glib-or-gtk-build-system tries to avoid mixing the two. Fede From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 23 15:25:20 2017 Received: (at 26215) by debbugs.gnu.org; 23 Mar 2017 19:25:20 +0000 Received: from localhost ([127.0.0.1]:41348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr8MJ-0007h3-Nw for submit@debbugs.gnu.org; Thu, 23 Mar 2017 15:25:19 -0400 Received: from pelzflorian.de ([5.45.111.108]:42720 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr8MI-0007gv-8z for 26215@debbugs.gnu.org; Thu, 23 Mar 2017 15:25:18 -0400 Received: from [192.168.178.30] (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id EEF85360014; Thu, 23 Mar 2017 20:25:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1490297117; bh=z7Vke5nAG6oFZxoWh8aO19B9Bs6Fm4xjGz6+Wy6nqkE=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=EdWjiuBMufFbJmwZ7r0qGgBFJGw5WrCZL6saULZ0zykdfFoG45SPM9GdZmK1x4IGx IeyfQ/mNxsqs3VUu7XeYFOorCyl5xv0VhuyJS0X9wK6kMbGgHiwWy8jWJ7JeIt9/Bj 2KrTS5FjLvkqsVKNiNmoAdZHyvvUO1VQCS220gUA= Subject: Re: bug#26215: gschemas.compiled should not be added to the profile by multiple packages To: Federico Beffa References: <8760j0nevq.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> From: "pelzflorian (Florian Pelz)" Message-ID: <724c4428-dcbe-334f-227c-987f531454e1@pelzflorian.de> Date: Thu, 23 Mar 2017 20:25:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0 MIME-Version: 1.0 In-Reply-To: <8760j0nevq.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26215 Cc: 26215@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: 0.0 (/) On 03/23/2017 05:20 PM, Federico Beffa wrote: > Note that if you mix GTK-2 and GTK-3 schemas many applications will > crash. The glib-or-gtk-build-system tries to avoid mixing the two. > > Fede > I believe you are confusing schemas and modules. GSettings schemas come from GLib and both GTK+ 2 and GTK+ 3 use the same GLib. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 24 03:28:51 2017 Received: (at 26215) by debbugs.gnu.org; 24 Mar 2017 07:28:51 +0000 Received: from localhost ([127.0.0.1]:41688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crJeV-0000Go-KE for submit@debbugs.gnu.org; Fri, 24 Mar 2017 03:28:51 -0400 Received: from mail-wr0-f173.google.com ([209.85.128.173]:34804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1crJeS-0000GY-Vf for 26215@debbugs.gnu.org; Fri, 24 Mar 2017 03:28:49 -0400 Received: by mail-wr0-f173.google.com with SMTP id l43so3601046wre.1 for <26215@debbugs.gnu.org>; Fri, 24 Mar 2017 00:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=YjrWo7+CPZGGuahI8s1pLB55XQqd9QCEBxQQnmxstcE=; b=PWclr/X+3xSBgM+3Y7pQEPZkBfFmiX3o3c/j0NMinit2cKmnVH3D3Kint6W6mnVPl0 OP9TGbNIljzrIIU0xoEzSPC2vLZm+Q6YclXIvrJH9OWk6gj4h9tO08CGHNNdqelC2LsU rFFeCRCm4ODp2vMeabU8xUzxSPuruXTEVq7rJu0+bztOpDKCZZIuneIi8qv/J13xwAI7 5nLO2iamtYZRuN+5glSDe4H0R3lKsD/6866/iG+SIDv1WxqC0KcDHpn0UAgUgsvwwIz6 RQuSxyy8BrZN6oqbobMtILdvXYOeyV+47ZwIO0VAQtrG3RDfNgpE6OV0Vp9ohGQ9mfUV XZ0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=YjrWo7+CPZGGuahI8s1pLB55XQqd9QCEBxQQnmxstcE=; b=p6LkH5+xUJreU8pkwjodwsK89wH7qldrqvUv4JrxIDeHKqsp7tzCfb7gHvG4kk2OEO 6GHy9xCCr8i1WI/qpdIvLiwGE6iwdZMgxQQeREAs0fZK48aJLlt96OT2XwoBevR0sr0/ RlF3oLXDrijSLoQshYA2XX7Rp78VRORxAlpFzqrFHOT2Dq5lkXKZ2mMe0xvAlQf0HkQp gJdKDi13OgMQDl8UvSesIQ8SFkIFqS51FCoAcSfbQDGDf7vHEMUYAbxn1y/F/fUgGweM L7uiHx1+192CJWsg56R9G3XD77TV4etrtUdBsqOWQiu38BPJ9od9iwhgFchbD+QpWlrm PFXQ== X-Gm-Message-State: AFeK/H2mWwBl+RmN6LElioyxBzIZq3/jDbgZ+tcCwgp9J27+AbHw1y07tICBZOpsxqoZMQ== X-Received: by 10.223.183.6 with SMTP id l6mr4112930wre.192.1490340523277; Fri, 24 Mar 2017 00:28:43 -0700 (PDT) Received: from lupo ([2001:4b00:180:3f01:a515:12bc:6191:fa1d]) by smtp.gmail.com with ESMTPSA id h65sm1756570wrh.32.2017.03.24.00.28.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Mar 2017 00:28:41 -0700 (PDT) From: Federico Beffa X-Google-Original-From: Federico Beffa Received: from beffa by lupo with local (Exim 4.88) (envelope-from ) id 1crJeK-0000cH-M5; Fri, 24 Mar 2017 08:28:40 +0100 To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#26215: gschemas.compiled should not be added to the profile by multiple packages References: <8760j0nevq.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> <724c4428-dcbe-334f-227c-987f531454e1@pelzflorian.de> Date: Fri, 24 Mar 2017 08:28:40 +0100 In-Reply-To: <724c4428-dcbe-334f-227c-987f531454e1@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Thu, 23 Mar 2017 20:25:16 +0100") Message-ID: <87k27fi15j.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 26215 Cc: 26215@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: -2.6 (--) "pelzflorian (Florian Pelz)" writes: > On 03/23/2017 05:20 PM, Federico Beffa wrote: >> Note that if you mix GTK-2 and GTK-3 schemas many applications will >> crash. The glib-or-gtk-build-system tries to avoid mixing the two. >> >> Fede >> > > I believe you are confusing schemas and modules. GSettings schemas come > from GLib and both GTK+ 2 and GTK+ 3 use the same GLib. You're probably right. I only remember quite vaguely that, while developing the build system and experimenting, I was seeing crashes due to GTK+ applications seeing stuff from the wrong version. I thought that this could be relevant here, but maybe not. Regards, Fede From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 22 15:49:23 2020 Received: (at submit) by debbugs.gnu.org; 22 Dec 2020 20:49:23 +0000 Received: from localhost ([127.0.0.1]:51052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kroaw-0003rv-Nj for submit@debbugs.gnu.org; Tue, 22 Dec 2020 15:49:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:58906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kroav-0003ro-PT for submit@debbugs.gnu.org; Tue, 22 Dec 2020 15:49:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kroav-0008F2-Go for bug-guix@gnu.org; Tue, 22 Dec 2020 15:49:21 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:23440) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kroar-0006qG-2o for bug-guix@gnu.org; Tue, 22 Dec 2020 15:49:20 -0500 Received: from nijino.local (217-149-174-13.nat.highway.telekom.at [217.149.174.13]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4D0pNM3RFFz3xPl; Tue, 22 Dec 2020 21:49:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1608670147; bh=4zjLvAfK5MhGuuidX+dcjW0az9mEZHEIH5M31LPrTC0=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=ZBKIE3jz0QwjmE3aFKxZwo6H7DlBDYfDSpcuJjJVhur1GllhlnoSLsHROGwD3iW5j fFQcxHaJUEiqintMmTxOXEYeGejolE5Z2n3F+i+vEopTCAjot8Ab88+GO1l9TxZTYc /BskiaiktVv9J2THYzfIDWzrlu2fOBWvSpHbkUbI= Message-ID: <2df15184d0776c75bb37052bd40f76b59e742e95.camel@student.tugraz.at> Subject: Re: gschemas.compiled should not be added to the profile by multiple packages From: Leo Prikler To: "pelzflorian (Florian Pelz)" , bug-guix@gnu.org Date: Tue, 22 Dec 2020 21:49:06 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 26215@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: -2.3 (--) Hello Florian, I'm writing you, because you've filed issue #26215 against Guix (see [1] for full context). Am Mittwoch, den 22.03.2017, 09:30 +0100 schrieb pelzflorian (Florian Pelz): > Currently multiple packages contain the file > share/glib-2.0/schemas/gschemas.compiled (which is built by > glib-or-gtk-build-system). Doing so *works* (because each package’s > share directory in the Store is part of the XDG_DATA_DIRS environment > variable, GSettings looks for settings in each of the > gschemas.compiled > files in the Store) but leads to *warnings* because only one > package’s > gschemas.compiled can be added to the profile at the same time. "Currently" is perhaps a bit misleading in this context, given that this message is three years old, but I suppose many packages still contain compiled GSettings schemas. (That's one of the reasons so many packages use glib:bin after all.) > To avoid these misleading warnings, either > · no package’s gschemas.compiled should go to the profile on > install *or* > · gschemas.compiled should not be created for each package by > glib-or-gtk-build-system, instead it should be created only once > in each profile by a profile hook from the GSettings data of all > packages in the manifest, > · or something else? Modern Guix does have a profile hook, which IIUC will be the one that's picked upon conflict resolution. Should we still make an effort to remove compiled GSettings schemas where they exist, or can we mark this bug as resolved? Regards, Leo [1] http://issues.guix.gnu.org/26215 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 19:02:44 2020 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)" To: Leo Prikler Subject: Re: gschemas.compiled should not be added to the profile by multiple packages 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 26215-done@debbugs.gnu.org, bug-guix@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: -2.4 (--) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 19:26:39 2020 Received: (at 26215-done) by debbugs.gnu.org; 27 Dec 2020 00:26:39 +0000 Received: from localhost ([127.0.0.1]:60105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktJtP-0004bo-Gg for submit@debbugs.gnu.org; Sat, 26 Dec 2020 19:26:39 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:41166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktJtN-0004be-4a for 26215-done@debbugs.gnu.org; Sat, 26 Dec 2020 19:26:38 -0500 Received: from nijino.local (217-149-174-13.nat.highway.telekom.at [217.149.174.13]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4D3M1Q1Vspz3xP9; Sun, 27 Dec 2020 01:26:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1609028794; bh=xOuaLyV8o7qSUflur41+CivvKXcA1HQrFI/a6uZSLnI=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=fVmK/rgW5UqRzn7Bd5kPwK2b+ZWH8DoQSSYFGWuiPTo/TWg3i5kjGdltQJv49GzoJ QQx5QxSMyApjt52l2tOTZHXf3VdmUwXYYa/gPh1pFKjTqbsML2TJSvMmtu6Obi709N oRzHdyzXZWUnVfaKHV0mr7zzH6Y9E39L8yOXvUNw= Message-ID: <0f63f105c38dab2bb3e4440803c50f3a5049862b.camel@student.tugraz.at> Subject: Re: gschemas.compiled should not be added to the profile by multiple packages From: Leo Prikler To: "pelzflorian (Florian Pelz)" Date: Sun, 27 Dec 2020 01:26:32 +0100 In-Reply-To: <20201227000224.uhthhfoeaov5odni@pelzflorian.localdomain> References: <2df15184d0776c75bb37052bd40f76b59e742e95.camel@student.tugraz.at> <20201227000224.uhthhfoeaov5odni@pelzflorian.localdomain> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 26215-done Cc: 26215-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 (---) Hello Florian, Am Sonntag, den 27.12.2020, 01:02 +0100 schrieb pelzflorian (Florian Pelz): > [...] > 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. Thanks for formally closing this bug. As far as purging the files is concerned, we do already remove GTK icon caches from packages all over the place, that would otherwise require gtk+:bin as native input, so it *is* an option for saving a little space here and there. That being said, it is not strictly necessary, just an option if anyone is sufficiently bored. Regards, Leo From unknown Tue Jun 17 01:48:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 24 Jan 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator