From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Build trivially (but permanently) broken Date: Mon, 24 Sep 2018 10:46:43 -0700 Organization: UCLA Computer Science Department Message-ID: <347f9a56-6ac5-68b1-80a7-aeeaf839ced2@cs.ucla.edu> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------A05C65081518328B8EAB4610" X-Trace: blaine.gmane.org 1537811142 19749 195.159.176.226 (24 Sep 2018 17:45:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2018 17:45:42 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 To: "T.V Raman" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 24 19:45:38 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4UvS-00052r-Et for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2018 19:45:38 +0200 Original-Received: from localhost ([::1]:46321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4UxZ-0000nW-1N for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2018 13:47:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4Uwe-0000nF-Nf for emacs-devel@gnu.org; Mon, 24 Sep 2018 13:46:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4Uwb-0006T9-9w for emacs-devel@gnu.org; Mon, 24 Sep 2018 13:46:52 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40670) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g4Uwa-0006Pp-Tx for emacs-devel@gnu.org; Mon, 24 Sep 2018 13:46:49 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3F46C16162D; Mon, 24 Sep 2018 10:46:46 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id f3lmVZtbt21j; Mon, 24 Sep 2018 10:46:44 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1C356161668; Mon, 24 Sep 2018 10:46:44 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8_5oBskAs89i; Mon, 24 Sep 2018 10:46:44 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id F1BA716162D; Mon, 24 Sep 2018 10:46:43 -0700 (PDT) Openpgp: preference=signencrypt Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= xsFNBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC OJVxq2kljBM9ETYuUGqd75AW2LXrLw6+MuIsHFAYAgRr7+KcwDgBAfwhPBYX34nSSiHlmLC+ KaHLeCLF5ZI2vKm3HEeCTtlOg7xZEONgwzL+fdKo+D6SoC8RRxJKs8a3sVfI4t6CnrQzvJbB n6gxdgCu5i29J1QCYrCYvql2UyFPAK+do99/1jOXT4m2836j1wARAQABzSBQYXVsIEVnZ2Vy dCA8ZWdnZXJ0QGNzLnVjbGEuZWR1PsLBfgQTAQIAKAUCTIByZAIbAwUJEswDAAYLCQgHAwIG FQgCCQoLBBYCAwECH In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230031 Archived-At: This is a multi-part message in MIME format. --------------A05C65081518328B8EAB4610 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 9/24/18 9:16 AM, T.V Raman wrote: > Try 'rm ./-.o' to remove the file '-.o'. That advice should fix the problem; did you try it? More importantly, why do you have a file named './-.o' - that is, what build option created that file? In the meantime I installed the attached into master, which should prevent this particular build failure from occurring again, though you may need to fix your copy by hand in order to propagate this fix into your copy. --------------A05C65081518328B8EAB4610 Content-Type: text/x-patch; name="0001-Fix-make-clean-with-a-file-named-.o.patch" Content-Disposition: attachment; filename="0001-Fix-make-clean-with-a-file-named-.o.patch" Content-Transfer-Encoding: quoted-printable >From bcb950a12c8a3fe77c65718fd20339198924488c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 24 Sep 2018 10:44:34 -0700 Subject: [PATCH] =3D?UTF-8?q?Fix=3D20=3DE2=3D80=3D98make=3D20clean=3DE2=3D= 80=3D99=3D20with=3D20a?=3D =3D?UTF-8?q?=3D20file=3D20named=3D20=3DE2=3D80=3D98-.o=3DE2=3D80=3D99?=3D MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Problem reported by T.V Raman in: https://lists.gnu.org/r/emacs-devel/2018-09/msg00866.html * Makefile.in (clean, extraclean): * doc/emacs/Makefile.in (mostlyclean): * doc/lispintro/Makefile.in (mostlyclean): * doc/lispref/Makefile.in (mostlyclean): * doc/misc/Makefile.in (mostlyclean, clean): * etc/refcards/Makefile (clean): * lib-src/Makefile.in (mostlyclean, extraclean): * lib/Makefile.in (clean): * lwlib/Makefile.in (clean mostlyclean): * oldXMenu/Makefile.in (clean mostlyclean): * src/Makefile.in (mostlyclean, extraclean): * test/Makefile.in (mostlyclean): Say =E2=80=98rm ./*.o=E2=80=99 instead of =E2=80=98rm *.o=E2=80=99 to avo= id undesirable failure when a file name begins with =E2=80=98-=E2=80=99. --- Makefile.in | 4 ++-- doc/emacs/Makefile.in | 4 ++-- doc/lispintro/Makefile.in | 4 ++-- doc/lispref/Makefile.in | 4 ++-- doc/misc/Makefile.in | 8 ++++---- etc/refcards/Makefile | 2 +- lib-src/Makefile.in | 4 ++-- lib/Makefile.in | 2 +- lwlib/Makefile.in | 2 +- oldXMenu/Makefile.in | 2 +- src/Makefile.in | 6 +++--- test/Makefile.in | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Makefile.in b/Makefile.in index 5ea48824bd..c6b2cfa78a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -839,7 +839,7 @@ clean_dirs =3D clean: $(clean_dirs:=3D_clean) $(MAKE) -C admin/charsets $@ [ ! -d test ] || $(MAKE) -C test $@ - -rm -f *.tmp etc/*.tmp* + -rm -f ./*.tmp etc/*.tmp* -rm -rf info-dir.* =20 ### 'bootclean' @@ -926,7 +926,7 @@ extraclean_dirs =3D extraclean: $(extraclean_dirs:=3D_extraclean) ${top_maintainer_clean} -rm -f config-tmp-* - -rm -f *~ \#* + -rm -f ./*~ \#* =20 # The src subdir knows how to do the right thing # even when the build directory and source dir are different. diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in index 1da2f1550f..54e173f8d6 100644 --- a/doc/emacs/Makefile.in +++ b/doc/emacs/Makefile.in @@ -206,8 +206,8 @@ .PHONY: =20 ## Temp files. mostlyclean: - rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \ - *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs + rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.ky ./*.= kys \ + ./*.op ./*.ops ./*.pg ./*.pgs ./*.tp ./*.tps ./*.vr ./*.vrs =20 ## Products not in the release tarfiles. clean: mostlyclean diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in index 71739fdb35..e2a1229d5c 100644 --- a/doc/lispintro/Makefile.in +++ b/doc/lispintro/Makefile.in @@ -109,8 +109,8 @@ emacs-lisp-intro.ps: .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean inf= oclean =20 mostlyclean: - rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \ - *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs + rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.ky ./*.= kys \ + ./*.op ./*.ops ./*.pg ./*.pgs ./*.tp ./*.tps ./*.vr ./*.vrs =20 clean: mostlyclean rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS) diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in index 98ca90a96d..221f4f97f5 100644 --- a/doc/lispref/Makefile.in +++ b/doc/lispref/Makefile.in @@ -167,8 +167,8 @@ .PHONY: =20 ## [12] stuff is from two-volume.make. mostlyclean: - rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \ - *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs + rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.ky ./*.= kys \ + ./*.op ./*.ops ./*.pg ./*.pgs ./*.tp ./*.tps ./*.vr ./*.vrs rm -f elisp[12]* vol[12].tmp =20 clean: mostlyclean diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in index 11086b3303..fd07ea4ca1 100644 --- a/doc/misc/Makefile.in +++ b/doc/misc/Makefile.in @@ -224,13 +224,13 @@ ${buildinfodir}/tramp.info tramp.html: .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean =20 mostlyclean: - rm -f *.aux *.log *.toc *.c[mp] *.c[mp]s *.fn *.fns \ - *.ky *.kys *.op *.ops *.p[gj] *.p[gj]s *.sc *.scs *.ss \ - *.t[gp] *.t[gp]s *.vr *.vrs + rm -f ./*.aux ./*.log ./*.toc ./*.c[mp] ./*.c[mp]s ./*.fn ./*.fns \ + ./*.ky ./*.kys ./*.op ./*.ops ./*.p[gj] ./*.p[gj]s ./*.sc ./*.scs ./*= .ss \ + ./*.t[gp] ./*.t[gp]s ./*.vr ./*.vrs rm -f gnustmp* =20 clean: mostlyclean - rm -f *.dvi *.html *.pdf *.ps + rm -f ./*.dvi ./*.html ./*.pdf ./*.ps =20 distclean: clean rm -f Makefile diff --git a/etc/refcards/Makefile b/etc/refcards/Makefile index b61ff5f803..a3c8e55172 100644 --- a/etc/refcards/Makefile +++ b/etc/refcards/Makefile @@ -311,7 +311,7 @@ viperCard.dvi: .PHONY: clean =20 clean: - -rm -f *.dvi *.log *.aux + -rm -f ./*.dvi ./*.log ./*.aux =20 distclean: clean =20 diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index b2b901788a..ecb9208a1c 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -334,7 +334,7 @@ uninstall: fi =20 mostlyclean: - rm -f core *.o *.res + rm -f core ./*.o ./*.res =20 clean: mostlyclean rm -f ${EXE_FILES} @@ -345,7 +345,7 @@ distclean: bootstrap-clean maintainer-clean: distclean =20 extraclean: maintainer-clean - rm -f *~ \#* + rm -f ./*~ \#* =20 ## Test the contents of the directory. check: diff --git a/lib/Makefile.in b/lib/Makefile.in index b26db27423..7dba31be71 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -118,7 +118,7 @@ TAGS: .PHONY: $(ETAGS) tags =20 clean: - rm -f *.[ao] *-t \#* $(DEPDIR)/* + rm -f ./*.[ao] ./*-t \#* $(DEPDIR)/* mostlyclean: clean rm -f $(filter-out %-t,$(MOSTLYCLEANFILES)) distclean bootstrap-clean: mostlyclean diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in index 6bd2608381..ed71270a77 100644 --- a/lwlib/Makefile.in +++ b/lwlib/Makefile.in @@ -111,7 +111,7 @@ $(globals_h): .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean =20 clean mostlyclean: - rm -f *.o liblw.a \#* $(DEPDIR)/* + rm -f ./*.o liblw.a \#* $(DEPDIR)/* =20 distclean: clean rm -f Makefile diff --git a/oldXMenu/Makefile.in b/oldXMenu/Makefile.in index d795038797..211bac97ee 100644 --- a/oldXMenu/Makefile.in +++ b/oldXMenu/Makefile.in @@ -138,7 +138,7 @@ libXMenu11.a: .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean =20 clean mostlyclean: - rm -f libXMenu11.a *.o $(DEPDIR)/* + rm -f libXMenu11.a ./*.o $(DEPDIR)/* =20 bootstrap-clean maintainer-clean distclean: clean rm -f Makefile diff --git a/src/Makefile.in b/src/Makefile.in index 7d9c2361a9..72f568988a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -645,12 +645,12 @@ .PHONY: .PHONY: versionclean extraclean =20 mostlyclean: - rm -f temacs$(EXEEXT) core *.core \#* *.o + rm -f temacs$(EXEEXT) core ./*.core \#* ./*.o rm -f ../etc/DOC rm -f bootstrap-emacs$(EXEEXT) emacs-$(version)$(EXEEXT) rm -f buildobj.h rm -f globals.h gl-stamp - rm -f *.res *.tmp + rm -f ./*.res ./*.tmp clean: mostlyclean rm -f emacs-*.*.*[0-9]$(EXEEXT) emacs$(EXEEXT) $(DEPDIR)/* =20 @@ -674,7 +674,7 @@ maintainer-clean: versionclean: -rm -f emacs$(EXEEXT) emacs-*.*.*[0-9]$(EXEEXT) ../etc/DOC* extraclean: distclean - -rm -f *~ \#* + -rm -f ./*~ \#* =20 =20 ETAGS =3D ../lib-src/etags${EXEEXT} diff --git a/test/Makefile.in b/test/Makefile.in index a1f4388288..adb316c3d9 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -307,7 +307,7 @@ .PHONY: =20 mostlyclean: -@for f in ${LOGFILES}; do test ! -f $$f || mv $$f $$f~; done - rm -f *.tmp + rm -f ./*.tmp =20 clean: find . '(' -name '*.log' -o -name '*.log~' ')' $(FIND_DELETE) --=20 2.17.1 --------------A05C65081518328B8EAB4610--