On September 8, 2016 9:58:51 AM CDT, Tim Tassonis <[email protected]> wrote: >On 09/08/2016 08:53 AM, Pierre Labastie wrote: >> On 08/09/2016 07:53, DJ Lucas wrote: >>> Okay, now that 7.10 has released, time to bring this up again. This >>> gets rid of the "seems to be moved" messages, as well as a most >tests >>> for arch=x86_64. The /lib64 directory remains for LSB (and other >>> binary) compatibility. Requires changes to a few CMake packages, as >>> well as CLang, otherwise, relatively easy. I still haven't tested >>> rebuild of ada, but did build a significant portion of BLFS (and >since >>> we are following what is already done for CLFS Pure64), seems >>> relatively safe. >>> >>> See patch to current SVN at: >>> http://www.linuxfromscratch.org/~dj/lfs-nosymlinks.patch >>> >>> --DJ >>> >> I'd appreciate this move a lot : the sympling is a PITA when it comes >to >> DESTDIR install, because in this case, the symlink does not exist, >and >> has to be created for each installation (or some bad things happen >later >> when moving the DESTDIR to the system dir. > > >I always do DESTDIR installs and never encountered any issues. The >packages will simply install into $DESTDIR/lib or $DESTDIR/usr/lib, or >$DESTDIR/lib64, or $DESTDIR/usr/lib64 and when I later install them, >there is no problem. I do often get the "seems to be moved stuff". > >But if this change doesn't cause any problems, I'm all for it.
Actually the issue he is talking about above is specific to package management. In short /usr/lib64 can only be owned by one package (preferably rootfs, base, or similar). When packaging, the directory /usr/lib64 doesn't already exist and isn't already owned (a symlink with the same name does, but this isn't an identical entry) so it is regarded as a new directory, owned and accounted for by the new package. Obviously this can only happen for one package, not 1000+. Fortunately, this is caught by the big PMs before the package itself is created. Ultimately, this results in 4 (or more) additional lines of unneeded code in every single one of your build scripts. --DJ -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
