Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122677 - "g-cpan -i IO::Stty" fails: Tries to look at "perl-gcpan/IO-Stty-"
Summary: "g-cpan -i IO::Stty" fails: Tries to look at "perl-gcpan/IO-Stty-"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard: g-cpan
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 05:27 UTC by Ariel Shaqed (Scolnicov)
Modified: 2006-04-14 06:21 UTC (History)
1 user (show)

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


Attachments
Hairy workaround this versioning weirdness (g-cpan.patch,1.06 KB, patch)
2006-02-13 05:29 UTC, Yuval Yaari (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ariel Shaqed (Scolnicov) 2006-02-13 05:27:43 UTC
It appears that a trailing "-" gets into the wrong place.

host ~ # g-cpan -i IO::Stty
mkdir /tmp/perl-modules_23614
mkdir /tmp/perl-modules_23614/perl-gcpan
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Sat, 11 Feb 2006 00:39:19 GMT
 * g-cpan: Need to create ebuild for 'IO::Stty': IO-Stty-
Running make for A/AU/AUSCHUTZ/IO-Stty-.02.tar.gz
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  http://search.cpan.org/CPAN/authors/id/A/AU/AUSCHUTZ/IO-Stty-.02.tar.gz
Checksum for /root/.cpan/sources/authors/id/A/AU/AUSCHUTZ/IO-Stty-.02.tar.gz ok
Scanning cache /root/.cpan/build for sizes
IO-Stty-.02/
IO-Stty-.02/stty.txt
IO-Stty-.02/stty.pl
IO-Stty-.02/Makefile.PL
IO-Stty-.02/Stty.pm
IO-Stty-.02/README
Removing previously used /root/.cpan/build/IO-Stty-.02

  CPAN.pm: Going to build A/AU/AUSCHUTZ/IO-Stty-.02.tar.gz

Writing Makefile for IO::Stty
cp stty.pl blib/lib/IO/stty.pl
cp Stty.pm blib/lib/IO/Stty.pm
  /usr/bin/make  -- OK
 * g-cpan: perl-gcpan/IO-Stty- created in /tmp/perl-modules_23614
Calculating dependencies   visible(): invalid cat/pkg-v: perl-gcpan/IO-Stty-.02

emerge: there are no ebuilds to satisfy "perl-gcpan/IO-Stty-".

host ~ # eix -c g-cpan
[I] app-portage/g-cpan (0.13.02): g-cpan: generate and install CPAN modules using portage

Found 1 matches
host ~ # emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.38/gentoo-distfiles/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 cairo crypt cscope cups curl dri eds emacs emboss encode esd ethereal expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk gtk2 hal idn imagemagick imlib java javascript jpeg kde kdeenablefinal kdexdeltas lcms ldap libg++ libwww mad mhash mikmod mng motif mp3 mpeg mysql ncurses nls nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png postgres python qt quicktime readline recode samba sdl slang spell sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vim-with-x vorbis xface xine xml2 xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Yuval Yaari (RETIRED) gentoo-dev 2006-02-13 05:29:30 UTC
Created attachment 79684 [details, diff]
Hairy workaround this versioning weirdness

mcummings, let me know if this possibly breaks something ;-)
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2006-04-14 06:18:51 UTC
OK, patch applied in svn, thanks yuval!

Ariel, this should be corrected in the next release of g-cpan. Thanks for reporting the bug,

~mcummings