On 7/5/19 12:10 PM, Douglas R. Reno via blfs-dev wrote:
On 7/5/19 11:13 AM, Bruce Dubbs via blfs-dev wrote:
In the current gcc-9.1 instructions after 'make install' we have:
mkdir -pv /usr/share/gdb/auto-load/usr/lib &&
mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib &&
chown -v -R root:root \
/usr/lib/gcc/*linux-gnu/9.1.0/include{,-fixed}
In the first segment, my build script stopped becasue there are no
/usr/lib/*gdb.py files. Indeed, I have no /usr/lib/*.py files at all.
I do have /usr/share/gdb/auto-load/usr/lib, but that was installed bu
gcc in LFS.
In the second segment, I ran the chown command by hand and got
"ownership of '<filename>' retained as root:root" in every case.
I recommend removing these statements, but want to ask for other
opinions.
I'm not sure that's going to work:
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/schily' from
renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/X11/Xw32defs.h'
from renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/X11' from
renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/xorg/compiler.h'
from renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/xorg/edid.h' from
renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/xorg' from
renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/slang.h' from
renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/nss/secport.h'
from renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed/nss' from
renodr:renodr to root:root
changed ownership of
'/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include-fixed' from
renodr:renodr to root:root
21938.5 Elasped Time - gcc-9.1.0
SBU=249.301
68896 /sources/gcc-9.1.0.tar.xz size (67.281 MB)
10781372 kilobytes build size (10528.683 MB)
md5sum : 6069ae3737cf02bf2cb44a391ef0e937 /sources/gcc-9.1.0.tar.xz
sha1sum: ded538076858926d361af790d59c1f8440dd29b2 /sources/gcc-9.1.0.tar.xz
renamed '/usr/lib/libstdc++.so.6.0.26-gdb.py' ->
'/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.26-gdb.py'
You are right. I was doing a DESTDIR install and my script didn't
handle it correctly. Sorry for the noise.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page