Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132269 - dispatch-conf fails copying file in file_archive_post_process
Summary: dispatch-conf fails copying file in file_archive_post_process
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-04 09:26 UTC by Josh Sled
Modified: 2007-08-09 08:03 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 Josh Sled 2006-05-04 09:26:01 UTC
After weekly `emerge --update --deep world`, including the x11-base/xorg-x11-6.8.2-r7 (from -r6) ...

phoenix ~ # dispatch-conf
dispatch-conf: Error copying /usr/lib/X11/xkb/._cfg0000_xkbcomp to /etc/config-archive/usr/lib/X11/xkb/xkbcomp.dist.new: [Errno 2] No such file or directory: '/usr/lib/X11/xkb/._cfg0000_xkbcomp'; fatal
dispatch-conf: Error renaming /usr/lib/X11/xkb/._cfg0000_xkbcomp to /usr/lib/X11/xkb/xkbcomp: [Errno 2] No such file or directory: '/usr/lib/X11/xkb/._cfg0000_xkbcomp'; fatal
Traceback (most recent call last):
  File "/usr/sbin/dispatch-conf", line 317, in ?
    d.grind (portage.settings ['CONFIG_PROTECT'])
  File "/usr/sbin/dispatch-conf", line 148, in grind
    confs = filter (f, confs)
  File "/usr/sbin/dispatch-conf", line 139, in f
    self.post_process(conf['current'])
  File "/usr/sbin/dispatch-conf", line 243, in post_process
    dispatch_conf.file_archive_post_process(archive)
  File "/usr/lib/portage/pym/dispatch_conf.py", line 162, in file_archive_post_process
    os.rename(archive + '.dist.new', archive + '.dist')
OSError: [Errno 2] No such file or directory


jsled@phoenix [~]$ emerge --info
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.4.3-r3, 1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-overlay/latexer/overlays/misc /usr/local/portage-overlay/latexer/overlays/mono"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr cli crypt cscope cups curl dbus dga directfb doc dri dvd dvdr eds emacs emboss encode esd ethereal evo exif expat faad fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imap imlib ipv6 isdnlog jabber jack java joystick jpeg jpeg2k junit lcms ldap libg++ libwww lua mad maildir matrox mbox mikmod ming mmx mng motif mp3 mpeg msn mysql ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl oscar oss pam pcre pdflib perl php plotutil png powermate pppd python qt quicktime readline reflection ruby samba sdl session slang speex spell spl sqlite sse ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs wmf xinerama xml xml2 xmms xorg xosd xv xvid yahoo zlib video_cards_matrox userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Josh Sled 2006-05-04 09:29:31 UTC
Re-running dispatch-conf immediately after encountering this seems to work fine; I'm taken to a different file that needed updating, with no evidence or mention of the missing `/usr/lib/X11/xkb/._cfg0000_xkbcomp`.

Also, the directory `/usr/lib/X11/xkb/` does exist, and has files, but does not contain the file "._cfg0000_xkbcomp" ... or, in fact, any dot-files.
Comment 2 Zac Medico gentoo-dev 2006-05-04 11:11:25 UTC
This seems to be fixed in 2.1 and soon dispatch-conf will be split into a separate package so that it won't be bound to the version of portage that you're using.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-08-09 08:03:14 UTC
(In reply to comment #2)
> This seems to be fixed in 2.1

Closing then; reopen if you still have issues with that.