emerge fails with wrong filesize: >>> Emerging (1 of 1) sys-block/lsiutil-1.62 >>> Downloading 'http://www.lsi.com/downloads/Public/Obsolete/Obsolete%20Common%20Files/LSIUtil_1.62.zip' --2011-12-06 16:29:52-- http://www.lsi.com/downloads/Public/Obsolete/Obsolete%20Common%20Files/LSIUtil_1.62.zip Resolving www.lsi.com... 192.19.195.176 Connecting to www.lsi.com|192.19.195.176|:80... connected. HTTP request sent, awaiting response... 302 Found Location: /Pages/user/eula.aspx?file=http%3a%2f%2fwww.lsi.com%2fdownloads%2fPublic%2fObsolete%2fObsolete%2520Common%2520Files%2fLSIUtil_1.62.zip&Source=http%3a%2f%2fwww.lsi.com%2fdownloads [following] --2011-12-06 16:29:52-- http://www.lsi.com/Pages/user/eula.aspx?file=http%3a%2f%2fwww.lsi.com%2fdownloads%2fPublic%2fObsolete%2fObsolete%2520Common%2520Files%2fLSIUtil_1.62.zip&Source=http%3a%2f%2fwww.lsi.com%2fdownloads Reusing existing connection to www.lsi.com:80. HTTP request sent, awaiting response... 200 OK Length: 85973 (84K) [text/html] Saving to: `/usr/portage/distfiles/LSIUtil_1.62.zip' 100%[====================================================================================================================================================================================>] 85,973 244K/s in 0.3s 2011-12-06 16:29:52 (244 KB/s) - `/usr/portage/distfiles/LSIUtil_1.62.zip' saved [85973/85973] ('Filesize does not match recorded size', 85973L, 2544375) !!! Fetched file: LSIUtil_1.62.zip VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 85973 !!! Expected: 2544375 Refetching... File renamed to '/usr/portage/distfiles/LSIUtil_1.62.zip._checksum_failure_.skYP8e' !!! Couldn't download 'LSIUtil_1.62.zip'. Aborting. ################################################################################ Although I don't think it is relevant, here's my emerge--info: Portage 2.1.10.11 (hardened/linux/x86, gcc-4.5.3-hardenednopie, unavailable, 2.6.32-hardened-r9 i686) ================================================================= System uname: Linux-2.6.32-hardened-r9-i686-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.0.3 Timestamp of tree: Mon, 05 Dec 2011 18:45:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.5.4-r4, 2.6.5-r2, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 dev-util/pkgconfig: 0.23 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 3.4.6-r2, 4.3.4, 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.30-r1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo x-portage ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://distfiles.gentoo.org http://www.biblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.ucsd.edu/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm hardened iconv modules mudflap ncurses nls nptl nptlonly openmp pam pax_kernel pcre pic pppd readline session ssl symlink sysfs tcpd urandom x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 authn_file authz_host authz_user authz_default auth_basic auth_digest alias charset_lite cache disk_cache mem_cache ext_filter deflate filter mime_magic expires headers usertrack unique_id info include cgi cgid speling rewrite log_config logio env setenvif mime status asis negotiation dir so" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The failure seems to be because lsi is asking for an acceptance to their download conditiuons byt throwing up this page: http://www.lsi.com/Pages/user/eula.aspx?file=http%3a%2f%2fwww.lsi.com%2fdownloads%2fPublic%2fObsolete%2fObsolete%2520Common%2520Files%2fLSIUtil_1.62.zip&Source=http%3a%2f%2fwww.lsi.com%2fdownloads
Yes, downloading manually fixes the problem. Please add fetch restriction to ebuild.
Oh, how wonderful ...
So, LSI now demands registration. Very bad form ... fetch restriction added, I'll see if I can actually manage to fetch it.
Reopen: RESTRICT is defined twice in the ebuild now, the latter overwriting "fetch" with "mirror bindist". Please merge the two RESTRICT statements!
Broken again. the .zip file seems to have shrunk by 199769 bytes with no changes in version. monoliz distfiles # emerge lsiutil Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-block/lsiutil-1.62-r1 !!! Previously fetched file: 'LSIUtil_1.62.zip' !!! Reason: Filesize does not match recorded size !!! Got: 2344606 !!! Expected: 2544375 Refetching... File renamed to '/usr/portage/distfiles/LSIUtil_1.62.zip._checksum_failure_.nDpSML' !!! sys-block/lsiutil-1.62-r1 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Fetch failed for 'sys-block/lsiutil-1.62-r1', Log file: * '/var/tmp/portage/sys-block/lsiutil-1.62-r1/temp/build.log' * Upstream has implemented a mandatory clickthrough EULA for distfile download * Please visit http://www.lsi.com/downloads/Public/Obsolete/Obsolete%20Common%20Files/LSIUtil_1.62.zip * And place LSIUtil_1.62.zip in /usr/portage/distfiles >>> Failed to emerge sys-block/lsiutil-1.62-r1, Log file: >>> '/var/tmp/portage/sys-block/lsiutil-1.62-r1/temp/build.log' * Messages for package sys-block/lsiutil-1.62-r1: * Fetch failed for 'sys-block/lsiutil-1.62-r1', Log file: * '/var/tmp/portage/sys-block/lsiutil-1.62-r1/temp/build.log' monoliz distfiles #