Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64420 - g-cpan.pl can't emerge Authen::Captcha
Summary: g-cpan.pl can't emerge Authen::Captcha
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-17 10:23 UTC by Yuri Karaban
Modified: 2005-03-14 10:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Karaban 2004-09-17 10:23:12 UTC
g-cpan.pl can't emerge Authen::Captcha.

It tries to emerge PathTools, but in Makefile.PL specified File::Spec and it present.

Reproducible: Always
Steps to Reproduce:
1.run 'g-cpan.pl Authen::Captcha'
Actual Results:  
root ~ # g-cpan.pl Authen::Captcha
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 16 Sep 2004 23:08:33 GMT
************************************************************************
*
*
*  Need to create ebuild for 'Authen::Captcha': Authen-Captcha
*
*
************************************************************************
Running make for U/UN/UNRTST/Authen-Captcha-1.023.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://no-more.kiev.ua/pub/CPAN/authors/id/U/UN/UNRTST/Authen-Captcha-1.023.tar
.gz
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/U/UN/UNRTST/Authen-Captcha-1.023.tar
.gz ok
Scanning cache /root/.cpan/build for sizes
Authen-Captcha-1.023/
Authen-Captcha-1.023/Captcha/
Authen-Captcha-1.023/Captcha/images/
Authen-Captcha-1.023/Captcha/images/w.png
Authen-Captcha-1.023/Captcha/images/background4.png
Authen-Captcha-1.023/Captcha/images/8.png
Authen-Captcha-1.023/Captcha/images/k.png
Authen-Captcha-1.023/Captcha/images/x.png
Authen-Captcha-1.023/Captcha/images/background5.png
Authen-Captcha-1.023/Captcha/images/9.png
Authen-Captcha-1.023/Captcha/images/l.png
Authen-Captcha-1.023/Captcha/images/y.png
Authen-Captcha-1.023/Captcha/images/m.png
Authen-Captcha-1.023/Captcha/images/z.png
Authen-Captcha-1.023/Captcha/images/a.png
Authen-Captcha-1.023/Captcha/images/n.png
Authen-Captcha-1.023/Captcha/images/b.png
Authen-Captcha-1.023/Captcha/images/o.png
Authen-Captcha-1.023/Captcha/images/c.png
Authen-Captcha-1.023/Captcha/images/p.png
Authen-Captcha-1.023/Captcha/images/d.png
Authen-Captcha-1.023/Captcha/images/q.png
Authen-Captcha-1.023/Captcha/images/2.png
Authen-Captcha-1.023/Captcha/images/e.png
Authen-Captcha-1.023/Captcha/images/r.png
Authen-Captcha-1.023/Captcha/images/3.png
Authen-Captcha-1.023/Captcha/images/f.png
Authen-Captcha-1.023/Captcha/images/s.png
Authen-Captcha-1.023/Captcha/images/Thumbs.db
Authen-Captcha-1.023/Captcha/images/4.png
Authen-Captcha-1.023/Captcha/images/g.png
Authen-Captcha-1.023/Captcha/images/t.png
Authen-Captcha-1.023/Captcha/images/background1.png
Authen-Captcha-1.023/Captcha/images/5.png
Authen-Captcha-1.023/Captcha/images/h.png
Authen-Captcha-1.023/Captcha/images/u.png
Authen-Captcha-1.023/Captcha/images/CVS/
Authen-Captcha-1.023/Captcha/images/CVS/Root
Authen-Captcha-1.023/Captcha/images/CVS/Repository
Authen-Captcha-1.023/Captcha/images/CVS/Entries
Authen-Captcha-1.023/Captcha/images/background2.png
Authen-Captcha-1.023/Captcha/images/6.png
Authen-Captcha-1.023/Captcha/images/i.png
Authen-Captcha-1.023/Captcha/images/v.png
Authen-Captcha-1.023/Captcha/images/background3.png
Authen-Captcha-1.023/Captcha/images/7.png
Authen-Captcha-1.023/Captcha/images/j.png
Authen-Captcha-1.023/MANIFEST
Authen-Captcha-1.023/Captcha.pm
Authen-Captcha-1.023/Changes
Authen-Captcha-1.023/t/
Authen-Captcha-1.023/t/1.t
Authen-Captcha-1.023/README
Authen-Captcha-1.023/examples/
Authen-Captcha-1.023/examples/wwwtest.cgi
Authen-Captcha-1.023/examples/README
Authen-Captcha-1.023/license.txt
Authen-Captcha-1.023/Makefile.PL
Removing previously used /root/.cpan/build/Authen-Captcha-1.023

  CPAN.pm: Going to build U/UN/UNRTST/Authen-Captcha-1.023.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite GD 0 not found.
Writing Makefile for Authen::Captcha
---- Unsatisfied dependencies detected during [U/UN/UNRTST/Authen-Captcha-1.023.
tar.gz] -----
    GD
  Ignoring dependencies on modules GD
cp Captcha/images/8.png blib/lib/Authen/Captcha/images/8.png
cp Captcha/images/s.png blib/lib/Authen/Captcha/images/s.png
cp Captcha/images/a.png blib/lib/Authen/Captcha/images/a.png
cp Captcha/images/l.png blib/lib/Authen/Captcha/images/l.png
cp Captcha/images/z.png blib/lib/Authen/Captcha/images/z.png
cp Captcha/images/5.png blib/lib/Authen/Captcha/images/5.png
cp Captcha/images/b.png blib/lib/Authen/Captcha/images/b.png
cp Captcha/images/9.png blib/lib/Authen/Captcha/images/9.png
cp Captcha/images/4.png blib/lib/Authen/Captcha/images/4.png
cp Captcha/images/background2.png blib/lib/Authen/Captcha/images/background2.png
cp Captcha/images/6.png blib/lib/Authen/Captcha/images/6.png
cp Captcha/images/c.png blib/lib/Authen/Captcha/images/c.png
cp Captcha/images/g.png blib/lib/Authen/Captcha/images/g.png
cp Captcha/images/v.png blib/lib/Authen/Captcha/images/v.png
cp Captcha/images/y.png blib/lib/Authen/Captcha/images/y.png
cp Captcha/images/u.png blib/lib/Authen/Captcha/images/u.png
cp Captcha/images/q.png blib/lib/Authen/Captcha/images/q.png
cp Captcha/images/p.png blib/lib/Authen/Captcha/images/p.png
cp Captcha/images/3.png blib/lib/Authen/Captcha/images/3.png
cp Captcha/images/background4.png blib/lib/Authen/Captcha/images/background4.png
cp Captcha/images/d.png blib/lib/Authen/Captcha/images/d.png
cp Captcha/images/h.png blib/lib/Authen/Captcha/images/h.png
cp Captcha/images/background3.png blib/lib/Authen/Captcha/images/background3.png
cp Captcha/images/n.png blib/lib/Authen/Captcha/images/n.png
cp Captcha/images/Thumbs.db blib/lib/Authen/Captcha/images/Thumbs.db
cp Captcha/images/f.png blib/lib/Authen/Captcha/images/f.png
cp Captcha/images/o.png blib/lib/Authen/Captcha/images/o.png
cp Captcha.pm blib/lib/Authen/Captcha.pm
cp Captcha/images/2.png blib/lib/Authen/Captcha/images/2.png
cp Captcha/images/x.png blib/lib/Authen/Captcha/images/x.png
cp Captcha/images/j.png blib/lib/Authen/Captcha/images/j.png
cp Captcha/images/background5.png blib/lib/Authen/Captcha/images/background5.png
cp Captcha/images/k.png blib/lib/Authen/Captcha/images/k.png
cp Captcha/images/7.png blib/lib/Authen/Captcha/images/7.png
cp Captcha/images/i.png blib/lib/Authen/Captcha/images/i.png
cp Captcha/images/e.png blib/lib/Authen/Captcha/images/e.png
cp Captcha/images/w.png blib/lib/Authen/Captcha/images/w.png
cp Captcha/images/m.png blib/lib/Authen/Captcha/images/m.png
cp Captcha/images/r.png blib/lib/Authen/Captcha/images/r.png
cp Captcha/images/t.png blib/lib/Authen/Captcha/images/t.png
cp Captcha/images/background1.png blib/lib/Authen/Captcha/images/background1.png
Manifying blib/man3/Authen::Captcha.3pm
  /usr/bin/make  -- OK
************************************************************************
*
*
*  Need to create ebuild for 'File::Spec': PathTools
*
*
************************************************************************
Running make for K/KW/KWILLIAMS/PathTools-3.01.tar.gz
Fetching with LWP:
  ftp://no-more.kiev.ua/pub/CPAN/authors/id/K/KW/KWILLIAMS/PathTools-3.01.tar.gz
Checksum for /root/.cpan/sources/authors/id/K/KW/KWILLIAMS/PathTools-3.01.tar.gz
 ok
PathTools-3.01/
PathTools-3.01/Build.PL
PathTools-3.01/Changes
PathTools-3.01/Cwd.pm
PathTools-3.01/Cwd.xs
PathTools-3.01/INSTALL
PathTools-3.01/lib/
PathTools-3.01/lib/File/
PathTools-3.01/lib/File/Spec/
PathTools-3.01/lib/File/Spec/Cygwin.pm
PathTools-3.01/lib/File/Spec/Epoc.pm
PathTools-3.01/lib/File/Spec/Functions.pm
PathTools-3.01/lib/File/Spec/Mac.pm
PathTools-3.01/lib/File/Spec/OS2.pm
PathTools-3.01/lib/File/Spec/Unix.pm
PathTools-3.01/lib/File/Spec/VMS.pm
PathTools-3.01/lib/File/Spec/Win32.pm
PathTools-3.01/lib/File/Spec.pm
PathTools-3.01/Makefile.PL
PathTools-3.01/MANIFEST
PathTools-3.01/META.yml
PathTools-3.01/SIGNATURE
PathTools-3.01/t/
PathTools-3.01/t/crossplatform.t
PathTools-3.01/t/cwd.t
PathTools-3.01/t/Functions.t
PathTools-3.01/t/rel2abs2rel.t
PathTools-3.01/t/Spec.t
PathTools-3.01/t/taint.t
PathTools-3.01/t/win32.t
Removing previously used /root/.cpan/build/PathTools-3.01

  CPAN.pm: Going to build K/KW/KWILLIAMS/PathTools-3.01.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Cwd
cp lib/File/Spec/Mac.pm blib/lib/File/Spec/Mac.pm
cp lib/File/Spec/OS2.pm blib/lib/File/Spec/OS2.pm
cp lib/File/Spec/VMS.pm blib/lib/File/Spec/VMS.pm
cp lib/File/Spec/Cygwin.pm blib/lib/File/Spec/Cygwin.pm
cp lib/File/Spec/Functions.pm blib/lib/File/Spec/Functions.pm
cp lib/File/Spec/Epoc.pm blib/lib/File/Spec/Epoc.pm
cp lib/File/Spec.pm blib/lib/File/Spec.pm
cp Cwd.pm blib/lib/Cwd.pm
cp lib/File/Spec/Unix.pm blib/lib/File/Spec/Unix.pm
cp lib/File/Spec/Win32.pm blib/lib/File/Spec/Win32.pm
/usr/bin/perl5.8.5 /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap /usr/lib/perl5
/5.8.5/ExtUtils/typemap  Cwd.xs > Cwd.xsc && mv Cwd.xsc Cwd.c
gcc -c   -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
O2 -march=i686 -pipe   -DVERSION=\"3.01\" -DXS_VERSION=\"3.01\" -fPIC "-I/usr/li
b/perl5/5.8.5/i686-linux/CORE"   Cwd.c
Running Mkbootstrap for Cwd ()
chmod 644 Cwd.bs
rm -f blib/arch/auto/Cwd/Cwd.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib Cwd.o  -o blib/arch/auto/Cwd/Cwd.so
      
chmod 755 blib/arch/auto/Cwd/Cwd.so
cp Cwd.bs blib/arch/auto/Cwd/Cwd.bs
chmod 644 blib/arch/auto/Cwd/Cwd.bs
Manifying blib/man3/File::Spec::OS2.3pm
Manifying blib/man3/File::Spec::Mac.3pm
Manifying blib/man3/File::Spec::VMS.3pm
Manifying blib/man3/File::Spec::Epoc.3pm
Manifying blib/man3/File::Spec::Functions.3pm
Manifying blib/man3/File::Spec::Cygwin.3pm
Manifying blib/man3/File::Spec.3pm
Manifying blib/man3/Cwd.3pm
Manifying blib/man3/File::Spec::Unix.3pm
Manifying blib/man3/File::Spec::Win32.3pm
  /usr/bin/make  -- OK
************************************************************************
*
*
*  Ebuild already exists for 'Scalar::Util': Scalar-List-Utils
*
*
************************************************************************
************************************************************************
*
*
*  Ebuild already exists for 'Test::More': Test-Simple
*
*
************************************************************************
Couldn't turn 'N/A' into a directory name
************************************************************************
*
*
*  Module 'File::Path' is part of the base perl install
*
*
************************************************************************
************************************************************************
*
*
*  Ebuild already exists for 'Test': Test
*
*
************************************************************************
************************************************************************
*
*
*  Module 'File::Basename' is part of the base perl install
*
*
************************************************************************
************************************************************************
*
*
*  Module 'Carp' is part of the base perl install
*
*
************************************************************************
Use of uninitialized value in string eq at /usr/bin/g-cpan.pl line 209.
Use of uninitialized value in hash element at /usr/bin/g-cpan.pl line 210.
Use of uninitialized value in concatenation (.) or string at /usr/bin/g-cpan.pl 
line 138.
Use of uninitialized value in hash element at /usr/bin/g-cpan.pl line 211.
Use of uninitialized value in concatenation (.) or string at /usr/bin/g-cpan.pl 
line 213.
************************************************************************
*
*
*  Ebuild already exists for 'Digest::MD5': Digest-MD5
*
*
************************************************************************
************************************************************************
*
*
*  Module 'File::Basename' is part of the base perl install
*
*
************************************************************************
************************************************************************
*
*
*  Ebuild already exists for 'GD': GD
*
*
************************************************************************
emerging PathTools
Calculating dependencies -
emerge: there are no ebuilds to satisfy "dev-perl/".

emerging Authen-Captcha
Calculating dependencies |
emerge: there are no ebuilds to satisfy "dev-perl/".



Expected Results:  
it should merge Authen::Captcha

I'm noticing that g-cpan.pl producing such warnings:

Use of uninitialized value in string eq at /usr/bin/g-cpan.pl line 209.
Use of uninitialized value in hash element at /usr/bin/g-cpan.pl line 210.
Use of uninitialized value in concatenation (.) or string at /usr/bin/g-cpan.pl 
line 138.
Use of uninitialized value in hash element at /usr/bin/g-cpan.pl line 211.
Use of uninitialized value in concatenation (.) or string at /usr/bin/g-cpan.pl 
line 213.
Comment 1 Cengiz ALKAN 2004-10-01 11:32:27 UTC
same errors here, no only Authen::Captcha but other CPAN modules too.
Comment 2 Olivier Médoc 2004-10-07 04:52:14 UTC
I have also the same error when trying with MARC::Record
I don't know if it work with other mods, it's the first time I use g-span.pl
Comment 3 Olivier Médoc 2004-10-08 12:37:09 UTC
Apparently it's an issue caused by an error in PathTools dependencies.
You can edit manually the PathTools ebuild witch whas created by g-cpan.pl
(/usr/local/portage/dev-perl/PathTools/PathTools-3.01.ebuild on my system).

You delete the last line (dev-perl/) of the DEPENDS tag, and then create che MANIFEST file (ebuild PathTools-3.01.ebuild digest) and then emerge PathTools (emerge PathTools).

On my system, when i use g-cpan.pl MARC::Record after theses changes, it builds successfully.
It may work with other CPAN modules. It don't resolv the bug, but now I can end my work ;)

I hope it can be useful.
Comment 4 Peter Leonard 2004-11-16 10:27:41 UTC
This also breaks on CGI::Application.

The DEPEND line is as follows:

DEPEND="dev-perl/Test-Simple
        dev-perl/HTML-Template
        dev-perl/CGI.pm"

The error returned is the same.
Comment 5 Peter Leonard 2004-11-16 16:52:58 UTC
Never mind my note - turns out mine was part of Bug 64403, which may be fixed at this point.
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2005-03-14 10:55:26 UTC
Fixed in the next release of g-cpan. End of output (just so you know it works) :

>>> dev-perl/Authen-Captcha-1.023 merged.
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...