unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita.karetnikov@gmail.com>
Cc: bug-guix@gnu.org
Subject: Re: [PATCH] distro: Add GNU Wget.
Date: Sun, 25 Nov 2012 16:03:53 +0100	[thread overview]
Message-ID: <8738zx7mhy.fsf@gnu.org> (raw)
In-Reply-To: <CAD15K4vrZ+C3KYKkvJdLPKTrVod0dd1zS_pa7fi6M30DDcZ2ow@mail.gmail.com> (Nikita Karetnikov's message of "Sun, 25 Nov 2012 05:27:41 +0300")

Hi,

Nikita Karetnikov <nikita.karetnikov@gmail.com> skribis:

> (I attached the patch.)

Applied.  I added this line to fix chroot builds:

    (arguments
     '(#:phases
       (alist-cons-before 'build 'patch-/usr/bin/env
                          (lambda _
                            (for-each patch-shebang
                                      '("doc/texi2pod.pl" "tests/run-px")))
                          %standard-phases)))

> I'm getting this warning:
>
> WARNING: (distro packages wget): imported module (distro packages
> gettext) overrides core binding `gettext'
>
> According to this message, [1] there is no need to worry, but I'd like
> to be sure. Could you clarify?

Indeed, it’s just saying that the core ‘gettext’ binding is being
overridden by ours within (distro packages wget).

To silence the warning, perhaps we could rename ‘gettext’ to
‘gnu-gettext’, as I did for GNU Make.  WDYT?

> Also, './pre-inst-env guix-import ../nixpkgs-github wget' listed the
> following:
>
> (inputs ...
>   ("perl-libwww-perl" ,perl-libwww-perl))
>
> But it builds fine without this line. Can we omit it?

It’s an optional dependency (a Perl package) used to run some of the
tests.  Currently, we see a lot of these warnings during “make check”:

  Can't locate HTTP/Daemon.pm in @INC (@INC contains: ../tests /nix/store/a0si4l5cnbdh7ypwnz7k2knfpli8agra-perl-5.16.1/lib/perl5/site_perl/5.16.1/x86_64-linux /nix/store/a0si4l5cnbdh7ypwnz7k2knfpli8agra-perl-5.16.1/lib/perl5/site_perl/5.16.1 /nix/store/a0si4l5cnbdh7ypwnz7k2knfpli8agra-perl-5.16.1/lib/perl5/5.16.1/x86_64-linux /nix/store/a0si4l5cnbdh7ypwnz7k2knfpli8agra-perl-5.16.1/lib/perl5/5.16.1 .) at ../tests/HTTPServer.pm line 6.

This is because we lack libwww-perl, I guess.  Something to add
eventually.

Thanks,
Ludo’.

  parent reply	other threads:[~2012-11-25 15:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-25  2:27 [PATCH] distro: Add GNU Wget Nikita Karetnikov
2012-11-25  2:38 ` Nikita Karetnikov
2012-11-25 15:03 ` Ludovic Courtès [this message]
2012-11-25 18:56   ` Nikita Karetnikov
2012-11-25 21:39     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738zx7mhy.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guix@gnu.org \
    --cc=nikita.karetnikov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).