From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#14755: Trunk bootstrap failure Date: Sun, 30 Jun 2013 16:03:25 +0200 Message-ID: <51D03AAD.6040201@alice.it> References: <51D01B31.7050906@alice.it> <8761wvvk6e.fsf@arirop.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372601053 14754 80.91.229.3 (30 Jun 2013 14:04:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Jun 2013 14:04:13 +0000 (UTC) Cc: 14755@debbugs.gnu.org To: Ari Roponen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 30 16:04:14 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1UtIEc-0005jw-Vd for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jun 2013 16:04:11 +0200 Original-Received: from localhost ([::1]:45016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtIEc-00047R-ED for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jun 2013 10:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtIEX-00047K-Iu for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 10:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtIEU-0001DU-TF for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 10:04:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtIEU-0001DQ-QM for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 10:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UtIEU-0001E7-1H for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 10:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2013 14:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.13726010294695 (code B ref -1); Sun, 30 Jun 2013 14:04:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jun 2013 14:03:49 +0000 Original-Received: from localhost ([127.0.0.1]:49234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtIEH-0001De-0G for submit@debbugs.gnu.org; Sun, 30 Jun 2013 10:03:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34776) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtIED-0001DR-St for submit@debbugs.gnu.org; Sun, 30 Jun 2013 10:03:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtIE5-00018F-Jn for submit@debbugs.gnu.org; Sun, 30 Jun 2013 10:03:40 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtIE5-00018B-GR for submit@debbugs.gnu.org; Sun, 30 Jun 2013 10:03:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtIE0-00046V-QA for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 10:03:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtIDx-00016h-BM for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 10:03:32 -0400 Original-Received: from smtp203.alice.it ([82.57.200.99]:58921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtIDx-00016P-1B for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 10:03:29 -0400 Original-Received: from [192.168.1.100] (79.46.221.37) by smtp203.alice.it (8.6.060.15) (authenticated as angelo.graziosi@alice.it) id 5123A5970A3E3F19; Sun, 30 Jun 2013 16:03:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <8761wvvk6e.fsf@arirop.lan> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75742 Archived-At: Il 30/06/2013 14.48, Ari Roponen ha scritto: > Angelo Graziosi writes: > >> As suspected (see this thread: >> http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg01328.html) >> the bootstrap failure of trunk r.113227 probably isn't platform >> dependent. Not only it fails on Cygwin but also on Kubuntu. You need >> only to bootstrap on a *clean clean* tree. > > I got the same failure, too. This commit seems to cause it: > > revno: 113220 [merge] > committer: K. Handa > branch nick: trunk > timestamp: Sat 2013-06-29 12:46:39 +0900 > message: > Add the coding system prefer-utf-8. Confirmed. Rev. 113219 bootstraps while rev. 113220 doesn't... > > The following patch seems to fix the problem. Remember to delete > src/bootstrap-emacs, so that the patched version is used. > > === modified file 'lisp/international/mule-cmds.el' > --- lisp/international/mule-cmds.el 2013-06-28 14:42:55 +0000 > +++ lisp/international/mule-cmds.el 2013-06-30 06:07:06 +0000 > @@ -1031,7 +1031,9 @@ > (error "Canceled because the buffer was modified")) > (if (and (eq (coding-system-type coding-system) 'undecided) > (coding-system-get coding-system :prefer-utf-8) > - (< (- to from) (- (position-bytes to) (position-bytes from)))) > + (if (stringp from) > + (multibyte-string-p from) > + (< (- to from) (- (position-bytes to) (position-bytes from))))) > (setq coding-system > (coding-system-change-text-conversion coding-system 'utf-8))) > coding-system))) > indeed... with it I can bootstrap trunk! Ciao, Angelo.