Am Sonntag, den 12.05.2019, 17:45 -0500 schrieb Bruce Dubbs via lfs-
dev:
> 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>
> > 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
> > ...
> 
> 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'

There is that "MKDIR_P yes" too and later, an install to that yes-
directory happens. I'm not sure why it breaks here, but not at your
system. Anyway, isn't that 'yes' fundamentaly wrong?

> 
> Are you running make install at -jx where x > 1 ?
I'll run tests about this later without -j5 (which is set by default
here). A quick redo of install using DESTDIR (and without MAKEFLAGS)
shows

$ sudo make install Q= DESTDIR=/tmp/e2fs
...
make[1]: Verzeichnis „/home/lfs/e2fsprogs-1.45.0/build/scrub“ wird
betreten
for i in e2scrub.rules; do \
        echo "  INSTALL /lib/udev/rules.d/$i"; \
        /usr/bin/install -c -m 644 $i /tmp/e2fs/lib/udev/rules.d/96-
$i; \
done
        MKDIR_P yes
/bin/mkdir -p /tmp/e2fsyes
        MKDIR_P /usr/lib/e2fsprogs
/bin/mkdir -p /tmp/e2fs/usr/lib/e2fsprogs
        MKDIR_P /lib/udev/rules.d
/bin/mkdir -p /tmp/e2fs/lib/udev/rules.d
if test -n "e2scrub_all.cron" ; then \
        echo "  INSTALL yes/e2scrub_all" ; \
        /usr/bin/install -c -m 644 e2scrub_all.cron
/tmp/e2fsyes/e2scrub_all ; \
fi
for i in e2scrub_all_cron; do \
        echo "  INSTALL /usr/lib/e2fsprogs/$i"; \
        /usr/bin/install -c $i /tmp/e2fs/usr/lib/e2fsprogs/$i; \
done
        INSTALL /lib/udev/rules.d/e2scrub.rules
        INSTALL yes/e2scrub_all
        INSTALL /usr/lib/e2fsprogs/e2scrub_all_cron
        MKDIR_P /sbin /usr/share/man/man8 /etc
/bin/mkdir -p /tmp/e2fs/sbin \
        /tmp/e2fs/usr/share/man/man8 /tmp/e2fs/etc
for i in e2scrub e2scrub_all; do \
        echo "  INSTALL /sbin/$i"; \
        /usr/bin/install -c $i /tmp/e2fs/sbin/$i; \
done
        INSTALL /sbin/e2scrub
        INSTALL /sbin/e2scrub_all
for i in e2scrub.8 e2scrub_all.8; do \
        for j in gz bz2 bz Z; do \
                /bin/rm -f /tmp/e2fs/usr/share/man/man8/$i.$j; \
        done; \
        echo "  INSTALL_DATA /usr/share/man/man8/$i"; \
        /usr/bin/install -c -m 644 $i /tmp/e2fs/usr/share/man/man8/$i;
\
done
        INSTALL_DATA /usr/share/man/man8/e2scrub.8
        INSTALL_DATA /usr/share/man/man8/e2scrub_all.8
for i in e2scrub.conf; do \
        echo "  INSTALL_DATA /etc/$i"; \
        /usr/bin/install -c -m 644 $i /tmp/e2fs/etc/$i; \
done
        INSTALL_DATA /etc/e2scrub.conf
make[1]: Verzeichnis „/home/lfs/e2fsprogs-1.45.0/build/scrub“ wird
verlassen
...

$ ls -la /tmp
...
drwxr-xr-x  7 root root     4096 13. Mai 08:00 e2fs
drwxr-xr-x  2 root root     4096 13. Mai 08:00 e2fsyes
...

Strange, isn't it?

--
Thomas

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to