Skip to content

Running make with -j4 sometimes causes errors #636

@GamePlayer-8

Description

@GamePlayer-8

Hello,

Whenever I am building the s6-overlay with make -j4 ARCH="x86_64-linux-musl" VERSION="v3.2.2.0", from time to time I'm getting an error related to the missing execline:

118.5 make[1]: Entering directory '/build/s6-overlay/output/build-x86_64-linux-musl/execline-v2.9.8.1'
118.5 exec ./tools/install.sh -D -m 600 execline /build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline-2.9.8.1/command/execline
118.5 exec ./tools/install.sh -D -m 644 libexecline.a.xyzzy /build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline-2.9.8.1/library/libexecline.a
118.5 exec ./tools/install.sh -D -m 644 src/include/execline/config.h /build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline-2.9.8.1/include/execline/config.h
118.5 exec ./tools/install.sh -D -m 644 src/include/execline/execline.h /build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline-2.9.8.1/include/execline/execline.h
118.5 make[1]: *** No rule to make target '/build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline-2.9.8.1', needed by '/build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline'.  Stop.
118.5 make[1]: *** Waiting for unfinished jobs....
[...]
118.6 grep -- ^execline < package/modes | { read name mode owner && if [ x$owner != x ] ; then chown -- $owner /build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline-2.9.8.1/command/execline ; fi && chmod $mode /build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline-2.9.8.1/command/execline ; }
118.6 make[1]: Leaving directory '/build/s6-overlay/output/build-x86_64-linux-musl/execline-v2.9.8.1'
118.6 make: *** [mk/skaware.mk:92: /build/s6-overlay/output/staging-x86_64-linux-musl/package/admin/execline/include/execline/config.h] Error 2

The error is totally gone whenever using -j1 or by removing the argument, in an exchange of reducing the build speed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions