GNU bug report logs - #55846
make bootstrap -j2 fails on macOS

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Wed, 8 Jun 2022 10:43:02 UTC

Severity: normal

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mattias Engdegård <mattiase <at> acm.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#55846: closed (make bootstrap -j2 fails on macOS)
Date: Fri, 10 Jun 2022 08:36:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 10 Jun 2022 10:35:42 +0200
with message-id <4694AC95-DFBE-431B-A0ED-FC59440A3634 <at> acm.org>
and subject line Re: bug#55846: make bootstrap -j2 fails on macOS
has caused the debbugs.gnu.org bug report #55846,
regarding make bootstrap -j2 fails on macOS
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
55846: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55846
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mattias Engdegård <mattiase <at> acm.org>
To: bug-gnu-emacs <at> gnu.org
Subject: make bootstrap -j2 fails on macOS
Date: Wed, 8 Jun 2022 12:41:54 +0200
nextstep/Makefile.in has the rule

${ns_check_file} ${ns_appdir}: ${srcdir}/${ns_appsrc} ${ns_appsrc}
	rm -rf ${ns_appdir}
	${MKDIR_P} ${ns_appdir}
	( cd ${srcdir}/${ns_appsrc} ; tar cfh - . ) | \
	  ( cd ${ns_appdir} ; umask 022; tar xf - )
	[ "`cd ${srcdir} && /bin/pwd`" = "`/bin/pwd`" ] || \
	  ( cd ${ns_appsrc} ; tar cfh - . ) | \
	    ( cd ${ns_appdir} ; umask 022; tar xf - )
	touch ${ns_appdir}

but because of its dual targets, ns_check_file and ns_appdir, it is unsafe to use in parallel builds and seems in fact often to be invoked twice at the same time, which leads to general confusion and eventual build failure.



[Message part 3 (message/rfc822, inline)]
From: Mattias Engdegård <mattiase <at> acm.org>
To: 55846-done <at> debbugs.gnu.org
Cc: Po Lu <luangruo <at> yahoo.com>, Lars Ingebrigtsen <larsi <at> gnus.org>,
 Alan Third <alan <at> idiocy.org>, Joakim Verona <joakim <at> verona.se>
Subject: Re: bug#55846: make bootstrap -j2 fails on macOS
Date: Fri, 10 Jun 2022 10:35:42 +0200
I'm applying the first patch since it solves my problem without any apparent adverse effects. If anyone has a better idea, feel free to modify.



This bug report was last modified 2 years and 347 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.