From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Manoj Srivastava Newsgroups: gmane.emacs.bugs Subject: bug#17806: 24.4.50; Branch emacs-24 fails to beuild on Debian Date: Wed, 18 Jun 2014 23:35:06 -0700 Organization: Manoj Srivastava's Home Message-ID: <878uotcspx.fsf@glaurung.internal.golden-gryphon.com> References: <87ionxaloa.fsf@glaurung.internal.golden-gryphon.com> <8361jxtxnp.fsf@gnu.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 1403160084 3882 80.91.229.3 (19 Jun 2014 06:41:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Jun 2014 06:41:24 +0000 (UTC) Cc: 17806@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 19 08:41:19 2014 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 1WxW2A-0007RZ-D1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jun 2014 08:41:18 +0200 Original-Received: from localhost ([::1]:33944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxW2A-0008UH-0V for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jun 2014 02:41:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxW21-0008NM-WC for bug-gnu-emacs@gnu.org; Thu, 19 Jun 2014 02:41:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxW1w-0001Y0-Qq for bug-gnu-emacs@gnu.org; Thu, 19 Jun 2014 02:41:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxW1w-0001Xw-OA for bug-gnu-emacs@gnu.org; Thu, 19 Jun 2014 02:41:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WxW1v-00044I-0G for bug-gnu-emacs@gnu.org; Thu, 19 Jun 2014 02:41:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Manoj Srivastava Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Jun 2014 06:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17806 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17806-submit@debbugs.gnu.org id=B17806.140316002915572 (code B ref 17806); Thu, 19 Jun 2014 06:41:02 +0000 Original-Received: (at 17806) by debbugs.gnu.org; 19 Jun 2014 06:40:29 +0000 Original-Received: from localhost ([127.0.0.1]:52405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxW1M-000435-6R for submit@debbugs.gnu.org; Thu, 19 Jun 2014 02:40:29 -0400 Original-Received: from ladon.golden-gryphon.com ([50.112.111.207]:56352) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxW1D-00042l-LG for 17806@debbugs.gnu.org; Thu, 19 Jun 2014 02:40:21 -0400 Original-Received: from glaurung.internal.golden-gryphon.com (c-71-231-121-134.hsd1.wa.comcast.net [71.231.121.134]) (authenticated bits=0) by ladon.golden-gryphon.com (8.14.4/8.14.4/Debian-4) with ESMTP id s5J6VRrZ001028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Jun 2014 23:31:29 -0700 Original-Received: from glaurung.internal.golden-gryphon.com.internal.golden-gryphon.com (glaurung.internal.golden-gryphon.com [127.0.0.1]) by glaurung.internal.golden-gryphon.com (8.14.4/8.14.4/Debian-7) with ESMTP id s5J6Z7km012725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 18 Jun 2014 23:35:08 -0700 User-Agent: Microsoft Gnus Express, Build 5.130012 (0.12) Face: iVBORw0KGgoAAAANSUhEUgAAACYAAAAwCAMAAABKbPgaAAAAM1BMVEUAAADIjH/0rp1KPz79 0b+ic2nlpJc2Ly2AY17VlYb4uqi2gHQXFBN2WVXgno5iT02Xa2Nx+jaIAAACVElEQVQ4jeWU23bj IAxFLUAggQX6/6+dI9LGTpo+9mlYiXNhc3TnOP50naZE0tqvgEk+soutnNfQ8yPTWMTENhNrjI+Y +N7POVt8tAzpn2vJlsmttbyfrdkP7hx5iezteGzsbOts7xT+tC1mcG+LtRP2X/16bEQExuyx1uZW vscrAWUT8aE0aDBeBuw8nS5u4WgWyDCllOZUBeyWgbWbGrBsTDpTx0qpphlcYPcgJLvBXFClPMg5 6WH2JidLIAaDF5aAed7uPTH4bjw0bZvfajp2tHc1F+cBm+Vr9YomGSwNhbmcczYEWUu5MBpYvCLV F+ZIKwQfYB+CBXnIRQFvIRhK6l96PemsFLEPFxi+MPxiTYH0Ave1InPsIYes3NJb42ytBSmmysyj lIQYHJm6Im1WbQ0kWMesKFRFPKTDzJ3GhWUn2KWKEkWlKthoACLm2eWJQQh2qKbAUgQxa+8TVjn1 aySm8656ookCfCc5TRzvnZ6YOu3NpHg+uR5YuRkNF/b5IHq5Y7Ve6c2+sR4hqIZ3+5DCt3ukh8Eo vFIXVJxqfMdbkd/BF3YaQkB/2RIUHPMS7RLVAHefrYzWZVQ/ei4peBsROFLi90ltQyvF5I05t4Zs L4C9DODJ2AZCUf8UitGjCIdfx15QQkfZibTOGT3edxns5fY6F2rstKcTwiiaJnQwvYkdzTlaTqNH IkSmGdLrON45tGsMNDoSYr4bxH5emHEFaoFjKBahHXFXfLx9cR9p6ejJXihuxPz57gWHZkWovbPl 9gsU8eImtBi++3D+f+sfT/Mg79fyEz8AAAAASUVORK5CYII= X-URL: http://www.golden-gryphon.com/ Mail-Copies-To: nobody X-Hashcash: 1:25:140619:17806@debbugs.gnu.org::gxX4GYhDKd3nLopR:0000000000000000000000000000000000000000QFdY X-Hashcash: 1:25:140619:rgm@gnu.org::b1rkwz3A9A/sH4eo:000001BnGT X-Hashcash: 1:25:140619:eliz@gnu.org::B2p7Bdy3KWfCEwnD:00002I0lG In-Reply-To: (Glenn Morris's message of "Wed, 18 Jun 2014 23:41:53 -0400") X-CRM114-CacheID: sfid-20140618_233129_934465_93240756 X-Scanned-By: MIMEDefang 2.71 on 10.248.0.85 X-Scanned-By: MIMEDefang 2.73 on 127.0.0.1 X-Grey: White X-Server-Orig: -1.449, -5.49 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:90538 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, Jun 18 2014, Glenn Morris wrote: >>> -DVERSION=3D"\"24.4.50\""=20 > > Also note the above. This is not a clean build of the emacs-24 branch. > > (Simply switching branches from something that contained a trunk build to > emacs-24 and typing `make' isn't supported.) ok. I git a new clone. I checkout out the emacs-24 branch. I ensured there was no extraneous files. % ./autogen.sh % ./configure --with-x-toolkit=3Dlucid --with-dbus --with-gpm \ --with-pop=3Dyes --with-xpm --with-jpeg --with-tiff --with-gif \ --with-png --with-x --with-imagemagick --with-xft --with-rsvg \ --with-libotf --enable-link-time-optimization --without-w32 \ --with-sound=3Dyes =2D-8<---------------cut here---------------start------------->8--- Configured for `x86_64-unknown-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -std=3Dgnu99 = -g3 -O2 -flto=3D4 Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? LUCID Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? yes Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng12 -lz -= lm Does Emacs use -lrsvg-2? yes Does Emacs use imagemagick? yes Does Emacs support sound? yes Does Emacs use -lgpm? yes Does Emacs use -ldbus? yes Does Emacs use -lgconf? yes Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lgio (gfile) Does Emacs use access control lists? yes -lacl Does Emacs use -lselinux? yes Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? yes Does Emacs use -lotf? yes Does Emacs use -lxft? yes Does Emacs directly use zlib? yes Does Emacs use toolkit scroll bars? yes =2D-8<---------------cut here---------------end--------------->8--- % make bootstrap =2D-8<---------------cut here---------------start------------->8--- rm -f libgnu.a ar cru libgnu.a allocator.o binary-io.o c-ctype.o c-strcasecmp.o c-strncase= cmp.o careadlinkat.o close-stream.o count-one-bits.o count-trailing-zeros.o= md5.o sha1.o sha256.o sha512.o dtoastr.o dtotimespec.o filemode.o gettime= .o pipe2.o acl-errno-valid.o file-has-acl.o qcopy-acl.o qset-acl.o stat-tim= e.o strftime.o timespec.o timespec-add.o timespec-sub.o u64.o unistd.o uti= mens.o openat-die.o save-cwd.o fcntl.o pthread_sigmask.o sig2str.o ranlib libgnu.a make[3]: Leaving directory '/usr/local/src/tmp/emacs/lib' make[2]: Leaving directory '/usr/local/src/tmp/emacs/lib' cd lib-src && make all -w \ CC=3D'gcc -std=3Dgnu99' CFLAGS=3D'-g3 -O2 -flto=3D4' CPPFLAGS=3D'' \ LDFLAGS=3D'' MAKE=3D'make' make[2]: Entering directory '/usr/local/src/tmp/emacs/lib-src' gcc -std=3Dgnu99 -c -I. -I../src -I../lib -I. -I./../src -I./../lib -= g3 -O2 -flto=3D4 ./../src/regex.c gcc -std=3Dgnu99 -I. -I../src -I../lib -I. -I./../src -I./../lib -g3= -O2 -flto=3D4 -DEMACS_NAME=3D"\"GNU Emacs\"" \ -DVERSION=3D"\"24.3.91\"" ./etags.c \ regex.o ../lib/libgnu.a -o etags /tmp/cc22Aczk.ltrans1.ltrans.o: In function `get_language_from_filename': /usr/local/src/tmp/emacs/lib-src/./etags.c:1434: undefined reference to `c_= strcasecmp' /usr/local/src/tmp/emacs/lib-src/./etags.c:1447: undefined reference to `c_= strcasecmp' /tmp/cc22Aczk.ltrans4.ltrans.o: In function `HTML_labels.lto_priv.77': /usr/local/src/tmp/emacs/lib-src/./etags.c:5136: undefined reference to `c_= strncasecmp' /usr/local/src/tmp/emacs/lib-src/./etags.c:5193: undefined reference to `c_= strncasecmp' /usr/local/src/tmp/emacs/lib-src/./etags.c:5137: undefined reference to `c_= strncasecmp' /usr/local/src/tmp/emacs/lib-src/./etags.c:5194: undefined reference to `c_= strncasecmp' /usr/local/src/tmp/emacs/lib-src/./etags.c:5195: undefined reference to `c_= strncasecmp' /tmp/cc22Aczk.ltrans4.ltrans.o:/usr/local/src/tmp/emacs/lib-src/./etags.c:5= 195: more undefined references to `c_strncasecmp' follow collect2: error: ld returned 1 exit status Makefile:321: recipe for target 'etags' failed make[2]: *** [etags] Error 1 make[2]: Leaving directory '/usr/local/src/tmp/emacs/lib-src' Makefile:363: recipe for target 'lib-src' failed make[1]: *** [lib-src] Error 2 make[1]: Leaving directory '/usr/local/src/tmp/emacs' Makefile:1092: recipe for target 'bootstrap' failed make: *** [bootstrap] Error 2 [1] 9379 exit 2 make bootstrap =2D-8<---------------cut here---------------end--------------->8--- So it still does happen with a clean build in Debian unstable. % nm -A c-strcasecmp.o c-strcasecmp.o:0000000000000001 C __gnu_lto_slim c-strcasecmp.o:0000000000000001 C __gnu_lto_v1 % nm -A c-strncasecmp.o c-strncasecmp.o:0000000000000001 C __gnu_lto_slim c-strncasecmp.o:0000000000000001 C __gnu_lto_v1 Also, if I explicitly add ../lib/c-strcasecmp.o ../lib/c-strncasecmp.o to the compile line for etags, it does compile. I have no idea what is going on here. I was indeed able to compile this on Debian stable (the same source tree copied into a debian stavle virt), so it is an interaction with the tool chain that is currently in Debian unstable/testing. manoj =2D-=20 I think your opinions are reasonable, except for the one about my mental instability. -- Psychology Professor, Farifield University Manoj Srivastava =20=20 4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQFtBAEBCgBXBQJTooSbUBSAAAAAABsALHNyaXZhc3RhQGdvbGRlbi1ncnlwaG9u LmNvbUFCQTcxMDI1QTFCNUE4OEE0RTVGNjhDMjM2QkQ3MjBGNkY1NzY0NzJfOTc3 AAoJEDa9cg9vV2RyyPMH/A22sSlQRtUjBlAYTRyqywWhD6lm+EJk501wS5Ag+MvT lSFqXgRDjRSL8YKQ3pJ4GitCg5DtFOHEsZSoYhvKB3m7jVgm114zMExdsEqI6Cka tO3sNazb8w4x7VYVr2Sy/hipljp2eu2zTCFDPuly8n1RMeojtZliR86EMtjGB4Uo 3pV3PHCRrfXEmJNN2Gi8L5ILV8B0JWyiZPacHdwyy9updgEd9/3DSi8mBbjjqJU4 46tXswbwOkxus2sXAn1cOLBpS6C1Yh6j84pViR0PIIH4taJ3vqUgLLApmCTOXlNk tKv6hXhX4GdSwEeKrlbEBivnlP8wAT6u4LuaGPi6wEk= =YtaP -----END PGP SIGNATURE----- --=-=-=--