Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131530 - Wrong Filesize for several modular-xorg ebuilds
Summary: Wrong Filesize for several modular-xorg ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 19:49 UTC by Chris Slycord
Modified: 2006-04-28 08:52 UTC (History)
1 user (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 Chris Slycord 2006-04-27 19:49:30 UTC
emerge bigreqsproto -f
Calculating dependencies... done!
>>> Emerging (1 of 1) x11-proto/bigreqsproto-1.0.2 to /
>>> Downloading http://xorg.freedesktop.org/releases/individual/proto/bigreqsproto-1.0.2.tar.bz2
--19:25:31--  http://xorg.freedesktop.org/releases/individual/proto/bigreqsproto-1.0.2.tar.bz2
           => `/usr/portage/distfiles/bigreqsproto-1.0.2.tar.bz2'
Resolving xorg.freedesktop.org... 131.252.208.36
Connecting to xorg.freedesktop.org|131.252.208.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36,676 (36K) [application/x-tar]

100%[====================================>] 36,676        84.51K/s

19:25:31 (84.27 KB/s) - `/usr/portage/distfiles/bigreqsproto-1.0.2.tar.bz2' saved [36676/36676]

('Filesize does not match recorded size', 36676L, 36631)
!!! Fetched file: bigreqsproto-1.0.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      Filesize does not match recorded size
!!! Expected: 36676
Removing corrupt distfile...
>>> Downloading http://xorg.freedesktop.org/releases/X11R7.0/src/everything/bigreqsproto-1.0.2.tar.bz2
--19:25:31--  http://xorg.freedesktop.org/releases/X11R7.0/src/everything/bigreqsproto-1.0.2.tar.bz2
           => `/usr/portage/distfiles/bigreqsproto-1.0.2.tar.bz2'
Resolving xorg.freedesktop.org... 131.252.208.36
Connecting to xorg.freedesktop.org|131.252.208.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36,676 (36K) [application/x-tar]

100%[====================================>] 36,676        80.89K/s

19:25:32 (80.72 KB/s) - `/usr/portage/distfiles/bigreqsproto-1.0.2.tar.bz2' saved [36676/36676]

('Filesize does not match recorded size', 36676L, 36631)
!!! Fetched file: bigreqsproto-1.0.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      Filesize does not match recorded size
!!! Expected: 36676
Removing corrupt distfile...
!!! Couldn't download bigreqsproto-1.0.2.tar.bz2. Aborting.

!!! Fetch for /usr/portage/x11-proto/bigreqsproto/bigreqsproto-1.0.2.ebuild failed, continuing...



!!! Some fetch errors were encountered.  Please see above for details.

emerge --info
Portage 2.1_pre9-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-ck6-r1 i686)
=================================================================
System uname: 2.6.16-ck6-r1 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.0_pre18
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.2-r1
sys-apps/sandbox:    1.2.17
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="i586-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O3 -fweb -frename-registers -fforce-addr -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://localhost http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
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="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 pam 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"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS

So I can verify it happens with:
1) x11-proto/bigreqsproto-1.0.2
2) x11-proto/inputproto-1.3.2
3) x11-libs/libXau-1.0.0

As far as I can tell, every modular xorg ebuild that requires only downloading from the upstream mirrors (http://xorg.freedesktop.org/releases/individual and http://xorg.freedesktop.org/releases/X11R7.0/src/everything) has problems. Perhaps the xorg team changed the sources file w/o telling anyone?
Comment 1 Chris Slycord 2006-04-27 23:58:52 UTC
Happens with at least the following.
!!! Fetch for /usr/portage/x11-proto/inputproto/inputproto-1.3.2.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXau/libXau-1.0.0.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXdmcp/libXdmcp-1.0.0.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/xtrans/xtrans-1.0.0.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libICE/libICE-1.0.0.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libSM/libSM-1.0.0.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXfixes/libXfixes-3.0.1.2.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXext/libXext-1.0.0-r1.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXt/libXt-1.0.0-r1.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-proto/fontcacheproto/fontcacheproto-0.1.2.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-apps/bdftopcf/bdftopcf-1.0.0.ebuild failed, continuing...

!!! Fetch for /usr/portage/x11-libs/libXdamage/libXdamage-1.0.2.2.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXxf86dga/libXxf86dga-1.0.0-r1.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-apps/xmodmap/xmodmap-1.0.0.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-proto/randrproto/randrproto-1.1.2.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXxf86misc/libXxf86misc-1.0.0-r1.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/liblbxutil/liblbxutil-1.0.0.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXrender/libXrender-0.9.0.2.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-proto/dmxproto/dmxproto-2.2.2.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-apps/rgb/rgb-1.0.0.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXres/libXres-1.0.0-r1.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-proto/evieext/evieext-1.0.2.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXxf86vm/libXxf86vm-1.0.0-r1.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXi/libXi-1.0.0-r1.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXcursor/libXcursor-1.1.5.2-r1.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-proto/printproto/printproto-1.0.3.ebuild failed, continuing...
!!! Fetch for /usr/portage/x11-libs/libXp/libXp-1.0.0.ebuild failed, continuing...
Comment 2 Chris Slycord 2006-04-28 00:10:26 UTC
I can confirm that the problem is with upstream changing the distfiles while leaving the package version unchanged.
When I edited the Manifest to use the size of the file that's actually being downloaded, it instead failed because of bad hashes.

AFAICT, what has to happen is for each ebuild that uses the external mirror, redownload the files and create new manifests and digests for those.
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2006-04-28 07:52:05 UTC
It looks like something went wrong when this was recommitted as part of bug 131396, probably related to the mirror restriction these packages have. I am fixing them up, verifying if the checksum I commit matches what was there before they were recommitted. This will take some time.
Comment 4 Marien Zwart (RETIRED) gentoo-dev 2006-04-28 08:30:58 UTC
Everything in x11-* should be fixed now. I'm checking and fixing the rest of the affected packages.
Comment 5 Marien Zwart (RETIRED) gentoo-dev 2006-04-28 08:52:06 UTC
Looks like nothing else was affected. Closing this, please reopen if I missed anything. (be aware that this is fixed in cvs, wait about an hour after my previous comment for this to reach rsync).