Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296369 - sys-apps/portage-2.1.7.12 and 2.2_rc57 fetch fails due to URI corruption
Summary: sys-apps/portage-2.1.7.12 and 2.2_rc57 fetch fails due to URI corruption
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
: 296377 296438 296439 (view as bug list)
Depends on:
Blocks: 288499
  Show dependency tree
 
Reported: 2009-12-10 06:43 UTC by Oschtan
Modified: 2010-01-30 09:56 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix the fetch problem (fetch.patch,501 bytes, patch)
2009-12-10 07:03 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oschtan 2009-12-10 06:43:07 UTC
emerge -f virtualbox-bin                                           
Calculating dependencies... done!                                                 

>>> Fetching (1 of 2) app-emulation/virtualbox-modules-3.1.0
 * vbox-kernel-module-src-3.1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]

>>> Fetching (2 of 2) app-emulation/virtualbox-bin-3.1.0
>>> Downloading 'VirtualBox-3.1.0-55467-Linux_amd64.run'
--2009-12-10 12:11:14--  http://virtualbox-3.1.0-55467-linux_amd64.run/
Распознаётся virtualbox-3.1.0-55467-linux_amd64.run... сбой: Неизвестный хост.
wget: unable to resolve host address «virtualbox-3.1.0-55467-linux_amd64.run» 
!!! Couldn't download 'VirtualBox-3.1.0-55467-Linux_amd64.run'. Aborting.     
 * Fetch failed for 'app-emulation/virtualbox-bin-3.1.0'

Reproducible: Always

Steps to Reproduce:




Portage 2.2_rc56 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r5 x86_64)
=================================================================                             
System uname: Linux-2.6.31-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 10 Dec 2009 04:45:02 +0000                                                      
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL sun-prerelease-jdk7"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
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/X11/xkb /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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linux.nsu.ru/gentoo-distfiles http://mirror.yandex.ru/gentoo-distfiles http://trumpetti.atm.tut.fi/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://distfiles.gentoo.org ftp://seclorum.msk.ru/etc/gentoo/portage"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
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://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi additions alsa amd64 amr amrnb amrwb ao apm applet audacious audiofile avahi bdf berkdb bindist bzip2 cairo cdparanoia cdr cgi cjk clamav cli color-console consolekit cracklib crypt cups cxx dbus divx djvu dri drm dts dvd dvdr dvdread emerald enca encode exif fbcondecor ffmpeg fortran ftp fuse gd gecko gif gimp glitz gmedia gphoto2 gpm graphviz gtk gtkhtml hal hddtemp hdri htmlhandbook icons iconv icq imagemagick imlib java javascript jbig jpeg jpeg2k kde lame lcms lm_sensors lzma mad mdnsresponder-compat midi mikmod mime mjpeg mmx mng modules motif mp2 mp3 mp4 mpeg mplayer mudflap multilib multitarget ncurses network nls nova npp nptl nptlonly nsplugin oav objc objc++ objc-gc ogg openexr opengl openmp oscar pam pcre pdf perl pertty plotutils png povray ppds pppd python qt3 qt3support qt4 quicktime rar rcc readline realmedia reflection rtc samba sdl sensord session sndfile sound source spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification subversion suid svg symlink sysfs syslog szip tcpd theora tidy tiff truetype type1 unicode unsupported usb userlocales utempter vcd visualization vorbis wma wmf wmp x264 x264-svn-encoder xattr xcb xcomposite xml xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="intel-hda" 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" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1006" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2009-12-10 07:03:18 UTC
Created attachment 212592 [details, diff]
fix the fetch problem

Save as /tmp/fetch.patch and apply as follows:

  patch /usr/lib/portage/pym/portage/__init__.py /tmp/fetch.patch

This is fixed in 2.1.7.13 and 2.2_rc58.
Comment 2 Zac Medico gentoo-dev 2009-12-10 09:29:59 UTC
*** Bug 296377 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-10 18:40:26 UTC
*** Bug 296438 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-10 18:58:23 UTC
*** Bug 296439 has been marked as a duplicate of this bug. ***
Comment 5 Talamona Francesco 2010-01-30 09:19:42 UTC
This isn't fixed for me, how can I reopen this bug report?

It does the same with portage 2.2_rc62 and 2.2_rc61

[10:07] 
[root@aemaeth:/usr/portage/distfiles]$ emerge -f virtualbox-bin
Calculating dependencies   * waiting for lock on /var/db/.pkg.portage_lockfile
 ...                                                                                                                                                                                                                [ ok ]                                                   ... done!                                   

>>> Fetching (1 of 1) app-emulation/virtualbox-bin-3.1.2
 * VirtualBox-3.1.2-56127-Linux_amd64.run RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                                [ ok ]
>>> Downloading 'http://download.virtualbox.org/virtualbox/3.1.2/VirtualBoxSDK-3.1.2-56127.zip'
--2010-01-30 10:08:28--  http://download.virtualbox.org/virtualbox/3.1.2/VirtualBoxSDK-3.1.2-56127.zip
Resolving download.virtualbox.org... 72.5.124.114
Connecting to download.virtualbox.org|72.5.124.114|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://dlc-cdn.sun.com/virtualbox/3.1.2/VirtualBoxSDK-3.1.2-56127.zip [following]
--2010-01-30 10:08:29--  http://dlc-cdn.sun.com/virtualbox/3.1.2/VirtualBoxSDK-3.1.2-56127.zip
Resolving dlc-cdn.sun.com... 87.248.195.134
Connecting to dlc-cdn.sun.com|87.248.195.134|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://dlc-cdn-rd.sun.com/c1/virtualbox/3.1.2/VirtualBoxSDK-3.1.2-56127.zip?e=1264842809&h=b02aa98c306ae8c89c4af9ca0f3485ac [following]
--2010-01-30 10:08:29--  http://dlc-cdn-rd.sun.com/c1/virtualbox/3.1.2/VirtualBoxSDK-3.1.2-56127.zip?e=1264842809&h=b02aa98c306ae8c89c4af9ca0f3485ac
Resolving dlc-cdn-rd.sun.com... 87.248.218.147, 87.248.218.119
Connecting to dlc-cdn-rd.sun.com|87.248.218.147|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8240501 (7.9M) [application/zip]
Saving to: “/usr/portage/distfiles/VirtualBoxSDK-3.1.2-56127.zip?e=1264842809&h=b02aa98c306ae8c89c4af9ca0f3485ac”

100%[======================================================================================================================================================================================================================================>] 8,240,501    839K/s   in 9.6s    

2010-01-30 10:08:38 (841 KB/s) - “/usr/portage/distfiles/VirtualBoxSDK-3.1.2-56127.zip?e=1264842809&h=b02aa98c306ae8c89c4af9ca0f3485ac” saved [8240501/8240501]

--2010-01-30 10:08:38--  http://virtualboxsdk-3.1.2-56127.zip/
Resolving virtualboxsdk-3.1.2-56127.zip... failed: Unknown host.
wget: unable to resolve host address “virtualboxsdk-3.1.2-56127.zip”
FINISHED --2010-01-30 10:08:38--
Downloaded: 1 files, 7.9M in 9.6s (841 KB/s)
!!! Couldn't download 'VirtualBoxSDK-3.1.2-56127.zip'. Aborting.
 * Fetch failed for 'app-emulation/virtualbox-bin-3.1.2'

>>> Failed to emerge app-emulation/virtualbox-bin-3.1.2
[10:08] 
[root@aemaeth:/usr/portage/distfiles]$ ll VirtualBoxSDK-3.1.2*
-rw-rw-r-- 1 portage portage 8240501 17 dic 14:48 VirtualBoxSDK-3.1.2-56127.zip?e=1264842809&h=b02aa98c306ae8c89c4af9ca0f3485ac
[10:09] 
[root@aemaeth:/usr/portage/distfiles]$ emerge --version
Portage 2.2_rc62 (default/linux/amd64/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r1, 2.6.32-gentoo-r2 x86_64)
[10:10] 
[root@aemaeth:/usr/portage/distfiles]$ mv 'VirtualBoxSDK-3.1.2-56127.zip?e=1264842809&h=b02aa98c306ae8c89c4af9ca0f3485ac' VirtualBoxSDK-3.1.2-56127.zip
[10:10] 
[root@aemaeth:/usr/portage/distfiles]$ emerge -f virtualbox-bin
Calculating dependencies                 ... done!

>>> Fetching (1 of 1) app-emulation/virtualbox-bin-3.1.2
 * VirtualBox-3.1.2-56127-Linux_amd64.run RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                                [ ok ]
 * VirtualBoxSDK-3.1.2-56127.zip RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...
Comment 6 Zac Medico gentoo-dev 2010-01-30 09:25:00 UTC
(In reply to comment #5)
> This isn't fixed for me, how can I reopen this bug report?

That's a different issue. Please file a new bug.
Comment 7 Talamona Francesco 2010-01-30 09:56:58 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > This isn't fixed for me, how can I reopen this bug report?
> 
> That's a different issue. Please file a new bug.
> 

Thanks Zac, this is now bug 302856