Summary: | sys-apps/baselayout-2.2: Your system profile has SYMLINK_LIB=yes, Converting /lib from a dir to a symlink | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
How did you "lose" it? (In reply to Mike Gilbert from comment #1) > How did you "lose" it? That is the interesting question! (In reply to Juergen Rose from comment #2) > (In reply to Mike Gilbert from comment #1) > > How did you "lose" it? > > That is the interesting question! when you find out, let us know :) (In reply to Samuli Suominen from comment #3) > (In reply to Juergen Rose from comment #2) > > (In reply to Mike Gilbert from comment #1) > > > How did you "lose" it? > > > > That is the interesting question! > > when you find out, let us know :) I did not yet find it out. But I found the next system, where the /lib link disapeared (I booted with systemrescuecd); root@sysresccd /root % ll /mnt/gentoo/ total 130K drwxr-xr-x 28 root root 4.0K Jun 9 12:43 . drwxr-xr-x 7 root root 140 Jun 8 04:45 .. drwxr-xr-x 2 root root 4.0K Jun 6 05:24 bin drwxr-xr-x 6 root root 2.0K Jun 6 13:57 boot lrwxrwxrwx 1 root root 18 Mar 25 2010 data -> /home/data_condor/ drwxr-xr-x 2 root root 4.0K Dec 11 2007 data_condor drwxr-xr-x 2 root root 4.0K Dec 12 2007 dev drwxr-xr-x 195 root root 12K Jun 7 05:49 etc lrwxrwxrwx 1 root root 12 Jun 21 2012 home -> /home_condor drwxr-xr-x 10 root root 4.0K Dec 21 08:56 home_condor drwxr-xr-x 93 root root 4.0K Jan 21 06:51 lib drwxr-xr-x 3 root root 4.0K May 30 05:08 lib32 drwxr-xr-x 16 root root 12K May 30 05:55 lib64 lrwxrwxrwx 1 root root 5 Oct 19 2013 lib.backup.0000 -> lib64 lrwxrwxrwx 1 root root 5 Jan 25 11:22 lib.backup.0001 -> lib64 lrwxrwxrwx 1 root root 5 Mar 30 04:52 lib.backup.0002 -> lib64 drwxr-xr-x 2 root root 4.0K Apr 19 05:23 media dr-xr-xr-x 2 root root 4.0K Jan 27 2008 misc ... It lookes if the issue has already happened in the last september: root@sysresccd /root % ll -t /mnt/gentoo/lib/modules | tail drwxr-xr-x 3 root root 4.0K Dec 20 05:47 3.12.5 drwxr-xr-x 5 root root 4.0K Dec 19 05:33 3.12.4-gentoo drwxr-xr-x 5 root root 4.0K Dec 9 11:29 3.12.4 drwxr-xr-x 5 root root 4.0K Dec 7 2013 3.12.3-gentoo drwxr-xr-x 5 root root 4.0K Dec 7 2013 3.12.3 drwxr-xr-x 5 root root 4.0K Dec 2 2013 3.12.2 drwxr-xr-x 6 root root 4.0K Dec 1 2013 3.12.0-gentoo drwxr-xr-x 5 root root 4.0K Nov 3 2013 3.11.6-gentoo drwxr-xr-x 5 root root 4.0K Nov 3 2013 3.11.6 drwxr-xr-x 5 root root 4.0K Sep 11 2013 3.11.0-gentoo root@sysresccd /root % ll -t /mnt/gentoo/lib64/modules | head total 124K drwxr-xr-x 16 root root 12K May 30 05:55 .. drwxr-xr-x 3 root root 4.0K Aug 6 2013 3.10.5-gentoo drwxr-xr-x 28 root root 4.0K Aug 6 2013 . drwxr-xr-x 4 root root 4.0K Jul 31 2013 3.10.4 drwxr-xr-x 4 root root 4.0K Jul 14 2013 3.10.1-gentoo drwxr-xr-x 4 root root 4.0K Jul 14 2013 3.10.1 drwxr-xr-x 4 root root 4.0K Jul 11 2013 3.10.0-gentoo drwxr-xr-x 4 root root 4.0K Jul 11 2013 3.10.0 drwxr-xr-x 4 root root 4.0K Jun 30 2013 3.9.8-gentoo I did not noticed this issue until today. |
'emerge -uvDNe system' fails with: ... >>> Emerging (13 of 815) sys-apps/baselayout-2.2::gentoo * baselayout-2.2.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * Your system profile has SYMLINK_LIB=yes, so that means you need to * have these paths configured as follows: * symlinks to 'lib64': /lib * The ebuild will attempt to fix these, but only for trivial conversions. * If things fail, you will need to manually create/move the directories. * Converting /lib from a dir to a symlink * ERROR: sys-apps/baselayout-2.2::gentoo failed (setup phase): * non-empty dir found where we needed a symlink: /lib Anyway I lost in the last days the link /lib -> /lib64. And the directory /lib is not empty: root@orca:/root(13)# ll / total 158 drwxr-xr-x 2 root root 4096 May 24 13:16 bin/ drwxr-xr-x 7 root root 2048 May 24 02:24 boot/ lrwxrwxrwx 1 root root 9 Apr 17 14:06 data -> data_orca/ drwxr-xr-x 5 root root 4096 Nov 11 2010 data_orca/ drwxr-xr-x 20 root root 13860 Apr 4 15:26 dev/ drwxr-xr-x 156 root root 12288 May 24 13:19 etc/ lrwxrwxrwx 1 root root 9 Apr 17 14:06 home -> home_orca/ drwxr-xr-x 10 root root 4096 Oct 11 2012 home_orca/ drwxr-xr-x 7 root root 4096 May 24 01:50 lib/ drwxr-xr-x 3 root root 4096 May 23 23:40 lib32/ drwxr-xr-x 18 root root 12288 May 24 13:18 lib64/ drwx------ 2 root root 16384 Jan 14 2010 lost+found/ drwxr-xr-x 2 root root 4096 Apr 14 09:56 media/ drwxr-xr-x 2 root root 0 Apr 4 15:26 misc/ drwxr-xr-x 8 root root 4096 Feb 21 21:43 mnt/ drwxr-xr-x 2 root root 0 Apr 21 18:03 net/ drwxr-xr-x 14 root root 4096 Dec 30 21:36 opt/ dr-xr-xr-x 252 root root 0 Apr 4 15:25 proc/ drwx------ 49 root root 4096 May 24 08:56 root/ drwxr-xr-x 30 root root 1160 Apr 24 13:11 run/ drwxr-xr-x 2 root root 12288 May 24 02:22 sbin/ dr-xr-xr-x 12 root root 0 Apr 4 15:25 sys/ drwxrwxrwt 17 root root 57344 May 24 13:18 tmp/ drwxr-xr-x 20 root root 4096 May 24 09:51 usr/ drwxr-xr-x 16 root root 4096 Jul 29 2013 var/ root@orca:/root(14)# ll /lib total 20 drwxr-xr-x 3 root root 4096 May 24 01:50 firmware/ drwxr-xr-x 2 root root 4096 May 23 23:08 gentoo/ drwxr-xr-x 2 root root 4096 May 24 01:04 modprobe.d/ drwxr-xr-x 3 root root 4096 May 24 01:50 modules/ drwxr-xr-x 4 root root 4096 May 24 10:16 udev/ root@orca:/root(15)# ll /lib/gentoo/ total 12 -rw-r--r-- 1 root root 8778 May 23 23:08 functions.sh root@orca:/root(16)# genlop -t gentoo-functions | tail * sys-apps/gentoo-functions Wed Mar 19 15:17:16 2014 >>> sys-apps/gentoo-functions-0.3 merge time: 12 seconds. Fri May 23 23:09:05 2014 >>> sys-apps/gentoo-functions-0.5 merge time: 26 seconds. After doing: root@orca:/root(21)# cp -a /lib /lib64 root@orca:/root(22)# rm -r /lib root@orca:/root(23)# ln -s /lib64 /lib I could again emerge baselayout.