On 5/12/19 3:25 PM, Thomas Trepl via lfs-dev wrote:
Hi all,i just started a build of a new system. To my surprise, it failed in chap6 at e2fsprogs where it never stopped before. The reason for stopping is <snip> ake[1]: Leaving directory '/autolfs/sources/e2fsprogs-1.45.0/build/po' making install in scrub make[1]: Entering directory '/autolfs/sources/e2fsprogs- 1.45.0/build/scrub' MKDIR_P /usr/lib/e2fsprogs MKDIR_P yes INSTALL yes/e2scrub_all /usr/bin/install: cannot create regular file 'yes/e2scrub_all': No such file or directory make[1]: *** [Makefile:447: install-crond] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/autolfs/sources/e2fsprogs- 1.45.0/build/scrub' make: *** [Makefile:434: install-progs-recursive] Error 1 make: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/autolfs/sources/e2fsprogs- 1.45.0/build/lib/et' making install-shlibs in lib/ss make[1]: Entering directory '/autolfs/sources/e2fsprogs- 1.45.0/build/lib/ss' </snip> A look to the build/Makefile showed <snip> HAVE_UDEV = no UDEV_RULES_DIR = HAVE_CROND = yes CROND_DIR = yes HAVE_SYSTEMD = no SYSTEMD_SYSTEM_UNIT_DIR = </snip> Note the setting of CROND_DIR. I checked the configure script and found in line ~14500 a check on option $with_crond_dir=[yes,no]. If not set, yes is assumed. Later on, in case $with_crond_dir == yes, the test if /etc/cron.d exists and set with_crond_dir to /etc/cron.d if the directory is there. It remains "yes" if that directory does not exist. I assume that is the reason why CROND_DIR set to "yes" in the Makefile. What i really do not understand is why that happens now and never before? We have e2fsprogs-1.45.0 a good amount of time in the book, there is nothing new but if my reading of the configure script is correct, there is a fulminant logical error in it. Wonder why that never came up before. What do you think, am i right in interpreting the section in the configure script that there is a logical bug in it? If so, i do not get it why it comes up now and not at all the previous builds too... Btw, i specified --with-crond-dir=no and compilation/installation of e2fsprogs went fine.
My logs show: making install in scrub make[2]: Entering directory '/sources/e2fsprogs-1.45.0/build/scrub' MKDIR_P yes MKDIR_P /usr/lib/e2fsprogs INSTALL yes/e2scrub_all INSTALL /usr/lib/e2fsprogs/e2scrub_all_cron MKDIR_P /sbin /usr/share/man/man8 /etc SYMLINK /usr/lib/libe2p.so INSTALL /sbin/e2scrub INSTALL /sbin/e2scrub_all INSTALL_DATA /usr/share/man/man8/e2scrub.8 INSTALL_DATA /usr/share/man/man8/e2scrub_all.8 INSTALL_DATA /etc/e2scrub.conf make[2]: Leaving directory '/sources/e2fsprogs-1.45.0/build/scrub' Are you running make install at -jx where x > 1 ? -- Bruce -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
