GNU bug report logs

#29892 dvtm does not properly export terminfo

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #11 received at 29892@debbugs.gnu.org (full text, mbox, reply):

Received: (at 29892) by debbugs.gnu.org; 4 Jan 2018 15:20:15 +0000
From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 04 10:20:14 2018
Received: from localhost ([127.0.0.1]:35824 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1eX7JW-0001gj-Iq
	for submit@debbugs.gnu.org; Thu, 04 Jan 2018 10:20:14 -0500
Received: from mail.fsfe.org ([217.69.89.162]:39040)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jlicht@fsfe.org>) id 1eX7JV-0001gW-2L
 for 29892@debbugs.gnu.org; Thu, 04 Jan 2018 10:20:13 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.fsfe.org (Postfix) with ESMTP id EE7A763B9C1
 for <29892@debbugs.gnu.org>; Thu,  4 Jan 2018 16:20:06 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at mail.fsfe.org
Received: from mail.fsfe.org ([127.0.0.1])
 by localhost (cavendish.fsfeurope.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 0zWIzqsXUBzV for <29892@debbugs.gnu.org>;
 Thu,  4 Jan 2018 16:20:06 +0100 (CET)
Received: by mail-vk0-f47.google.com with SMTP id o16so1094234vke.12
 for <29892@debbugs.gnu.org>; Thu, 04 Jan 2018 07:20:06 -0800 (PST)
X-Gm-Message-State: AKGB3mLHzjk0d0Ur4V8Fkg51OJ3Nx8GJvl5YgAHUZpjUUgx6cwWYt3HP
 nHw8EYM9QWHdXi7Y9Bn4+Te6OsuNVrZZQzvBr40=
X-Google-Smtp-Source: ACJfBotU0EnOK7d31UAoY6lxdO+2UtgfqXmQTvlfe8jjCuFle0Ij+k/AVJEFgvTeGjmI/1+faQ8PKgabRlb3xkB8OaE=
X-Received: by 10.31.33.84 with SMTP id h81mr4738866vkh.4.1515079205357; Thu,
 04 Jan 2018 07:20:05 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.76.82 with HTTP; Thu, 4 Jan 2018 07:20:04 -0800 (PST)
In-Reply-To: <87mv1xzec7.fsf@gnu.org>
References: <CAPsKtfJHY95oaG88deDoQzQJ_EtYYGub1sHaoJi0Hcp+GF+o-w@mail.gmail.com>
 <87mv1xzec7.fsf@gnu.org>
From: Jelle Licht <jlicht@fsfe.org>
Date: Thu, 4 Jan 2018 16:20:04 +0100
X-Gmail-Original-Message-ID: <CAPsKtf+mZ4-87AH=6g2p5d3JJBzZP6kSFBZVFRHFK3L5q1gyVA@mail.gmail.com>
Message-ID: <CAPsKtf+mZ4-87AH=6g2p5d3JJBzZP6kSFBZVFRHFK3L5q1gyVA@mail.gmail.com>
Subject: Re: bug#29892: dvtm does not properly export terminfo
To: Ludovic Courtès <ludo@gnu.org>
Content-Type: multipart/alternative; boundary="001a11c0310cd7904d0561f4ddcc"
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 29892
Cc: 29892@debbugs.gnu.org
X-BeenThere: debbugs-submit@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)
[Message part 1 (text/plain, inline)]
Hello,

2018-01-01 18:19 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:

> Hi!
>
> Jelle Licht <jlicht@fsfe.org> skribis:
>
> > As far as I can see, the current version of dvtm does not work properly
> > with programs such as htop etc.
> >
> > To reproduce:
> > ```
> > $ guix package -i dvtm
> > $ dvtm
> > $ htop
> > ```
> > It only worked properly once I added something like:
> > `export TERMINFO_DIRS="/home/jelle/.guix-profile/share/terminfo"`.
> >
> > Would a proper fix be to simply add a native-search-path declaration to
> the
> > dvtm package? If so, I can prepare a patch this weekend.
>
> ‘TERMINFO_DIRS’ is a search path of ncurses.  However, because search
> paths of dependencies are not honored, it doesn’t get set:
>
>   https://bugs.gnu.org/22138
>
> This is what we should fix.
>
Fixing this properly seems like it would take effort indeed.


>
> It would feel wrong to add ‘TERMINFO_DIRS’ as a search path of dvtm and
> everything that depends on ncurses.
>

Am I correct in assuming that as a temporary (personal) workaround, I can
just
install ncurses in my profile as well?

Perhaps guix can warn if you install a package which has a dependency
with a search path like ncurses? Or would this be too much of a hassle
to implement?

It would not solve the issue, but at least prevent people from
not understanding why their packages are not working. WDYT?

>
> Thanks,
> Ludo’.
>

- Jelle
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Tue Sep 9 15:09:06 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.