View previous topic :: View next topic |
Author |
Message |
msulli1355 Apprentice
Joined: 24 Nov 2005 Posts: 179 Location: OKlahoma, USA
|
Posted: Sun Oct 15, 2017 9:35 pm Post subject: I can't emerge -uD world! [SOLVED] |
|
|
On Sundays (today) I emerge --sync and emerge -avuD world. This morning when I did that, my emerge -avuD world fails. I'm not exactly sure why. I suspect a python problem, but as I don't know python, I can't be sure. Here's my info:
Code: |
caitlyn / # emerge -avuD world
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] x11-misc/xdg-utils-1.1.1-r1::gentoo USE="perl -doc" 0 KiB
[ebuild U ] app-portage/gentoolkit-0.4.0::gentoo [0.3.3::gentoo] PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-python3_5) (-python3_6)" 0 KiB
[ebuild r U ] x11-base/xorg-server-1.19.4:0/1.19.4::gentoo [1.19.3:0/1.19.3::gentoo] USE="ipv6 kdrive suid udev xorg -debug -dmx -doc -glamor (-libressl) -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xcsecurity -xephyr -xnest -xvfb" 0 KiB
[ebuild rR ] x11-drivers/xf86-input-keyboard-1.9.0::gentoo 0 KiB
[ebuild rR ] x11-drivers/xf86-video-intel-2.99.917_p20170313::gentoo USE="dri sna udev -debug -dri3 -tools -uxa -xvmc" 0 KiB
[ebuild rR ] x11-drivers/xf86-input-libinput-0.25.1::gentoo 0 KiB
[ebuild rR ] x11-drivers/xf86-input-mouse-1.9.2::gentoo 0 KiB
[ebuild rR ] x11-drivers/xf86-video-vesa-2.3.4::gentoo 0 KiB
[ebuild rR ] x11-drivers/xf86-video-nouveau-1.0.15::gentoo 0 KiB
[ebuild rR ] x11-drivers/xf86-video-nv-2.1.21::gentoo 0 KiB
[ebuild rR ] x11-drivers/xf86-input-evdev-2.10.5::gentoo 0 KiB
[ebuild U ] www-client/firefox-52.4.0::gentoo [52.3.0::gentoo] USE="dbus gmp-autoupdate gtk2 jack jemalloc startup-notification -bindist -custom-cflags -custom-optimization -debug -eme-free% -hardened -hwaccel (-neon) -pgo -pulseaudio (-rust) (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="-ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 0 KiB
[ebuild U ] sys-apps/openrc-0.32.1::gentoo [0.28::gentoo] USE="ncurses netifrc pam unicode -audit -debug -newnet (-prefix) (-selinux) -static-libs" 0 KiB
Total: 13 packages (4 upgrades, 1 new, 8 reinstalls), Size of downloads: 0 KiB
The following packages are causing rebuilds:
(x11-base/xorg-server-1.19.4:0/1.19.4::gentoo, ebuild scheduled for merge) causes rebuilds for:
(x11-drivers/xf86-video-nv-2.1.21:0/0::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-video-nouveau-1.0.15:0/0::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-input-mouse-1.9.2:0/0::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-video-intel-2.99.917_p20170313:0/0::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-input-keyboard-1.9.0:0/0::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-input-libinput-0.25.1:0/0::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-input-evdev-2.10.5:0/0::gentoo, ebuild scheduled for merge)
(x11-drivers/xf86-video-vesa-2.3.4:0/0::gentoo, ebuild scheduled for merge)
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Running pre-merge checks for x11-base/xorg-server-1.19.4
>>> Running pre-merge checks for x11-drivers/xf86-input-libinput-0.25.1
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/4.12.12-gentoo/build
* Found sources for kernel version:
* 4.12.12-gentoo
* Checking for suitable kernel configuration options... [ ok ]
>>> Running pre-merge checks for x11-drivers/xf86-video-vesa-2.3.4
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/4.12.12-gentoo/build
* Found sources for kernel version:
* 4.12.12-gentoo
>>> Running pre-merge checks for x11-drivers/xf86-input-evdev-2.10.5
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/4.12.12-gentoo/build
* Found sources for kernel version:
* 4.12.12-gentoo
* Checking for suitable kernel configuration options... [ ok ]
>>> Running pre-merge checks for www-client/firefox-52.4.0
* Checking for at least 4 GiB disk space at "/var/tmp/portage/www-client/firefox-52.4.0/tem [ ok ]
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.4/emerge", line 50, in <module>
retval = emerge_main()
File "/usr/lib64/python3.4/site-packages/_emerge/main.py", line 1250, in emerge_main
return run_action(emerge_config)
File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 3297, in run_action
retval = action_build(emerge_config, spinner=spinner)
File "/usr/lib64/python3.4/site-packages/_emerge/actions.py", line 540, in action_build
retval = mergetask.merge()
File "/usr/lib64/python3.4/site-packages/_emerge/Scheduler.py", line 1039, in merge
rval = self._merge()
File "/usr/lib64/python3.4/site-packages/_emerge/Scheduler.py", line 1444, in _merge
self._main_loop()
File "/usr/lib64/python3.4/site-packages/_emerge/Scheduler.py", line 1412, in _main_loop
self._schedule()
File "/usr/lib64/python3.4/site-packages/_emerge/PollScheduler.py", line 154, in _schedule
self._schedule_tasks()
File "/usr/lib64/python3.4/site-packages/_emerge/Scheduler.py", line 1612, in _schedule_tasks
if self._schedule_tasks_imp():
File "/usr/lib64/python3.4/site-packages/_emerge/Scheduler.py", line 1720, in _schedule_tasks_imp
task = self._task(pkg)
File "/usr/lib64/python3.4/site-packages/_emerge/Scheduler.py", line 1751, in _task
previous_cpv = [x for x in vardb.match(pkg.slot_atom) \
File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 599, in match
self.cp_list(mydep.cp, use_cache=use_cache)))
File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 466, in cp_list
self.aux_get(cpv, self._aux_cache_keys)))
File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 788, in aux_get
mydata.update(self._aux_get(mycpv, aux_keys, st=mydir_stat))
File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 820, in _aux_get
raise KeyError(mycpv)
KeyError: 'x11-misc/xdg-utils-1.1.1-r1'
|
And more info:
Code: | caitlyn / # emerge --info
Portage 2.3.8 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r4, 4.4.75 x86_64)
=================================================================
System uname: Linux-4.4.75-x86_64-with-gentoo-2.4.1
KiB Mem: 8095112 total, 573892 free
KiB Swap: 8191996 total, 2087012 free
Timestamp of repository gentoo: Sun, 15 Oct 2017 14:30:01 +0000
Head commit of repository gentoo: a21b012fa6c110975dd84f0b31cc9bdac216a1cc
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash: 4.3_p48-r1::gentoo
dev-lang/perl: 5.24.3::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.7.2::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.4.1-r2::gentoo
sys-apps/openrc: 0.28::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.15-r2::gentoo
sys-devel/binutils: 2.28.1::gentoo
sys-devel/gcc: 5.4.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.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r4::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities additions alsa amd64 apache2 arts asterisk audiofile automount avi bash-completion bind-mysql bitmap-fonts branding browserplugin bzip2 cairo candy cdda cdr cgi cli consolekit cracklib crypt ctype cxx dba dbus declarative divx4linux dri dts dvb dvd dvdr dvdread emboss encode evo examples exif expat f77 fam ffmpeg firefox flac flashblock foomaticdb fortran ftp gallium gdbm gentoo gif glut gphoto2 gpm gtk gtk2 guile hal iconv imap imlib ipv6 ithreads ivtv jack jack-tempfs jadetex jikes joystick jpeg kde kipi kwallet lcms ldap lib libclamav libg++ libnotify libwww lirc lua mad mikmod mmx mmx2 mmxext mng mode-owner modules moonlight motif mp3 mp4 mpeg mplayer mpm-leader multilib mysql mythtv ncurses new-login nls nntp nptl nptlonly nsplugin offensive ogg oggvorbis opengl openmp oss pam pango pcre pdf perl phonon php plasma png policykit portaudio ppds python qml qt3support qt4 qt5 quicktime readline real sdl seamonkey seccomp semantic-desktop session slp snmp spell sql startup-notification svg syslog tcl tcltk tcpd threads tidy tiff truetype udev udisks unicode usb userlocales v4l v4l2 vanilla vhosts vorbis widgets win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xml2 xmms xscreensaver xv xvid zaptel zlib" ABI_X86="64 32" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" 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" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
The problem occurs immediately after it checks if 4GB is available for firefox (which failed last Sunday) I should have plenty of room:
Code: |
caitlyn / # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdc4 97G 33G 60G 36% /
cgroup_root 3.9G 0 3.9G 0% /sys/fs/cgroup
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 1.1M 3.9G 1% /dev/shm
|
I tried remerging python itself, which merged without a problem. I tried re-merging portage, which also didn't have a problem. I didn't understand what that KeyError thing was, so I tried to emerge xdg-utils, which failed without even trying because of the KeyError issue. Any advice that can be given to help resolve this issue will be appreciated. Thank you in advance to all who are willing to try to help me with this issue...
Last edited by msulli1355 on Mon Oct 16, 2017 2:14 am; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Oct 16, 2017 12:27 am Post subject: |
|
|
suggest emerge python-updater and then running it.
https://wiki.python.org/moin/KeyError may be of interest. _________________ Defund the FCC. |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Mon Oct 16, 2017 2:07 am Post subject: Re: I can't emerge -uD world! |
|
|
msulli1355 wrote: | On Sundays (today) I emerge --sync and emerge -avuD world. This morning when I did that, my emerge -avuD world fails. I'm not exactly sure why. I suspect a python problem, but as I don't know python, I can't be sure. Here's my info:
Code: |
File "/usr/lib64/python3.4/site-packages/_emerge/Scheduler.py", line 1751, in _task
previous_cpv = [x for x in vardb.match(pkg.slot_atom) \
File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 599, in match
self.cp_list(mydep.cp, use_cache=use_cache)))
File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 466, in cp_list
self.aux_get(cpv, self._aux_cache_keys)))
File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 788, in aux_get
mydata.update(self._aux_get(mycpv, aux_keys, st=mydir_stat))
File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 820, in _aux_get
raise KeyError(mycpv)
KeyError: 'x11-misc/xdg-utils-1.1.1-r1'
| . |
Apparently /var/db/pkg/x11-misc/xdg-utils-1.1.1-r1 exists, but it is not a directory. Go ahead and remove it, and the problem should go away. Maybe filesystem corruption caused this? _________________ Zac |
|
Back to top |
|
|
msulli1355 Apprentice
Joined: 24 Nov 2005 Posts: 179 Location: OKlahoma, USA
|
Posted: Mon Oct 16, 2017 2:13 am Post subject: |
|
|
I think that fixed it. It wasn't a directory. I removed it and manually remerged the package, and it merged successfully. |
|
Back to top |
|
|
zmedico Developer
Joined: 02 Jan 2004 Posts: 352 Location: California USA
|
Posted: Mon Oct 16, 2017 2:44 am Post subject: |
|
|
I've reported this issue as bug 634402. _________________ Zac |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|