Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660492 - can't sync portage tree on any of my PPC machines
Summary: can't sync portage tree on any of my PPC machines
Status: RESOLVED DUPLICATE of bug 659914
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal critical
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-06 05:40 UTC by Paul Osmialowski
Modified: 2018-07-06 12:25 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 Osmialowski 2018-07-06 05:40:02 UTC
This happens for last couple of days and does NOT occur on any of my x86_64 machines, affects only both of my old PPC boxes.

BOX1:

# emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys from keyserver ...                                                                                                                                                                                                                                   [ ok ]
>>> Starting rsync with rsync://176.28.50.119/gentoo-portage...
>>> Checking server timestamp ...
Welcome to quetzal.gentoo.org / rsync.gentoo.org

Server Address : 176.28.50.119, 2a01:488:67:1000:b01c:3277:0:1
Contact Name   : mirror-admin@gentoo.org
Hardware       : 4 x Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 16040MB RAM
Sponsor        : Host Europe, Cologne, Germany, EU
.
.
.
sent 34.97K bytes  received 9.02M bytes  89.17K bytes/sec
total size is 218.74M  speedup is 24.17
!!! Manifest verification failed:
OpenPGP verification failed:
gpg: Signature made Fri Jul  6 04:38:32 2018 UTC
gpg:                using RSA key E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
gpg: Can't check signature: No public key

q: Updating ebuild cache in /usr/portage ...
q: Finished 35646 entries in 1.743224 seconds

Action: sync for repo: gentoo, returned code = 1

=======

BOX2:
# emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys from keyserver ...                                                                                                                                                                                                                                   [ ok ]
>>> Starting rsync with rsync://89.238.71.6/gentoo-portage...
Welcome to turnstone.gentoo.org / rsync.gentoo.org

Server Address : 89.238.71.6, 2a00:1828:a00d:ffff::6
Contact Name   : mirror-admin@gentoo.org
Hardware       : 16 x Intel(R) Xeon(R) CPU E5530 @ 2.40GHz, 24160MB RAM
Sponsor        : Manitu GmbH, St. Wendel, Germany
.
.
.
.
sent 34.93K bytes  received 9.02M bytes  100.01K bytes/sec
total size is 218.74M  speedup is 24.17
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/portage/util/_async/AsyncFunction.py", line 39, in _run
    result = self.target(*(self.args or []), **(self.kwargs or {}))
  File "/usr/lib/python2.7/site-packages/portage/sync/controller.py", line 168, in sync
    taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib/python2.7/site-packages/portage/sync/controller.py", line 67, in run_tasks
    result = getattr(inst, func)(**kwargs)
  File "/usr/lib/python2.7/site-packages/portage/sync/syncbase.py", line 212, in sync
    return self.update()
  File "/usr/lib/python2.7/site-packages/portage/sync/modules/rsync/rsync.py", line 386, in update
    max_jobs=self.verify_jobs)
  File "/usr/lib/python2.7/site-packages/gemato/recursiveloader.py", line 265, in __init__
    allow_create=allow_create, store_dev=not allow_xdev)
  File "/usr/lib/python2.7/site-packages/gemato/recursiveloader.py", line 287, in load_manifest
    relpath, verify_entry)
  File "/usr/lib/python2.7/site-packages/gemato/recursiveloader.py", line 59, in verify_and_load
    m.load(f, self.verify_openpgp, self.openpgp_env)
  File "/usr/lib/python2.7/site-packages/gemato/manifest.py", line 440, in load
    self.openpgp_signature = openpgp_env.verify_file(f)
  File "/usr/lib/python2.7/site-packages/gemato/openpgp.py", line 93, in verify_file
    raise gemato.exceptions.OpenPGPVerificationFailure(err.decode('utf8'))
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb1 in position 22: invalid start byte

Action: sync for repo: gentoo, returned code = 1


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2.
3.
Actual Results:  
returned code = 1

Expected Results:  
returned code = 0

Portage installed on both:
[ebuild   R    ] sys-apps/portage-2.3.40-r1::gentoo  USE="(ipc) rsync-verify -build -doc -epydoc -gentoo-dev -native-extensions (-selinux) -xattr" PYTHON_TARGETS="python2_7 python3_5 python3_6 (-pypy) -python3_4" 0 KiB
Comment 1 Paul Osmialowski 2018-07-06 05:40:39 UTC
Portage 2.3.40 (python 2.7.14-final-0, default/linux/powerpc/ppc32/17.0, gcc-6.4.0, glibc-2.25-r11, 4.9.72-gentoo ppc)
=================================================================
System uname: Linux-4.9.72-gentoo-ppc-7447A,_altivec_supported-with-gentoo-2.4.1
KiB Mem:     1024100 total,     60240 free
KiB Swap:    1048572 total,   1016236 free
Timestamp of repository gentoo: Fri, 06 Jul 2018 05:00:01 +0000
Head commit of repository gentoo: c81ae6ad6dfdc726dd88d1a34294a2049de2f51e
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.8.5-r4::gentoo, 1.10.3::gentoo, 1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --bwlimit=100
    sync-rsync-verify-max-age: 24

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="*"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--bwlimit=100"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="7zip R Xaw3d a52 aac aacplus aacs aalib acl adns adobe-cff aio alisp alsa alstream altivec amr amrenc animgif ao apache2 apm apng archive arp arpack arping asf asm ass athena audio auto-hinter autoconf-archive autotrace aux_xml badval bash-completion bat bayes bazaar bcmath bdplus berkdb bidi big-endian bitmap bittorrent blake blake2 blas blksha1 bluray brotli bzip2 c++0x cacert calendar caps caps-ng catalogs cblas cdf cdio cdparanoia cgi chappa chicken chm cholmod chromaprint city clamd clamdtop classic cleartype cleartype_hinting cli client client-libs clisp clockdiff clucene combination-explosion-check common-lisp community conntrack consolekit contrib convert-mozilla-cookies cpufreq cracklib cramfs cron crypt cryptsetup crywrap cscope css ctype ctypes-python curl cvs cxx daemon dbi dbus ddate default-font deprecated devfs-compat discard-path discouraged djbfft djvu dns dri dri3 drmaa drop-root dts dv dvb dvbpsi dvd dvdnav e2fsprogs ebook ebur128 ecap edd edit elisp emacs enca encode enscript eselect etiquette evdev excel exceptions exif expat exporter extensions extra-filters extra-tools extras faac faad fame fdformat fdk fetchlimit ffmpeg fftw filecaps filter filter-aaaa findbugs finger fingerprint firmware-loader fits fixed-rrset flac flambda fluidsynth fontconfig fontforge fortran fortran2003 fortran95 fpx frei0r frontend ftp fts3 gadu gcrypt gd gdbm gdk-pixbuf geoip geos gif ginac git glep glib glibc-omitfp glpk gmath gme gml gmp gnuplot gnutls gopher gost gpg gphoto2 gpl gptfdisk graph graphviz grp gs gsettings gsl gsm gstreamer gudev guile gunit gzip-el hal hardcoded-tables harfbuzz hash hdf5 heterogeneous hires-icons hlapi hog hostname hsieh http hwdb i18n ibam icap-client iconv id3tag idn iec61883 ieee1394 ilbc imagemagick imapc imlib inifile iodbc ipc iproute2 iptables ipv6 ipython isag iso jabber jack jai javascript jbig jemalloc jit jmf jpeg jpeg2k json keymap kill kmod kpathsea kvazaar ladspa lame lapack laptop largefile lash lcms less libass libatomic libcanberra libcerf libevent libffi libmms libopts libproxy librtmp libs libsamplerate libssh2 libtar libv4l libwww libxml2 libyaml linguas_pl linuxkeys listen-queue live logrotate lpsol lua luajittex luatex lucene lvm lvm1 lz4 lzma lzo m17n-lib mad magic math mbox mclib mcve md5sum mdadm mercurial metadata-analysis-api metalink metis mew mhash mikmod mime minizip mjpeg mmap mms mng mod mode-owner modern-top modplug modules motif motif22-compatibility mouse mozsha1 mp3 mp4 mpeg mpg123 mta mudflap multicall multislot musepack mvl mzscheme native-exceptions natspec ncat ncurses ndiff net netcdf netgroups netifrc netlink nettle network networking new-clx nfacct nfct nflog nls nmap-update nntp no-old-linux nodrm nping nptl nscd nse nslint nss nss-pem ntlm ntp numpy objc objc++ objc-gc ocaml ocamlopt odbc odt-schema offensive ogg ogm oom openal openh264 openmp openpgp openpty openrc openssl opus osmesa pac pam pari pasteafter pbs pcap pci pcntl pcre pcre-jit pdf pdfannotextractor pdo perl perl-geoipupdate pg-intdatetime pgm pgo phar php pic pie playtools plotutils plugins pm-utils png pnm policykit portage portaudio posix postgres postproc postscript ppc ppcsha1 prelink proj proxy pth pwhich pwquality python qhull qos qpak quicktime quvi radio raw rcs rdisc readline real recursion-limit redland reencrypt reflection regex regis rle romio rpm rrdtool rss rsync-verify rtc rtmp rubberband sasl scale0tilt screen script sctp sdl sdlgfx seccomp securetty sendmail serial server session sftp sha3 sha512 sharedext sharedmem shm sid sigsegv simplexml slang slattach smi smime smpeg sms snappy sndfile snmp soap sockets sofalizer sound soundex speex spell spidermonkey spl sql sqlite3 srv ssl sslv3 static-analyzer staticsocket subunit subversion suexec suhosin supernodal svg svm syslog system-jsoncpp sysvipc szip t1lib tcl tcpd tdb tdbtest terminal text tftpd tga theora thin-splines threads threadsafe tidy tiff tilepath tk tokenizer toolame toolbar toolkit-scroll-bars tools tracepath traceroute tremor truetype tty-helpers twisted twolame type3 udev udf udisks unicode units_cur unlock-notify unwind update-alternatives update_drivedb usb utempter utils uuid v4l v4l2 valgrind vbr vcd verify-file video vim vim-pager vorbis vpx wad wavpack wddx web webdav webdav-neon webp webready wmf x264 xbase xcb xforward xft xgetdefault xinetd xls xml xmlreader xmlwriter xmp xmpp xpdf-headers xpm xs xsl xslt xterm xtradb xvid xz yaml yaz yuv4mpeg yv12 zeromq zip zlib zvbi" ABI_PPC="32" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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 asis imagemap proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http cgi unixd slotmem_shm authn_core authz_core access_compat socache_shmcb" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon plan sheets stage words" CAMERAS="canon spca50x template" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="dummy 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Paul Osmialowski 2018-07-06 06:05:13 UTC
One more attempt:

# emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys from keyserver ...                                                                                                                                                                                                                                                                                 [ ok ]
>>> Starting rsync with rsync://81.91.242.10/gentoo-portage...
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(642) [Receiver=3.1.3]
>>> Retrying...


>>> Starting retry 1 of 1 with rsync://212.110.161.69/gentoo-portage
>>> Checking server timestamp ...

 -========== B Y T E M A R K   H O S T I N G   M I R R O R  ==========-

receiving incremental file list
timestamp.chk

Number of files: 1 (reg: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 41
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 104
Total bytes received: 127

sent 104 bytes  received 127 bytes  462.00 bytes/sec
total size is 32  speedup is 0.14

 -========== B Y T E M A R K   H O S T I N G   M I R R O R  ==========-

receiving incremental file list
.
.
.
Number of files: 161,954 (reg: 134,508, dir: 27,446)
Number of created files: 446 (reg: 434, dir: 12)
Number of deleted files: 180 (reg: 177, dir: 3)
Number of regular files transferred: 1,888
Total file size: 218.74M bytes
Total transferred file size: 12.40M bytes
Literal data: 12.40M bytes
Matched data: 0 bytes
File list size: 3.57M
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 65.50K
Total bytes received: 12.60M

sent 65.50K bytes  received 12.60M bytes  767.89K bytes/sec
total size is 218.74M  speedup is 17.26
!!! Manifest verification failed:
OpenPGP verification failed:
gpg: Signature made Fri 06 Jul 2018 05:08:30 AM UTC
gpg:                using RSA key E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250
gpg: Can't check signature: No public key

q: Updating ebuild cache in /usr/portage ...
q: Finished 35646 entries in 0.456195 seconds

Action: sync for repo: gentoo, returned code = 1
Comment 3 Brian Evans (RETIRED) gentoo-dev 2018-07-06 12:25:07 UTC

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