Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94424 - module-rebuild can't handle packages with a digit in the name
Summary: module-rebuild can't handle packages with a digit in the name
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-29 17:00 UTC by Mike Auty (RETIRED)
Modified: 2005-06-30 10:26 UTC (History)
1 user (show)

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


Attachments
Patch for bug 94424 (module-rebuild-bug-94424.patch,355 bytes, patch)
2005-05-29 22:19 UTC, Timothy Kilbourn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2005-05-29 17:00:21 UTC
It looks like the bash expansion used to determine just the package name from a
precise package name isn't entirely accurate.  Specifically it misses out
filenames which have a digit in the name directly after a hyphen.  The main
example for this is the cisco-vpnclient-3des package.  This consistently fails
to be found.

Reproducible: Always
Steps to Reproduce:
1. Emerge cisco-vpnclient-3des.
2. module-rebuild populate
3.

Actual Results:  
It said no ebuild could be found for the cisco-vpnclient-3des package.

Expected Results:  
It should have found one.

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.12-rc5 i686)
=================================================================
System uname: 2.6.12-rc5 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.12
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acl acpi adns alsa avi bash-completion berkdb
bitmap-fonts cairo ccache cdr cjk client crypt cups dlloader dvd dvdr eds emboss
encode fam flac foomaticdb fortran gd gdbm gif glitz gnome gnutls gstreamer gtk
gtk2 gtkhtml hal hardened imagemagick imap imlib java jpeg junit libg++ libwww
mad mikmod mime mmx mmxext motif mozilla mozsvg mp3 mpeg ncurses nls nptl
nptlonly nvidia ogg oggvorbis opengl pam pdflib perl pic pie png postgres python
quicktime readline real sdl server snmp spell sse sse2 ssl svg svga tcpd theora
tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs xine xml2
xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Timothy Kilbourn 2005-05-29 22:19:12 UTC
Created attachment 60153 [details, diff]
Patch for bug 94424

After reading the bash documentation for variable substitution, I believe this
patch fixes the problem. It fixed the cisco-vpnclient problem at least.
Comment 2 John Mylchreest (RETIRED) gentoo-dev 2005-06-23 14:34:32 UTC
thanks, that looks good. Good catch.
I will get this in for the next release, which will hopefully be quite soon.
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2005-06-30 10:26:50 UTC
fixed in cvs.
Please update to 0.3 and test.

regards,
John