Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596542 - app-portage/gentoolkit-? - revdep-rebuild: Could not save cache: write() argument 1 must be unicode, not str
Summary: app-portage/gentoolkit-? - revdep-rebuild: Could not save cache: write() argu...
Status: RESOLVED DUPLICATE of bug 589130
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-08 11:44 UTC by Conrad Kostecki
Modified: 2016-10-18 17:54 UTC (History)
0 users

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 Conrad Kostecki gentoo-dev 2016-10-08 11:44:48 UTC
* This is the new python coded version
 * Please report any bugs found using it.
 * The original revdep-rebuild script is installed as revdep-rebuild.sh
 * Please file bugs at: https://bugs.gentoo.org/
 * Collecting system binaries and libraries
        Could not save cache: write() argument 1 must be unicode, not str
 * Checking dynamic linking consistency

Your system is consistent

I am getting always that warning. It this normal?
Comment 1 Conrad Kostecki gentoo-dev 2016-10-08 11:45:03 UTC
Portage 2.3.1 (python 2.7.12-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.23-r2, 4.8.0-gentoo x86_64)
=================================================================
System uname: Linux-4.8.0-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_X_990_@_3.47GHz-with-gentoo-2.3
KiB Swap:    5242876 total,   2881308 free
Timestamp of repository gentoo: Sat, 08 Oct 2016 08:45:01 +0000
sh bash 4.4
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.7 [enabled]
app-shells/bash:          4.4::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/ccache:          3.2.7::gentoo
dev-util/cmake:           3.6.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://excelsior.bl4ckb0x.de/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

odyssey
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/"
INSTALL_MASK="/etc/xinetd.d/* /usr/lib/systemd/system/*"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j9 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="X acl alsa amd64 berkdb bzip2 cairo caps cjk cracklib crypt curl cvs cxx dbus djvu fontconfig ftp gd gif git gmp gnutls gpm iconv icu idn introspection ipv6 jabber javascript jit jpeg jpeg2k lcms libsamplerate lm_sensors lzma lzo maildir mbox mikmod mime ncurses netgroups nls nntp nptl offensive ogg openal opengl openmp oss pam pcre pdf perl png postscript python qt5 readline slang sndfile spell sqlite ssl subversion suid svg symlink tcpd threads tiff truetype udev unicode usb vaapi vdpau vim-syntax webp xattr xcb xml xpm zlib" ABI_X86="32 64" COLLECTD_PLUGINS="cgroups conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy exec filecount hddtemp interface irq load logfile memory netlink network postgresql ping processes protocols sensors serial smart swap tcpconns unixsock uptime users" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="pc" KERNEL="linux" L10N="de de_DE" LINGUAS="de de_DE" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" USERLAND="GNU" VIDEO_CARDS="vmware"
USE_PYTHON="2.7 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-15 12:04:12 UTC
Which version of app-portage/gentoolkit is that?
Comment 3 Conrad Kostecki gentoo-dev 2016-10-15 12:05:23 UTC
(In reply to Jeroen Roovers from comment #2)
> Which version of app-portage/gentoolkit is that?

[ebuild   R    ] app-portage/gentoolkit-0.3.2-r1::gentoo  PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy (-python3_3)" 3.124 KiB
[ebuild   R    ] app-portage/gentoolkit-dev-0.3.0::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 python3_5 (-python3_3)" 58 KiB
Comment 4 Paul Varner (RETIRED) gentoo-dev 2016-10-18 17:53:01 UTC
This doesn't impact the ability of revdep-rebuild to function correctly, it just means you won't get a speedup from having a cache.  The fix is in the gentoolkit repository and can be tested with gentoolkit-9999

*** This bug has been marked as a duplicate of bug 589130 ***
Comment 5 Conrad Kostecki gentoo-dev 2016-10-18 17:54:38 UTC
Thanks! :)