Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-cpanminus CPAN distribution.

Report information
The Basics
Id: 82683
Status: open
Priority: 0/
Queue: App-cpanminus

People
Owner: Nobody in particular
Requestors: hesco [...] campaignfoundations.com
Cc:
AdminCc:

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



Subject: perhaps you forgot to load "Module::Metadata::Version"
After some discussion on the Setup-File-Symlink queue, at: #82530: perhaps you forgot to load "Module::Metadata::Version" Steven Haryanto suggested that this issue actually lies with cpanm. So I'm opening this ticket in this queue instead. Any thoughts? (my CI server) $ cpanm --version cpanm (App::cpanminus) version 1.5018 (my desktop sandbox) $ cpanm --version cpanm (App::cpanminus) version 1.0012 Don't remember how I installed this, nor which installation I encountered this issue on. I see my local sandbox runs an ancient version. apt-cache search (notoriously out of sync with bleeding edge does not know about cpanm or about App::cpanminus, so I doubt it was from the debian repositories. I'll look at updating my local sandbox copy and try again. In the mean time if you have any thoughts, would surely appreciate hearing about them. Thanks for your work. A very nice tool, indeed. -- Hugh Esco cpan: HESCO
Subject: Re: [rt.cpan.org #82683] perhaps you forgot to load "Module::Metadata::Version"
Date: Sun, 13 Jan 2013 20:53:43 -0800
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
What exactly is the problem?
on my desktop sandbox machine: $ sudo cpanm --self-upgrade [sudo] password for hesco: Fetching http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.5019.tar.gz ... OK Configuring App-cpanminus-1.5019 ... OK Building and testing App-cpanminus-1.5019 for App::cpanminus ... OK Successfully installed App-cpanminus-1.5019 (upgraded from 1.0012) Trying again with updated cpanm - - - $ cpanm -L cpan_deps/ Setup::File::Symlink < chasing dependencies for days > /home/hesco/.cpanm/build.log -- Checking prerequisites... requires: ! File::Trash::Undoable is not installed ! Log::Any is not installed ! Rinci is not installed ! Setup is not installed ! UUID::Random is not installed build_requires: ! File::chdir is not installed ! Test::Perinci::Tx::Manager is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Building and testing Data-Sah-0.10 ... FAIL ! Installing Data::Sah failed. See /home/hesco/.cpanm/build.log for details. Successfully installed Perinci-Sub-DepChecker-0.08 ! Bailing out the installation for Perinci-Sub-Wrapper-0.37. Retry with --prompt or --force. Successfully installed Tie-Cache-0.19 ! Bailing out the installation for Perinci-Access-InProcess-0.38. Retry with --prompt or --force. Successfully installed File-Flock-2008.01 ! Bailing out the installation for Perinci-Tx-Manager-0.44. Retry with --prompt or --force. Building and testing Perinci-Sub-GetArgs-Array-0.09 ... FAIL ! Installing Perinci::Sub::GetArgs::Array failed. See /home/hesco/.cpanm/build.log for details. ! Bailing out the installation for Perinci-Sub-GetArgs-Argv-0.21. Retry with --prompt or --force. Building and testing Perinci-BashComplete-0.29 ... FAIL ! Installing Perinci::BashComplete failed. See /home/hesco/.cpanm/build.log for details. Building and testing Syntax-Feature-EachOnArray-0.03 ... FAIL ! Installing Syntax::Feature::EachOnArray failed. See /home/hesco/.cpanm/build.log for details. Successfully installed Unixish-1.0.2 ! Bailing out the installation for Data-Unixish-1.24. Retry with --prompt or --force. Successfully installed Parse-VarName-0.01 ! Bailing out the installation for Data-Format-Pretty-Console-0.20. Retry with --prompt or --force. Building and testing Data-Format-Pretty-HTML-0.05 ... FAIL ! Installing Data::Format::Pretty::HTML failed. See /home/hesco/.cpanm/build.log for details. ! Bailing out the installation for Data-Format-Pretty-0.03. Retry with --prompt or --force. ! Bailing out the installation for Perinci-Result-Format-0.29. Retry with --prompt or --force. Successfully installed Progress-Any-Output-TermProgressBar-0.02 ! Bailing out the installation for Perinci-CmdLine-0.68. Retry with --prompt or --force. Building and testing Sys-Filesystem-1.30 ... FAIL ! Installing Sys::Filesystem failed. See /home/hesco/.cpanm/build.log for details. Building and testing Sys-Filesystem-MountPoint-1.02 ... FAIL ! Installing Sys::Filesystem::MountPoint failed. See /home/hesco/.cpanm/build.log for details. ! Bailing out the installation for File-Trash-FreeDesktop-0.11. Retry with --prompt or --force. ! Bailing out the installation for File-Trash-Undoable-0.09. Retry with --prompt or --force. Successfully installed Setup-1.0.4 ! Bailing out the installation for Setup-File-Symlink-0.24. Retry with --prompt or --force. 162 distributions installed
These just may be those edge cases you warn about in the perldoc. The error message which started this conversation is on the linked ticket in the Setup-File-Symlink queue. Just posted the erros thrown after updating the cpanm version using --self-update. -- Hugh Esco
Subject: Re: [rt.cpan.org #82683] perhaps you forgot to load "Module::Metadata::Version"
Date: Sun, 13 Jan 2013 21:51:03 -0800
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Run cpanm --version after the upgrade to see if it was actually updating it because it sounds like you are using stale version from rpm or whatever which doesn't update with the self upgrade command. Also, when you report problems like this, upload the full .cpanm/build.log on some nopaste site rather than snipping it because it's useless. On Sun, Jan 13, 2013 at 9:47 PM, Hugh Esco via RT <bug-App-cpanminus@rt.cpan.org> wrote: Show quoted text
> Queue: App-cpanminus > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82683 > > > on my desktop sandbox machine: > > $ sudo cpanm --self-upgrade > [sudo] password for hesco: > Fetching http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.5019.tar.gz ... OK > Configuring App-cpanminus-1.5019 ... OK > Building and testing App-cpanminus-1.5019 for App::cpanminus ... OK > Successfully installed App-cpanminus-1.5019 (upgraded from 1.0012) > > Trying again with updated cpanm - - - > > $ cpanm -L cpan_deps/ Setup::File::Symlink > > < chasing dependencies for days > > > /home/hesco/.cpanm/build.log -- > > Checking prerequisites... > requires: > ! File::Trash::Undoable is not installed > ! Log::Any is not installed > ! Rinci is not installed > ! Setup is not installed > ! UUID::Random is not installed > build_requires: > ! File::chdir is not installed > ! Test::Perinci::Tx::Manager is not installed > > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions > of the modules indicated above before proceeding with this installation > > Building and testing Data-Sah-0.10 ... FAIL > ! Installing Data::Sah failed. See /home/hesco/.cpanm/build.log for details. > > Successfully installed Perinci-Sub-DepChecker-0.08 > ! Bailing out the installation for Perinci-Sub-Wrapper-0.37. Retry with --prompt or --force. > > Successfully installed Tie-Cache-0.19 > ! Bailing out the installation for Perinci-Access-InProcess-0.38. Retry with --prompt or --force. > > Successfully installed File-Flock-2008.01 > ! Bailing out the installation for Perinci-Tx-Manager-0.44. Retry with --prompt or --force. > > Building and testing Perinci-Sub-GetArgs-Array-0.09 ... FAIL > ! Installing Perinci::Sub::GetArgs::Array failed. See /home/hesco/.cpanm/build.log for details. > ! Bailing out the installation for Perinci-Sub-GetArgs-Argv-0.21. Retry with --prompt or --force. > > Building and testing Perinci-BashComplete-0.29 ... FAIL > ! Installing Perinci::BashComplete failed. See /home/hesco/.cpanm/build.log for details. > > Building and testing Syntax-Feature-EachOnArray-0.03 ... FAIL > ! Installing Syntax::Feature::EachOnArray failed. See /home/hesco/.cpanm/build.log for details. > > Successfully installed Unixish-1.0.2 > ! Bailing out the installation for Data-Unixish-1.24. Retry with --prompt or --force. > > Successfully installed Parse-VarName-0.01 > ! Bailing out the installation for Data-Format-Pretty-Console-0.20. Retry with --prompt or --force. > > Building and testing Data-Format-Pretty-HTML-0.05 ... FAIL > ! Installing Data::Format::Pretty::HTML failed. See /home/hesco/.cpanm/build.log for details. > ! Bailing out the installation for Data-Format-Pretty-0.03. Retry with --prompt or --force. > ! Bailing out the installation for Perinci-Result-Format-0.29. Retry with --prompt or --force. > > Successfully installed Progress-Any-Output-TermProgressBar-0.02 > ! Bailing out the installation for Perinci-CmdLine-0.68. Retry with --prompt or --force. > > Building and testing Sys-Filesystem-1.30 ... FAIL > ! Installing Sys::Filesystem failed. See /home/hesco/.cpanm/build.log for details. > > Building and testing Sys-Filesystem-MountPoint-1.02 ... FAIL > ! Installing Sys::Filesystem::MountPoint failed. See /home/hesco/.cpanm/build.log for details. > ! Bailing out the installation for File-Trash-FreeDesktop-0.11. Retry with --prompt or --force. > ! Bailing out the installation for File-Trash-Undoable-0.09. Retry with --prompt or --force. > > Successfully installed Setup-1.0.4 > ! Bailing out the installation for Setup-File-Symlink-0.24. Retry with --prompt or --force. > 162 distributions installed > >
-- Tatsuhiko Miyagawa
Subject: Re: [rt.cpan.org #82683] perhaps you forgot to load "Module::Metadata::Version"
Date: Sun, 13 Jan 2013 21:51:46 -0800
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
If your cpanm doesn't get updated with the self-upgrade, uninstall the one you have with the rpm and install it with the self install command. On Sun, Jan 13, 2013 at 9:51 PM, Tatsuhiko Miyagawa <miyagawa@gmail.com> wrote: Show quoted text
> Run cpanm --version after the upgrade to see if it was actually > updating it because it sounds like you are using stale version from > rpm or whatever which doesn't update with the self upgrade command. > > Also, when you report problems like this, upload the full > .cpanm/build.log on some nopaste site rather than snipping it because > it's useless. > > On Sun, Jan 13, 2013 at 9:47 PM, Hugh Esco via RT > <bug-App-cpanminus@rt.cpan.org> wrote:
>> Queue: App-cpanminus >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=82683 > >> >> on my desktop sandbox machine: >> >> $ sudo cpanm --self-upgrade >> [sudo] password for hesco: >> Fetching http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.5019.tar.gz ... OK >> Configuring App-cpanminus-1.5019 ... OK >> Building and testing App-cpanminus-1.5019 for App::cpanminus ... OK >> Successfully installed App-cpanminus-1.5019 (upgraded from 1.0012) >> >> Trying again with updated cpanm - - - >> >> $ cpanm -L cpan_deps/ Setup::File::Symlink >> >> < chasing dependencies for days > >> >> /home/hesco/.cpanm/build.log -- >> >> Checking prerequisites... >> requires: >> ! File::Trash::Undoable is not installed >> ! Log::Any is not installed >> ! Rinci is not installed >> ! Setup is not installed >> ! UUID::Random is not installed >> build_requires: >> ! File::chdir is not installed >> ! Test::Perinci::Tx::Manager is not installed >> >> ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions >> of the modules indicated above before proceeding with this installation >> >> Building and testing Data-Sah-0.10 ... FAIL >> ! Installing Data::Sah failed. See /home/hesco/.cpanm/build.log for details. >> >> Successfully installed Perinci-Sub-DepChecker-0.08 >> ! Bailing out the installation for Perinci-Sub-Wrapper-0.37. Retry with --prompt or --force. >> >> Successfully installed Tie-Cache-0.19 >> ! Bailing out the installation for Perinci-Access-InProcess-0.38. Retry with --prompt or --force. >> >> Successfully installed File-Flock-2008.01 >> ! Bailing out the installation for Perinci-Tx-Manager-0.44. Retry with --prompt or --force. >> >> Building and testing Perinci-Sub-GetArgs-Array-0.09 ... FAIL >> ! Installing Perinci::Sub::GetArgs::Array failed. See /home/hesco/.cpanm/build.log for details. >> ! Bailing out the installation for Perinci-Sub-GetArgs-Argv-0.21. Retry with --prompt or --force. >> >> Building and testing Perinci-BashComplete-0.29 ... FAIL >> ! Installing Perinci::BashComplete failed. See /home/hesco/.cpanm/build.log for details. >> >> Building and testing Syntax-Feature-EachOnArray-0.03 ... FAIL >> ! Installing Syntax::Feature::EachOnArray failed. See /home/hesco/.cpanm/build.log for details. >> >> Successfully installed Unixish-1.0.2 >> ! Bailing out the installation for Data-Unixish-1.24. Retry with --prompt or --force. >> >> Successfully installed Parse-VarName-0.01 >> ! Bailing out the installation for Data-Format-Pretty-Console-0.20. Retry with --prompt or --force. >> >> Building and testing Data-Format-Pretty-HTML-0.05 ... FAIL >> ! Installing Data::Format::Pretty::HTML failed. See /home/hesco/.cpanm/build.log for details. >> ! Bailing out the installation for Data-Format-Pretty-0.03. Retry with --prompt or --force. >> ! Bailing out the installation for Perinci-Result-Format-0.29. Retry with --prompt or --force. >> >> Successfully installed Progress-Any-Output-TermProgressBar-0.02 >> ! Bailing out the installation for Perinci-CmdLine-0.68. Retry with --prompt or --force. >> >> Building and testing Sys-Filesystem-1.30 ... FAIL >> ! Installing Sys::Filesystem failed. See /home/hesco/.cpanm/build.log for details. >> >> Building and testing Sys-Filesystem-MountPoint-1.02 ... FAIL >> ! Installing Sys::Filesystem::MountPoint failed. See /home/hesco/.cpanm/build.log for details. >> ! Bailing out the installation for File-Trash-FreeDesktop-0.11. Retry with --prompt or --force. >> ! Bailing out the installation for File-Trash-Undoable-0.09. Retry with --prompt or --force. >> >> Successfully installed Setup-1.0.4 >> ! Bailing out the installation for Setup-File-Symlink-0.24. Retry with --prompt or --force. >> 162 distributions installed >> >>
> > > > -- > Tatsuhiko Miyagawa
-- Tatsuhiko Miyagawa
Trying again with --force $ cpanm --force -L cpan_deps/ Setup::File::Symlink Building and testing Data-Sah-0.10 ... FAIL ! Testing Data-Sah-0.10 failed but installing it anyway. Successfully installed Data-Sah-0.10 Building and testing Perinci-Sub-Wrapper-0.37 ... FAIL ! Testing Perinci-Sub-Wrapper-0.37 failed but installing it anyway. Successfully installed Perinci-Sub-Wrapper-0.37 Building and testing Perinci-Access-InProcess-0.38 ... FAIL ! Testing Perinci-Access-InProcess-0.38 failed but installing it anyway. Successfully installed Perinci-Access-InProcess-0.38 Building and testing Perinci-Tx-Manager-0.44 ... FAIL ! Testing Perinci-Tx-Manager-0.44 failed but installing it anyway. Successfully installed Perinci-Tx-Manager-0.44 Building and testing Perinci-BashComplete-0.29 ... FAIL ! Testing Perinci-BashComplete-0.29 failed but installing it anyway. Successfully installed Perinci-BashComplete-0.29 Building and testing Syntax-Feature-EachOnArray-0.03 ... FAIL ! Testing Syntax-Feature-EachOnArray-0.03 failed but installing it anyway. Successfully installed Syntax-Feature-EachOnArray-0.03 Building and testing Perinci-CmdLine-0.68 ... FAIL ! Testing Perinci-CmdLine-0.68 failed but installing it anyway. Successfully installed Perinci-CmdLine-0.68 Building and testing Sys-Filesystem-1.30 ... FAIL ! Testing Sys-Filesystem-1.30 failed but installing it anyway. Successfully installed Sys-Filesystem-1.30 Building and testing Sys-Filesystem-MountPoint-1.02 ... FAIL ! Testing Sys-Filesystem-MountPoint-1.02 failed but installing it anyway. Successfully installed Sys-Filesystem-MountPoint-1.02 Building and testing File-Trash-Undoable-0.09 ... FAIL ! Testing File-Trash-Undoable-0.09 failed but installing it anyway. Successfully installed File-Trash-Undoable-0.09 Building and testing Setup-File-Symlink-0.24 ... FAIL ! Testing Setup-File-Symlink-0.24 failed but installing it anyway. Successfully installed Setup-File-Symlink-0.24 19 distributions installed (including the one I sought to install) so to answer your question, nothing. Sorry to bother you with this. Never mind. Closing this ticket as 'rejected'. Thanks again for a great and useful tool.
Subject: Re: [rt.cpan.org #82683] perhaps you forgot to load "Module::Metadata::Version"
Date: Sun, 13 Jan 2013 22:00:40 -0800
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
On Sun, Jan 13, 2013 at 9:57 PM, Hugh Esco via RT <bug-App-cpanminus@rt.cpan.org> wrote: Show quoted text
> > $ cpanm --force -L cpan_deps/ Setup::File::Symlink > > Building and testing Data-Sah-0.10 ... FAIL > ! Testing Data-Sah-0.10 failed but installing it anyway. > Successfully installed Data-Sah-0.10
Show quoted text
> so to answer your question, nothing.
Answer what question? I asked to run it with --version to see your cpanm is actually loaded from the right place. I suspected that you have a stale broken version installed with rpm that doesn't get updated. In such case uninstall it and start over. Show quoted text
> Sorry to bother you with this. Never mind. > Closing this ticket as 'rejected'. > > Thanks again for a great and useful tool.
It's not useful if you have a broken version installed or configured wrongly. -- Tatsuhiko Miyagawa
You had earlier asked me 'What exactly is the problem?' but to respond to your other question: $ cpanm --version cpanm (App::cpanminus) version 1.5019 This is a debian installation, no RPMs involved (unless installed with alien). I was unable to find cpanm with apt-cache search, and so assume I installed it from cpan. cpanm --self-update worked like a charm. This proved to be a false alarm. Again, my apologies for bothering you with this. Following the advice from your error messages permitted me to resolve the issues I encountered. Again, thanks, for a fine and useful tool. -- Hugh Esco
Subject: Re: [rt.cpan.org #82683] perhaps you forgot to load "Module::Metadata::Version"
Date: Sun, 13 Jan 2013 22:17:42 -0800
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Show quoted text
> but to respond to your other question: > $ cpanm --version > cpanm (App::cpanminus) version 1.5019
That looks ok. Show quoted text
> This is a debian installation, > no RPMs involved (unless installed with alien). > I was unable to find cpanm with apt-cache search, > and so assume I installed it from cpan. > > cpanm --self-update worked like a charm. > This proved to be a false alarm.
Looking at your log again, cpanm is still failing with the test (but install anyway with your --force option), and that doesn't look like what i describe as "worked like a charm". What is the actual test error that you're seeing? I can't tell it from the command output you're pasting. It's written in the .cpanm/build.log. You should paste it as it is, instead of snipping what you think is important. And I can help with that. -- Tatsuhiko Miyagawa
Subject: Re: [rt.cpan.org #82683] perhaps you forgot to load "Module::Metadata::Version"
Date: Sun, 13 Jan 2013 22:08:48 -0800
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Hm, ok, it looked like the command is still emitting the errors after the upgrade so i was confused! If the update fixes the problem, that's good :)