GNU bug report logs - #26215
gschemas.compiled should not be added to the profile by multiple packages

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>; dated Wed, 22 Mar 2017 08:31:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 26215 <at> debbugs.gnu.org:


Received: (at 26215) by debbugs.gnu.org; 24 Mar 2017 07:28:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 24 03:28:51 2017
Received: from localhost ([127.0.0.1]:41688 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1crJeV-0000Go-KE
	for submit <at> 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 <federico.beffa@HIDDEN>) id 1crJeS-0000GY-Vf
 for 26215 <at> 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 <at> 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 <beffa@HIDDEN>
X-Google-Original-From: Federico Beffa
 <beffa@HIDDEN>
Received: from beffa by lupo with local (Exim 4.88)
 (envelope-from <beffa@HIDDEN>)
 id 1crJeK-0000cH-M5; Fri, 24 Mar 2017 08:28:40 +0100
To: "pelzflorian \(Florian Pelz\)" <pelzflorian@HIDDEN>
Subject: Re: bug#26215: gschemas.compiled should not be added to the profile
 by multiple packages
References: <aa0dccec-4541-25af-9606-9485aae0ceb4@HIDDEN>
 <8760j0nevq.fsf@HIDDEN>
 <724c4428-dcbe-334f-227c-987f531454e1@HIDDEN>
Date: Fri, 24 Mar 2017 08:28:40 +0100
In-Reply-To: <724c4428-dcbe-334f-227c-987f531454e1@HIDDEN>
 (pelzflorian@HIDDEN's message of "Thu, 23 Mar 2017 20:25:16
 +0100")
Message-ID: <87k27fi15j.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

"pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN> 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




Information forwarded to bug-guix@HIDDEN:
bug#26215; Package guix. Full text available.

Message received at 26215 <at> debbugs.gnu.org:


Received: (at 26215) by debbugs.gnu.org; 23 Mar 2017 19:25:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 23 15:25:20 2017
Received: from localhost ([127.0.0.1]:41348 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cr8MJ-0007h3-Nw
	for submit <at> 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 <pelzflorian@HIDDEN>) id 1cr8MI-0007gv-8z
 for 26215 <at> 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 <beffa@HIDDEN>
References: <aa0dccec-4541-25af-9606-9485aae0ceb4@HIDDEN>
 <8760j0nevq.fsf@HIDDEN>
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Message-ID: <724c4428-dcbe-334f-227c-987f531454e1@HIDDEN>
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@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 26215
Cc: 26215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Information forwarded to bug-guix@HIDDEN:
bug#26215; Package guix. Full text available.

Message received at 26215 <at> debbugs.gnu.org:


Received: (at 26215) by debbugs.gnu.org; 23 Mar 2017 16:21:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 23 12:21:07 2017
Received: from localhost ([127.0.0.1]:41191 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cr5U2-0001bZ-NA
	for submit <at> 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 <federico.beffa@HIDDEN>) id 1cr5U1-0001an-Bv
 for 26215 <at> 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 <at> 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 <beffa@HIDDEN>
X-Google-Original-From: Federico Beffa
 <beffa@HIDDEN>
Received: from beffa by lupo with local (Exim 4.88)
 (envelope-from <beffa@HIDDEN>)
 id 1cr5Tt-0002eg-Hj; Thu, 23 Mar 2017 17:20:57 +0100
To: "pelzflorian \(Florian Pelz\)" <pelzflorian@HIDDEN>
Subject: Re: bug#26215: gschemas.compiled should not be added to the profile
 by multiple packages
References: <aa0dccec-4541-25af-9606-9485aae0ceb4@HIDDEN>
Date: Thu, 23 Mar 2017 17:20:57 +0100
In-Reply-To: <aa0dccec-4541-25af-9606-9485aae0ceb4@HIDDEN>
 (pelzflorian@HIDDEN's message of "Wed, 22 Mar 2017 09:30:37
 +0100")
Message-ID: <8760j0nevq.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

"pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN> 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




Information forwarded to bug-guix@HIDDEN:
bug#26215; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Mar 2017 08:30:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 22 04:30:54 2017
Received: from localhost ([127.0.0.1]:38606 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cqbfR-0006kb-R3
	for submit <at> 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 <pelzflorian@HIDDEN>) id 1cqbfP-0006kN-LX
 for submit <at> 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 <pelzflorian@HIDDEN>) id 1cqbfJ-0002d2-Hi
 for submit <at> 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 <pelzflorian@HIDDEN>)
 id 1cqbfJ-0002cy-E8
 for submit <at> 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 <pelzflorian@HIDDEN>) id 1cqbfI-0005rI-0N
 for bug-guix@HIDDEN; Wed, 22 Mar 2017 04:30:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pelzflorian@HIDDEN>) id 1cqbfE-0002bg-TM
 for bug-guix@HIDDEN; 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 <pelzflorian@HIDDEN>)
 id 1cqbfE-0002bF-K0
 for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; 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@HIDDEN
From: "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>
Subject: gschemas.compiled should not be added to the profile by multiple
 packages
Message-ID: <aa0dccec-4541-25af-9606-9485aae0ceb4@HIDDEN>
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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.




Acknowledgement sent to "pelzflorian (Florian Pelz)" <pelzflorian@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#26215; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.