Skip Menu |

This queue is for tickets about the perl-Tk-800.024 CPAN distribution.

Report information
The Basics
Id: 3334
Status: resolved
Priority: 0/
Queue: perl-Tk-800.024

People
Owner: Nobody in particular
Requestors: perlspinr [...] att.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)

Attachments
patch-PerlTk-800.024.tgz



Subject: Build-bug in Tk w/ recent? EU::MM: pod2man broken
On OS/platform/Distribution: Debian GNU/Linux "Woody (3.0r1)" With related Perl components: Perl 5.8.0 ExtUtils::MakeMaker 6.16 Using Build technique: "manual" invocations of the usual sort (`perl Makefile.PL' etc etc) The build could not complete. Applies to: perl-Tk-800.24 The error message was: make[1]: *** [manifypods] Error 255 The MakeMaker-emitted mechanism for generating man pages from the package POD is broken. This interrupts the entire build process. Upon investigation and research, I found that the error preceeding the `make' utility error (the subprocess error which propagates upwards to terminate in make's failure code) was emitted from Getopt::Long: "invalid parameter"). This invalid parameter is the switch "--center" that Tk's package build system is adding to the flags for the `pod2man' invocation. The `pod2man' call is where Getopt::Long is involved. I was able to overcome the problem and get the build to run to successful completion by a two-pronged short-circuit (hack) which is briefly described below and shown in the accompanying patches. The assumption being that TK has in the past been able to build oob, the cause of the problem is traceable to ExtUtils::MakeMaker and the sub-module / package namespace "ExtUtils::MakeMaker::Command::MM", which is causing to be created, a Makefile in which the system tool `pod2man' is no longer being invoked. Instead, a replacement "pod2man" internal to EU::MM::Command::MM is being used, and it is somewhere not working when arguments are added to it's parameter string. The arguments are added to its param string by Tk's build support system, the Tk::MMutil module. What this module is doing no longer seems to work. Part one of the prongs was hacking the system `pod2man' script to add the "perms_rw" support invented in EU::MM:Command::MM.pm. Part two was adding a hack to Tk::MMutil to make the call go to the system pod2man instead of to the EU synthetic pod2man. I believe that this error should be very easy to reproduce on most *nix-like platforms, provided the implicated components are all as reported.
Download patch-PerlTk-800.024.tgz
application/octet-stream 1.5k

Message body not shown because it is not plain text.

To: bug-perl-Tk-800.024 [...] rt.cpan.org
CC: "AdminCc of cpan Ticket #3334": ;
Subject: Re: [cpan #3334] Build-bug in Tk w/ recent? EU::MM: pod2man broken
From: Slaven Rezic <slaven [...] rezic.de>
Date: 26 Aug 2003 11:06:02 +0200
RT-Send-Cc:
" via RT" <bug-perl-Tk-800.024@rt.cpan.org> writes: Show quoted text
> This message about perl-Tk-800.024 was sent to you by SOMIAN <SOMIAN@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=3334 > > > On OS/platform/Distribution: Debian GNU/Linux "Woody (3.0r1)" > With related Perl components: > Perl 5.8.0 > ExtUtils::MakeMaker 6.16 > Using Build technique: "manual" invocations of the usual sort (`perl Makefile.PL' etc etc) > > The build could not complete. Applies to: > perl-Tk-800.24 > > The error message was: > make[1]: *** [manifypods] Error 255 > > The MakeMaker-emitted mechanism for generating man pages from the package POD is broken. This interrupts the entire build process. > > Upon investigation and research, I found that the error preceeding the `make' utility error (the subprocess error which propagates upwards to terminate in make's failure code) was emitted from Getopt::Long: "invalid parameter"). This invalid parameter is the switch "--center" that Tk's package build system is adding to the flags for the `pod2man' invocation. The `pod2man' call is where Getopt::Long is involved. > > I was able to overcome the problem and get the build to run to successful completion by a two-pronged short-circuit (hack) which is briefly described below and shown in the accompanying patches. > > The assumption being that TK has in the past been able to build oob, the cause of the problem is traceable to ExtUtils::MakeMaker and the sub-module / package namespace "ExtUtils::MakeMaker::Command::MM", which is causing to be created, a Makefile in which the system tool `pod2man' is no longer being invoked. Instead, a replacement "pod2man" internal to EU::MM::Command::MM is being used, and it is somewhere not working when arguments are added to it's parameter string. > > The arguments are added to its param string by Tk's build support system, the Tk::MMutil module. What this module is doing no longer seems to work. > > Part one of the prongs was hacking the system `pod2man' script to add the "perms_rw" support invented in EU::MM:Command::MM.pm. Part two was adding a hack to Tk::MMutil to make the call go to the system pod2man instead of to the EU synthetic pod2man. > > I believe that this error should be very easy to reproduce on most *nix-like platforms, provided the implicated components are all as reported. >
This error is solved with the upcoming Tk release. Please look at http://www.ni-s.u-net.com/upload/Tk800.025.tar.gz and http://www.ni-s.u-net.com/upload/Tk804.025.tar.gz for a preview. Regards, Slaven -- Slaven Rezic - slaven@rezic.de tkrevdiff - graphical display of diffs between revisions (RCS, CVS or SVN) http://ptktools.sourceforge.net/#tkrevdiff
From: SOMIAN (Soren Andersen, perlspinr -AT- att *DOT* net)
[slaven@rezic.de - Tue Aug 26 07:48:23 2003]: Show quoted text
> " via RT" <bug-perl-Tk-800.024@rt.cpan.org> writes: >
> > This message about perl-Tk-800.024 was sent to you by SOMIAN
> <SOMIAN@cpan.org> via rt.cpan.org
> > > > Full context and any attached attachments can be found at: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=3334 >
Show quoted text
> This error is solved with the upcoming Tk release. Please look at > > http://www.ni-s.u-net.com/upload/Tk800.025.tar.gz > > and > > http://www.ni-s.u-net.com/upload/Tk804.025.tar.gz > > for a preview. > > Regards, > Slaven
Thank you for the reply. I can confirm that this version seems to have fixed the problem. I am unfamiliar with the bug track protocols here, but my impression is that I now need to close the ticket? If I don't accomplish what I need to do correctly, please advise me. Thanks! Soren Andersen
Forthcoming release Tk800.025 fixes the problem.