unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* Problem with texinfo 5.0 package
@ 2013-02-20  5:00 Mark H Weaver
  2013-02-20 11:29 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2013-02-20  5:00 UTC (permalink / raw
  To: Ludovic Courtès; +Cc: bug-guix

Hi Ludovic,

Regarding commit a24b75d8e1753da629ecf945f4022eee4c340aed:

The built texinfo 5.0 packages contain a few uses of 'perl' that are not
pointing to a specific version in /nix/store:

./bin/pod2texi:1:#!/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env perl
./bin/texi2dvi:1437:      perl -pe 's<\\documentclass(?:\[.*\])?{.*}>
./bin/texi2dvi:1544:      perl -pi -e 's/[ \t]+$//g' "$out_base"*;;
./bin/texi2any:1:#!/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env perl 

    Regards,
      Mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with texinfo 5.0 package
  2013-02-20  5:00 Problem with texinfo 5.0 package Mark H Weaver
@ 2013-02-20 11:29 ` Ludovic Courtès
  2013-02-20 18:42   ` Mark H Weaver
  2013-02-20 21:48   ` Mark H Weaver
  0 siblings, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2013-02-20 11:29 UTC (permalink / raw
  To: Mark H Weaver; +Cc: bug-guix

Mark H Weaver <mhw@netris.org> skribis:

> The built texinfo 5.0 packages contain a few uses of 'perl' that are not
> pointing to a specific version in /nix/store:

Yes, I know, but since in ‘core-updates’ we’ll change ‘patch-shebang’ to
handle /usr/bin/env specially, that’ll work well there.

Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with texinfo 5.0 package
  2013-02-20 11:29 ` Ludovic Courtès
@ 2013-02-20 18:42   ` Mark H Weaver
  2013-02-20 19:49     ` carl hansen
  2013-02-20 20:09     ` Ludovic Courtès
  2013-02-20 21:48   ` Mark H Weaver
  1 sibling, 2 replies; 9+ messages in thread
From: Mark H Weaver @ 2013-02-20 18:42 UTC (permalink / raw
  To: Ludovic Courtès; +Cc: bug-guix

ludo@gnu.org (Ludovic Courtès) writes:

> Mark H Weaver <mhw@netris.org> skribis:
>
>> The built texinfo 5.0 packages contain a few uses of 'perl' that are not
>> pointing to a specific version in /nix/store:
>
> Yes, I know, but since in ‘core-updates’ we’ll change ‘patch-shebang’ to
> handle /usr/bin/env specially, that’ll work well there.

Okay.  In the meantime, 'mailutils' fails to build because of this
problem:

--8<---------------cut here---------------start------------->8---
  CCLD   libmu_scm.la
  GEN    mailutils.scm
  GEN    guile-procedures.txt
/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env: perl: No such file or directory
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[3]: *** [guile-procedures.txt] Error 1
make[3]: Leaving directory `/tmp/nix-build-mailutils-2.2.drv-0/mailutils-2.2/libmu_scm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/nix-build-mailutils-2.2.drv-0/mailutils-2.2/libmu_scm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/nix-build-mailutils-2.2.drv-0/mailutils-2.2'
make: *** [all] Error 2
phase `build' failed after 88 seconds
builder for `/nix/store/39031b9d3w6j9iwhsnxjfd0lhga1z61g-mailutils-2.2.drv' failed with exit code 1
error: build failed: build of `/nix/store/39031b9d3w6j9iwhsnxjfd0lhga1z61g-mailutils-2.2.drv' failed
--8<---------------cut here---------------end--------------->8---

I don't care that much, but that's how the problem came to my attention.

    Regards,
      Mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with texinfo 5.0 package
  2013-02-20 18:42   ` Mark H Weaver
@ 2013-02-20 19:49     ` carl hansen
  2013-02-20 20:58       ` Ludovic Courtès
  2013-02-20 20:09     ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: carl hansen @ 2013-02-20 19:49 UTC (permalink / raw
  To: Mark H Weaver; +Cc: bug-guix

On Wed, Feb 20, 2013 at 10:42 AM, Mark H Weaver <mhw@netris.org> wrote:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> The built texinfo 5.0 packages contain a few uses of 'perl' that are not
>>> pointing to a specific version in /nix/store:
>>
>> Yes, I know, but since in ‘core-updates’ we’ll change ‘patch-shebang’ to
>> handle /usr/bin/env specially, that’ll work well there.
>
> Okay.  In the meantime, 'mailutils' fails to build because of this
> problem:
>
> --8<---------------cut here---------------start------------->8---
>   CCLD   libmu_scm.la
>   GEN    mailutils.scm
>   GEN    guile-procedures.txt
> /nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env: perl: No such file or directory
> WARNING: `makeinfo' is missing on your system.

FYI When I recently upgraded to texinfo-5, I had to make a soft link
ln -s  texi2any  makeinfo
The link was supposed to be made in the package, but it wasn't. It
might be relevant to you.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with texinfo 5.0 package
  2013-02-20 18:42   ` Mark H Weaver
  2013-02-20 19:49     ` carl hansen
@ 2013-02-20 20:09     ` Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2013-02-20 20:09 UTC (permalink / raw
  To: Mark H Weaver; +Cc: bug-guix

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> The built texinfo 5.0 packages contain a few uses of 'perl' that are not
>>> pointing to a specific version in /nix/store:
>>
>> Yes, I know, but since in ‘core-updates’ we’ll change ‘patch-shebang’ to
>> handle /usr/bin/env specially, that’ll work well there.
>
> Okay.  In the meantime, 'mailutils' fails to build because of this
> problem:

Oh, good point.

In the meantime f6d7be1 works around the issue.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with texinfo 5.0 package
  2013-02-20 19:49     ` carl hansen
@ 2013-02-20 20:58       ` Ludovic Courtès
  2013-02-20 21:45         ` Mark H Weaver
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2013-02-20 20:58 UTC (permalink / raw
  To: carl hansen; +Cc: bug-guix

carl hansen <carlhansen1234@gmail.com> skribis:

> FYI When I recently upgraded to texinfo-5, I had to make a soft link
> ln -s  texi2any  makeinfo
> The link was supposed to be made in the package, but it wasn't. It
> might be relevant to you.

I just installed (from Guix) it and it did create the symlink.

Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with texinfo 5.0 package
  2013-02-20 20:58       ` Ludovic Courtès
@ 2013-02-20 21:45         ` Mark H Weaver
  0 siblings, 0 replies; 9+ messages in thread
From: Mark H Weaver @ 2013-02-20 21:45 UTC (permalink / raw
  To: Ludovic Courtès; +Cc: bug-guix

ludo@gnu.org (Ludovic Courtès) writes:

> carl hansen <carlhansen1234@gmail.com> skribis:
>
>> FYI When I recently upgraded to texinfo-5, I had to make a soft link
>> ln -s  texi2any  makeinfo
>> The link was supposed to be made in the package, but it wasn't. It
>> might be relevant to you.
>
> I just installed (from Guix) it and it did create the symlink.

It created the symlink for me as well.

     Mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with texinfo 5.0 package
  2013-02-20 11:29 ` Ludovic Courtès
  2013-02-20 18:42   ` Mark H Weaver
@ 2013-02-20 21:48   ` Mark H Weaver
  2013-02-20 22:45     ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2013-02-20 21:48 UTC (permalink / raw
  To: Ludovic Courtès; +Cc: bug-guix

ludo@gnu.org (Ludovic Courtès) writes:

> Mark H Weaver <mhw@netris.org> skribis:
>
>> The built texinfo 5.0 packages contain a few uses of 'perl' that are not
>> pointing to a specific version in /nix/store:
>
> Yes, I know, but since in ‘core-updates’ we’ll change ‘patch-shebang’ to
> handle /usr/bin/env specially, that’ll work well there.

Unless I'm mistaken, that will fix only 2 out of 4 of the occurrences:

./bin/pod2texi:1:#!/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env perl
./bin/texi2dvi:1437:      perl -pe 's<\\documentclass(?:\[.*\])?{.*}>
./bin/texi2dvi:1544:      perl -pi -e 's/[ \t]+$//g' "$out_base"*;;
./bin/texi2any:1:#!/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env perl 

    Mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with texinfo 5.0 package
  2013-02-20 21:48   ` Mark H Weaver
@ 2013-02-20 22:45     ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2013-02-20 22:45 UTC (permalink / raw
  To: Mark H Weaver; +Cc: bug-guix

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Mark H Weaver <mhw@netris.org> skribis:
>>
>>> The built texinfo 5.0 packages contain a few uses of 'perl' that are not
>>> pointing to a specific version in /nix/store:
>>
>> Yes, I know, but since in ‘core-updates’ we’ll change ‘patch-shebang’ to
>> handle /usr/bin/env specially, that’ll work well there.
>
> Unless I'm mistaken, that will fix only 2 out of 4 of the occurrences:
>
> ./bin/pod2texi:1:#!/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env perl
> ./bin/texi2dvi:1437:      perl -pe 's<\\documentclass(?:\[.*\])?{.*}>
> ./bin/texi2dvi:1544:      perl -pi -e 's/[ \t]+$//g' "$out_base"*;;
> ./bin/texi2any:1:#!/nix/store/777jas1fcgc38hmvq6lq1sa9k67f10kl-coreutils-8.20/bin/env perl 

Indeed, sorry for overlooking that.

That’s a case for ‘wrap-program’, also scheduled for ‘core-updates’.

(Note that f6d7be1 fixes all of them, because it puts Perl in $PATH, but
that’s obviously not the best solution.)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-02-20 22:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-20  5:00 Problem with texinfo 5.0 package Mark H Weaver
2013-02-20 11:29 ` Ludovic Courtès
2013-02-20 18:42   ` Mark H Weaver
2013-02-20 19:49     ` carl hansen
2013-02-20 20:58       ` Ludovic Courtès
2013-02-20 21:45         ` Mark H Weaver
2013-02-20 20:09     ` Ludovic Courtès
2013-02-20 21:48   ` Mark H Weaver
2013-02-20 22:45     ` Ludovic Courtès

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).