Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 90817
Status: resolved
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: itcharlie [...] gmail.com
Cc:
AdminCc:

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



Subject: YAML cpan installation failure.
Date: Mon, 25 Nov 2013 20:02:33 -0500
To: bug-YAML [...] rt.cpan.org
From: Charlie Gonzalez <itcharlie [...] gmail.com>
I am attempting to install YAML on Ubuntu 12.04 LTS system Perl 5.14. Error message below: Appending installation info to /usr/lib/perl/5.14/perllocal.pod INGY/YAML-0.85.tar.gz /usr/bin/make install -- OK Alert: While trying to 'dump' YAML file '/home/cgonzalez/.cpan/build/YAML-0.85-dYJxFR.yml' with 'YAML' the following error was encountered: Undefined subroutine &main::main:: called at /usr/local/share/perl/5.14.2/YAML/Mo.pm line 5 Please Advise on fix. Charlie Gonzalez (E) itcharlie@gmail.com https://github.com/itcharlie
Somehow managed to get YAML 0.85 installed here, and the same error is now happening when trying to install any other CPAN module. My temporary workaround has been pm-uninstall -n YAML then later installed the older version using cpan MSTROUT/YAML-0.84.tar.gz (the pm-uninstall step may not be necessary, I was trying to run some code that doesn't use YAML and this was blocking CPAN). cheers, Tom On Tue Nov 26 01:02:46 2013, itcharlie wrote: Show quoted text
> I am attempting to install YAML on Ubuntu 12.04 LTS system Perl 5.14. > > Error message below: > Appending installation info to /usr/lib/perl/5.14/perllocal.pod > INGY/YAML-0.85.tar.gz > /usr/bin/make install -- OK > Alert: While trying to 'dump' YAML file > '/home/cgonzalez/.cpan/build/YAML-0.85-dYJxFR.yml' > with 'YAML' the following error was encountered: > Undefined subroutine &main::main:: called at > /usr/local/share/perl/5.14.2/YAML/Mo.pm line 5 > > > Please Advise on fix. > > Charlie Gonzalez > (E) itcharlie@gmail.com > https://github.com/itcharlie
Subject: Re: [rt.cpan.org #90817] YAML cpan installation failure.
Date: Tue, 26 Nov 2013 11:34:58 +0000
To: bug-YAML [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
I get this problem too. I can reproduce it: starting from a fresh 5.18.1 installation, I installing a prebuilt CPAN/Config.pm, then run "cpan YAML" (this being the first ever run of cpan(1) or CPAN.pm in this installation). YAML-0.85 builds, passes tests, and installs, then the output continues thus: Running make install Installing /opt/perl-5.18.1/lib/site_perl/5.18.1/YAML.pm Appending installation info to /opt/perl-5.18.1/lib/5.18.1/x86_64-linux-ld/perllocal.pod INGY/YAML-0.85.tar.gz /usr/bin/make install -- OK CPAN: YAML loaded ok (v0.85) Alert: While trying to 'dump' YAML file '/opt/perl-5.18.1/cpan/build/YAML-0.85-QLeuHP.yml' with 'YAML' the following error was encountered: Undefined subroutine &main::main:: called at /opt/perl-5.18.1/lib/site_perl/5.18.1/YAML/Mo.pm line 5. cpan(1) aborts at this point, exiting with non-zero status. If I had requested other modules too, by for example "cpan YAML Params::Classify", the other modules are not processed. However, subsequent invocations of cpan(1) install modules just fine, with the report "CPAN: YAML loaded ok (v0.85)" during the process. This has been failing since 2013-11-25, having been working before. This coincides with the release of YAML-0.85. -zefram
Fixed in 0.86