From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: 04/06: profiles: Generate database file for man pages. Date: Mon, 10 Apr 2017 10:00:51 +0900 Message-ID: References: <20170405205638.12336.78854@vcs0.savannah.gnu.org> <20170405205640.15AE6210A4@vcs0.savannah.gnu.org> <20170408192944.GA3237@jasmine> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0722b2b7328d054cc58118 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxNhP-0004sf-Q3 for guix-devel@gnu.org; Sun, 09 Apr 2017 21:00:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxNhO-00026z-Ku for guix-devel@gnu.org; Sun, 09 Apr 2017 21:00:55 -0400 Received: from mail-yb0-x22d.google.com ([2607:f8b0:4002:c09::22d]:36231) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxNhO-00026q-Fg for guix-devel@gnu.org; Sun, 09 Apr 2017 21:00:54 -0400 Received: by mail-yb0-x22d.google.com with SMTP id i124so27860347ybc.3 for ; Sun, 09 Apr 2017 18:00:52 -0700 (PDT) In-Reply-To: <20170408192944.GA3237@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Leo Famulari Cc: guix-devel --94eb2c0722b2b7328d054cc58118 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Leo! On Sun, Apr 9, 2017 at 4:29 AM, Leo Famulari wrote: > On Wed, Apr 05, 2017 at 04:56:39PM -0400, Ludovic Court=EF=BF=BDs wrote: > > civodul pushed a commit to branch master > > in repository guix. > > > > commit a0b87ef8ec7735aa42cf35d380e9cff04f3236f3 > > Author: Maxim Cournoyer > > Date: Wed Apr 5 01:09:22 2017 -0700 > > > > profiles: Generate database file for man pages. > > > > The mandb database file (index.db) is used by the "apropos" (whatis= ) > or > > "man -k" commands. This change introduces a profile hook to genera= te > > such database file. > > > > * guix/profiles.scm (manual-database): New procedure. > > (%default-profile-hooks): Add it. > > > > Co-authored-by: Ludovic Court=C3=A8s > > Recently, I notice messages like this when doing profile operations: > > [...] > creating manual page database for 49 packages... > find-files: /gnu/store/0y3qrzzwfxf601g885967wcringvnw > 69-gimp-2.8.18/share/man/man1/gimp-console.1: No such file or directory > [...] > > The file in question is a symlink: > $ ls -l /gnu/store/0y3qrzzwfxf601g885967wcringvnw > 69-gimp-2.8.18/share/man/man1/gimp-console.1 > lrwxrwxrwx 5 root root 21 Dec 31 1969 /gnu/store/ > 0y3qrzzwfxf601g885967wcringvnw69-gimp-2.8.18/share/man/man1/gimp-console.= 1 > -> gimp-console-2.8.1.gz > This find-files (used in the manual-database hook) message is caused by the fact the gimp-console-2.8.1.gz file doesn`t exist (IOW, the gimp-console.1 symlink is broken). It would be nice to investigate is this Gimp problem comes from upstream or as a result of our build process. Maxim --94eb2c0722b2b7328d054cc58118 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Leo!

On Sun, Apr 9, 2017 at 4:29 AM, Leo Famulari &= lt;leo@famulari.name= > wrote:
On Wed, Apr 05, 20= 17 at 04:56:39PM -0400, Ludovic Court=EF=BF=BDs wrote:
> civodul pushed a commit to branch master
> in repository guix.
>
> commit a0b87ef8ec7735aa42cf35d380e9cff04f3236f3
> Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> Date:=C2=A0 =C2=A0Wed Apr 5 01:09:22 2017 -0700
>
>=C2=A0 =C2=A0 =C2=A0profiles: Generate database file for man pages.
>
>=C2=A0 =C2=A0 =C2=A0The mandb database file (index.db) is used by the &= quot;apropos" (whatis) or
>=C2=A0 =C2=A0 =C2=A0"man -k" commands.=C2=A0 This change intr= oduces a profile hook to generate
>=C2=A0 =C2=A0 =C2=A0such database file.
>
>=C2=A0 =C2=A0 =C2=A0* guix/profiles.scm (manual-database): New procedur= e.
>=C2=A0 =C2=A0 =C2=A0(%default-profile-hooks): Add it.
>
>=C2=A0 =C2=A0 =C2=A0Co-authored-by: Ludovic Court=C3=A8s <ludo@gnu.org>

Recently, I notice messages like this when doing profile operations:

[...]
creating manual page database for 49 packages...
find-files: /gnu/store/0y3qrzzwfxf601g885967wcringvnw69-gimp-2.8.= 18/share/man/man1/gimp-console.1: No such file or directory
[...]

The file in question is a symlink:
$ ls -l /gnu/store/0y3qrzzwfxf601g885967wcringvnw69-gimp-2.8.18/s= hare/man/man1/gimp-console.1
lrwxrwxrwx 5 root root 21 Dec 31=C2=A0 1969 /gnu/store/0y3qrzzwfxf601g= 885967wcringvnw69-gimp-2.8.18/share/man/man1/gimp-console.1 ->= gimp-console-2.8.1.gz

This find-files = (used in the manual-database hook) message is caused by the fact the gimp-c= onsole-2.8.1.gz file doesn`t exist (IOW, the gimp-console.1 symlink is brok= en). It would be nice to investigate is this Gimp problem comes from upstre= am or as a result of our build process.

Maxim

--94eb2c0722b2b7328d054cc58118--