X-Loop: help-debbugs@HIDDEN Subject: bug#21446: Conflicting definitions in cwrapperexe Resent-From: Damian Bogel <kele@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-libtool@HIDDEN Resent-Date: Wed, 09 Sep 2015 15:42:02 +0000 Resent-Message-ID: <handler.21446.B.144181327625349 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 21446 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 21446 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-libtool@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.144181327625349 (code B ref -1); Wed, 09 Sep 2015 15:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Sep 2015 15:41:16 +0000 Received: from localhost ([127.0.0.1]:53999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ZZhUq-0006ah-Ez for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 11:41:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52148) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <kele@HIDDEN>) id 1ZZgyH-0005ax-Uv for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 11:07:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgyB-0007kN-Ky for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 11:07:37 -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.0 required=5.0 tests=BAYES_20,HTML_MESSAGE, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgyB-0007kE-Ig for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 11:07:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgyA-0005Ng-Go for bug-libtool@HIDDEN; Wed, 09 Sep 2015 11:07:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgy8-0007id-Rb for bug-libtool@HIDDEN; Wed, 09 Sep 2015 11:07:29 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:34506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <kele@HIDDEN>) id 1ZZgy8-0007iU-LB for bug-libtool@HIDDEN; Wed, 09 Sep 2015 11:07:28 -0400 Received: by wicfx3 with SMTP id fx3so160749763wic.1 for <bug-libtool@HIDDEN>; Wed, 09 Sep 2015 08:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dLrP+vx/cOCiaFP+CPnQnEkeIFauIBW24BU9eRiwZyI=; b=ApYXtJN051MeU7lxj3VsWfLmDg5INtjSLUmumWDYQ8DKiiYZnPBZoHudNMNY7RL+8j tuZ45Ppm9F/r6g1Z95/M11sB6HmoosnFucqBS4i8OqnKe9Aow5L5SwiMhQenUkKUr7Qs drdEstW24A5xXebbN5oLQUlY0r9Pg/9lZzTAJrtx8GMe4vSee/gnYjp97F9RljiCDpFi eFldbfQl5AceLs8iQAtXgKwo9Ky5yRVHUtgIfpPoASaY0kNE3TxdcCYNZx6H5S7PWbv8 qngz2DW/sqswSZiYlCglMFbwC5+Fk16C9hgrrlAhLj4HzNT7rVF86J9hNSxRX8+N45g2 Umvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=dLrP+vx/cOCiaFP+CPnQnEkeIFauIBW24BU9eRiwZyI=; b=HOrnuDM4xrPaiRrY7mvvkDd/gfiuLCBIfc8GRlrGtbcTwPIEMgnDxHbQNDgF31pngT I0d4MCnQkz9XX9BUmxv2CtaHCS2cSKJOH2qQ7fpZg+hn0sWhJSwGtRaLha0+k45xIWJF 00ihNWIfJY6/fCkXF4TXA9HCbLbbp3FnDC1MQHCHMnC5y+0zIgMYI4R1PEgayR5D7UZ3 JAahVeGo8b0Fc8vbGJtj2N2CowSyRS9g8KjYGXSZO6obkkgfRHDqgxO/ntxnGSPbmmEy a4LRULhwfOto0Q4owmRS1oHOsL8u9Joqg/8zauIELaZRUbeuJihzYN20favZ/+vWQvrL j4aA== X-Gm-Message-State: ALoCoQm8YnigqVnV7KnO5mDTiFrSwcXB78PNTfGCI6vEPBtssY92z6rCpzvIfbBlpkMqrCJDa+ZJ MIME-Version: 1.0 X-Received: by 10.194.77.104 with SMTP id r8mr48292101wjw.102.1441811247176; Wed, 09 Sep 2015 08:07:27 -0700 (PDT) Received: by 10.194.61.204 with HTTP; Wed, 9 Sep 2015 08:07:27 -0700 (PDT) Date: Wed, 9 Sep 2015 11:07:27 -0400 Message-ID: <CAAxku4ZMypbUcx8tcoy5vCtX-9b-2WsUqnur6MOApHgA6-Dx5Q@HIDDEN> From: Damian Bogel <kele@HIDDEN> Content-Type: multipart/alternative; boundary=047d7bf0d52238e650051f51d71b X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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: -4.0 (----) X-Mailman-Approved-At: Wed, 09 Sep 2015 11:41:14 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) --047d7bf0d52238e650051f51d71b Content-Type: text/plain; charset=UTF-8 Hi, I'm using gnulib with mingw32 and I have a problem with redefines. At line 3657 @ build-aux/ltmain.in, commit 4ff16210c1089a3ba63a6f891442f0f1d8c20d96 /* portability defines, excluding path handling macros */ #if defined _MSC_VER # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC #elif defined __MINGW32__ # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined __CYGWIN__ # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined other platforms ... */ #endif This does not seem to take into consideration that gnulib might be used. I've been looking for a way to detect if gnulib is there or not, but couldn't find it. The only solution that comes to my mind is patching my libtool with #ifdef guards. -- Best, Damian --047d7bf0d52238e650051f51d71b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>I'm using gnulib with mingw32 a= nd I have a problem with redefines.</div><div><br></div><div>At line 3657 @= build-aux/<a href=3D"http://ltmain.in">ltmain.in</a>, commit=C2=A04ff16210= c1089a3ba63a6f891442f0f1d8c20d96</div><div><br></div><div><div><font face= =3D"monospace, monospace">/* portability defines, excluding path handling m= acros */</font></div><div><font face=3D"monospace, monospace">#if defined _= MSC_VER</font></div><div><font face=3D"monospace, monospace"># define setmo= de _setmode</font></div><div><font face=3D"monospace, monospace"># define s= tat =C2=A0 =C2=A0_stat</font></div><div><font face=3D"monospace, monospace"= ># define chmod =C2=A0 _chmod</font></div><div><font face=3D"monospace, mon= ospace"># define getcwd =C2=A0_getcwd</font></div><div><font face=3D"monosp= ace, monospace"># define putenv =C2=A0_putenv</font></div><div><font face= =3D"monospace, monospace"># define S_IXUSR _S_IEXEC</font></div><div><font = face=3D"monospace, monospace">#elif defined __MINGW32__</font></div><div><f= ont face=3D"monospace, monospace"># define setmode _setmode</font></div><di= v><font face=3D"monospace, monospace"># define stat =C2=A0 =C2=A0_stat</fon= t></div><div><font face=3D"monospace, monospace"># define chmod =C2=A0 _chm= od</font></div><div><font face=3D"monospace, monospace"># define getcwd =C2= =A0_getcwd</font></div><div><font face=3D"monospace, monospace"># define pu= tenv =C2=A0_putenv</font></div><div><font face=3D"monospace, monospace">#el= if defined __CYGWIN__</font></div><div><font face=3D"monospace, monospace">= # define HAVE_SETENV</font></div><div><font face=3D"monospace, monospace">#= define FOPEN_WB "wb"</font></div><div><font face=3D"monospace, m= onospace">/* #elif defined other platforms ... */</font></div><div><font fa= ce=3D"monospace, monospace">#endif</font></div><div><br></div><div>This doe= s not seem to take into consideration that gnulib might be used. I've b= een looking for a way to detect if gnulib is there or not, but couldn't= find it. The only solution that comes to my mind is patching my libtool wi= th #ifdef guards.</div><div><br></div>-- <br><div class=3D"gmail_signature"= ><div dir=3D"ltr">Best,<div>Damian</div></div></div> </div></div> --047d7bf0d52238e650051f51d71b--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Damian Bogel <kele@HIDDEN> Subject: bug#21446: Acknowledgement (Conflicting definitions in cwrapperexe) Message-ID: <handler.21446.B.144181327625349.ack <at> debbugs.gnu.org> References: <CAAxku4ZMypbUcx8tcoy5vCtX-9b-2WsUqnur6MOApHgA6-Dx5Q@HIDDEN> X-Gnu-PR-Message: ack 21446 X-Gnu-PR-Package: libtool Reply-To: 21446 <at> debbugs.gnu.org Date: Wed, 09 Sep 2015 15:42:03 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-libtool@HIDDEN If you wish to submit further information on this problem, please send it to 21446 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 21446: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21446 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#21446: Conflicting definitions in cwrapperexe Resent-From: Peter Rosin <peda@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-libtool@HIDDEN Resent-Date: Wed, 09 Sep 2015 20:54:02 +0000 Resent-Message-ID: <handler.21446.B.14418320343497 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 21446 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 21446 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-libtool@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14418320343497 (code B ref -1); Wed, 09 Sep 2015 20:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Sep 2015 20:53:54 +0000 Received: from localhost ([127.0.0.1]:54244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ZZmNO-0000uL-Es for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 16:53:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49530) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <peda@HIDDEN>) id 1ZZmNM-0000uA-5f for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 16:53:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <peda@HIDDEN>) id 1ZZmNK-0006hm-SU for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 16:53:51 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <peda@HIDDEN>) id 1ZZmNK-0006hi-Q2 for submit <at> debbugs.gnu.org; Wed, 09 Sep 2015 16:53:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <peda@HIDDEN>) id 1ZZmNJ-0007Wq-Oo for bug-libtool@HIDDEN; Wed, 09 Sep 2015 16:53:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <peda@HIDDEN>) id 1ZZmNG-0006gw-Eb for bug-libtool@HIDDEN; Wed, 09 Sep 2015 16:53:49 -0400 Received: from mail.lysator.liu.se ([130.236.254.3]:32813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <peda@HIDDEN>) id 1ZZmNG-0006gm-7G for bug-libtool@HIDDEN; Wed, 09 Sep 2015 16:53:46 -0400 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 9CD5B40037 for <bug-libtool@HIDDEN>; Wed, 9 Sep 2015 22:53:43 +0200 (CEST) Received: from [192.168.0.68] (217-210-101-82-no95.business.telia.com [217.210.101.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 57F984002C for <bug-libtool@HIDDEN>; Wed, 9 Sep 2015 22:53:43 +0200 (CEST) References: <CAAxku4ZMypbUcx8tcoy5vCtX-9b-2WsUqnur6MOApHgA6-Dx5Q@HIDDEN> From: Peter Rosin <peda@HIDDEN> Message-ID: <55F09C56.4030402@HIDDEN> Date: Wed, 9 Sep 2015 22:53:42 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <CAAxku4ZMypbUcx8tcoy5vCtX-9b-2WsUqnur6MOApHgA6-Dx5Q@HIDDEN> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: -4.3 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.3 (----) On 2015-09-09 17:07, Damian Bogel wrote: > Hi, > > I'm using gnulib with mingw32 and I have a problem with redefines. > > At line 3657 @ build-aux/ltmain.in <http://ltmain.in>, commit 4ff16210c1089a3ba63a6f891442f0f1d8c20d96 > > /* portability defines, excluding path handling macros */ > #if defined _MSC_VER > # define setmode _setmode > # define stat _stat > # define chmod _chmod > # define getcwd _getcwd > # define putenv _putenv > # define S_IXUSR _S_IEXEC > #elif defined __MINGW32__ > # define setmode _setmode > # define stat _stat > # define chmod _chmod > # define getcwd _getcwd > # define putenv _putenv > #elif defined __CYGWIN__ > # define HAVE_SETENV > # define FOPEN_WB "wb" > /* #elif defined other platforms ... */ > #endif > > This does not seem to take into consideration that gnulib might be used. I've been looking for a way to detect if gnulib is there or not, but couldn't find it. The only solution that comes to my mind is patching my libtool with #ifdef guards. Hi! Gnulib is not supposed to be involved when building the cwrapper, so no, gnulib should not be considered here. Is this perhaps the result of you patching in extra libs with sed when linking the cwrapper, as you mention in bug #21445? Cheers, Peter
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.