building ports (well, pkg) and make -j<N> (even -j1 ) on a fast and64 machine: builds fail (head -r325997 context)

Mark Millard markmi at dsl-only.net
Wed Nov 22 18:30:59 UTC 2017


[Plain "make" works (no -j<?> ).]

Is it expected that -j1 and the like get what I report below?
(Other oddities with -j<?> usage for port builds have been
noted on an rpi2.)

In /usr/ports/ports-mgmt/pkg :
( WRKDIRPREFIX?=/wrkdirs )

# make -j30 
--- check-license ---
===>  License BSD2CLAUSE accepted by the user
--- pkg-depends ---
--- do-fetch ---
--- fetch-specials ---
===> Fetching all distfiles required by pkg-1.10.2 for building
--- /wrkdirs/usr/ports/ports-mgmt/pkg/work/.extract_done.pkg._usr_local ---
`check-build-conflicts' was not built (made 1, flags 2009, type 2010001)!
    `check-build-conflicts' has .ORDER dependency against fetch (made 0, flags 9, type 3010001)
`extract-message' was not built (made 1, flags 2009, type a010001)!
    `extract-message' has .ORDER dependency against check-build-conflicts (made 1, flags 2009, type 2010001)
`check-categories' was not built (made 0, flags 2009, type 3010001)!
`identify-install-conflicts' was not built (made 0, flags 2009, type 3010001)!
    `identify-install-conflicts' has .ORDER dependency against check-categories (made 0, flags 2009, type 3010001)
`check-deprecated' was not built (made 0, flags 2009, type 3010001)!
    `check-deprecated' has .ORDER dependency against identify-install-conflicts (made 0, flags 2009, type 3010001)
`check-vulnerable' was not built (made 0, flags 2009, type 3010001)!
    `check-vulnerable' has .ORDER dependency against check-deprecated (made 0, flags 2009, type 3010001)
`check-license' was not built (made 0, flags 2009, type b010001)!
    `check-license' has .ORDER dependency against check-vulnerable (made 0, flags 2009, type 3010001)
`pre-check-config' was not built (made 0, flags 2009, type 3000001)!
`pkg-depends' was not built (made 0, flags 2009, type b410001)!
    `pkg-depends' has .ORDER dependency against check-sanity (made 0, flags 3009, type 3010001)
`fetch-depends' was not built (made 0, flags 2009, type 3010001)!
    `fetch-depends' has .ORDER dependency against pkg (made 0, flags 3009, type 3010001)
`do-fetch' was not built (made 0, flags 2009, type b010001)!
    `do-fetch' has .ORDER dependency against fetch-depends (made 0, flags 2009, type 3010001)
`fetch-specials' was not built (made 0, flags 2009, type b410001)!
    `fetch-specials' has .ORDER dependency against do-fetch (made 0, flags 2009, type b010001)
`extract-depends' was not built (made 1, flags 2009, type 2010001)!
    `extract-depends' has .ORDER dependency against checksum (made 1, flags 3009, type a410001)
`clean-wrkdir' was not built (made 1, flags 2009, type a010001)!
    `clean-wrkdir' has .ORDER dependency against extract-depends (made 1, flags 2009, type 2010001)
`/wrkdirs/usr/ports/ports-mgmt/pkg/work' was not built (made 1, flags 2009, type b010001)!
    `/wrkdirs/usr/ports/ports-mgmt/pkg/work' has .ORDER dependency against clean-wrkdir (made 1, flags 2009, type a010001)
`extract-fixup-modes' was not built (made 1, flags 2009, type a010001)!
    `extract-fixup-modes' has .ORDER dependency against do-extract (made 1, flags 3009, type a010001)
*** [/wrkdirs/usr/ports/ports-mgmt/pkg/work/.extract_done.pkg._usr_local] Error code 1

make: stopped in /usr/ports/ports-mgmt/pkg
1 error

make: stopped in /usr/ports/ports-mgmt/pkg

Even -j1 gets such:

# make -j1
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.10.2 for building
`check-build-conflicts' was not built (made 1, flags 2009, type 2010001)!
    `check-build-conflicts' has .ORDER dependency against fetch (made 0, flags 9, type 3010001)
`extract-message' was not built (made 1, flags 2009, type a010001)!
    `extract-message' has .ORDER dependency against check-build-conflicts (made 1, flags 2009, type 2010001)
`check-categories' was not built (made 0, flags 2009, type 3010001)!
`identify-install-conflicts' was not built (made 0, flags 2009, type 3010001)!
    `identify-install-conflicts' has .ORDER dependency against check-categories (made 0, flags 2009, type 3010001)
`check-deprecated' was not built (made 0, flags 2009, type 3010001)!
    `check-deprecated' has .ORDER dependency against identify-install-conflicts (made 0, flags 2009, type 3010001)
`check-vulnerable' was not built (made 0, flags 2009, type 3010001)!
    `check-vulnerable' has .ORDER dependency against check-deprecated (made 0, flags 2009, type 3010001)
`check-license' was not built (made 0, flags 2009, type b010001)!
    `check-license' has .ORDER dependency against check-vulnerable (made 0, flags 2009, type 3010001)
`pre-check-config' was not built (made 0, flags 2009, type 3000001)!
`pkg-depends' was not built (made 0, flags 2009, type b410001)!
    `pkg-depends' has .ORDER dependency against check-sanity (made 0, flags 3009, type 3010001)
`fetch-depends' was not built (made 0, flags 2009, type 3010001)!
    `fetch-depends' has .ORDER dependency against pkg (made 0, flags 3009, type 3010001)
`do-fetch' was not built (made 0, flags 2009, type b010001)!
    `do-fetch' has .ORDER dependency against fetch-depends (made 0, flags 2009, type 3010001)
`fetch-specials' was not built (made 0, flags 2009, type b410001)!
    `fetch-specials' has .ORDER dependency against do-fetch (made 0, flags 2009, type b010001)
`extract-depends' was not built (made 1, flags 2009, type 2010001)!
    `extract-depends' has .ORDER dependency against checksum (made 1, flags 3009, type a410001)
`clean-wrkdir' was not built (made 1, flags 2009, type a010001)!
    `clean-wrkdir' has .ORDER dependency against extract-depends (made 1, flags 2009, type 2010001)
`/wrkdirs/usr/ports/ports-mgmt/pkg/work' was not built (made 1, flags 2009, type b010001)!
    `/wrkdirs/usr/ports/ports-mgmt/pkg/work' has .ORDER dependency against clean-wrkdir (made 1, flags 2009, type a010001)
`extract-fixup-modes' was not built (made 1, flags 2009, type a010001)!
    `extract-fixup-modes' has .ORDER dependency against do-extract (made 1, flags 3009, type a010001)
*** [/wrkdirs/usr/ports/ports-mgmt/pkg/work/.extract_done.pkg._usr_local] Error code 1


FreeBSD is running under Hyper-V here, where Hyper-V
configured the virtual machine for 30 processors [of the
32 hardware threads (16 cores)].

# uname -apKU
FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT  r325997M  amd64 amd64 1200054 1200054

# more /etc/make.conf 
WANT_QT_VERBOSE_CONFIGURE=1
#
DEFAULT_VERSIONS+=perl5=5.24 gcc=7
WRKDIRPREFIX?=/wrkdirs
#
# From a local /usr/ports/Mk/bsd.port.mk extension:
ALLOW_OPTIMIZATIONS_FOR_WITH_DEBUG=
#
.if ${.CURDIR:M*/devel/llvm*}
#WITH_DEBUG=
.elif ${.CURDIR:M*/www/webkit-qt5*}
#WITH_DEBUG=
.else
WITH_DEBUG=
.endif
MALLOC_PRODUCTION=


===
Mark Millard
markmi at dsl-only.net



More information about the freebsd-ports mailing list