From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 30 07:49:32 2013 Received: (at submit) by debbugs.gnu.org; 30 Jun 2013 11:49:32 +0000 Received: from localhost ([127.0.0.1]:49001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtG8J-0006BN-RX for submit@debbugs.gnu.org; Sun, 30 Jun 2013 07:49:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57976) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtG8H-0006BA-Vn for submit@debbugs.gnu.org; Sun, 30 Jun 2013 07:49:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtG89-0006cC-3J for submit@debbugs.gnu.org; Sun, 30 Jun 2013 07:49:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtG89-0006c5-1K for submit@debbugs.gnu.org; Sun, 30 Jun 2013 07:49:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtG85-0000H8-Th for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 07:49:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtG83-0006b6-6a for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 07:49:17 -0400 Received: from smtp201.alice.it ([82.57.200.97]:33022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtG82-0006aw-WF for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 07:49:15 -0400 Received: from [192.168.1.100] (79.46.221.37) by smtp201.alice.it (8.6.060.15) (authenticated as angelo.graziosi@alice.it) id 5123901C0A3C42F2 for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2013 13:49:12 +0200 Message-ID: <51D01B31.7050906@alice.it> Date: Sun, 30 Jun 2013 13:49:05 +0200 From: Angelo Graziosi User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: bug-emacs Subject: Trunk bootstrap failure Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. Angelo From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 30 08:48:44 2013 Received: (at 14755) by debbugs.gnu.org; 30 Jun 2013 12:48:45 +0000 Received: from localhost ([127.0.0.1]:49060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtH3b-0007nx-N9 for submit@debbugs.gnu.org; Sun, 30 Jun 2013 08:48:44 -0400 Received: from mail-bk0-f50.google.com ([209.85.214.50]:60031) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtH3W-0007ne-Aa for 14755@debbugs.gnu.org; Sun, 30 Jun 2013 08:48:39 -0400 Received: by mail-bk0-f50.google.com with SMTP id ik8so1322679bkc.9 for <14755@debbugs.gnu.org>; Sun, 30 Jun 2013 05:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=i2OwH4wjlmB6Aux8QZ9Bz5blfd+F9mKeMaQhBxhHkuc=; b=F+ep7j+fM4afwJodRIx0l5Umiqi3dDq4pDbmKpmSpuL7rcwE7pntwx/IvoF996y8sf lB+fS8U6J5jrGwxqU8k/bzZM1cIXsS7LphQHbLj8esdISGCodvjs43dD6gfiaF55zWom 0uZR88dVy0ln6zyG+CxRp98NBHNH8Cmk9joGyOJxJCUWxkxreiCc1/XUJXCJIA6UUnme Y64VS7e0pm69ndWT8/omlx3VqhY8RmSixjiLmv57QzKZPPTfYJILdcxXH+hQL4y8eWg3 N89zq7mjxpFn33/TKGHTv/EzPC/ehobN0y085MuqLh0sra5eiRLtispcyAs48F+b6iDG wkvQ== X-Received: by 10.204.235.69 with SMTP id kf5mr2455057bkb.86.1372596511889; Sun, 30 Jun 2013 05:48:31 -0700 (PDT) Received: from arirop.lan (dsl-jklbrasgw1-50df8b-234.dhcp.inet.fi. [80.223.139.234]) by mx.google.com with ESMTPSA id ok9sm6382220bkb.8.2013.06.30.05.48.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 30 Jun 2013 05:48:31 -0700 (PDT) From: Ari Roponen To: Angelo Graziosi Subject: Re: bug#14755: Trunk bootstrap failure References: <51D01B31.7050906@alice.it> Date: Sun, 30 Jun 2013 15:48:25 +0300 In-Reply-To: <51D01B31.7050906@alice.it> (Angelo Graziosi's message of "Sun, 30 Jun 2013 13:49:05 +0200") Message-ID: <8761wvvk6e.fsf@arirop.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14755 Cc: 14755@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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. > > Angelo > 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. The above commit added this to `select-safe-coding-system': @@ -1029,6 +1029,11 @@ (error "Save aborted")))) (when (and tick (/= tick (buffer-chars-modified-tick))) (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)))) + (setq coding-system + (coding-system-change-text-conversion coding-system 'utf-8))) coding-system))) This code fails when the "Kludgy feature" mentioned in the docstring is used: if FROM is a string, the string is the target text, and TO is ignored. 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))) -- Ari Roponen From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 30 10:03:49 2013 Received: (at submit) by debbugs.gnu.org; 30 Jun 2013 14:03:49 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 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 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 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 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 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 Message-ID: <51D03AAD.6040201@alice.it> Date: Sun, 30 Jun 2013 16:03:25 +0200 From: Angelo Graziosi User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Ari Roponen Subject: Re: bug#14755: Trunk bootstrap failure References: <51D01B31.7050906@alice.it> <8761wvvk6e.fsf@arirop.lan> In-Reply-To: <8761wvvk6e.fsf@arirop.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: bug-emacs X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 30 10:29:33 2013 Received: (at 14755-done) by debbugs.gnu.org; 30 Jun 2013 14:29:33 +0000 Received: from localhost ([127.0.0.1]:49246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtIdA-0001ps-IS for submit@debbugs.gnu.org; Sun, 30 Jun 2013 10:29:32 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:33685) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtId7-0001pd-Df for 14755-done@debbugs.gnu.org; Sun, 30 Jun 2013 10:29:30 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MP700300MUPCC00@a-mtaout20.012.net.il> for 14755-done@debbugs.gnu.org; Sun, 30 Jun 2013 17:29:06 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MP7002VXMWIQOB0@a-mtaout20.012.net.il>; Sun, 30 Jun 2013 17:29:06 +0300 (IDT) Date: Sun, 30 Jun 2013 17:29:10 +0300 From: Eli Zaretskii Subject: Re: bug#14755: Trunk bootstrap failure In-reply-to: <51D03AAD.6040201@alice.it> X-012-Sender: halo1@inter.net.il To: Angelo Graziosi Message-id: <83ppv3d64p.fsf@gnu.org> References: <51D01B31.7050906@alice.it> <8761wvvk6e.fsf@arirop.lan> <51D03AAD.6040201@alice.it> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14755-done Cc: ari.roponen@gmail.com, 14755-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 30 Jun 2013 16:03:25 +0200 > From: Angelo Graziosi > Cc: 14755@debbugs.gnu.org > > > 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... Should be fixed in trunk revision 113229. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 03 09:39:06 2013 Received: (at 14755) by debbugs.gnu.org; 3 Jul 2013 13:39:06 +0000 Received: from localhost ([127.0.0.1]:54256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuNGz-0004g1-RX for submit@debbugs.gnu.org; Wed, 03 Jul 2013 09:39:06 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55810 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuNGw-0004fi-Bu for 14755@debbugs.gnu.org; Wed, 03 Jul 2013 09:39:03 -0400 Received: from handa by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UuNGv-0006MP-9P; Wed, 03 Jul 2013 09:39:01 -0400 From: Handa Kenichi To: Ari Roponen Subject: Re: bug#14755: Trunk bootstrap failure In-Reply-To: <8761wvvk6e.fsf@arirop.lan> (message from Ari Roponen on Sun, 30 Jun 2013 15:48:25 +0300) Date: Wed, 03 Jul 2013 09:39:01 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 14755 Cc: 14755@debbugs.gnu.org, angelo.graziosi@alice.it X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) In article <8761wvvk6e.fsf@arirop.lan>, Ari Roponen writes: > 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. > The above commit added this to `select-safe-coding-system': [...] > This code fails when the "Kludgy feature" mentioned in the docstring > is > used: if FROM is a string, the string is the target text, and TO is > ignored. Oops, my fault. > The following patch seems to fix the problem. Remember to delete > src/bootstrap-emacs, so that the patched version is used. Yes, your patch is correct. Thank you. --- Kenichi Handa handa@gnu.org > === 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))) > -- > Ari Roponen From unknown Sun Jun 15 01:08:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 01 Aug 2013 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator