Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436974 - dev-lang/php-5.3.17: No mirrors available for file 'php-patchset-5.3.17-r0.tar.bz2'
Summary: dev-lang/php-5.3.17: No mirrors available for file 'php-patchset-5.3.17-r0.ta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 431026
  Show dependency tree
 
Reported: 2012-10-02 15:10 UTC by Paul Varner (RETIRED)
Modified: 2012-10-08 20:50 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 Paul Varner (RETIRED) gentoo-dev 2012-10-02 15:10:40 UTC
Emerge fails to emerge and install dev-lang/php-5.3.17 due to the following error:

Warning: No mirrors available for file 'php-patchset-5.3.17-r0.tar.bz2'
 * Fetch failed for 'dev-lang/php-5.3.17', Log file:
 *  '/var/log/portage/dev-lang:php-5.3.17:20121002-150437.log'

# emerge --info =dev-lang/php-5.3.17
Portage 2.1.11.23 (default/linux/amd64/10.0/no-multilib, gcc-4.5.4, glibc-2.15-r3, 3.2.1-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Xeon-R-_CPU_X5650_@_2.67GHz-with-gentoo-2.2
Timestamp of tree: Tue, 02 Oct 2012 07:45:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.6.8, 2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.4
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/www/localhost/htdocs/roundcube/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.osuosl.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 apache2 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv mmx modules mudflap ncurses nls nptl openmp pam pppd readline session sse sse2 ssl tcpd unicode 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3 php5-4" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa" 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"
USE_PYTHON="2.6"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-02 16:37:55 UTC
Works fine here:

cvs/gentoo-x86/dev-lang/php $ USE='-exif -truetype' ebuild php-5.3.17.ebuild fetch
Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY...
>>> Downloading 'http://www.php.net/distributions/php-5.3.17.tar.bz2'
--2012-10-02 18:35:52--  http://www.php.net/distributions/php-5.3.17.tar.bz2
Resolving www.php.net (www.php.net)... 69.147.83.199
Connecting to www.php.net (www.php.net)|69.147.83.199|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11326372 (11M) [application/octet-stream]
Saving to: `/world/distfiles/php-5.3.17.tar.bz2'

100%[==========================================================================================>] 11,326,372  2.79M/s   in 4.8s

2012-10-02 18:35:57 (2.23 MB/s) - `/world/distfiles/php-5.3.17.tar.bz2' saved [11326372/11326372]

 * php-5.3.17.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                   [ ok ]
>>> Downloading 'http://dev.gentoo.org/~olemarkus/php/php-patchset-5.3.17-r0.tar.bz2'
--2012-10-02 18:35:58--  http://dev.gentoo.org/~olemarkus/php/php-patchset-5.3.17-r0.tar.bz2
Resolving dev.gentoo.org (dev.gentoo.org)... 140.211.166.183
Connecting to dev.gentoo.org (dev.gentoo.org)|140.211.166.183|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7364 (7.2K) [application/x-bzip2]
Saving to: `/world/distfiles/php-patchset-5.3.17-r0.tar.bz2'

100%[==========================================================================================>] 7,364       --.-K/s   in 0s

2012-10-02 18:35:58 (4.21 MB/s) - `/world/distfiles/php-patchset-5.3.17-r0.tar.bz2' saved [7364/7364]

 * php-patchset-5.3.17-r0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                       [ ok ]
 * checking ebuild checksums ;-) ...      [ ok ]
 * checking auxfile checksums ;-) ...     [ ok ]
 * checking miscfile checksums ;-) ...    [ ok ]
Comment 2 Paul Varner (RETIRED) gentoo-dev 2012-10-02 17:05:44 UTC
I'm not sure what I've got wrong.  I can download it manually with wget just fine, but both emerge and ebuild fail to download the file.

# cd /usr/portage/dev-lang/php
# ebuild php-5.3.17.ebuild fetch
Warning: No mirrors available for file 'php-patchset-5.3.17-r0.tar.bz2'
# cd /usr/portage/distfiles/
# wget http://dev.gentoo.org/~olemarkus/php/php-patchset-5.3.17-r0.tar.bz2
--2012-10-02 11:57:55--  http://dev.gentoo.org/~olemarkus/php/php-patchset-5.3.17-r0.tar.bz2
Resolving dev.gentoo.org... 140.211.166.183
Connecting to dev.gentoo.org|140.211.166.183|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7364 (7.2K) [application/x-bzip2]
Saving to: 'php-patchset-5.3.17-r0.tar.bz2'

100%[==========================================================================================>] 7,364       --.-K/s   in 0s

2012-10-02 11:57:55 (219 MB/s) - 'php-patchset-5.3.17-r0.tar.bz2' saved [7364/7364]
Comment 3 Paul Varner (RETIRED) gentoo-dev 2012-10-02 17:15:00 UTC
This looks like a portage regression, since when I downgraded to sys-apps/portage-2.1.11.9, it worked perfectly.
Comment 4 Zac Medico gentoo-dev 2012-10-02 17:45:13 UTC
I can't reproduce the problem. There was one recent change in the relevant code, but it seems fine to me:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d1ea4ac22b9b972b684c379434d2a1b8e5f9d933

That "Warning: No mirrors available for file" message looks like it could be triggered if the ebuild does _not_ set RESTRICT=mirror, and you have FEATURES=force-mirror enabled. However, the ebuild _does_ have RESTRICT=mirror set (and there is only one revision of php-5.3.17.ebuild in cvs), so I don't see what could cause this problem.
Comment 5 Zac Medico gentoo-dev 2012-10-02 18:20:48 UTC
It looks like the += operator doesn't work with portage.cache.mappings.OrderedDict, so the problem only occurs with python 2.6 since that doesn't have collections.OrderedDict.
Comment 7 Zac Medico gentoo-dev 2012-10-04 00:14:05 UTC
This is fixed in 2.1.11.24 and 2.2.0_alpha135.
Comment 8 Paul Varner (RETIRED) gentoo-dev 2012-10-08 20:50:49 UTC
Thanks Zac, I verified that it is fixed in portage-2.1.11.24