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:22:58 +0900 Message-ID: References: <20170405205638.12336.78854@vcs0.savannah.gnu.org> <20170405205640.15AE6210A4@vcs0.savannah.gnu.org> <86y3v9bicq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c068682cf6939054cc5d0dd Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxO2n-00071V-Eq for guix-devel@gnu.org; Sun, 09 Apr 2017 21:23:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxO2l-0002sQ-Tz for guix-devel@gnu.org; Sun, 09 Apr 2017 21:23:01 -0400 Received: from mail-yb0-x22f.google.com ([2607:f8b0:4002:c09::22f]:33924) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxO2l-0002rZ-Ot for guix-devel@gnu.org; Sun, 09 Apr 2017 21:22:59 -0400 Received: by mail-yb0-x22f.google.com with SMTP id m133so28042861ybb.1 for ; Sun, 09 Apr 2017 18:22:59 -0700 (PDT) In-Reply-To: <86y3v9bicq.fsf@gmail.com> 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: myglc2 Cc: guix-devel --94eb2c068682cf6939054cc5d0dd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi myglc2! On Mon, Apr 10, 2017 at 2:28 AM, myglc2 wrote: > > On 04/05/2017 at 16:56 Ludovic Court=C3=A8s writes: > > > civodul pushed a commit to branch master > > in repository guix. > > > > commit a0b87ef8ec7735aa42cf35d380e9cff04f3236f3 > > Author: Maxim Cournoyer > > Date: Wed Apr 5 01:09:22 2017 -0700 > [...] > > So now q'guix package -m' produces messages like ... > > guix package -m g1.scm > installing new manifest from 'g1.scm' with 22 entries > substitute: updating list of substitutes from ' https://mirror.hydra.gnu.org'... 100.0% > The following derivations will be built: > /gnu/store/smyjh63avay2gb6yq47h3hrlyxfrsajp-profile.drv > /gnu/store/ygp7n87177fngqqpb5l5bkkba5cawcvh-gtk-icon-themes.drv > /gnu/store/wrad8m1vhck9bb7dzqqlxb03rq1ifsm8-gtk-im-modules.drv > /gnu/store/qv12155lx8y195my98970mmfawqpnrcs-info-dir.drv > /gnu/store/ndiq7ccmi32rlxdyf52f506jil0zn9p0-ca-certificate-bundle.drv > /gnu/store/90gzasiixp9np5m4nn28vbfqd1zd5azq-fonts-dir.drv > /gnu/store/3l8kl1b438qr3yk2qca4pzvlpv04q7rc-xdg-mime-database.drv > /gnu/store/2brridy714shmik1zksysik36kn2iwsf-manual-database.drv > creating manual page database for 23 packages... > 22 packages in profile > g1@g1 ~/src$ > > And... watching this, it seems like a long time between ... > > creating manual page database for 23 packages... > > ... and ... > > 22 packages in profile > > Does it really take this long? If not, can we close the message ... FWIR it is CPU bound, so your mileage will vary; in my case on an old low-power laptop it can take a few seconds for ~65 packages. I wonder why the odd package count mismatch (23 vs 22) ? I don't recall observing this while testing (maybe it only happens when using the -m option) ? Maxim --94eb2c068682cf6939054cc5d0dd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi myglc2!

On Mon, Apr 10, 2017 at 2:28 AM, myglc2 = <myglc2@gmail.com> wrote:
= >
> On 04/05/2017 at 16:56 Ludovic Court=C3=A8s writes:
>> > civodul pushed a commit to branch master
> > in reposit= ory guix.
> >
> > commit a0b87ef8ec7735aa42cf35d380e9cff0= 4f3236f3
> > Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
> > Date: = =C2=A0 Wed Apr 5 01:09:22 2017 -0700
> [...]
>
> So now q= 'guix package -m' produces messages like ...
>
> guix p= ackage -m g1.scm
> installing new manifest from 'g1.scm' with= 22 entries
> substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'.= .. 100.0%
> The following derivations will be built:
> =C2=A0 = =C2=A0/gnu/store/smyjh63avay2gb6yq47h3hrlyxfrsajp-profile.drv
> =C2= =A0 =C2=A0/gnu/store/ygp7n87177fngqqpb5l5bkkba5cawcvh-gtk-icon-themes.drv> =C2=A0 =C2=A0/gnu/store/wrad8m1vhck9bb7dzqqlxb03rq1ifsm8-gtk-im-modu= les.drv
> =C2=A0 =C2=A0/gnu/store/qv12155lx8y195my98970mmfawqpnrcs-in= fo-dir.drv
> =C2=A0 =C2=A0/gnu/store/ndiq7ccmi32rlxdyf52f506jil0zn9p0= -ca-certificate-bundle.drv
> =C2=A0 =C2=A0/gnu/store/90gzasiixp9np5m4= nn28vbfqd1zd5azq-fonts-dir.drv
> =C2=A0 =C2=A0/gnu/store/3l8kl1b438qr= 3yk2qca4pzvlpv04q7rc-xdg-mime-database.drv
> =C2=A0 =C2=A0/gnu/store/= 2brridy714shmik1zksysik36kn2iwsf-manual-database.drv
> creating manua= l page database for 23 packages...
> 22 packages in profile
> g= 1@g1 ~/src$
>
> And... watching this, it seems like a long time= between ...
>
> creating manual page database for 23 packages.= ..
>
> ... and ...
>
> 22 packages in profile
&g= t;
> Does it really take this long? If not, can we close the message = ...

FWIR it is CPU bound, so your mileage will vary; in my case on a= n old low-power laptop it can take a few seconds for ~65 packages.
I won= der why the odd package count mismatch (23 vs 22) ? I don't recall obse= rving this while testing (maybe it only happens when using the -m option) ?=

Maxim

--94eb2c068682cf6939054cc5d0dd--