Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2019 18:35:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237393] release make cannot be run in parallel
Message-ID:  <bug-237393-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237393

            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@FreeBSD.org
          Reporter: sef@FreeBSD.org

In trying to build some installation media, I did a buildworld and buildker=
nel,
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 i=
t'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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237393-227>