User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) Build Identifier: I've been trying to emerge dev-lang/swi-prolog-5.6.23. No matter if the source file (pl-5.6.23.tar.gz) is in /usr/portage/distfiles or not, portage redownloads the file and fails. Here's the output, which is repeated every time: >>> Emerging (1 of 1) dev-lang/swi-prolog-5.6.23 to / >>> Resuming download... >>> Downloading 'http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/pl-5.6.23.tar.gz' --09:17:50-- http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/pl-5.6.23.tar.gz => `/usr/portage/distfiles/pl-5.6.23.tar.gz' Resolving ftp.belnet.be... 193.190.198.20, 2001:6a8:3c80:0:203:baff:fe39:f931 Connecting to ftp.belnet.be|193.190.198.20|:80... connected. HTTP request sent, awaiting response... 404 Not Found 09:17:50 ERROR 404: Not Found. >>> Resuming download... >>> Downloading 'http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-5.6.23.tar.gz' --09:17:50-- http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-5.6.23.tar.gz => `/usr/portage/distfiles/pl-5.6.23.tar.gz' Resolving gollem.science.uva.nl... 146.50.26.20 Connecting to gollem.science.uva.nl|146.50.26.20|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11,547,357 (11M) [application/octet-stream] 50% [===================================================================> ] 11,547,357 56.47K/s ETA 01:42 09:19:32 (110.46 KB/s) - `/usr/portage/distfiles/pl-5.6.23.tar.gz' saved [11547357/11547357] !!! Couldn't download 'pl-5.6.23.tar.gz'. Aborting. I also tried downloading manually with no success. Reproducible: Always Steps to Reproduce: Portage 2.1.2_rc1-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r2 i686) ================================================================= System uname: 2.6.18-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1300MHz Gentoo Base System version 1.12.6 Last Sync: Mon, 13 Nov 2006 02:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -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/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="POSIX" LC_ALL="POSIX" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j1" 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.europe.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acpi alsa asf audiofile avi bash-completion bindist bitmap-fonts branding browserplugin bzip2 bzlib cairo calendar cdparanoia cdr cli cpdflib cracklib crypt ctype cups dba dbus dedicated dga dio directfb dlloader doc dri dts dvd dvdr dvdread elibc_glibc encode ethereal exif exscalibar fbcon ffmpeg firefox flac flash fortran ftp gcj gd ggi gif gimp glitz glut gpm gtk gtk2 hal hou howl iconv icq ilbc imagemagick imap imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jabber java javascript jce jpeg junit kde kdeenablefinal kdehiddenvisibility kernel_linux lame lcms libcaca libwww linguas_en live mad matroska mcal ming mmap mmx mmx2 mozbranding moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi msn ncurses network nis nls nocd nowin nptl nptlonly nsplugin nvidia offensive ogg ole openal opengl pam pcmcia pdf pdflib perl pic pie plotutils png portaudio posix ppds pppd prelude python qt3 qt4 quicktime quinnstorm readline reflection samba scanner sdl session sharedext simplexml slang sndfile soap sockets sou sound speex spell spl sqlite sqlite3 sse sse2 ssl subversion svg symlink tcpd tetex theora threads tiff tokenizer truetype truetype-fonts trusted type1-fonts udev unicode usb userland_GNU userlocales utf v4l v4l2 vcd video video_cards_nv video_cards_nvidia videos vidix-voodoo3 visualization vorbis vorbix wifi win32codecs wmf wxwindows x264 x86 xcomposite xft xine xinerama xml xml2 xorg xprint xsl xv xvid zlib zrtp" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
according to digest-swi-prolog-5.6.23 the file should be 11.549.939 bytes large, the mirror gives 11.547.357 bytes. try switching mirrors first, maybe the digest is wrong.
Thanks for reporting this. It looks like upstream re-released a tarball with an updated ssl configure script. This is now fixed in cvs; we'll use the updated tarball too. Keri.
I switched mirrors today, and did an emerge --sync. Now I get: >>> Emerging (1 of 1) dev-lang/swi-prolog-5.6.23 to / * pl-5.6.23.tar.gz MD5 ;-) ... [ ok ] * pl-5.6.23.tar.gz RMD160 ;-) ... [ ok ] * pl-5.6.23.tar.gz SHA1 ;-) ... [ ok ] * pl-5.6.23.tar.gz SHA256 ;-) ... [ ok ] * pl-5.6.23.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking pl-5.6.23.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking pl-5.6.23.tar.gz to /var/tmp/portage/dev-lang/swi-prolog-5.6.23/work * Applying swi-prolog-portage-r1.patch ... [ ok ] * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r3.patch * ( swi-prolog-CFLAGS-r3.patch ) !!! ERROR: dev-lang/swi-prolog-5.6.23 failed. Call stack: ebuild.sh, line 1568: Called dyn_unpack ebuild.sh, line 708: Called src_unpack swi-prolog-5.6.23.ebuild, line 42: Called epatch '/usr/portage/dev-lang/swi-prolog/files/swi-prolog-CFLAGS-r3.patch' eutils.eclass, line 198: Called die !!! Cannot find $EPATCH_SOURCE! !!! If you need support, post the topmost build error, and the call stack if relevant. Is this related in any way?