From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jca@wxcvbn.org (=?UTF-8?Q?J=C3=A9r=C3=A9mie_?= =?UTF-8?Q?Courr=C3=A8ges-Anglas?=) Newsgroups: gmane.emacs.bugs Subject: bug#12242: Emacs 24.2 RC1 build fails on OpenBSD Date: Mon, 20 Aug 2012 21:53:16 +0200 Message-ID: <877gstuyqb.fsf@moo.wxcvbn.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1345492682 7872 80.91.229.3 (20 Aug 2012 19:58:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Aug 2012 19:58:02 +0000 (UTC) To: 12242@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 20 21:58:00 2012 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 1T3Y6k-0000mG-8s for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Aug 2012 21:57:54 +0200 Original-Received: from localhost ([::1]:56385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Y6i-0007xU-PA for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Aug 2012 15:57:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Y6f-0007xP-OK for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 15:57:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3Y6e-0001bi-2q for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 15:57:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Y6d-0001be-VP for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 15:57:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T3Y6s-0002Ly-Jn for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 15:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: jca@wxcvbn.org (=?UTF-8?Q?J=C3=A9r=C3=A9mie_?= =?UTF-8?Q?Courr=C3=A8ges-Anglas?=) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Aug 2012 19:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12242 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13454926599015 (code B ref -1); Mon, 20 Aug 2012 19:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Aug 2012 19:57:39 +0000 Original-Received: from localhost ([127.0.0.1]:40428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3Y6U-0002LJ-Iu for submit@debbugs.gnu.org; Mon, 20 Aug 2012 15:57:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47798) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3Y2y-0002Fh-SA for submit@debbugs.gnu.org; Mon, 20 Aug 2012 15:54:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3Y2i-0000S4-4s for submit@debbugs.gnu.org; Mon, 20 Aug 2012 15:53:45 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:35558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Y2h-0000Ry-SE for submit@debbugs.gnu.org; Mon, 20 Aug 2012 15:53:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Y2g-0006QR-7u for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 15:53:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3Y2e-0000RC-4P for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 15:53:42 -0400 Original-Received: from chomsky.autogeree.net ([91.216.110.36]:49818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Y2d-0000Pc-NP for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 15:53:40 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 20 Aug 2012 15:57:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63328 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi. Sorry for being late. The RC1 archive fails to build on OpenBSD/i386 -current (post 5.2) and OpenBSD/macppc -stable (5.1). Emacs 24.1 was building and running properly. I use $ ./configure --without-x && gmake [snip] EMACSLOADPATH=3D/home/jca/src/emacs-24.2/leim/../lisp LC_ALL=3DC ../src/ema= cs -batch --no-site-file --no-site-lisp -l /home/jca/src/emacs-24.2/leim/.= ./lisp/international/qua il \ -f batch-byte-compile-if-not-done quail/CCDOSPY.el quail/Punct.el quail/Q= J.el quail/SW.el quail/TONEPY.el quail/4Corner.el quail/ARRAY30.el quail/EC= DICT.el quail/ETZY.e l quail/Punct-b5.el quail/PY-b5.el quail/QJ-b5.el quail/ZOZY.el quail/tsang= -b5.el quail/quick-b5.el quail/tsang-cns.el quail/quick-cns.el quail/PY.el = quail/ZIRANMA.el qua il/CTLau.el quail/CTLau-b5.el if [ x`(cd /home/jca/src/emacs-24.2/leim && /bin/pwd)` =3D x`(/bin/pwd)` ] = ; then \ EMACSLOADPATH=3D/home/jca/src/emacs-24.2/leim/../lisp LC_ALL=3DC ../src/e= macs -batch --no-site-file --no-site-lisp -l /home/jca/src/emacs-24.2/leim/= ../lisp/international/qu ail \ --eval "(update-leim-list-file \".\")" ; \ else \ EMACSLOADPATH=3D/home/jca/src/emacs-24.2/leim/../lisp LC_ALL=3DC ../src/e= macs -batch --no-site-file --no-site-lisp -l /home/jca/src/emacs-24.2/leim/= ../lisp/international/qu ail \ --eval "(update-leim-list-file \".\" \"/home/jca/src/emacs-24.2/leim\")= " ; \ fi Updating /home/jca/src/emacs-24.2/leim/leim-list.el ... Checking /home/jca/src/emacs-24.2/leim/quail/PY.el ... Checking /home/jca/src/emacs-24.2/leim/quail/quick-cns.el ... Checking /home/jca/src/emacs-24.2/leim/quail/tsang-cns.el ... Checking /home/jca/src/emacs-24.2/leim/quail/ZIRANMA.el ... Checking /home/jca/src/emacs-24.2/leim/quail/CTLau-b5.el ... Checking /home/jca/src/emacs-24.2/leim/quail/CTLau.el ... Checking /home/jca/src/emacs-24.2/leim/quail/quick-b5.el ... Checking /home/jca/src/emacs-24.2/leim/quail/tsang-b5.el ... Checking /home/jca/src/emacs-24.2/leim/quail/ZOZY.el ... Checking /home/jca/src/emacs-24.2/leim/quail/TONEPY.el ... Checking /home/jca/src/emacs-24.2/leim/quail/SW.el ... Checking /home/jca/src/emacs-24.2/leim/quail/QJ.el ... Checking /home/jca/src/emacs-24.2/leim/quail/QJ-b5.el ... Checking /home/jca/src/emacs-24.2/leim/quail/Punct.el ... Checking /home/jca/src/emacs-24.2/leim/quail/Punct-b5.el ... Checking /home/jca/src/emacs-24.2/leim/quail/PY-b5.el ... Checking /home/jca/src/emacs-24.2/leim/quail/ETZY.el ... Checking /home/jca/src/emacs-24.2/leim/quail/ECDICT.el ... Checking /home/jca/src/emacs-24.2/leim/quail/CCDOSPY.el ... Checking /home/jca/src/emacs-24.2/leim/quail/ARRAY30.el ... Checking /home/jca/src/emacs-24.2/leim/quail/4Corner.el ... Checking /home/jca/src/emacs-24.2/leim/quail/indian.el ... Checking /home/jca/src/emacs-24.2/leim/quail/ipa.el ... Checking /home/jca/src/emacs-24.2/leim/quail/latin-post.el ... Checking /home/jca/src/emacs-24.2/leim/quail/czech.el ... Checking /home/jca/src/emacs-24.2/leim/quail/japanese.el ... Checking /home/jca/src/emacs-24.2/leim/quail/thai.el ... Checking /home/jca/src/emacs-24.2/leim/quail/arabic.el ... Checking /home/jca/src/emacs-24.2/leim/quail/hanja3.el ... Checking /home/jca/src/emacs-24.2/leim/quail/latin-ltx.el ... Checking /home/jca/src/emacs-24.2/leim/quail/hanja-jis.el ... Checking /home/jca/src/emacs-24.2/leim/quail/hebrew.el ... Checking /home/jca/src/emacs-24.2/leim/quail/symbol-ksc.el ... Checking /home/jca/src/emacs-24.2/leim/quail/hangul.el ... Checking /home/jca/src/emacs-24.2/leim/quail/lao.el ... Checking /home/jca/src/emacs-24.2/leim/quail/georgian.el ... Checking /home/jca/src/emacs-24.2/leim/quail/croatian.el ... Checking /home/jca/src/emacs-24.2/leim/quail/persian.el ... Checking /home/jca/src/emacs-24.2/leim/quail/hanja.el ... Checking /home/jca/src/emacs-24.2/leim/quail/slovak.el ... Checking /home/jca/src/emacs-24.2/leim/quail/lrt.el ... Checking /home/jca/src/emacs-24.2/leim/quail/tibetan.el ... Checking /home/jca/src/emacs-24.2/leim/quail/pypunct-b5.el ... Checking /home/jca/src/emacs-24.2/leim/quail/sgml-input.el ... Checking /home/jca/src/emacs-24.2/leim/quail/cyril-jis.el ... Fatal error (11)Segmentation fault (core dumped)=20 gmake[1]: *** [leim-list.el] Error 139 gmake[1]: Leaving directory `/home/jca/src/emacs-24.2/leim' gmake: *** [leim] Error 2 $=20 The backtrace looks like this (slightly mangled by copy/paste), using the default `-g -O2' CFLAGS on OpenBSD/powerpc: opyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-unknown-openbsd5.1"... Core was generated by `emacs'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libossaudio.so.3.1...done. Loaded symbols for /usr/lib/libossaudio.so.3.1 Reading symbols from /usr/local/lib/libdbus-1.so.9.1...done. Loaded symbols for /usr/local/lib/libdbus-1.so.9.1 Reading symbols from /usr/lib/libncurses.so.12.1...done. Loaded symbols for /usr/lib/libncurses.so.12.1 Reading symbols from /usr/lib/libpthread.so.13.3...done. Loaded symbols for /usr/lib/libpthread.so.13.3 Reading symbols from /usr/lib/libm.so.7.0...done. Loaded symbols for /usr/lib/libm.so.7.0 Reading symbols from /usr/lib/libc.so.62.0...done. Loaded symbols for /usr/lib/libc.so.62.0 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so #0 free_bloc (bloc=3D0x1b8fa80) at ralloc.c:719 719 if (heap->first_bloc =3D=3D bloc) (gdb) bt #0 free_bloc (bloc=3D0x1b8fa80) at ralloc.c:719 #1 0x01968d5c in r_alloc_free (ptr=3D0x2381608) at ralloc.c:939 #2 0x018baf1c in Fkill_buffer (buffer_or_name=3DVariable "buffer_or_name" = is not available. ) at buffer.c:4845 #3 0x0190a630 in Ffuncall (nargs=3D2, args=3DVariable "args" is not availa= ble. ) at eval.c:3001 #4 0x01945070 in exec_byte_code (bytestr=3DVariable "bytestr" is not avail= able. ) at bytecode.c:785 #5 0x019099c8 in eval_sub (form=3DVariable "form" is not available. ) at eval.c:2355 #6 0x01909ccc in Fprogn (args=3DVariable "args" is not available. ) at eval.c:364 #7 0x0190852c in unbind_to (count=3DVariable "count" is not available. ) at eval.c:3433 #8 0x01944fdc in exec_byte_code (bytestr=3DVariable "bytestr" is not avail= able. ) at bytecode.c:807 #9 0x01909fb8 in funcall_lambda (fun=3D31484933, nargs=3D1, arg_vector=3D0= xffff90c8) at eval.c:3232 #10 0x0190a3b4 in Ffuncall (nargs=3D2, args=3DVariable "args" is not availa= ble. ) at eval.c:3062 #11 0x0190acc8 in Fapply (nargs=3D2, args=3D0xffff90c4) at eval.c:2453 #12 0x0190a6d0 in Ffuncall (nargs=3D3, args=3DVariable "args" is not availa= ble. ) at eval.c:2983 #13 0x01945070 in exec_byte_code (bytestr=3DVariable "bytestr" is not avail= able. ) at bytecode.c:785 #14 0x01909fb8 in funcall_lambda (fun=3D27442485, nargs=3D1, arg_vector=3D0= xffff91d0) at eval.c:3232 #15 0x0190b878 in apply_lambda (fun=3D27442485, args=3DVariable "args" is n= ot available. ) at eval.c:3109 #16 0x01909788 in eval_sub (form=3DVariable "form" is not available. ) at eval.c:2413 #17 0x0190c438 in Feval (form=3D29386182, lexical=3DVariable "lexical" is n= ot available. ) at eval.c:2203 #18 0x0190a61c in Ffuncall (nargs=3D2, args=3DVariable "args" is not availa= ble. ) at eval.c:3004 #19 0x01945070 in exec_byte_code (bytestr=3DVariable "bytestr" is not avail= able. ) at bytecode.c:785 #20 0x01909dd4 in funcall_lambda (fun=3D27219261, nargs=3D1, arg_vector=3D0= xffff9564) at eval.c:3166 #21 0x0190a3b4 in Ffuncall (nargs=3D2, args=3DVariable "args" is not availa= ble. ) at eval.c:3062 #22 0x01945070 in exec_byte_code (bytestr=3DVariable "bytestr" is not avail= able. ) at bytecode.c:785 #23 0x01909dd4 in funcall_lambda (fun=3D27206509, nargs=3D0, arg_vector=3D0= xffff9738) at eval.c:3166 #24 0x0190a3b4 in Ffuncall (nargs=3D1, args=3DVariable "args" is not availa= ble. ) at eval.c:3062 #25 0x01945070 in exec_byte_code (bytestr=3DVariable "bytestr" is not avail= able. ) at bytecode.c:785 #26 0x01909dd4 in funcall_lambda (fun=3D27203701, nargs=3D0, arg_vector=3D0= xffff9850) at eval.c:3166 #27 0x0190b878 in apply_lambda (fun=3D27203701, args=3DVariable "args" is n= ot available. ) at eval.c:3109 #28 0x01909788 in eval_sub (form=3DVariable "form" is not available. ) at eval.c:2413 #29 0x0190c438 in Feval (form=3D29389358, lexical=3DVariable "lexical" is n= ot available. ) at eval.c:2203 #30 0x0189cbe8 in top_level_2 () at keyboard.c:1169 #31 0x0190d6fc in internal_condition_case (bfun=3D0x189cbc8 , handlers=3D29186386, hfun=3D0x18a0f74 ) at eval.c:1514 #32 0x018a1430 in top_level_1 (ignore=3DVariable "ignore" is not available. ) at keyboard.c:1177 #33 0x0190d804 in internal_catch (tag=3DVariable "tag" is not available. ) at eval.c:1271 #34 0x018a1260 in recursive_edit_1 () at keyboard.c:1132 #35 0x018a13d0 in Frecursive_edit () at keyboard.c:823 #36 0x01895718 in main (argc=3D8, argv=3D0x0) at emacs.c:1715 The same error happens consistently on both architectures (whether I use `--without-x' or not). $ ./configure --without-x REL_ALLOC=3Dno and $ ./configure --without-x CFLAGS=3D-g both seem to `fix' the problem, but I've only done light testing so far. Using git bisect, I was able to track the build error up to the 573c8f870aa68b8c5937524e1a4db645026a3240 git commit id: Backport: Really fix bug #11519, by fixing the last change in ralloc.c. src/ralloc.c (r_alloc_inhibit_buffer_relocation): Fix stupid thinko in the logic of incrementing and decrementing the value of use_relocatable_buffers. Sorry for not providing the hg commit id. Reverting that commit actually makes rc1 build again, but I have not tried to find a proper fix. On the other hand, rc1 builds and seems to work fine so far on Debian Squeeze (powerpc). :) Please don't hesitate if you need further action on my part. Regards, =2D-=20 J=C3=A9r=C3=A9mie Courr=C3=A8ges-Anglas GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (OpenBSD) iQIcBAEBCgAGBQJQMpWtAAoJEGGRj78GoRSUpggQAJ9PrSYX1rXdUChnFWvVvtA9 3bhIMLttr+uZOrYftmk+ncmMyMuOvj1gMkWzrMfsOG3BIOEK/IoD70zKzHEqYySd pYa1CBHcM0go1dzqOcFMymFqbiCjYofTo59/t86pQdqSDfUodb5AU80nYjgsSUH0 8ylGvNhARSQGyfm9nYU29fqm8DaXZ9b8z7Zsu/5igsu5a4wasLyOfVGxQJhoOir8 GOliBGmJ2ic0F/KxsbIHltDbK3vpWa7Cd7hrMPqLHHt5WqRMYCH2ExoHjAwO1oLD cV73aY0zhtYNNBYp1T3O/2Y+GTcV43LZq5sZQ2wJg73Dg1PrS94GcMs+q6WPmAun 6YQtcpqeTkJeNX9GnEHbaDYAaF04n/xiuKDisvz9RsmFhhuLdAto8JZF5ymyra1G JC3zyVMFbEU8DS3WpJV/9E7BsI/r8szxObqQxrO1/JfOu4c24Wxvn641d1e43Uuf x0LCiZ4KgZe6sIaylfkwliIalTWMoi3yNhibBzUQJkwoo2qPsLBmQymfcbIwhY0T trqW3nY7zs81Lnsc0j8H5doLd7BlEXHBG+wIR7f5c/h3fTe2J9fIBiFDhcqGVcDm 3zrseuwnZBUuPRTINN2W/e9DseC6x2CNVj6fLJyVrCC0WG2zroQH1FB8sPm7F8fL ClWsycosI3mZpFtAjrlz =7kgD -----END PGP SIGNATURE----- --=-=-=--