[Bug 237393] release make cannot be run in parallel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 19 18:35:21 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237393

            Bug ID: 237393
           Summary: release make cannot be run in parallel
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: sef at FreeBSD.org

In trying to build some installation media, I did a buildworld and buildkernel,
and then "cd release ; make -j10 cdrom".

This fails every time.  There is at least one big problem I could tell from
looking at the output and the Makefile:  the rules for base.txz end with "mv
${DISTDIR}/*.txz ."; this will conflict with the rules for kernel.txz, which
tries to move ${DISTDIR}/kernel*.txz -- and the parallel build means that it's
already been moved.

Making kernel.txz depend on base.txz, however, exposed another problem:

cd //usr/obj/usr/src/amd64.amd64/release/dist/kernel;  tar cvf - --exclude
'*.debug' . |  xz -T 0 > //usr/obj/usr/src/amd64.amd64/release/dist/kernel.txz
cd: //usr/obj/usr/src/amd64.amd64/release/dist/kernel: No such file or
directory
*** [packagekernel] Error code 2

which is coming from Makefile.inc1

This isn't critical, since I can just do a non-parallel make.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list