After upgrading jpeg-6b -> jpeg-7 most KDE3 packages where broken. revdep-rebuild fixed most of them, except the remerge of kdm failed with the following error: /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p 'genkdmconf' '/var/tmp/portage/kde-base/kdm-3.5.10/image//usr/kde/3.5/bin/genkdmconf' /bin/sh ../../libtool --silent --mode=install /usr/bin/install -c -p 'kdmctl' '/var/tmp/portage/kde-base/kdm-3.5.10/image//usr/kde/3.5/bin/kdmctl' ./genkdmconf --in /var/tmp/portage/kde-base/kdm-3.5.10/image//usr/kde/3.5/share/config/kdm --no-in-notice --face-src ./pics --no-old --no-backup --no-in-notice make[3]: Leaving directory `/var/tmp/portage/kde-base/kdm-3.5.10/work/kdm-3.5.10/kdm/kfrontend' make[2]: Leaving directory `/var/tmp/portage/kde-base/kdm-3.5.10/work/kdm-3.5.10/kdm/kfrontend' make[1]: Leaving directory `/var/tmp/portage/kde-base/kdm-3.5.10/work/kdm-3.5.10/kdm/kfrontend' sed: can't read /var/tmp/portage/kde-base/kdm-3.5.10/image///usr/kde/3.5/share/config/kdm/kdmrc: Not a directory * * ERROR: kde-base/kdm-3.5.10 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 4643: Called die * The specific snippet of code: * sed -i -e "s:#SessionsDirs=:SessionsDirs=/usr/share/xsessions * #SessionsDirs=:" "${D}/${KDEDIR}/share/config/kdm/kdmrc" || die The image directory in question looks funny: treogen ~ # cd /var/tmp/portage/kde-base/kdm-3.5.10/image/usr/kde/3.5/share/config/ treogen config # ls -l total 4 -rw-r--r-- 1 root root 664 Aug 26 21:12 kdm drwxr-xr-x 2 root root 40 Aug 26 21:12 kdm.bak The directoy 'kdm.bak' is empty, the 'kdm' file contains what should normaly be in /usr/kde/3.5/share/config/kdm/README What I think is happening: ./genkdmconf --in /var/tmp/portage/kde-base/kdm-3.5.10/image//usr/kde/3.5/share/config/kdm --no-in-notice --face-src ./pics --no-old --no-backup --no-in-notice This sees .../config/kdm as target for all files that should go into config/kdm and replaces the directory with each file. I would excpect .../config/kdm/ to work, but I don't know how to try this. Reproducible: Always Steps to Reproduce: 1. emerge -1 kdm:3.5 emerge --info: Portage 2.2_rc40 (default/linux/amd64/10.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-rc7 x86_64) ================================================================= System uname: Linux-2.6.31-rc7-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_2218-with-gentoo-2.0.1 Timestamp of tree: Wed, 26 Aug 2009 17:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -march=opteron-sse3 -O3 -fomit-frame-pointer -fweb -frename-registers -ftracer -ftree-loop-im -funswitch-loops -fivopts -floop-interchange -floop-strip-mine -floop-block" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d" CXXFLAGS="-pipe -march=opteron-sse3 -O3 -fomit-frame-pointer -fweb -frename-registers -ftracer -ftree-loop-im -funswitch-loops -fivopts -floop-interchange -floop-strip-mine -floop-block" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --jobs=4 --load-average=5 --keep-going" FEATURES="assume-digests buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://ds.thn.htu.se/linux/gentoo http://gentoo.inf.elte.hu/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j5" PKGDIR="/var/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage-local/layman/x11 /usr/portage-local/layman/desktop-effects /usr/portage-local/layman/gentoojp /usr/portage-local/layman/nx /usr/portage-local/layman/sunrise /root/ebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac accessibility acct ace acpi ads aim aio akode alsa altenburgcards amarok amd64 amr amrnb amrr amrwb animgif apache2 arts async audacious audiofile bash-completion beagle berkdb bigpatch binfilter bittorrent bl blas blender-game boost bzip2 cairo ccache cdda cddb cdparanoia cdr cgi chroot cifsupcall cli clucene compress connectionstatus cpio cracklib crypt css cups curl cvs cvsgraph dbus dga dhcp directfb divx dmi dmx doc domainkeys dri dts dv dvb dvd dvdr dvdread ecc editor embedded encode esd exif fam fastbuild fat fbcon festival ffmpeg flac font-server fontconfig fortran gd gd-external gdbm gif gimp glib glitz glut gmp gnutls gpgme gpm graphite gstreamer gtk gzip hal hddtemp html http httpd hvm iceweasel iconv icq icu id3 idea idn ieee1394 image imagemagick innodb ipsec irc isdnlog ithreads jabber jack jadetex java java5 java6 javascript jce jfs jit john jpeg jpeg2k juju kde kdecards kdehiddenvisibility kdepim kdrive kexi kvm lame latex ldap libnotify libsamplerate lirc lm_sensors logrotate lzo mad matroska mbox mbrola mikmod mime mixer mjpeg mmap mmx mng mod_python motif mozdevelop mozdom mozilla mp3 mp3rtp mp4 mp4live mpd mpeg mpeg2 mpi mplayer mudflap multilib music mysql mysqli ncurses net network network-cron nforce2 nfs nfsv4 nls nntp nodrm nptl nptlonly nsplugin ntfs ntlm nvidia odbc offensive ogg ole openexr opengl openmp openssl oscar pam pango pascal paste64 pcap pcre pdf perl php player pmu png posix postfix povray pppd pulseaudio python qt3support qt4 quicktime randr12 rar rc5 rdesktop readline realmedia reflection remix restrict-javascript rpm rss rtsp samba scanner screen sdl sdl-image sdl-sound sdlaudio seamonkey sensord server session sharedmem shorten shout simplexml skins slang smime smp sndfile sockets socks5 soundex sox speech speex spell spl sql sqlite sqlite3 sse sse2 sse3 ssl stream subtitles subversion suhosin svg svgz sylpheed sysfs syslog szip t1lib tcl tcpd tcpwrapper test tetex tga theora thesaurus threads threadsafe tidy tiff tk transcode truetype type1 ucs2 unicode usb utempter uuencode v4l v4l2 valgrind vcd vdr vlm vnc vncviewer voice vorbis wav wavpack wifi wireshark wma wmf wmp wordperfect wxwindows x264 xanim xcb xcomposite xext xface xforms xfs xine xinerama xinetd xml xorg xosd xpm xrandr xscreensaver xskatcards xterm xv xvid xvmc xvnc yahoo yv12 zip zlib zrtp" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l vesa vga radeon" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I will attach the complete build.log...
Created attachment 202341 [details] build.log from kde-base/kde-3.5.10
I have the same problem. It would be nice if someone provided us by some kind of a solution of this thing. Unfortunately, I have no idea how to get over whit it by myself.
Hello! I've been trying to reproduce this with no luck, yet. You could try if manually creating the directory before emerging works around it: sudo mkdir -p -m 744 /usr/kde/3.5/share/config/kdm If you feel like working on the build instead that would be adding # Workaround for bug 282825 dodir ${KDEDIR}/share/config/kdm || die "dodir failed" to the start of src_install. Please let me know if that works and if you have further ideas on reproduction.
Created attachment 207331 [details] Potential kdm-3.5.10-r1.ebuild with workaround fix (In reply to comment #3) > sudo mkdir -p -m 744 /usr/kde/3.5/share/config/kdm > > If you feel like working on the build instead that would be adding > > # Workaround for bug 282825 > dodir ${KDEDIR}/share/config/kdm || die "dodir failed" > > to the start of src_install. I just realized the former will not help. To ease up checking out the latter I have integrated it into a bumped kdm-3.5.10-r1.ebuild (see attachments). If that works well for you I can add it to the tree in no time.
With kdm-3.5.10-r1.ebuild the problem remains. At least, in my case.
KDE 3.5.10 has been masked for removal, this won't be fixed...
(In reply to comment #6) > KDE 3.5.10 has been masked for removal, this won't be fixed... > Cool! :)