[Slapt-get-user] cpan2tgz 0.6.3 and YAML
David Unric
dunric29a at gmail.com
Fri Jan 2 16:07:07 EST 2009
Thank You Jason,
suggested quick-fix seems to be working although I'm a bit worried about
possible wrong package builds when there is no more make result check.
David
On Tue, Dec 30, 2008 at 8:13 AM, <woodwardj at jaos.org> wrote:
> David,
>
> > first my apologies for posting here but cpan2tgz doesn't have standalone
> > mailing list.
>
> No problem.
>
> > Updated cpan2tgz works ok with the new version of CPAN.pm from Perl
> 5.10.0,
> > I have successfully built many packages . Problems begin _after_
> installing
> > YAML or alternate YAML::Syck modules. Every attempt to create package
> with
> > cpan2tgz fails with "make ERROR [<CPAN module name>]: Inappropriate ioctl
> > for device" where <CPAN module name> is the name of currently built
> module.
> > It even fails at modules successfully built before. After uninstalling
> YAML
> > modules, cpan2tgz starts working again as expected.
> >
> > Any idea how to fix this problem ?
>
> Seems one of the YAML subhandlers in the CPAN module isn't returning
> nicely. The check is
> probably overly paranoid... you should be able patch cpan2tgz using the
> following to get it to
> work. Let me know if you start seeing nasty module errors being ignored
> after this.
>
> Index: cpan2tgz
> ===================================================================
> --- cpan2tgz (revision 67)
> +++ cpan2tgz (working copy)
> @@ -148,11 +148,7 @@
> }
>
> # do an initial make so that we can get the dep info
> - eval { $pack->make() or die $!; };
> - if ( $@ ) {
> - print "make ERROR [$module_name]: $!\n";
> - exit(1);
> - }
> + $pack->make();
>
> my @deps;
> if ($ignore_installed_deps && $pack->prereq_pm()) {
>
>
>
> Take care,
> jason
> --
> Jason Woodward
> woodwardj at jaos.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.jaos.org/pipermail/slapt-get-user/attachments/20090102/91aefa32/attachment.html>
More information about the Slapt-get-user
mailing list