Skip Menu |

This queue is for tickets about the IO-Pager CPAN distribution.

Report information
The Basics
Id: 133674
Status: resolved
Priority: 0/
Queue: IO-Pager

People
Owner: Nobody in particular
Requestors: david [...] justatheory.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.00
Fixed in: 2.10



Subject: Install Fails in Homebrew
Date: Wed, 4 Nov 2020 13:17:39 -0500
To: bug-IO-Pager [...] rt.cpan.org
From: "David E. Wheeler" <david [...] justatheory.com>
Installation fails when installing IO::Pager as part of a Homebrew installation: ``` david@fineman IO-Pager-2.01 % perl Makefile.PL Warning: prerequisite Term::ReadKey 0 not found. Generating a Unix-style Makefile Writing Makefile for IO::Pager Writing MYMETA.yml and MYMETA.json david@fineman IO-Pager-2.01 % make make: *** No rule to make target `blib/lib/IO/Pager/tp', needed by `blib/script/tp'. Stop. make: *** Waiting for unfinished jobs.... cp lib/IO/Pager/Buffered.pm blib/lib/IO/Pager/Buffered.pm cp lib/IO/Pager/tp blib/lib/IO/Pager/tp cp lib/IO/Pager/Unbuffered.pm blib/lib/IO/Pager/Unbuffered.pm cp lib/IO/Pager/less.pm blib/lib/IO/Pager/less.pm cp lib/IO/Pager/Perl.pm blib/lib/IO/Pager/Perl.pm cp lib/IO/Pager.pm blib/lib/IO/Pager.pm cp lib/IO/Pager/Page.pm blib/lib/IO/Pager/Page.pm david@fineman IO-Pager-2.01 % echo $? 2 ``` Immediately running `make` again succeeds: ``` david@fineman IO-Pager-2.01 % make cp blib/lib/IO/Pager/tp blib/script/tp "/usr/local/Cellar/perl/5.32.0/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tp Manifying 1 pod document Manifying 6 pod documents david@fineman IO-Pager-2.01 % echo $? 0 ``` Here’s the version of make: ``` david@fineman IO-Pager-2.01 % make version make: *** No rule to make target `version'. Stop. david@fineman IO-Pager-2.01 % make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0 ``` Seems like it tries to make blib/script/tp before it makes blib/lib/IO/Pager/tp. I think this can be fixed by depending on lib, not blib; here’s the patch: ``` diff --git a/Makefile.PL b/Makefile.PL index f748bbf..13b355f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -26,7 +26,7 @@ WriteMakefile( 'Text::Wrap' => 0, 'Tie::Handle' => 0, }, - EXE_FILES => [ 'blib/lib/IO/Pager/tp' ], + EXE_FILES => [ 'lib/IO/Pager/tp' ], META_MERGE => { "meta-spec" => { version => 2 }, runtime => { ``` And the result: ``` david@fineman IO-Pager-2.01 % perl Makefile.PL Checking if your kit is complete... Looks good Warning: prerequisite Term::ReadKey 0 not found. Generating a Unix-style Makefile Writing Makefile for IO::Pager Writing MYMETA.yml and MYMETA.json david@fineman IO-Pager-2.01 % make cp lib/IO/Pager/tp blib/script/tp "/usr/local/Cellar/perl/5.32.0/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/tp cp lib/IO/Pager.pm blib/lib/IO/Pager.pm cp lib/IO/Pager/Unbuffered.pm blib/lib/IO/Pager/Unbuffered.pm cp lib/IO/Pager/Perl.pm blib/lib/IO/Pager/Perl.pm cp lib/IO/Pager/Buffered.pm blib/lib/IO/Pager/Buffered.pm cp lib/IO/Pager/less.pm blib/lib/IO/Pager/less.pm cp lib/IO/Pager/tp blib/lib/IO/Pager/tp cp lib/IO/Pager/Page.pm blib/lib/IO/Pager/Page.pm Manifying 1 pod document Manifying 6 pod documents david@fineman IO-Pager-2.01 % echo $? 0 ``` Thanks, David
Download signature.asc
application/pgp-signature 833b

Message body not shown because it is not plain text.

Not homebrew specific, but a a conflict with threaded make. This is a duplicate of #133651 On Wed Nov 04 13:17:50 2020, david@justatheory.com wrote: Show quoted text
> Installation fails when installing IO::Pager as part of a Homebrew > installation: > > ``` > david@fineman IO-Pager-2.01 % perl Makefile.PL > Warning: prerequisite Term::ReadKey 0 not found. > Generating a Unix-style Makefile > Writing Makefile for IO::Pager > Writing MYMETA.yml and MYMETA.json > david@fineman IO-Pager-2.01 % make > make: *** No rule to make target `blib/lib/IO/Pager/tp', needed by > `blib/script/tp'. Stop. > make: *** Waiting for unfinished jobs.... > cp lib/IO/Pager/Buffered.pm blib/lib/IO/Pager/Buffered.pm > cp lib/IO/Pager/tp blib/lib/IO/Pager/tp > cp lib/IO/Pager/Unbuffered.pm blib/lib/IO/Pager/Unbuffered.pm > cp lib/IO/Pager/less.pm blib/lib/IO/Pager/less.pm > cp lib/IO/Pager/Perl.pm blib/lib/IO/Pager/Perl.pm > cp lib/IO/Pager.pm blib/lib/IO/Pager.pm > cp lib/IO/Pager/Page.pm blib/lib/IO/Pager/Page.pm > david@fineman IO-Pager-2.01 % echo $? > 2 > ``` > > Immediately running `make` again succeeds: > > ``` > david@fineman IO-Pager-2.01 % make > cp blib/lib/IO/Pager/tp blib/script/tp > "/usr/local/Cellar/perl/5.32.0/bin/perl" -MExtUtils::MY -e 'MY-
> >fixin(shift)' -- blib/script/tp
> Manifying 1 pod document > Manifying 6 pod documents > david@fineman IO-Pager-2.01 % echo $? > 0 > ``` > > Here’s the version of make: > > ``` > david@fineman IO-Pager-2.01 % make version > make: *** No rule to make target `version'. Stop. > david@fineman IO-Pager-2.01 % make --version > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > This program built for i386-apple-darwin11.3.0 > ``` > > Seems like it tries to make blib/script/tp before it makes > blib/lib/IO/Pager/tp. I think this can be fixed by depending on lib, > not blib; here’s the patch: > > ``` > diff --git a/Makefile.PL b/Makefile.PL > index f748bbf..13b355f 100644 > --- a/Makefile.PL > +++ b/Makefile.PL > @@ -26,7 +26,7 @@ WriteMakefile( > 'Text::Wrap' => 0, > 'Tie::Handle' => 0, > }, > - EXE_FILES => [ 'blib/lib/IO/Pager/tp' ], > + EXE_FILES => [ 'lib/IO/Pager/tp' ], > META_MERGE => { > "meta-spec" => { version => 2 }, > runtime => { > ``` > > And the result: > > ``` > david@fineman IO-Pager-2.01 % perl Makefile.PL > Checking if your kit is complete... > Looks good > Warning: prerequisite Term::ReadKey 0 not found. > Generating a Unix-style Makefile > Writing Makefile for IO::Pager > Writing MYMETA.yml and MYMETA.json > david@fineman IO-Pager-2.01 % make > cp lib/IO/Pager/tp blib/script/tp > "/usr/local/Cellar/perl/5.32.0/bin/perl" -MExtUtils::MY -e 'MY-
> >fixin(shift)' -- blib/script/tp
> cp lib/IO/Pager.pm blib/lib/IO/Pager.pm > cp lib/IO/Pager/Unbuffered.pm blib/lib/IO/Pager/Unbuffered.pm > cp lib/IO/Pager/Perl.pm blib/lib/IO/Pager/Perl.pm > cp lib/IO/Pager/Buffered.pm blib/lib/IO/Pager/Buffered.pm > cp lib/IO/Pager/less.pm blib/lib/IO/Pager/less.pm > cp lib/IO/Pager/tp blib/lib/IO/Pager/tp > cp lib/IO/Pager/Page.pm blib/lib/IO/Pager/Page.pm > Manifying 1 pod document > Manifying 6 pod documents > david@fineman IO-Pager-2.01 % echo $? > 0 > ``` > > Thanks, > > David
Subject: Re: [rt.cpan.org #133674] Install Fails in Homebrew
Date: Wed, 4 Nov 2020 13:23:10 -0500
To: bug-IO-Pager [...] rt.cpan.org
From: "David E. Wheeler" <david [...] justatheory.com>
On Nov 4, 2020, at 13:21, Jerrad Pierce via RT <bug-IO-Pager@rt.cpan.org> wrote: Show quoted text
> Not homebrew specific, but a a conflict with threaded make. This is a duplicate of #133651
Ah, sorry, somehow I’d not seen that report. Even has the same patch! Would love to see a fix soon, as it’s breaking the installation of Sqitch on Homebrew for a bunch of folks. https://github.com/sqitchers/homebrew-sqitch/issues/50 Thanks, David
Download signature.asc
application/pgp-signature 833b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #133674] Install Fails in Homebrew
Date: Wed, 04 Nov 2020 13:33:32 -0500
To: bug-IO-Pager [...] rt.cpan.org
From: Jerrad Pierce <belg4mit [...] pthbb.org>
There should be a release this evening, I'm working on adding support for Windows to the internal perl-based pager.
Subject: Re: [rt.cpan.org #133674] Install Fails in Homebrew
Date: Wed, 4 Nov 2020 13:34:19 -0500
To: "belg4mit [...] pthbb.org via RT" <bug-IO-Pager [...] rt.cpan.org>
From: "David E. Wheeler" <david [...] justatheory.com>
On Nov 4, 2020, at 13:33, belg4mit@pthbb.org via RT <bug-IO-Pager@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=133674 > > > There should be a release this evening, I'm working on adding support for > Windows to the internal perl-based pager.
Oh, very nice, thanks! D
Download signature.asc
application/pgp-signature 833b

Message body not shown because it is not plain text.

On Wed Nov 04 13:34:25 2020, david@justatheory.com wrote: Show quoted text
> On Nov 4, 2020, at 13:33, belg4mit@pthbb.org via RT <bug-IO- > Pager@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=133674 > > > > > There should be a release this evening, I'm working on adding support > > for > > Windows to the internal perl-based pager.
> > Oh, very nice, thanks! > > D
2.10 is on its way to mirrors now.