GNU bug report logs - #28298
Downgrades in xfontsel and other packages using app-defaults

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: Alex Kost <alezost@HIDDEN>; dated Wed, 30 Aug 2017 19:09:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 28298) by debbugs.gnu.org; 2 Sep 2017 20:52:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 02 16:52:55 2017
Received: from localhost ([127.0.0.1]:44046 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1doFPT-0008Ik-It
	for submit <at> debbugs.gnu.org; Sat, 02 Sep 2017 16:52:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55192)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1doFPR-0008IY-Mp
 for 28298 <at> debbugs.gnu.org; Sat, 02 Sep 2017 16:52:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1doFPH-0007vf-MA
 for 28298 <at> debbugs.gnu.org; Sat, 02 Sep 2017 16:52:48 -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,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57267)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1doFPH-0007vZ-In; Sat, 02 Sep 2017 16:52:43 -0400
Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=43670 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1doFPG-0005Pj-UY; Sat, 02 Sep 2017 16:52:43 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Alex Kost <alezost@HIDDEN>
Subject: Re: bug#28298: Downgrades in xfontsel and other packages using
 app-defaults
References: <87a82gx4a3.fsf@HIDDEN> <20170830192154.GA5714@HIDDEN>
 <87y3pzy2g4.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 16 Fructidor an 225 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-unknown-linux-gnu
Date: Sat, 02 Sep 2017 22:52:40 +0200
In-Reply-To: <87y3pzy2g4.fsf@HIDDEN> (Alex Kost's message of "Thu, 31 Aug
 2017 22:14:35 +0300")
Message-ID: <87efrox1pj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
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]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 28298
Cc: 28298 <at> debbugs.gnu.org, John Darrington <jmd@HIDDEN>
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: -5.0 (-----)

Hi Alex & John!

Alex Kost <alezost@HIDDEN> skribis:

> John Darrington (2017-08-30 15:21 -0400) wrote:
>
>> It looks fine to me.  I don't get that warning.
>
> But did you actually tried what I wrote?:
>
>   $ `guix build xfontsel`/bin/xfontsel
>
>> The XAPPLRESDIR is no longer required because the libxt library has
>> been patched.
>
> Oh, I didn't know about this "libxt-guix-search-paths.patch".  I think
> now I understand: with this patch, xfontsel and other programs should
> work only when they are installed from the usual guix profiles (system
> and user ones), right?

Or when $GUIX_PROFILE is set, AIUI.

> In my opinion, this is the wrong approach.  A user may install these
> programs in non-standard profiles.  For example, I don't use
> "~/.guix-profile" at all; instead I use several other profiles, so there
> is no chance for me to have 'xfontsel' work properly.
>
> Also, I think a program should preferably work when it is started
> directly from store.

I agree, though that=E2=80=99s not always possible.

> So I strongly believe that using wrappers was the right approach, and we
> should return to it.

As a preamble, I think it=E2=80=99s not just =E2=80=9Cright=E2=80=9D or =E2=
=80=9Cwrong=E2=80=9D, it=E2=80=99s different
solutions making different tradeoffs.  :-)

IIRC I participated in the review of the libXt patch.  I don=E2=80=99t real=
ly
remember the discussion, but I think it would be good rereading it
before making a decision, to make sure we don=E2=80=99t run in circles.

Thanks for looking into it!

Ludo=E2=80=99.




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

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


Received: (at 28298) by debbugs.gnu.org; 31 Aug 2017 19:14:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 31 15:14:40 2017
Received: from localhost ([127.0.0.1]:38033 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dnUvI-0008Rb-NQ
	for submit <at> debbugs.gnu.org; Thu, 31 Aug 2017 15:14:40 -0400
Received: from mail-lf0-f43.google.com ([209.85.215.43]:33311)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alezost@HIDDEN>) id 1dnUvG-0008RO-Ra
 for 28298 <at> debbugs.gnu.org; Thu, 31 Aug 2017 15:14:39 -0400
Received: by mail-lf0-f43.google.com with SMTP id a126so2142430lfa.0
 for <28298 <at> debbugs.gnu.org>; Thu, 31 Aug 2017 12:14:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=9DxReTrGi/R5Qw7iW3RwBEITFv0kI4NXf3BsGxGCxFU=;
 b=kiO7f/GtLAVGylJ+96ZGmUV/schTzvGA2JJf+vgUcCYWW/Fkgsncyt0QGWq6j36zrv
 WAcmLmVMvJy1OA0h7ijJ9TxMLpjLiFeJiuLQOjUybx2tIR55Gi8EHNfK3Ago9O5uUvTR
 2KrYpbT5yPQUdCdMpf9dx9gTs1IMylYEz9ey9QTiCCKFmZAJ88J4d/ydW1lHfx3S1PXR
 y1J27Wqk1FIEkipqPVbsMewFS5CIcnAAlq2R0R1fac9vrWIGau3lxDo0k36JMAeFqVke
 ipiYTJtZo3cZwjSd9241FTKuo+45ZRInayZLgw53dZNliffGuBqcAZ/4DArqShJoCy+W
 5hhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=9DxReTrGi/R5Qw7iW3RwBEITFv0kI4NXf3BsGxGCxFU=;
 b=VXI08NdIwW8AeB4kS5noTVZp0EiaY+FXw7Vr7QYd4f65goKvtlngMC6ckpm03yi70c
 6xKSSmgtlZ1rm1TPLkDWJBdZjgU4slGC5Rh49W3pk8RG5I7py/XyhvDixc8adr5kHL1o
 WqqUaxgyCDu8BvmPkNU4JmQQtYdp4MWu3l3hA6ha0I3kpB6kDLQ5tQpPZDdJzzZV1DDM
 NemwCO8y5mXBQSOlPQlKaqTyMV+jYhO1FmpH3J34Ueawo3IZ5eJkdIExuhuNNcahxuwd
 gr6ABczTuYZmGabnR5w8og6Zj9px0QVZa0T8SjIag3m6WX0jjxFx1WGQ8SBAI6/ctafO
 /A5A==
X-Gm-Message-State: AHPjjUiLz193QJ/o4ciIBg6vCcQUY1SS+ynG4YiShRrqZ/tBoZPdP1bX
 L9e5cnn2Mn9K0Knd
X-Google-Smtp-Source: ADKCNb4sUKTU6taHcdOpymT4gbGsjn5sG/maXW885ywmAj8XBkAypOgQbSGJ6zmZ2QiJpB3pzLqL1A==
X-Received: by 10.25.199.67 with SMTP id x64mr2625343lff.188.1504206872632;
 Thu, 31 Aug 2017 12:14:32 -0700 (PDT)
Received: from leviafan ([217.107.194.137])
 by smtp.gmail.com with ESMTPSA id z79sm99515lfd.64.2017.08.31.12.14.31
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 31 Aug 2017 12:14:31 -0700 (PDT)
From: Alex Kost <alezost@HIDDEN>
To: John Darrington <jmd@HIDDEN>
Subject: Re: Downgrades in xfontsel and other packages using app-defaults
References: <87a82gx4a3.fsf@HIDDEN> <20170830192154.GA5714@HIDDEN>
Date: Thu, 31 Aug 2017 22:14:35 +0300
In-Reply-To: <20170830192154.GA5714@HIDDEN> (John Darrington's message of
 "Wed, 30 Aug 2017 15:21:55 -0400")
Message-ID: <87y3pzy2g4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 28298
Cc: 28298 <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.5 (/)

John Darrington (2017-08-30 15:21 -0400) wrote:

> It looks fine to me.  I don't get that warning.

But did you actually tried what I wrote?:

  $ `guix build xfontsel`/bin/xfontsel

> The XAPPLRESDIR is no longer required because the libxt library has
> been patched.

Oh, I didn't know about this "libxt-guix-search-paths.patch".  I think
now I understand: with this patch, xfontsel and other programs should
work only when they are installed from the usual guix profiles (system
and user ones), right?

In my opinion, this is the wrong approach.  A user may install these
programs in non-standard profiles.  For example, I don't use
"~/.guix-profile" at all; instead I use several other profiles, so there
is no chance for me to have 'xfontsel' work properly.

Also, I think a program should preferably work when it is started
directly from store.

So I strongly believe that using wrappers was the right approach, and we
should return to it.

-- 
Alex




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

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


Received: (at submit) by debbugs.gnu.org; 30 Aug 2017 19:08:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 30 15:08:20 2017
Received: from localhost ([127.0.0.1]:34994 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dn8Lc-0003hC-6x
	for submit <at> debbugs.gnu.org; Wed, 30 Aug 2017 15:08:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47845)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alezost@HIDDEN>) id 1dn8La-0003gu-7U
 for submit <at> debbugs.gnu.org; Wed, 30 Aug 2017 15:08:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <alezost@HIDDEN>) id 1dn8LT-0005dO-SX
 for submit <at> debbugs.gnu.org; Wed, 30 Aug 2017 15:08:12 -0400
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,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54957)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <alezost@HIDDEN>) id 1dn8LT-0005dK-PY
 for submit <at> debbugs.gnu.org; Wed, 30 Aug 2017 15:08:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38810)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <alezost@HIDDEN>) id 1dn8LS-0004QQ-Bi
 for bug-guix@HIDDEN; Wed, 30 Aug 2017 15:08:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <alezost@HIDDEN>) id 1dn8LR-0005cn-CX
 for bug-guix@HIDDEN; Wed, 30 Aug 2017 15:08:10 -0400
Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:32957)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <alezost@HIDDEN>)
 id 1dn8LN-0005bZ-JZ; Wed, 30 Aug 2017 15:08:05 -0400
Received: by mail-lf0-x243.google.com with SMTP id y15so4455881lfd.0;
 Wed, 30 Aug 2017 12:08:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:user-agent:mime-version
 :content-transfer-encoding;
 bh=2wNrvP+eWECBsRzz2MRSURCM80DWlHNZ39azuxNP/gU=;
 b=btPcYHIIFiKLRzvrvaqW0M0Jngt2pUUjybmlVgyou6M2s66dA/etBh1PPw7DsZSyxC
 +14RpaWh6BZuJGL1D6KJWc29jTAUVsbuYzJsPrECctlnIs2ylL+Q5jwmUQcXYn5YHjL6
 Tz1hLHOc8UNDPmVomuNiXqEubz9FSfChOy7sUKaoL+MW+fNm/tFy93HxQVcE1vQrCdF0
 v8CPAxUaVB7fjL0ZbMhCdmjxCzp1ayLTj/SR0TS7fevEiryfIfJWCJgOqPTR6wyQiXqE
 6B4F35yj/yu6mbKeRrrZ1hrHT7qBMBwospg+8B4GuG6r3JPD0X2Jgp9gaYJqOMkEFqON
 q9PA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent
 :mime-version:content-transfer-encoding;
 bh=2wNrvP+eWECBsRzz2MRSURCM80DWlHNZ39azuxNP/gU=;
 b=oGLn58VnxuVbfUfpJn+dQSbEHULswEJ+ixV6cqaMnHTthjuBeLQpEANp4j8eOvp2y9
 zc2mG7OleELL5JWYfRmyMO+ne46rJOQdFM70rJksXinCCddbftfuNZFx+Tuf0odEiEvv
 akQ3p609NKfV9y/fCbyPsec60ANw5WZB13wEKmUJVchm6TfJqHIWyO7Fof98cl0OSOZQ
 cZmBcR5vVnLiUzzBaIwbbxjv7N8xs3Z8hGBx9ZM9TGOvNzCXBme5fL4KhhZ5I0IGbOch
 Khduxkopcu/rlWDR9gbr792s1qIu6xOhM4FxA2DvjezFDOiMx0qIscrQrO0a2Xe08eYR
 grRg==
X-Gm-Message-State: AHPjjUjg3QS30/pz+SYEJ22BbkD/2PAFHqqOaVry/t1xJ6hSk6unG5Sy
 754JOH0ReM4AjXft
X-Received: by 10.25.59.14 with SMTP id i14mr1213675lfa.20.1504120082830;
 Wed, 30 Aug 2017 12:08:02 -0700 (PDT)
Received: from leviafan ([217.107.194.130])
 by smtp.gmail.com with ESMTPSA id w88sm1065186lfd.94.2017.08.30.12.08.01
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 30 Aug 2017 12:08:02 -0700 (PDT)
From: Alex Kost <alezost@HIDDEN>
To: bug-guix@HIDDEN
Subject: Downgrades in xfontsel and other packages using app-defaults
Date: Wed, 30 Aug 2017 22:08:04 +0300
Message-ID: <87a82gx4a3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
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.0 (----)
X-Debbugs-Envelope-To: submit
Cc: John Darrington <jmd@HIDDEN>
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.0 (----)

Hello, commit 5dc8dd07b=C2=B9 removed a wrapper from xfontsel package.  And
now xfontsel looks "ugly" (not as intended).  You can simply check it:

  $ `guix build xfontsel`/bin/xfontsel

It doesn't look right, and also prints the following message:

  Warning: app-defaults file not properly installed.

Now if you run it like this:

  $ XAPPLRESDIR=3D/gnu/store/...-xfontsel-1.0.5/lib/X11/app-defaults /gnu/s=
tore/...-xfontsel-1.0.5/bin/xfontsel

it looks as it should.

Also the same downgrades probably take effect (I didn't check) with
'xfig' and 'xfd' packages (commits 97fedab1 and 5aae77e4).

So I think we should re-add the mentioned wrappers.

=C2=B9 http://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D5dc8dd07b0c96=
6842bfb984482df40892dc1c2ae

--=20
Alex




Acknowledgement sent to Alex Kost <alezost@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#28298; 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.