Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285902 - app-emulation/virtualbox-bin-3.0.6-r1 : emerge fetches VirtualBox-3.0.6-52130-Linux_amd64.run?<a brunch of exadecimal codes> and it cannot find the distfile after downloading
Summary: app-emulation/virtualbox-bin-3.0.6-r1 : emerge fetches VirtualBox-3.0.6-52130...
Status: RESOLVED DUPLICATE of bug 239439
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 06:32 UTC by Marcello Magaldi
Modified: 2009-09-28 06:53 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 Marcello Magaldi 2009-09-22 06:32:35 UTC
If I try to emerge virtualbox-bin-3.0.6-r1 the downloaded file its named, for example :
VirtualBox-3.0.6-52130-Linux_amd64.run?e=1253600916&h=d183ded985fbf552da74f7dcd866ced5

but emerge is looking for a file named VirtualBox-3.0.6-52130-Linux_amd64.run so it fails telling fetch failed. The only way to solve is to move manually the file to VirtualBox-3.0.6-52130-Linux_amd64.run and then emerge.

Reproducible: Always

Steps to Reproduce:
1.emerge -f =app-emulation/virtualbox-bin-3.0.6-r1
2.
3.

Actual Results:  
wrong filename

Expected Results:  
fetch should be successful

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 22 Sep 2009 05:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.jamit.de/gentoo/ http://gentoo.mneisen.org/ http://gentoo.tiscali.nl/"
LANG="it_IT.UTF-8@euro"
LC_ALL="it_IT.UTF-8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it en en_US en_GB"
MAKEOPTS="-j7"
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 /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr amrnb amrwb apache2 applet arts aspnet audiofile avahi bash-completion beagle berkdb bluetooth branding bzip2 c++ cairo cdaudio cdda cddb cdparanoia cdr chm cli cracklib crypt css cups cvs cxx dbus dga dri dts dv dvb dvd dvdnav dvdr eds emacs emboss encode epiphany esd evo exif expat fam fame ffmpeg firefox flac foomaticdb fortran ftp fuse galago gd gdbm gif gimp git glade gnome gnome-keyring gnome-print gnutls gphoto2 gpm gstreamer gtk guile hal hddtemp iconv id3tag imagemagick inotify ipv6 isdnlog jabber java java6 javascript joystick jpeg kde kpathsea ladspa lame latex lcms ldap libnotify libsamplerate live lm_sensors logitech-mouse lzo mad matroska mikmod mjpeg mmx mmxext modules mono mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql nautilus ncurses network nls nptl nptlonly nsplugin nuv nvidia odbc offensive ogg ogm opengl openmp pam pcre pdf perl php plotutils png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba scanner scrobbler sdl session shout smp sndfile socks5 sourceview speex spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog taglib tcpd theora threads thunar thunderbird tiff timidity truetype twolame unicode upnp usb v4l v4l2 vcd videos vim-syntax vorbis wavpack wma wmf wxwidgets wxwindows x264 xcb xcomposite xemacs xine xml xorg xulrunner xv xvid xvmc yahoo 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en en_US en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-09-27 19:26:33 UTC
emerge should have saved the file as VirtualBox-3.0.6-52130-Linux_amd64.run (and this works here). What file system are you using for $DISTFILES? Please post the output of "emerge --ignore-default-opts -f virtualbox-bin".
Comment 2 Marcello Magaldi 2009-09-28 06:22:36 UTC
(In reply to comment #1)
> emerge should have saved the file as VirtualBox-3.0.6-52130-Linux_amd64.run
> (and this works here). What file system are you using for $DISTFILES? Please
> post the output of "emerge --ignore-default-opts -f virtualbox-bin".
> 

mine distfiles dir is a nfs filesystem 

 emerge --ignore-default-opts -f virtualbox-bin
Calculating dependencies... done!

>>> Fetching (1 of 1) app-emulation/virtualbox-bin-3.0.6-r1
!!! FETCHCOMMAND does not contain the required ${FILE} parameter.
!!! Refer to the make.conf(5) man page for information about how to
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND.
>>> Downloading 'http://download.virtualbox.org/virtualbox/3.0.6/VirtualBox-3.0.6-52130-Linux_amd64.run'
Searching for a previously downloaded file in /usr/portage/distfiles

No old version of the requested file found.

The dtu could not be fetched, downloading full file from original URL

--2009-09-28 08:17:36--  http://download.virtualbox.org/virtualbox/3.0.6/VirtualBox-3.0.6-52130-Linux_amd64.run
Risoluzione di download.virtualbox.org... 72.5.124.114
Connessione a download.virtualbox.org|72.5.124.114|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 302 Moved Temporarily
Posizione: http://dlc-cdn.sun.com/virtualbox/3.0.6/VirtualBox-3.0.6-52130-Linux_amd64.run [segue]
--2009-09-28 08:17:40--  http://dlc-cdn.sun.com/virtualbox/3.0.6/VirtualBox-3.0.6-52130-Linux_amd64.run
Risoluzione di dlc-cdn.sun.com... 87.248.216.53, 87.248.216.58
Connessione a dlc-cdn.sun.com|87.248.216.53|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 302 Found
Posizione: http://dlc-cdn-rd.sun.com/c1/virtualbox/3.0.6/VirtualBox-3.0.6-52130-Linux_amd64.run?e=1254118960&h=763fe8f90b2d5197612c10d4dec2cee2 [segue]
--2009-09-28 08:17:40--  http://dlc-cdn-rd.sun.com/c1/virtualbox/3.0.6/VirtualBox-3.0.6-52130-Linux_amd64.run?e=1254118960&h=763fe8f90b2d5197612c10d4dec2cee2
Risoluzione di dlc-cdn-rd.sun.com... 87.248.218.40, 87.248.217.103
Connessione a dlc-cdn-rd.sun.com|87.248.218.40|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 50400682 (48M) [application/octet-stream]
Salvataggio in: "VirtualBox-3.0.6-52130-Linux_amd64.run?e=1254118960&h=763fe8f90b2d5197612c10d4dec2cee2"

100%[======================================>] 50.400.682  1,01M/s   in 49s     

2009-09-28 08:18:31 (1001 KB/s) - "VirtualBox-3.0.6-52130-Linux_amd64.run?e=1254118960&h=763fe8f90b2d5197612c10d4dec2cee2" salvato [50400682/50400682]

!!! Couldn't download 'VirtualBox-3.0.6-52130-Linux_amd64.run'. Aborting.
 * Fetch failed for 'app-emulation/virtualbox-bin-3.0.6-r1'

>>> Failed to emerge app-emulation/virtualbox-bin-3.0.6-r1
Comment 3 Marcello Magaldi 2009-09-28 06:25:51 UTC
perhaps it was a getdelta related issue since disabling it makes it work
Comment 4 Sebastian Luther (few) 2009-09-28 06:53:57 UTC
(In reply to comment #3)
> perhaps it was a getdelta related issue since disabling it makes it work
> 

!!! FETCHCOMMAND does not contain the required ${FILE} parameter.
!!! Refer to the make.conf(5) man page for information about how to
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND.

emerge needs a way to tell it what the local file name is.

*** This bug has been marked as a duplicate of bug 239439 ***