Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138445 - g-cpan doesn't seem to handle versions like -0.55-7
Summary: g-cpan doesn't seem to handle versions like -0.55-7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 03:26 UTC by Paul
Modified: 2006-07-08 10:07 UTC (History)
0 users

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


Attachments
Patch for g-cpan 0.13.2 (g-cpan.patch,2.14 KB, patch)
2006-06-29 03:27 UTC, Paul
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2006-06-29 03:26:31 UTC
I've tried this with the latest stable g-cpan-0.13.02 on x86, and also with g-cpan-0.14.0_rc2 on ~amd64.

I tried to g-cpan -i SOAP::MIME, but g-cpan seemed to get a bit confused. It produced an ebuild directory SOAP-MIME-0.55 and an invalid ebuild filename of SOAP-MIME-0.55-7.ebuild.

I've dug around a bit in the source code for 0.13.02, and produced the attached (only slightly tested) patch; which at least works for SOAP MIME :)

--cut here--

# emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.12.6-xen i686)
=================================================================
System uname: 2.6.12.6-xen i686 Intel(R) Celeron(R) CPU 2.53GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=pentium3 -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -mtune=pentium3 -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/mnt/dmz-packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cscope cups curl dri eds emboss encode esd expat foomaticdb fortran gd gdbm gif gmp gpm gstreamer gtk2 idn imlib innodb isdnlog jpeg kde libg++ libwww mad mhash mikmod ming motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl perlsuid php png pppd python qt3 qt4 quicktime readline reflection session spell spl ssl syslog tcpd truetype truetype-fonts type1-fonts udev unicode usb vorbis x86 xml xml2 xmms xorg xv zlib zsh-completion userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Paul 2006-06-29 03:27:31 UTC
Created attachment 90406 [details, diff]
Patch for g-cpan 0.13.2
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2006-06-29 10:21:36 UTC
thanks! i'll need to try and integrate this into 0.14 though (0.13 is a dead line)
Comment 3 Paul 2006-06-29 10:39:15 UTC
I can take a look at the new version, if you like. It's just that I normally run the stable build.
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2006-06-30 03:51:24 UTC
No sweat, I'll get to it this weekend. For me, the new version and the stable are about ten million light years apart :)
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-07-08 10:07:23 UTC
fixed in rc3