From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Build trivially (but permanently) broken Date: Mon, 24 Sep 2018 13:44:53 -0700 Message-ID: <23465.19653.61112.599791@retriever.mtv.corp.google.com> References: <347f9a56-6ac5-68b1-80a7-aeeaf839ced2@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1537821798 16774 195.159.176.226 (24 Sep 2018 20:43:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2018 20:43:18 +0000 (UTC) Cc: emacs-devel@gnu.org, raman@google.com To: eggert@cs.ucla.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 24 22:43:14 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 1g4XhJ-0004FI-Ur for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2018 22:43:14 +0200 Original-Received: from localhost ([::1]:48410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4XjQ-00006h-IW for ged-emacs-devel@m.gmane.org; Mon, 24 Sep 2018 16:45:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4Xj8-0008QY-5a for emacs-devel@gnu.org; Mon, 24 Sep 2018 16:45:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4Xiy-0001d6-T5 for emacs-devel@gnu.org; Mon, 24 Sep 2018 16:45:05 -0400 Original-Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:36226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4Xiy-0001aj-Fx for emacs-devel@gnu.org; Mon, 24 Sep 2018 16:44:56 -0400 Original-Received: by mail-pf1-x444.google.com with SMTP id b7-v6so2191455pfo.3 for ; Mon, 24 Sep 2018 13:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=++HavgXKkfoxE4hDHYC3pz2DPX4ApGZcCRjKLs+GOag=; b=lYH6vAFcD5yyAqEF60cA57Kn2+T03QQUPnKGpstS2vdb+X3/Gx/eyIyUEH/KJpplbL MbAF+EMJ8+tJ1UXNIvyNouvNi7gISzV+8P+d2fjv0nWqxCQNIYgRWxBOkTqcgsPmWHnl xhqrccwWIBNj9u8Ba+4F7U2hvg4CaoZ8Vs1JpS7PZJDxlBZ5WOeuqrXk8+viURqE3dIm MG2U/Ii3MzIZWR4PxdgDF8BW5tugDI8FfsSWVP424MlrJ/HcN02cNndRBrCpQjq77ajf /hgcrDVWgOgA/R1//o+fZyxzbkrPGp1RMrtFBYTKE8xf7mnG9FdR/bTQDfjQx89dbwJa Jazw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=++HavgXKkfoxE4hDHYC3pz2DPX4ApGZcCRjKLs+GOag=; b=X7eJ1EyIbzgGTXVxZQbMERE4pwbZdp9+GLaMAhLFKsG4F+ssU5Nn/HGLinXcfrrRyB NY/Zlfi+6I7RZ53MGdXNw2msg9jutFaSEr3ovvN6Ih4eXQdmEiJt7FTyDC4Wr2HpVJl7 2N/ObS1+WD2MXFa196LNLx3LWS70ea9qJhpgNkFQxLYMGi0AbFJpAkHsp67zVArGObJo O+HbL5m2gv8fg5nCf2ftZLlHzOpCUpoFa7UzKzPmoZAdAikv6DOBhs971oFVJxquswLL 1O59I54I2K/bwF+IKqlI8N4+pBqBu3KIsq7t6G/9lF6ZMVC9C9ysgKHkAlyc9Gkc8Osj oKYQ== X-Gm-Message-State: ABuFfoiNS4ZHSLcCKW472n9gO5CXlJwh070vJjZye7H/FlMKnd05VLy1 l7EB50+/KrGNYnFpAUHGiQnYdA== X-Google-Smtp-Source: ACcGV60apNo2XjXOgYo80NiXEvFFtObK1SpZdnDaVc9TH4lIEJH5c9HAMnoRHmoJuWgJ7iGieyhkdQ== X-Received: by 2002:a63:6d83:: with SMTP id i125-v6mr391472pgc.215.1537821894822; Mon, 24 Sep 2018 13:44:54 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([100.98.8.133]) by smtp.gmail.com with ESMTPSA id u25-v6sm241306pfk.177.2018.09.24.13.44.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Sep 2018 13:44:53 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id 267B31E0FF1; Mon, 24 Sep 2018 13:44:53 -0700 (PDT) In-Reply-To: <347f9a56-6ac5-68b1-80a7-aeeaf839ced2@cs.ucla.edu> X-Mailer: VM 8.1.1 under 27.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::444 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:230047 Archived-At: Will try that. I have no idea what created the -.o file. Here is the shell script I use to pull and build: #!/bin/sh #build it git reset --hard git pull --rebase ./configure --enable-silent-rules --prefix=3D/usr/local \ --with-modules --with-mailutils --without-compress-install --with-x-to= olkit=3Dlucid make -j V=3D0 bootstrap make -j V=3D0 #sudo make -j install Paul Eggert writes: > On 9/24/18 9:16 AM, T.V Raman wrote: > > Try 'rm ./-.o' to remove the file '-.o'. >=20 >=20 > That advice should fix the problem; did you try it=3F >=20 > More importantly, why do you have a file named './-.o' - that is, wh= at=20 > build option created that file=3F >=20 > In the meantime I installed the attached into master, which should=20= > prevent this particular build failure from occurring again, though y= ou=20 > may need to fix your copy by hand in order to propagate this fix int= o=20 > your copy. >=20 >=20 > --------------------------------------------------------------------= -- > >From bcb950a12c8a3fe77c65718fd20339198924488c Mon Sep 17 00:00:00 2= 001 > From: Paul Eggert > Date: Mon, 24 Sep 2018 10:44:34 -0700 > Subject: [PATCH] Fix =E2=80=98make clean=E2=80=99 with a > file named =E2=80=98-.o=E2=80=99 > MIME-Version: 1.0 > Content-Type: text/plain; charset=3DUTF-8 > Content-Transfer-Encoding: 8bit >=20 > 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 t= o avoid 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(-) >=20 > diff --git a/Makefile.in b/Makefile.in > index 5ea48824bd..c6b2cfa78a 100644 > --- a/Makefile.in > +++ b/Makefile.in > @@ -839,7 +839,7 @@ clean=5Fdirs =3D > clean: $(clean=5Fdirs:=3D=5Fclean) > =09$(MAKE) -C admin/charsets $@ > =09[ ! -d test ] || $(MAKE) -C test $@ > -=09-rm -f *.tmp etc/*.tmp* > +=09-rm -f ./*.tmp etc/*.tmp* > =09-rm -rf info-dir.* > =20 > ### 'bootclean' > @@ -926,7 +926,7 @@ extraclean=5Fdirs =3D > extraclean: $(extraclean=5Fdirs:=3D=5Fextraclean) > =09${top=5Fmaintainer=5Fclean} > =09-rm -f config-tmp-* > -=09-rm -f *~ \#* > +=09-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: > -=09rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \ > -=09 *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs > +=09rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.= ky ./*.kys \ > +=09 ./*.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-clea= n infoclean > =20 > mostlyclean: > -=09rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \ > -=09 *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs > +=09rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.= ky ./*.kys \ > +=09 ./*.op ./*.ops ./*.pg ./*.pgs ./*.tp ./*.tps ./*.vr ./*.vrs > =20 > clean: mostlyclean > =09rm -f $(DVI=5FTARGETS) $(HTML=5FTARGETS) $(PDF=5FTARGETS) $(PS=5F= 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: > -=09rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \ > -=09 *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs > +=09rm -f ./*.aux ./*.log ./*.toc ./*.cp ./*.cps ./*.fn ./*.fns ./*.= ky ./*.kys \ > +=09 ./*.op ./*.ops ./*.pg ./*.pgs ./*.tp ./*.tps ./*.vr ./*.vrs > =09rm -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-clea= n > =20 > mostlyclean: > -=09rm -f *.aux *.log *.toc *.c[mp] *.c[mp]s *.fn *.fns \ > -=09 *.ky *.kys *.op *.ops *.p[gj] *.p[gj]s *.sc *.scs *.ss \ > -=09 *.t[gp] *.t[gp]s *.vr *.vrs > +=09rm -f ./*.aux ./*.log ./*.toc ./*.c[mp] ./*.c[mp]s ./*.fn ./*.fn= s \ > +=09 ./*.ky ./*.kys ./*.op ./*.ops ./*.p[gj] ./*.p[gj]s ./*.sc ./*.= scs ./*.ss \ > +=09 ./*.t[gp] ./*.t[gp]s ./*.vr ./*.vrs > =09rm -f gnustmp* > =20 > clean: mostlyclean > -=09rm -f *.dvi *.html *.pdf *.ps > +=09rm -f ./*.dvi ./*.html ./*.pdf ./*.ps > =20 > distclean: clean > =09rm -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: > -=09-rm -f *.dvi *.log *.aux > +=09-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: > =09fi > =20 > mostlyclean: > -=09rm -f core *.o *.res > +=09rm -f core ./*.o ./*.res > =20 > clean: mostlyclean > =09rm -f ${EXE=5FFILES} > @@ -345,7 +345,7 @@ distclean: > bootstrap-clean maintainer-clean: distclean > =20 > extraclean: maintainer-clean > -=09rm -f *~ \#* > +=09rm -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: > -=09rm -f *.[ao] *-t \#* $(DEPDIR)/* > +=09rm -f ./*.[ao] ./*-t \#* $(DEPDIR)/* > mostlyclean: clean > =09rm -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=5Fh): > .PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clea= n > =20 > clean mostlyclean: > -=09rm -f *.o liblw.a \#* $(DEPDIR)/* > +=09rm -f ./*.o liblw.a \#* $(DEPDIR)/* > =20 > distclean: clean > =09rm -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-clea= n > =20 > clean mostlyclean: > -=09rm -f libXMenu11.a *.o $(DEPDIR)/* > +=09rm -f libXMenu11.a ./*.o $(DEPDIR)/* > =20 > bootstrap-clean maintainer-clean distclean: clean > =09rm -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: > -=09rm -f temacs$(EXEEXT) core *.core \#* *.o > +=09rm -f temacs$(EXEEXT) core ./*.core \#* ./*.o > =09rm -f ../etc/DOC > =09rm -f bootstrap-emacs$(EXEEXT) emacs-$(version)$(EXEEXT) > =09rm -f buildobj.h > =09rm -f globals.h gl-stamp > -=09rm -f *.res *.tmp > +=09rm -f ./*.res ./*.tmp > clean: mostlyclean > =09rm -f emacs-*.*.*[0-9]$(EXEEXT) emacs$(EXEEXT) $(DEPDIR)/* > =20 > @@ -674,7 +674,7 @@ maintainer-clean: > versionclean: > =09-rm -f emacs$(EXEEXT) emacs-*.*.*[0-9]$(EXEEXT) ../etc/DOC* > extraclean: distclean > -=09-rm -f *~ \#* > +=09-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: > =09-@for f in ${LOGFILES}; do test ! -f $$f || mv $$f $$f~; done > -=09rm -f *.tmp > +=09rm -f ./*.tmp > =20 > clean: > =09find . '(' -name '*.log' -o -name '*.log~' ')' $(FIND=5FDELETE) > --=20 > 2.17.1 >=20 --=20 Id: kg:/m/0285kf1=20 -- Id: kg:/m/0285kf1