http://www.perlmonks.org?node_id=1070863


in reply to Trouble with CPAN::Site

At some point CPAN::Site or one of the other modules that it relies on started looking up author info in PAUSE. (I want to say it happened about 2 years ago, but my memory's foggy)

As such, I don't think that you can use a fake ID -- you'll need to either register an ID in PAUSE and use that, or shove it into a directory named for some other legitimate account.

Replies are listed 'Best First'.
Re^2: Trouble with CPAN::Site
by jellisii2 (Hermit) on Jan 16, 2014 at 23:32 UTC
    The documentation doesn't suggest this, but I'll give it a swing. :-)

    --edit

    This did appear to fix the problem. What's the best way to suggest that the documentation get fixed?

    --edit1 So I've only half-fixed it: It's attempting to index my stuff, but it appears to fail:

    eellis@cpan:~$ cpansite --site /var/www/cpan --stand-alone --mode=DEB +UG --no-lazy index trace: cpansite version 1.11 trace: copy /var/www/cpan/global/01mailrc.txt.gz to /var/www/cpan/auth +ors/01mailrc.txt.gz trace: copy /var/www/cpan/global/03modlist.data.gz to /var/www/cpan/mo +dules/03modlist.data.gz trace: creating inventory from /var/www/cpan/authors/id trace: inspecting archive /var/www/cpan/authors/id/J/JE/JELLISII/MODUL +E.tar.gz trace: creating package details in /var/www/cpan/modules/02packages.de +tails.tmp.gz info: produced list of 0 packages full trace: backup old details file to /var/www/cpan/modules/02packages.det +ails.txt.gz.bak trace: copy /var/www/cpan/modules/02packages.details.txt.gz to /var/ww +w/cpan/modules/02packages.details.txt.gz.bak trace: promoting /var/www/cpan/modules/02packages.details.tmp.gz to cu +rrent trace: updating checksums trace: summing /var/www/cpan/authors/id/J/JE/JELLISII
    It says it's inspecting, but gives no indication that there's a problem until it says "Produced list of 0 packages full". I'm unclear as to what I need to do from here. I've been using ExtUtils::ModuleMaker to build out the basic framework of the module I'm packaging, and I do have a version number baked in.

    -- edit 2

    I'm a moron: was was archiving the wrong folder. Works great now.