Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56604 - webmin-1.150-r2 ebuild fails with no digest message, rebuilding digest then fails
Summary: webmin-1.150-r2 ebuild fails with no digest message, rebuilding digest then f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
: 56605 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-10 07:51 UTC by J.C. Wren
Modified: 2004-07-13 01:27 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 J.C. Wren 2004-07-10 07:52:16 UTC
Attempting to update webmin to 1.150-r2, emerge complains there is no digest for webmin-1.150.tar.gz, attempt to rebuild digest with suggested command results in 
Error: PF is null 'package-version'; exiting. message

Reproducible: Always
Steps to Reproduce:
1) emerge -u webmin
2) ebuild /usr/portage/category/package/package-version.ebuild digest

Actual Results:  
root@gentoo / # emerge -u webmin
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/webmin-1.150-r2 to /

!!! No message digest entry found for file "webmin-1.150.tar.gz."
!!! Most likely a temporary problem. Try 'emerge sync' again later.
!!! If you are certain of the authenticity of the file then you may type
!!! the following to generate a new digest:
!!!   ebuild /usr/portage/category/package/package-version.ebuild digest

root@gentoo / # ebuild /usr/portage/category/package/package-version.ebuild 
digest
!!! Name error in version
!!! Error: PF is null 'package-version'; exiting.



Expected Results:  
Successul emerge :)

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /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="-march=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bonobo cdr crypt cups encode esd foomaticdb gdbm gif 
gnome gpm gtk gtk2 guile imlib java jpeg kde ldap libg++ libwww mad mikmod motif 
mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 
xmms xv zlib"
Comment 1 J.C. Wren 2004-07-10 07:57:20 UTC
*** Bug 56605 has been marked as a duplicate of this bug. ***
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-07-11 02:23:07 UTC
Looks like a bad sync to me.  The digest exists and appears to be valid in portage.  Please resync and try again.  If it continues to be an issue, go ahead
and reopen.
Comment 3 J.C. Wren 2004-07-11 07:01:51 UTC
Resyncing was the first thing I did.  Same problem.  

I think the problem is in the digest file itself.  Looking at files/digest-webmin-1.150 and files/digest-webmin-1.150-r1, they refer to webmin-1.150.tar.gz.  Looking at files/digest-webmin-1.150-r2, it refers to webmin-1.150-minimal.tar.gz.  Since I'm not doing a minimal install, the system is (correctly) getting angry that there's no digest entry for webmin-1.150.tar.gz. 

Editing files/digest-webmin-1.150-r2 and rebuilding the digest caused it to install correctly.  I would submit a patch on this, but I'm not sure if just editing the filename in the digest file is the correct solution or not.
Comment 4 Keith Constable 2004-07-12 01:12:49 UTC
I can confirm this bug as of Mon Jul 12 04:10:05 EDT 2004.

--

# emerge -v webmin
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/webmin-1.150-r2 to /

!!! No message digest entry found for file "webmin-1.150.tar.gz."
!!! Most likely a temporary problem. Try 'emerge sync' again later.
!!! If you are certain of the authenticity of the file then you may type
!!! the following to generate a new digest:
!!!   ebuild /usr/portage/category/package/package-version.ebuild digest

--

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-ck1)
=================================================================
System uname: 2.6.7-ck1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.5.1
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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 -mcpu=i686 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ ftp://mirror.datapipe.net/gentoo http://ftp-mirror.internap.com/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apache2 avi cdr crypt cups dga dv dvd dvdr encode evo faad flac foomaticdb gif gnutls gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg libg++ libwww mad mikmod mmx monkey motif moznocompose moznoirc moznomail mpeg mysql ncurses oggvorbis opengl pam pdflib perl png python qt quicktime readline ruby samba sdl slang speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype wmf x86 xml xml2 xmms xv xvid zlib"
Comment 5 Stephen Boulet 2004-07-12 20:55:53 UTC
I can confirm it too. I deleted /usr/portage/app-admin/webmin, resync'ed, and same error.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-07-13 01:27:25 UTC
in cvs