Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537234 - app-portage/mirrorselect-2.2.2 fails to run
Summary: app-portage/mirrorselect-2.2.2 fails to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 536018 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-21 13:13 UTC by Patrick Lauer
Modified: 2015-01-27 20:34 UTC (History)
2 users (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 Patrick Lauer gentoo-dev 2015-01-21 13:13:32 UTC
# mirrorselect -c 'China' -o
* Using url: https://api.gentoo.org/mirrors/distfiles.xml
* Limiting test to "country=China" hosts. 
* Downloading a list of mirrors...
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/mirrorselect", line 61, in <module>
    MirrorSelect().main(sys.argv)
  File "/usr/lib64/python2.7/site-packages/mirrorselect/main.py", line 368, in main
    hosts = self.get_available_hosts(options)
  File "/usr/lib64/python2.7/site-packages/mirrorselect/main.py", line 306, in get_available_hosts
    hosts = Extractor(MIRRORS_3_XML, options, self.output).hosts
  File "/usr/lib64/python2.7/site-packages/mirrorselect/extractor.py", line 70, in __init__
    self.unfiltered_hosts = self.getlist(parser, list_url)
  File "/usr/lib64/python2.7/site-packages/mirrorselect/extractor.py", line 116, in getlist
    success, mirrorlist, timestamp = fetcher.fetch_content(url)
  File "/usr/lib64/python2.7/site-packages/sslfetch/connections.py", line 241, in fetch_content
    connection = self.connect_url(url, tpath=tpath)
  File "/usr/lib64/python2.7/site-packages/sslfetch/connections.py", line 149, in connect_url
    %(str(verify), url))
  File "/usr/lib64/python2.7/site-packages/sslfetch/connections.py", line 270, in output
    kwargs = self.output_dict['kwargs-%s' % mode]
KeyError: 'kwargs-debug'


Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.20-r1, 3.18.0-gentoo x86_64)
=================================================================
System uname: Linux-3.18.0-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16406676 total,    259912 free
KiB Swap:    8388604 total,   8360448 free
Timestamp of tree: Unknown
sh bash 4.3_p33
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p33
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x PUEL skype-eula ut2003 skype-4.0.0.7-copyright Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/chroot/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/lib/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/chroot/local"
PORTDIR="/home/pal/code/gentoo-x86"
PORTDIR_OVERLAY=""
USE="X a52 aac accessibility acl acpi alsa amd64 apng berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cpudetection cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fdt firefox flac fortran gdbm gif glamor gpm iconv icu ipv6 jabber jpeg kde kipi kmod lcms ldap lto mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opencl opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds python qemu qt3support qt4 r600-llvm-compiler readline sdl semantic-desktop session spell sse sse2 ssl svg tcpd threads tiff tk truetype udev udisks unicode upower usb vdpau vorbis x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="32 64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="author braindump flow karbon kexi krita sheets stage words" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 alpha arm cris i386 lm32 m68k microblaze microblazeel mips mips64 mips64el mipsel moxie or32 ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 unicore32 xtensa xtensaeb" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mips64 mips64el mipsel mipsn32 mipsn32el or32 ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64" USERLAND="GNU" VIDEO_CARDS="vga vesa radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2015-01-27 04:29:50 UTC
Mirrorselect-2.2.2-r1 has been patched for newer ssl-fetch-0.3.  If you also have app-crypt/gkeys, you will need this version.

I have adjusted the ssl-fetch dep for the stable mirrorselect-2.2.2 ebuild to require ssl-fetch 0.2 to <0.3
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2015-01-27 04:42:55 UTC
*** Bug 536018 has been marked as a duplicate of this bug. ***
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-01-27 20:34:32 UTC
Bumped to 2.2.2-r2 with an additional patch that was missed in the first patch commit.