From nobody Wed Oct 2 16:06:23 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XJfnF45P2z5XkFD for ; Wed, 02 Oct 2024 16:06:25 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from mail.macktronics.com (coco.macktronics.com [209.181.253.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJfnD4Gybz438n for ; Wed, 2 Oct 2024 16:06:24 +0000 (UTC) (envelope-from mack@macktronics.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of mack@macktronics.com designates 209.181.253.65 as permitted sender) smtp.mailfrom=mack@macktronics.com; dmarc=pass (policy=none) header.from=macktronics.com Received: from olive.macktronics.com (olive.macktronics.com [209.181.253.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.macktronics.com (Postfix) with ESMTPS id 43CC01CC8; Wed, 2 Oct 2024 11:06:23 -0500 (CDT) Date: Wed, 2 Oct 2024 11:06:23 -0500 (CDT) From: Dan Mack To: Warner Losh cc: dsdqmzk@hotmail.com, freebsd-current@freebsd.org Subject: Re: FYI: make's "max_jobs" needs to be separated from -j (now?) In-Reply-To: Message-ID: <2f132eb7-364e-154b-c154-8fc40ec70927@macktronics.com> References: <0db2d927-3299-2c0f-2310-d8e386fb31c6@macktronics.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="3735943886-736795157-1727885183=:78474" X-Spamd-Result: default: False [-2.40 / 15.00]; CTYPE_MIXED_BOGUS(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.70)[-0.702]; DMARC_POLICY_ALLOW(-0.50)[macktronics.com,none]; R_SPF_ALLOW(-0.20)[+ip4:209.181.253.64/29]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; MIME_TRACE(0.00)[0:+,1:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:209, ipnet:209.181.252.0/23, country:US]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[hotmail.com,freebsd.org]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MISSING_XM_UA(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-Rspamd-Queue-Id: 4XJfnD4Gybz438n X-Spamd-Bar: -- This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3735943886-736795157-1727885183=:78474 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 2 Oct 2024, Dan Mack wrote: > On Wed, 2 Oct 2024, Warner Losh wrote: > >> Ack, okay.   I can't trigger it with a fresh or my /usr/obj but in >> any >> event the error number 6 is probably referring to a path or >> directory >> missing while doing a parallel build given some input state :-) >> >> #define ENXIO           6               /* Device not configured */ >> >> >> ENXIO usually is reserved for hardware errors when a device disappears >> for block I/O contexts. So I'm not sure that this theory is so good. >> >> But shell error exit statuses are largely independent of errnos. >> >> Warner > > Thank you, I was indeed stretching to make error no 6 work for me in this > context by thinking it was really a mis identitied file or directory not > found. However, if someone's going to return 6, then they'll return a 6, > nothing I can do about it other than expect it again sometime. > :-) > > Dan Ahh, it's possibly from bmake? Which makes sense to me: ./contrib/bmake/job.c if (count == 1 && tok != '+') { /* make being aborted - remove any other job tokens */ DEBUG2(JOB, "(%d) aborted by token %c\n", getpid(), tok); while (read(tokenWaitJob.inPipe, &tok1, 1) == 1) continue; /* And put the stopper back */ while (write(tokenWaitJob.outPipe, &tok, 1) == -1 && errno == EAGAIN) continue; if (shouldDieQuietly(NULL, 1)) exit(6); /* we aborted */ Fatal("A failure has been detected " "in another branch of the parallel make"); } Dan --3735943886-736795157-1727885183=:78474--