Bug 135709 - app-cdr/cdrtools-2.01.01_alpha10 bad Manifest
Bug#: 135709 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: media-optical@gentoo.org Reported By: hnsr@xs4all.nl
Component: Ebuilds
URL: 
Summary: app-cdr/cdrtools-2.01.01_alpha10 bad Manifest
Keywords:  
Status Whiteboard: 
Opened: 2006-06-05 20:43 0000
Description:   Opened: 2006-06-05 20:43 0000
emerge tries to download the distfile
'/usr/portage/distfiles/cdrtools-2.01.01a10.tar.bz2' and (appears to) succeed,
but then says "!!! Couldn't download cdrtools-2.01.01a10.tar.bz2. Aborting.".
Deleting the distfile and trying again has the same result. Leaving the
distfile there and trying again makes emerge try to resume the file dispite it
already being downloaded fully:

PASTE BEGIN ------------------------------------------------
>>> Resuming download...
>>> Downloading ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a10.tar.bz2
--05:33:12-- 
ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a10.tar.bz2
           => `/usr/portage/distfiles/cdrtools-2.01.01a10.tar.bz2'
Resolving ftp.berlios.de... 195.37.77.141
Connecting to ftp.berlios.de|195.37.77.141|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/cdrecord/alpha ... done.
==> SIZE cdrtools-2.01.01a10.tar.bz2 ... done.
==> PASV ... done.    ==> REST 1499765 ... done.    
==> RETR cdrtools-2.01.01a10.tar.bz2 ... done.
Length: 1,499,765 (1.4M), 0 (0) remaining

100%[+++++++++++++++++++++++++++++++++++++] 1,499,765     --.--K/s             

05:33:13 (0.00 B/s) - `/usr/portage/distfiles/cdrtools-2.01.01a10.tar.bz2'
saved [1499765]

!!! Couldn't download cdrtools-2.01.01a10.tar.bz2. Aborting.
PASTE END --------------------------------------------------

This is happening on two seperately administered Gentoo installations. I am
using ~x86. Here is my emerge --info:

PASTE BEGIN ------------------------------------------------
Portage 2.1_rc4-r2 (default-linux/x86/2005.1, gcc-3.4.6/vanilla, glibc-2.4-r3,
2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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/lib/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
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.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac alsa apm arts avi berkdb bitmap-fonts cdr cli crypt
cups dbus doc dri dvd dvdr dvdread eds emboss encode esd flac foomaticdb
fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog jpeg
libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly nsplugin
nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python quicktime
readline reflection samba sdl session spell spl sse ssl svg tcpd truetype
truetype-fonts type1-fonts v4l vorbis win32codecs xml2 xmms xorg xv xvid zlib
elibc_glibc input_devices_keyboard input_devices_mouse input_devices_wacom
kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa
video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
PASTE END --------------------------------------------------

------- Comment #1 From Chris Slycord 2006-06-05 21:10:12 0000 -------
Same here

emerge --info
Portage 2.1_rc4-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3,
2.6.16-ck11 i686)
=================================================================
System uname: 2.6.16-ck11 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.1
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORTERM="gnome-terminal"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe
-fvisibility-inlines-hidden"
DCCC_PATH="/usr/lib/distcc/bin"
DISPLAY=":0.0"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--alphabetical --verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget_limit ${URI} -P ${DISTDIR}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://localhost http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/root"
HUSHLOGIN="FALSE"
HZ="100"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i586-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i586-pc-linux-gnu/4.1.1/info"
INPUT_DEVICES="keyboard mouse"
JAVAC="/opt/blackdown-jdk-1.4.2.03/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JDK_HOME="/opt/blackdown-jdk-1.4.2.03"
KERNEL="linux"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LD_LIBRARY_PATH=":/usr/lib/wine/lib"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i586-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i586-pc-linux-gnu/4.1.1/man::/opt/blackdown-jdk-1.4.2.03/man"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/lib/wine/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64
alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CALLER="emerge"
PORTAGE_CONFIGROOT="/"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="3"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PS1="\[\033[1;35m\]\u\[\033[0m\]@\[\033[1;32m\]\h\[\033[0m\]:\[\033[1;36m\]\w
\[\033[1;31m\]Root \[\033[0m\]\$ "
PWD="/home/chris"
PYTHONPATH="/usr/lib/portage/pym"
RESUMECOMMAND="/usr/bin/wget_limit ${URI} -P ${DISTDIR}"
ROOT="/"
RPMDIR="/usr/portage/rpm"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="7"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 3dnow X aac aalib alsa audiofile avi bash-completion bitmap-fonts
browserplugin bzip2 cdr crypt divx4linux dvd dvdr dvdread encode f77 ffmpeg
fortran gif gnome gtk gtk2 imlib ipv6 jpeg lcms mad mikmod mmx mp3 mpeg ncurses
nls nptl nptlonly nsplugin ogg oggvorbis opengl oss png python quicktime
readline real sdl slang spell sse ssl tcpd tiff truetype unicode userlocales
vorbis win32codecs wmf xml xml2 xmms xv xvid zlib elibc_glibc
input_devices_keyboard input_devices_mouse kernel_linux userland_GNU
video_cards_nvidia"
USER="root"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL
LINGUAS LIRC_DEVICES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="nvidia"
WINDOWID="16777268"
XARGS="xargs -r"
XAUTHORITY="/home/chris/.Xauthority"
_="/usr/bin/emerge"

------- Comment #2 From merwan kashouty 2006-06-05 21:22:27 0000 -------
recreating the digest manually will get it to use the tarball its already
download and build successfully... so cd to /usr/portage/app-cdr/cdrtools/files
dir then do ebuild ../cdrtools-2.10.01_alpha10,ebuild digest then emerge
cdrtools.

------- Comment #3 From Hans Nieser 2006-06-05 21:28:48 0000 -------
(In reply to comment #2)
> recreating the digest manually will get it to use the tarball its already
> download and build successfully... so cd to /usr/portage/app-cdr/cdrtools/files
> dir then do ebuild ../cdrtools-2.10.01_alpha10,ebuild digest then emerge
> cdrtools.
> 

Thanks, this fixed it. I incorrectly disregarded the possiblity of this being
some kind of digest error because it just said the download itself failed

------- Comment #4 From Chris Slycord 2006-06-05 21:31:21 0000 -------
The problem is that portage keeps trying to download because it thinks the file
is. The file is 1499765 bytes long and portage seems to think it is 1500197.

Even if we fixed that the entries for the MD5 and SHA256 sums for it are
different from that for the downloaded file.

And yes, redigesting will fix that. Though, I'd prefer the fix get sent to the
tree itself.

------- Comment #5 From Stefan Schweizer 2006-06-06 01:55:24 0000 -------
+1
Please fix in the tree.

------- Comment #6 From Torsten Veller 2006-06-06 02:51:47 0000 -------
I've package.masked =app-cdr/cdrtools-2.01.01_alpha10 until the new file has
been verified.

Please verify the new tarball and remove the mask

------- Comment #7 From Jakub Moc (RETIRED) 2006-06-06 03:15:58 0000 -------
*** Bug 135743 has been marked as a duplicate of this bug. ***

------- Comment #8 From Lars Weiler (RETIRED) 2006-06-06 04:18:38 0000 -------
It wasn't my fault:
http://lists.berlios.de/pipermail/cdrecord-developers/2006-June/003066.html

The file has been changed after I downloaded it.  I was just one of the 10
early birds who downloaded the first version.

New version verified, commited and package-mask removed.