From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Build failure for Emacs master Date: Wed, 13 Apr 2016 00:42:40 +0200 Message-ID: <570D79E0.6030706@alice.it> References: <56CCD91E.6070507@alice.it> <83egc2ixji.fsf@gnu.org> <56CD798D.7060102@alice.it> <56CD8408.1000701@alice.it> <83wppuggb4.fsf@gnu.org> <56CE2CA7.5050906@alice.it> <83io1cg2pt.fsf@gnu.org> <56DA0327.2030009@alice.it> <83oaatxu72.fsf@gnu.org> <570C4307.6050907@alice.it> <83k2k2g82s.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1460500976 27935 80.91.229.3 (12 Apr 2016 22:42:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2016 22:42:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 13 00:42:44 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aq71A-0003AN-LN for ged-emacs-devel@m.gmane.org; Wed, 13 Apr 2016 00:42:44 +0200 Original-Received: from localhost ([::1]:59052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq71A-0005Ik-7q for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2016 18:42:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq715-0005EH-Qn for emacs-devel@gnu.org; Tue, 12 Apr 2016 18:42:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq711-0006fa-5H for emacs-devel@gnu.org; Tue, 12 Apr 2016 18:42:39 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:37606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq710-0006ed-QO; Tue, 12 Apr 2016 18:42:35 -0400 Original-Received: from [192.168.1.101] (79.19.227.36) by smtp204.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 56FAADF508E37A0C; Wed, 13 Apr 2016 00:42:33 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 In-Reply-To: <83k2k2g82s.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.100 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:202873 Archived-At: Il 12/04/2016 17:28, Eli Zaretskii ha scritto: >> From: Angelo Graziosi >> Date: Tue, 12 Apr 2016 02:36:23 +0200 >> >> Just for the record... >> >> After about a month, the issue has reappeared. >> >> Now it fails with this message: >> >> [...] >> Loading button... >> Loading loaddefs.el (source)... >> Wrong number of arguments: autoload, 1325 >> Makefile:540: set di istruzioni per l'obiettivo "emacs.exe" non riuscito >> make[1]: *** [emacs.exe] Errore 127 >> make[1]: uscita dalla directory "/tmp/work/emacs-master/src" >> Makefile:398: set di istruzioni per l'obiettivo "src" non riuscito >> make: *** [src] Errore 2 >> >> but the lisp/loaddefs.el seems to have the same defects.. > > And if you delete loaddefs.el, does the following build succeed? > Now I did the following (in a MSYS2/MINGW64 shell). $ wget http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-master.tar.gz $ tar -xf emacs-master.tar.gz $ cd emacs-master/ $ ./autogen.sh 2>&1 | tee ../emacs-build.log $ ./configure --prefix=/opt/emacs --build=x86_64-w64-mingw32 --enable-gcc-warnings=no --without-imagemagick 'CFLAGS=-pipe -O3 -fomit-frame-pointer -funroll-loops' 2>&1 | tee -a ../emacs-build.log $ make 2>&1 | tee -a ../emacs-build.log [...] ELC gnus/gnus-icalendar.elc ^M^M In toplevel form:^M^M gnus/gnus-icalendar.el:359:1:Error: End of file during parsing: c:/msys64/tmp/emacs-master/lisp/org/org-loaddefs.el^M Makefile:282: set di istruzioni per l'obiettivo "gnus/gnus-icalendar.elc" non riuscito make[2]: *** [gnus/gnus-icalendar.elc] Errore 1 make[2]: uscita dalla directory "/tmp/emacs-master/lisp" make[2]: ingresso nella directory "/tmp/emacs-master/lisp" ELC mh-e/mh-thread.elc [...] ELC org/org-agenda.elc ^M^M In toplevel form:^M^M org/org-agenda.el:48:1:Error: End of file during parsing: c:/msys64/tmp/emacs-master/lisp/org/org-loaddefs.el^M Makefile:282: set di istruzioni per l'obiettivo "org/org-agenda.elc" non riuscito make[2]: *** [org/org-agenda.elc] Errore 1 make[2]: uscita dalla directory "/tmp/emacs-master/lisp" make[2]: ingresso nella directory "/tmp/emacs-master/lisp" [...] GEN ../../info/wisent.info GEN ../../info/woman.info GEN ../../info/efaq-w32.info make[2]: uscita dalla directory "/tmp/emacs-master/doc/misc" GEN info/dir make[1]: uscita dalla directory "/tmp/emacs-master" In short, "make", apparently, did not stop but continued to the end.. So: $ cd .. $ grep -i error emacs-build.log [...] gnus/gnus-icalendar.el:359:1:Error: End of file during parsing: c:/msys64/tmp/emacs-master/lisp/org/org-loaddefs.el make[2]: *** [gnus/gnus-icalendar.elc] Errore 1 In org-babel-lilypond-mark-error-line: org/org-agenda.el:48:1:Error: End of file during parsing: c:/msys64/tmp/emacs-master/lisp/org/org-loaddefs.el make[2]: *** [org/org-agenda.elc] Errore 1 At this point, I did: $ rm emacs-master/lisp/org/org-loaddefs.el $ cd emacs-master $ make 2>&1 | tee -a ../emacs-build.log Many many .elc file were created and $ grep -i error ../emacs-build.log did not show other errors. So, it seems that removing the offending file (org-loaddefs.el, in this case) fixes the build.. Angelo