While installing x11-base/xorg-x11-6.8.0-r3 I get the following error: >>> /usr/X11R6/include/X11/fonts/FSproto.h >>> /usr/X11R6/include/X11/fonts/fontenc.h >>> /usr/X11R6/include/X11/fonts/fsmasks.h >>> /usr/X11R6/include/X11/keysym.h >>> /usr/X11R6/include/X11/keysymdef.h --- /usr/X11R6/include/X11/pixmaps/ >>> /usr/X11R6/include/X11/pixmaps/card.xpm >>> /usr/X11R6/include/X11/pixmaps/computer.xpm >>> /usr/X11R6/include/X11/pixmaps/keyboard.xpm >>> /usr/X11R6/include/X11/pixmaps/monitor.xpm >>> /usr/X11R6/include/X11/pixmaps/mouse.xpm >>> /usr/X11R6/include/X11/xpm.h >>> /usr/X11R6/include/xf86Optrec.h >>> /usr/X11R6/include/xf86Parser.h --- /usr/X11R6/lib/ --- /usr/X11R6/lib/X11/ Traceback (most recent call last): File "/usr/bin/emerge", line 2991, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1859, in merge retval=portage.pkgmerge(mytbz2,x[1],self.pkgsettings) File "/usr/lib/portage/pym/portage.py", line 6769, in pkgmerge mylink.merge(pkgloc,infloc,myroot,myebuild,cleanup=1) File "/usr/lib/portage/pym/portage.py", line 6670, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup) File "/usr/lib/portage/pym/portage.py", line 6297, in treewalk if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime): File "/usr/lib/portage/pym/portage.py", line 6536, in mergeme if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime): File "/usr/lib/portage/pym/portage.py", line 6536, in mergeme if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime): File "/usr/lib/portage/pym/portage.py", line 6536, in mergeme if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime): File "/usr/lib/portage/pym/portage.py", line 6536, in mergeme if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime): File "/usr/lib/portage/pym/portage.py", line 6551, in mergeme elif stat.S_ISREG(mydmode) or (stat.S_ISLNK(mydmode) and stat.S_ISREG(os.stat(mydest)[stat.ST_MODE])): OSError: [Errno 2] No such file or directory: '/usr/X11R6/lib/X11/Cards' If I look at /usr/X11R6/lib/X11/Cards then I see that it exists, but as a symlink: # ls /usr/X11R6/lib/X11/Cards -lah lrwxrwxrwx 1 root root 27 Dec 11 15:44 /usr/X11R6/lib/X11/Cards -> ../../../share/hwdata/Cards # qpkg -I -nc -v -f /usr/share/hwdata/Cards sys-apps/hwdata-knoppix-0.107-r1 I don't know why sys-apps/hwdata-knoppix makes this symlink. But it prevents me from installing x11-base/xorg-x11-6.8.0-r3. After removing /usr/X11R6/lib/X11/Cards, I can install x11-base/xorg-x11-6.8.0-r3 without any problems. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Here is a good question........ why are you installing hwdata-knoppix? Is this on a LiveCD that you are making? hwdata-knoppix is only useful for using kudzu/hwsetup It does provide its own versions of quite a few hardware-related data files. It does this on purpose. I'm not sure I understand exactly where the problem is with this without more information.
Hi Chris, I use hwsetup to query some hardware related data and then depending on the data, I load certain modules. That's the reason why I use hwdata-knoppix. cheers SteveB
I didn't have this problem with xorg-x116.8.0-r3, but with xorg-x116.8.0-r4 because of the /usr/X11R6/lib move. hwdata-knoppix installs the Cards file in /usr/X11R6/lib/X11/Cards (as mentioned above) which is a symlink to ../../../share/hwdata/Cards. Note the 3 .. !! Now, after -r4 is installed we have a symlink from /usr/X11R6/lib to /usr/lib which is done by .. (/usr/X11R6/lib -> ../lib). So another .. , which makes it 4 times .., so we end up in the root. Due to this, when you follow the symlink for the Cards file, it ends up in the root looking for share and doesn't find that directory of course. I don't know why it happened with -r3 though. It worked perfectly for me with -r3 but failed with -r4. Don't know what the permanent solution is (either fix hwdata-knoppix or the symlinking stuff if xorg). I updated hwdata-knoppix so that it used /usr/lib/X11/Cards directly as a workaround. The reason I used hwdata-knoppix was for a livecd, just in case you're wondering. And I was testing -r4 for another bug (#73725). :-)
Fixed in CVS