Awstats could not be emerged due to a bad filesize error; perhaps the ebuild contains invalid information or the source is corrupted. ebuild /usr/portage/net-www/awstats/awstats-6.9.ebuild digest doesnt solve the problem. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge awstats Actual Results: Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-www/awstats-6.9 >>> Downloading 'http://awstats.sourceforge.net/files/awstats-6.9.tar.gz' --2008-12-29 09:53:23-- http://awstats.sourceforge.net/files/awstats-6.9.tar.gz Resolving awstats.sourceforge.net... 216.34.181.96 Connecting to awstats.sourceforge.net|216.34.181.96|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1125906 (1.1M) [application/x-gzip] Saving to: `/usr/portage/distfiles/awstats-6.9.tar.gz' 100%[======================================>] 1,125,906 547K/s in 2.0s 2008-12-29 09:53:26 (547 KB/s) - `/usr/portage/distfiles/awstats-6.9.tar.gz' saved [1125906/1125906] ('Filesize does not match recorded size', 1125906, 1119911) !!! Fetched file: awstats-6.9.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 1125906 !!! Expected: 1119911 Refetching... File renamed to '/usr/portage/distfiles/awstats-6.9.tar.gz._checksum_failure_.zIYOHx' !!! Couldn't download 'awstats-6.9.tar.gz'. Aborting. * Fetch failed for 'net-www/awstats-6.9', Log file: * '/var/tmp/portage/net-www/awstats-6.9/temp/build.log' >>> Failed to emerge net-www/awstats-6.9, Log file: >>> '/var/tmp/portage/net-www/awstats-6.9/temp/build.log' * Messages for package net-www/awstats-6.9: * Fetch failed for 'net-www/awstats-6.9', Log file: * '/var/tmp/portage/net-www/awstats-6.9/temp/build.log' emerge --info Portage 2.1.6.4 (default/linux/amd64/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64) ================================================================= System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-glibc2.2.5 Timestamp of tree: Mon, 29 Dec 2008 08:30:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r9, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=athlon64 -msse3 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=athlon64 -msse3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl ads amd64 apache2 async authdaemond automount bash-completion berkdb bzip2 cgi cli courier cracklib crypt ctype cups curl dri enscript exif fastcgi force-cgi-redirect fortran ftp gd gdbm gpm hardened iconv imap innodb ipv6 isdnlog jpeg ldap libwww lm_sensors maildir mailwrapper midi mmx mudflap multilib mysql mysqli ncurses nls nptl nptlonly offensive openmp pam pcre pdo perl php png posix postfix pppd python readline reflection reiserfs ruby sasl session silvercity simplexml snmp sockets softquota spl sqlite sse sse2 ssl ssmtp subversion suexec suhosin svn symlink sysfs syslog szip tcl tcpd threads truetype unicode urandom vhosts vim-syntax winbind xml xml2 xmlreader xmlrpc xmlwriter xorg xsl zip 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Same problem here. Interesting that Awstats' webpage says 6.9 was released 12/28/08 (yesterday), yet this ebuild has been around for over a month...
Thanks for the report. It sounds like the awstats project was releasing betas and kept writing over the same file (bug 246977). Good that the release is final now, so the tarball should not change again and make the Manifest outdated...
Does this mean that it will actually get fixed? The file size problem still occurs.
Is there anything I can do to help this get fixed? I really need to put awstats on a client's new web server. Rather than install it twice, I'd rather spend the extra effort getting the problem fixed.
I got the same behaviour as in the first report. However, an "ebuild awstats-6.9.ebuild manifest" fixed the problem for me after downloading the file.
Change in /usr/portage/net-www/awstats/Manifest DIST awstats-6.9.tar.gz 1119911 RMD160 26b24aa9fe6e90741af502456bea7829213b06f0 SHA1 3c3d75a6cd74f0d3f26a23a1877f6a8847ea8092 SHA256 26f6fe0b2ed735418733b85dcf918302a4cd12b96d791e04a4507588e5aa2ba7 on DIST awstats-6.9.tar.gz 1125906 RMD160 339af2df9c44713d632b4d1ae3d733132f7b0bab SHA1 5ad8485eab04147b20adf5e8a7bdd5b6d3e2468b SHA256 c5e288d05c71c5692c59625aa4bcf4c9b41ee0c46cb9b83e7dcac6510bb8b04f Pre-making backup, I solved the problem
similar solution: # cd /usr/portage/net-www/awstats # ebuild --force awstats-6.9.ebuild digest # emerge awstats see "man ebuild" for more info on "force"
Created attachment 179491 [details] overlay ebuild with corrected Manifest attached overlay ebuild with corrected Manifest
*** Bug 255535 has been marked as a duplicate of this bug. ***
6.9-r1 with fixed manifest commited, thanks