Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160391 - app-portage/g-cpan-0.14.1_rc1 creates ebuilds which require non-existing ebuilds
Summary: app-portage/g-cpan-0.14.1_rc1 creates ebuilds which require non-existing ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: Other Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-06 09:52 UTC by Martin Mokrejš
Modified: 2007-01-27 16:23 UTC (History)
0 users

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 Martin Mokrejš 2007-01-06 09:52:49 UTC
I tried to install some packages from CPAN through g-cpan. Unfortunately, I cannot provide you with the original messages ... 

First, I did:

# emerge -u perl-gcpan/Email-Send perl-gcpan/Email-MIME-Modifier  perl-gcpan/Email-Reply perl-gcpan/Image-Magick perl-gcpan/Email-MIME-Attachment-Stripper
#

later, I did ...

# g-cpan --install Email::Reply Email::MIME::Attachment::Stripper Image::Magick Email::Send Email::MIME::Modifier 
CPAN: Storable loaded ok
Going to read /var/tmp/g-cpan/.cpan/Metadata
  Database was generated on Fri, 05 Jan 2007 17:24:48 GMT
 * g-cpan: Ebuild already exists for Email-MIME-Modifier
 * g-cpan: Ebuild already exists for Email-MIME-Attachment-Stripper
 * g-cpan: Ebuild already exists for Email-Reply
 * g-cpan: Ebuild already exists for PerlMagick
 * g-cpan: Ebuild already exists for Email-Send
Calculating dependencies /
emerge: there are no ebuilds to satisfy ">=dev-perl/TimeDate-2.27".
(dependency required by "perl-gcpan/Email-Date-1.101" [ebuild])

# cat /usr/local/portage/perl-gcpan/Email-Date/Email-Date-1.101.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# This ebuild generated by g-cpan 0.14.1_rc1

inherit perl-module

S=${WORKDIR}/Email-Date-1.101

DESCRIPTION="No description available"
HOMEPAGE="http://search.cpan.org/search?query=${PN}"
SRC_URI="mirror://cpan/authors/id/R/RJ/RJBS/Email-Date-1.101.tar.gz"


IUSE=""

SLOT="0"
LICENSE="|| ( Artistic GPL-2 )"
KEYWORDS="~x86"

DEPEND=">=virtual/perl-Test-Simple-0.47
        >=dev-perl/Email-Abstract-2.10
        >=dev-perl/Time-Piece-1.08
        >=dev-perl/Email-Simple-1.9
        >=virtual/perl-Time-Local-1.07
        >=dev-perl/TimeDate-2.27
        dev-lang/perl"
#


I see only

# ls /usr/portage/dev-perl/TimeDate/
ChangeLog             Manifest              TimeDate-1.16.ebuild  files/                metadata.xml          
#

Could g-cpan be clever enough and provide the updated ebuild of TimeDate? Or will you bump the ebuild version?

Reproducible: Always
Comment 1 Martin Mokrejš 2007-01-06 10:11:43 UTC
# emerge --info
Portage 2.1.2_rc4-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.19.1 i686)
=================================================================
System uname: 2.6.19.1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.12.8
Last Sync: Sat, 06 Jan 2007 00:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="cs cz en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm ati avi berkdb bitmap-fonts bonobo caca cdparanoia cdr cli cpudetection cracklib crypt cscope ctype cups dba dga directfb divx divx5 divx5linux dlloader dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb isdnlog ithreads java jpeg lcms leim libcaca libg++ libwww lirc live lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext motif mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda pdf pdflib perl plotutils plugin png ppds pppd pthread pthreads python qt qt3 qt4 qtx quicktime readline reflection rtc samba scanner scp server session slp spell spl sse sse2 ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis win32 win32codecs winvidix wmf x264 x86 xanim xml xml2 xorg xosd xprint xv xvid xvmc zeo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="cs cz en" USERLAND="GNU" VIDEO_CARDS="ati"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

#
# emerge -s g-cpan
Searching...   
[ Results for search key : g-cpan ]
[ Applications found : 1 ]
 
*  app-portage/g-cpan
      Latest version available: 0.15_rc1
      Latest version installed: 0.14.1_rc1
#
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2007-01-27 16:19:58 UTC
There is no TimeDate-2.16 (ie, something else going on here). Let me see what 0.15_rc2 produces as deps for this module.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2007-01-27 16:23:54 UTC
yep, 0.15_rc1 generates these ebuilds correctly. IIRC, there was a bug in which version number was getting printed where, but this is all fixed in 0.15_rc1 (which is in portage) and in 0.15_rc2.

btw, why would you use g-cpan to build Image::Magick when the perl use flag for imagemagick does the same thing....?