From unknown Fri Aug 15 15:58:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12549: 24.2; Makefiles in lwlib and oldXMenu subdirs hardcode ar call Resent-From: Ulrich Mueller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Oct 2012 13:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12549 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 12549@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134909861529874 (code B ref -1); Mon, 01 Oct 2012 13:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Oct 2012 13:36:55 +0000 Received: from localhost ([127.0.0.1]:35933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIgB4-0007ln-Mo for submit@debbugs.gnu.org; Mon, 01 Oct 2012 09:36:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45905) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIgAz-0007la-36 for submit@debbugs.gnu.org; Mon, 01 Oct 2012 09:36:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIgAT-0007TH-VL for submit@debbugs.gnu.org; Mon, 01 Oct 2012 09:36:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIgAT-0007TD-S4 for submit@debbugs.gnu.org; Mon, 01 Oct 2012 09:36:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIgAP-00070h-9D for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 09:36:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIgAK-0007Si-70 for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 09:36:13 -0400 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:38571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIgAJ-0007Rr-UX for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 09:36:08 -0400 Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id q91DZtit017814 for ; Mon, 1 Oct 2012 15:35:55 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.5/8.14.2) with ESMTP id q91DZtxO020784; Mon, 1 Oct 2012 15:35:55 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q91DZsEx020782; Mon, 1 Oct 2012 15:35:54 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----cutting-here-may-damage-your-screen-surface----69755104----" Message-ID: <20585.39994.857305.82648@a1i15.kph.uni-mainz.de> Date: Mon, 1 Oct 2012 15:35:54 +0200 X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) From: Ulrich Mueller 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-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) ------cutting-here-may-damage-your-screen-surface----69755104---- Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Tags: patch Forwarding downstream bug: The Makefiles in subdirectories lwlib and oldXMenu don't use AR and ARFLAGS from configure, but hardcode "ar cq": ar cq libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o insque.o x86_64-pc-linux-gnu-ranlib libXMenu11.a Attached patch should fix it. ------cutting-here-may-damage-your-screen-surface----69755104---- Content-Type: text/plain; name="emacs-ar.diff" Content-Disposition: inline; filename="emacs-ar.diff" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by a1iwww1.kph.uni-mainz.de id q91DZtit017814 --- emacs-orig/lwlib/ChangeLog +++ emacs/lwlib/ChangeLog @@ -1,3 +1,7 @@ +2012-10-01 Ulrich M=C3=BCller + + * Makefile.in (AR, ARFLAGS): Get values from configure. + 2012-08-16 Paul Eggert =20 Use ASCII tests for character types. --- emacs-orig/lwlib/Makefile.in +++ emacs/lwlib/Makefile.in @@ -37,7 +37,8 @@ CPPFLAGS=3D@CPPFLAGS@ RANLIB=3D@RANLIB@ =20 -AR =3D ar cq +AR =3D @AR@ +ARFLAGS =3D @ARFLAGS@ =20 LUCID_OBJS =3D lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o MOTIF_OBJS =3D lwlib-Xm.o @@ -65,7 +66,7 @@ =20 liblw.a: $(OBJS) rm -f $@ - $(AR) $@ $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) $(RANLIB) $@ =20 ## Generated files in ../src, non-generated in $(srcdir)/../src. --- emacs-orig/oldXMenu/ChangeLog +++ emacs/oldXMenu/ChangeLog @@ -1,3 +1,7 @@ +2012-10-01 Ulrich M=C3=BCller + + * Makefile.in (AR, ARFLAGS): Get values from configure. + 2012-06-26 Paul Eggert =20 * Makefile.in (ALL_CFLAGS): Add -I../lib -I${srcdir}/../lib. --- emacs-orig/oldXMenu/Makefile.in +++ emacs/oldXMenu/Makefile.in @@ -57,8 +57,8 @@ TAGS =3D etags RM =3D rm -f RANLIB =3D @RANLIB@ -# Solaris 2.1 ar doesn't accept the 'l' option. -AR =3D ar cq +AR =3D @AR@ +ARFLAGS =3D @ARFLAGS@ =20 OBJS =3D Activate.o \ AddPane.o \ @@ -98,7 +98,7 @@ =20 libXMenu11.a: $(OBJS) $(EXTRA) $(RM) $@ - $(AR) $@ $(OBJS) $(EXTRA) + $(AR) $(ARFLAGS) $@ $(OBJS) $(EXTRA) $(RANLIB) $@ =20 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h ------cutting-here-may-damage-your-screen-surface----69755104------ From unknown Fri Aug 15 15:58:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ulrich Mueller Subject: bug#12549: closed (Re: bug#12549: 24.2; Makefiles in lwlib and oldXMenu subdirs hardcode ar call) Message-ID: References: <7xobkgmnvm.fsf@fencepost.gnu.org> <20585.39994.857305.82648@a1i15.kph.uni-mainz.de> X-Gnu-PR-Message: they-closed 12549 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 12549@debbugs.gnu.org Date: Sat, 06 Oct 2012 00:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1349484242-10118-1" This is a multi-part message in MIME format... ------------=_1349484242-10118-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12549: 24.2; Makefiles in lwlib and oldXMenu subdirs hardcode ar call which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12549@debbugs.gnu.org. --=20 12549: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12549 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1349484242-10118-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12549-done) by debbugs.gnu.org; 6 Oct 2012 00:43:26 +0000 Received: from localhost ([127.0.0.1]:57352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKIUH-0002cK-Op for submit@debbugs.gnu.org; Fri, 05 Oct 2012 20:43:25 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:51128 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKIUF-0002cC-BS for 12549-done@debbugs.gnu.org; Fri, 05 Oct 2012 20:43:24 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TKIU1-0001Vn-5A; Fri, 05 Oct 2012 20:43:09 -0400 From: Glenn Morris To: 12549-done@debbugs.gnu.org Subject: Re: bug#12549: 24.2; Makefiles in lwlib and oldXMenu subdirs hardcode ar call References: <20585.39994.857305.82648@a1i15.kph.uni-mainz.de> X-Spook: infowar oil ANDVT AIMSX bank pink noise Aladdin Semtex X-Ran: /y7qzw:M6N!ec6)e)]@mP:|A@vy@SqZr:%#uX'QMQoqEfFLt@\>42L3n:NS~/Y(~ X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 05 Oct 2012 20:43:09 -0400 In-Reply-To: <20585.39994.857305.82648@a1i15.kph.uni-mainz.de> (Ulrich Mueller's message of "Mon, 1 Oct 2012 15:35:54 +0200") Message-ID: <7xobkgmnvm.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 12549-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Version: 24.3 OK, applied to trunk. (Did this cause any actual problem?) ------------=_1349484242-10118-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Oct 2012 13:36:55 +0000 Received: from localhost ([127.0.0.1]:35933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIgB4-0007ln-Mo for submit@debbugs.gnu.org; Mon, 01 Oct 2012 09:36:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45905) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TIgAz-0007la-36 for submit@debbugs.gnu.org; Mon, 01 Oct 2012 09:36:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIgAT-0007TH-VL for submit@debbugs.gnu.org; Mon, 01 Oct 2012 09:36:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIgAT-0007TD-S4 for submit@debbugs.gnu.org; Mon, 01 Oct 2012 09:36:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIgAP-00070h-9D for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 09:36:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIgAK-0007Si-70 for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 09:36:13 -0400 Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]:38571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIgAJ-0007Rr-UX for bug-gnu-emacs@gnu.org; Mon, 01 Oct 2012 09:36:08 -0400 Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1iwww1.kph.uni-mainz.de (8.14.4/8.13.4) with ESMTP id q91DZtit017814 for ; Mon, 1 Oct 2012 15:35:55 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.5/8.14.2) with ESMTP id q91DZtxO020784; Mon, 1 Oct 2012 15:35:55 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.5/8.14.5/Submit) id q91DZsEx020782; Mon, 1 Oct 2012 15:35:54 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----cutting-here-may-damage-your-screen-surface----69755104----" Message-ID: <20585.39994.857305.82648@a1i15.kph.uni-mainz.de> Date: Mon, 1 Oct 2012 15:35:54 +0200 To: bug-gnu-emacs@gnu.org Subject: 24.2; Makefiles in lwlib and oldXMenu subdirs hardcode ar call X-Mailer: VM 8.2.0b under 23.4.2 (x86_64-pc-linux-gnu) From: Ulrich Mueller 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-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) ------cutting-here-may-damage-your-screen-surface----69755104---- Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Tags: patch Forwarding downstream bug: The Makefiles in subdirectories lwlib and oldXMenu don't use AR and ARFLAGS from configure, but hardcode "ar cq": ar cq libXMenu11.a Activate.o AddPane.o AddSel.o ChgPane.o ChgSel.o Create.o DelPane.o DelSel.o Destroy.o Error.o EvHand.o FindPane.o FindSel.o InsPane.o InsSel.o Internal.o Locate.o Post.o Recomp.o SetAEQ.o SetFrz.o SetPane.o SetSel.o XDelAssoc.o XLookAssoc.o XCrAssoc.o XDestAssoc.o XMakeAssoc.o insque.o x86_64-pc-linux-gnu-ranlib libXMenu11.a Attached patch should fix it. ------cutting-here-may-damage-your-screen-surface----69755104---- Content-Type: text/plain; name="emacs-ar.diff" Content-Disposition: inline; filename="emacs-ar.diff" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by a1iwww1.kph.uni-mainz.de id q91DZtit017814 --- emacs-orig/lwlib/ChangeLog +++ emacs/lwlib/ChangeLog @@ -1,3 +1,7 @@ +2012-10-01 Ulrich M=C3=BCller + + * Makefile.in (AR, ARFLAGS): Get values from configure. + 2012-08-16 Paul Eggert =20 Use ASCII tests for character types. --- emacs-orig/lwlib/Makefile.in +++ emacs/lwlib/Makefile.in @@ -37,7 +37,8 @@ CPPFLAGS=3D@CPPFLAGS@ RANLIB=3D@RANLIB@ =20 -AR =3D ar cq +AR =3D @AR@ +ARFLAGS =3D @ARFLAGS@ =20 LUCID_OBJS =3D lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o MOTIF_OBJS =3D lwlib-Xm.o @@ -65,7 +66,7 @@ =20 liblw.a: $(OBJS) rm -f $@ - $(AR) $@ $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) $(RANLIB) $@ =20 ## Generated files in ../src, non-generated in $(srcdir)/../src. --- emacs-orig/oldXMenu/ChangeLog +++ emacs/oldXMenu/ChangeLog @@ -1,3 +1,7 @@ +2012-10-01 Ulrich M=C3=BCller + + * Makefile.in (AR, ARFLAGS): Get values from configure. + 2012-06-26 Paul Eggert =20 * Makefile.in (ALL_CFLAGS): Add -I../lib -I${srcdir}/../lib. --- emacs-orig/oldXMenu/Makefile.in +++ emacs/oldXMenu/Makefile.in @@ -57,8 +57,8 @@ TAGS =3D etags RM =3D rm -f RANLIB =3D @RANLIB@ -# Solaris 2.1 ar doesn't accept the 'l' option. -AR =3D ar cq +AR =3D @AR@ +ARFLAGS =3D @ARFLAGS@ =20 OBJS =3D Activate.o \ AddPane.o \ @@ -98,7 +98,7 @@ =20 libXMenu11.a: $(OBJS) $(EXTRA) $(RM) $@ - $(AR) $@ $(OBJS) $(EXTRA) + $(AR) $(ARFLAGS) $@ $(OBJS) $(EXTRA) $(RANLIB) $@ =20 Activate.o: Activate.c XMenuInt.h XMenu.h X10.h ------cutting-here-may-damage-your-screen-surface----69755104------ ------------=_1349484242-10118-1--