Received: (at submit) by debbugs.gnu.org; 23 Oct 2019 17:31:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 23 13:31:45 2019 Received: from localhost ([127.0.0.1]:34952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iNKU5-0007nz-Mj for submit <at> debbugs.gnu.org; Wed, 23 Oct 2019 13:31:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:48305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jsakalaukus@HIDDEN>) id 1iNJUO-00046i-PI for submit <at> debbugs.gnu.org; Wed, 23 Oct 2019 12:28:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49167) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <jsakalaukus@HIDDEN>) id 1iNJUM-0003nv-JT for bug-libtool@HIDDEN; Wed, 23 Oct 2019 12:28:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jsakalaukus@HIDDEN>) id 1iNJUK-0007eN-5k for bug-libtool@HIDDEN; Wed, 23 Oct 2019 12:27:58 -0400 Received: from mail-eopbgr820082.outbound.protection.outlook.com ([40.107.82.82]:6416 helo=NAM01-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <jsakalaukus@HIDDEN>) id 1iNJUF-0007VQ-TA for bug-libtool@HIDDEN; Wed, 23 Oct 2019 12:27:55 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dMp4bkB3XuKmGagYclyzoK+5YcPDfXUL7OY/FLhwEJUT5cI4SHeK5NEOez2z9/cDNNSowzqFBXb7bLt/ITdWB7xPXmI/zOZzlTS7gtRWFslCIjjHLnHqKTW62HELVwcnvQhRODNk0mvBGXC9ouyhVBFKbtUhcx3RKMuFz5dxzQJlRHtmoIs5iUzMMG5GGD340F3MpW20XmO2y4bUhLDivCfC5pvn0yq5eV+U6y5lDOafKbUvvJ5Sbc+mJcLjLQ8EiLWQy8qOm5rEGZ/vMqmjJA3r98CoRE87hgRW/d/+PfxlVjl8ObFJY7hC/93ws1KTidgVSDNwF0Gz+EMTV1/5xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JPBgq9c0zYlgfQj7QhXFgmW3rzNU9GKBIXPrByCkCUM=; b=HugcSo3h/7b8oqau8Bl7wWceHQ0EQe2Dke6gLAJ2YjI6fQDyt9t/XBuoUtv8PkY7ROS1SeUKhrLmFE6uV9+dP06PMuZAQaG6qIxGgSgg6h/M8gV0oznhblayhNhMI/LM28v/i5Qz+QFiXcHQS+QbeODlvzq7Ky9g9iW3/xhsYOJQjnUId9FjgEVt8dzPOwtCqg1a8wzEAwNJAdRE///M3gH36Uw3dbIsYllPKrm2HEIXURxC/Ph4efJi3VoTGh7J5K9DI6FEM60JgqtIAGpfNDM//gMSoiw8vRjvdqfW9Vpr4fN2lXHs9iK3PZe66DJ0ho+wARcHxCh2wIQSXpSFQA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nsi-mi.com; dmarc=pass action=none header.from=nsi-mi.com; dkim=pass header.d=nsi-mi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nsi-mi.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JPBgq9c0zYlgfQj7QhXFgmW3rzNU9GKBIXPrByCkCUM=; b=Qzq7bs/x6TcU11FnmPHb4Qtey9hj31rAt43gDt/HIXKJ4bg6yM4noUYzLRyPovKQAokM3WuaKlVfSk5GU+hs7xgg6KXHQhtzB9ZnpRHkV7ucu/+bFEJ9u1b8+7PPepb9XJ0Ih8nNOt7p4bJaObrm/pipijlM1HxC6Iw1jWtjqH8= Received: from BN6PR17MB3171.namprd17.prod.outlook.com (10.255.131.27) by BN6PR17MB3201.namprd17.prod.outlook.com (10.255.129.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.20; Wed, 23 Oct 2019 16:27:40 +0000 Received: from BN6PR17MB3171.namprd17.prod.outlook.com ([fe80::597:62af:f5da:885d]) by BN6PR17MB3171.namprd17.prod.outlook.com ([fe80::597:62af:f5da:885d%7]) with mapi id 15.20.2367.025; Wed, 23 Oct 2019 16:27:40 +0000 From: James Sakalaukus <jsakalaukus@HIDDEN> To: "bug-libtool@HIDDEN" <bug-libtool@HIDDEN> Subject: sys_lib_search_path and sys_lib_dlsearch_path issues Thread-Topic: sys_lib_search_path and sys_lib_dlsearch_path issues Thread-Index: AQHVib1D4IGQpNvG20qwlU4rl1J/4g== Date: Wed, 23 Oct 2019 16:27:39 +0000 Message-ID: <BN6PR17MB3171F862BBEC1D410945424E8F6B0@HIDDEN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=jsakalaukus@HIDDEN; x-originating-ip: [12.191.221.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f6001fbb-35fe-4a73-d2f7-08d757d5ec5b x-ms-traffictypediagnostic: BN6PR17MB3201: x-microsoft-antispam-prvs: <BN6PR17MB32012B864709DCABEF6612118F6B0@HIDDEN> x-ms-oob-tlc-oobclassifiers: OLM:192; x-forefront-prvs: 019919A9E4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39840400004)(136003)(396003)(346002)(366004)(376002)(199004)(189003)(2501003)(55016002)(9686003)(54896002)(99286004)(71190400001)(71200400001)(6916009)(7696005)(25786009)(2351001)(7736002)(74316002)(66066001)(5640700003)(6436002)(33656002)(86362001)(19627405001)(256004)(64756008)(66946007)(66476007)(66446008)(66616009)(66556008)(8676002)(476003)(8936002)(5660300002)(26005)(81156014)(81166006)(316002)(5024004)(52536014)(4744005)(3846002)(6116002)(102836004)(99936001)(486006)(186003)(2906002)(105004)(14454004)(76116006)(478600001)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR17MB3201; H:BN6PR17MB3171.namprd17.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nsi-mi.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eDdWuA+4NR2Ni4F7aqVARaOga7YjA8VWLM+Z2Fd8PyN5hrIwgvDXXiPvepKOn26kaGWCTYvMw8IyayYg2e1tIw8LC1jbYioBZaHf0ZtoEqDBe0PvR1PlbVLbgTAK2JTgj/9CoLs1qKXQ94uL5X6mX3EAoknzpLlNw52+nOYdvPfAv7gEKGmYvdz+JAOHsoEieSU6gonbf22/tMPEfyKRsf5hRIV9dOmLaT5rx4C3lWnp+kOU7/5H13tV2mxx9QVcxiTsFti94di1k0C2R3YscPoVW/ui7DB0eQRfTkT/In1HleFVwzo8ByuVwxKAiKDfbfzVvMCYsMeaiYfpQ/Y6Y+FvQIfb9iv5cHngELWWRJSDjYAh2qFo6BaicubxmDmLkhTHqDOEq6RgOLO1W/EX1A16YwG8I++pRsbxbs3E5gyi6sV/aZSEQ2A92b4h9b9l x-ms-exchange-transport-forked: True Content-Type: multipart/mixed; boundary="_004_BN6PR17MB3171F862BBEC1D410945424E8F6B0BN6PR17MB3171namp_" MIME-Version: 1.0 X-OriginatorOrg: nsi-mi.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6001fbb-35fe-4a73-d2f7-08d757d5ec5b X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2019 16:27:39.8867 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 56a49b59-7064-471d-81d5-40bd91585d2e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pTJG4WAiVc1+7pqyD1rKkr1V2+JasPn5r0v9TN/1klJU8Xw4/bTyF0xk6jad31vWcmfY5S3z6sHfu+zm6F69MQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR17MB3201 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.82.82 X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 23 Oct 2019 13:31:44 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 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> --_004_BN6PR17MB3171F862BBEC1D410945424E8F6B0BN6PR17MB3171namp_ Content-Type: multipart/alternative; boundary="_000_BN6PR17MB3171F862BBEC1D410945424E8F6B0BN6PR17MB3171namp_" --_000_BN6PR17MB3171F862BBEC1D410945424E8F6B0BN6PR17MB3171namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have encountered an issue when compiling several projects. The libtool v= ersion installed from the Debian repository has the same issue as the one g= enerated in at least 2 different projects. I've attached the version from = /usr/bin/libtool of my distribution. System: Linux 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5 (2019-08-11) x86_64 GNU/= Linux Bash: GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu) Build errors observed: eval: line 7980: unexpected EOF while looking for matching `'' eval: line 7981: syntax error: unexpected end of file The issue is found in Lines 7979 and 7980 of the attached file: 7979: eval sys_lib_search_path=3D\"$sys_lib_search_path_spec\" 7980: eval sys_lib_dlsearch_path=3D\"$sys_lib_dlsearch_path_spec\" The corrected lines are: 7979: eval sys_lib_search_path=3D'\$sys_lib_search_path_spec' 7980: eval sys_lib_dlsearch_path=3D'\$sys_lib_dlsearch_path_spec' Thanks, James Sakalaukus --_000_BN6PR17MB3171F862BBEC1D410945424E8F6B0BN6PR17MB3171namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> I have encountered an issue when compiling several projects. The libt= ool version installed from the Debian repository has the same issue as the = one generated in at least 2 different projects. I've attached the ver= sion from /usr/bin/libtool of my distribution.<br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> System:<br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Linux 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5 (2019-08-11) x86_64 = GNU/Linux</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Bash:</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)<br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> Build errors observed:</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <span>eval: line 7980: unexpected EOF while looking for matching `''<br> </span> <div>eval: line 7981: syntax error: unexpected end of file<br> </div> <span></span></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> The issue is found in Lines 7979 and 7980 of the attached file:</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> 7979: <span>eval sys_lib_search_path=3D\"$sys_lib_search_path_spec\&qu= ot;<br> </span><span>7980: eval sys_lib_dlsearch_path=3D\"$sys_lib_dlsearch_pa= th_spec\"</span></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> The corrected lines are:</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> 7979: <span></span>eval sys_lib_search_path=3D'\$sys_lib_search_path_spec'<= br> 7980: eval sys_lib_dlsearch_path=3D'\$sys_lib_dlsearch_path_spec'</div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> <br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div id=3D"Signature"> <div id=3D"divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size: 12pt; colo= r: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif;"> <p style=3D"margin-top: 0px; margin-bottom: 0px;"><span id=3D"ms-rterangepa= ste-start"></span></p> <p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;"><sp= an style=3D"color: rgb(0, 112, 192); font-family: "Calibri", sans= -serif, serif, "EmojiFont";">Thanks,</span></p> <p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;"><sp= an style=3D"color: rgb(0, 112, 192); font-family: "Calibri", sans= -serif, serif, "EmojiFont";"> </span></p> <p class=3D"x_MsoNormal" style=3D"margin-top: 0px; margin-bottom: 0px;"><sp= an style=3D"color: rgb(0, 112, 192); font-family: "Calibri", sans= -serif, serif, "EmojiFont";">James Sakalaukus</span></p> <br> <p style=3D"margin-top: 0px; margin-bottom: 0px;"></p> </div> </div> </body> </html> --_000_BN6PR17MB3171F862BBEC1D410945424E8F6B0BN6PR17MB3171namp_-- --_004_BN6PR17MB3171F862BBEC1D410945424E8F6B0BN6PR17MB3171namp_ Content-Type: application/octet-stream; name="libtool" Content-Description: libtool Content-Disposition: attachment; filename="libtool"; size=372318; creation-date="Wed, 23 Oct 2019 16:17:06 GMT"; modification-date="Wed, 23 Oct 2019 16:17:37 GMT" Content-Transfer-Encoding: base64 IyEgL2Jpbi9iYXNoCiMgR2VuZXJhdGVkIGF1dG9tYXRpY2FsbHkgYnkgY29uZmlnLnN0YXR1cyAo bGlidG9vbCkgMi40LjYKIyBOT1RFOiBDaGFuZ2VzIG1hZGUgdG8gdGhpcyBmaWxlIHdpbGwgYmUg bG9zdDogbG9vayBhdCBsdG1haW4uc2guCgojIFByb3ZpZGUgZ2VuZXJhbGl6ZWQgbGlicmFyeS1i dWlsZGluZyBzdXBwb3J0IHNlcnZpY2VzLgojIFdyaXR0ZW4gYnkgR29yZG9uIE1hdHppZ2tlaXQs IDE5OTYKCiMgQ29weXJpZ2h0IChDKSAyMDE0IEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5j LgojIFRoaXMgaXMgZnJlZSBzb2Z0d2FyZTsgc2VlIHRoZSBzb3VyY2UgZm9yIGNvcHlpbmcgY29u ZGl0aW9ucy4gIFRoZXJlIGlzIE5PCiMgd2FycmFudHk7IG5vdCBldmVuIGZvciBNRVJDSEFOVEFC SUxJVFkgb3IgRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFB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25pc2UgaW4gYSBsb29wIGJlZm9yZSBwYXNzaW5n IHRoZSByZW1haW5kZXIgYmFjayB0byB0aGUKIyAgICAgICAgIyBjYWxsZXIgb24gdGhlIGZpcnN0 IHVucmVjb2duaXNlZCBhcmd1bWVudCB3ZSBlbmNvdW50ZXIuCiMgICAgICAgIHdoaWxlIHRlc3Qg JCMgLWd0IDA7IGRvCiMgICAgICAgICAgb3B0PSQxOyBzaGlmdAojICAgICAgICAgIGNhc2UgJG9w dCBpbgojICAgICAgICAgICAgLS1zaWxlbnR8LXMpIG9wdF9zaWxlbnQ9OiA7OwojICAgICAgICAg ICAgIyBTZXBhcmF0ZSBub24tYXJndW1lbnQgc2hvcnQgb3B0aW9uczoKIyAgICAgICAgICAgIC1z KikgICAgICAgICBmdW5jX3NwbGl0X3Nob3J0X29wdCAiJF9HX29wdCIKIyAgICAgICAgICAgICAg ICAgICAgICAgICBzZXQgZHVtbXkgIiRmdW5jX3NwbGl0X3Nob3J0X29wdF9uYW1lIiBcCiMgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICItJGZ1bmNfc3BsaXRfc2hvcnRfb3B0X2FyZyIgJHsx KyIkQCJ9CiMgICAgICAgICAgICAgICAgICAgICAgICAgc2hpZnQKIyAgICAgICAgICAgICAgICAg ICAgICAgICA7OwojICAgICAgICAgICAgKikgICAgICAgICAgICBzZXQgZHVtbXkgIiRfR19vcHQi ICIkKiI7IHNoaWZ0OyBicmVhayA7OwojICAgICAgICAgIGVzYWMKIyAgICAgICAgZG9uZQojCiMg ICAgICAgIGZ1bmNfcXVvdGVfZm9yX2V2YWwgJHsxKyIkQCJ9CiMgICAgICAgIG15X3NpbGVudF9v cHRpb25fcmVzdWx0PSRmdW5jX3F1b3RlX2Zvcl9ldmFsX3Jlc3VsdAojICAgIH0KIyAgICBmdW5j X2FkZF9ob29rIGZ1bmNfcGFyc2Vfb3B0aW9ucyBteV9zaWxlbnRfb3B0aW9uCiMKIwojICAgIG15 X29wdGlvbl92YWxpZG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FtZXRlcnMgdG8gbWF0Y2gKICAgICAgZXZhbCBzZXQgZHVtbXkgIiRm dW5jX3J1bl9ob29rc19yZXN1bHQiOyBzaGlmdAoKICAgICAgIyBCcmVhayBvdXQgb2YgdGhlIGxv b3AgaWYgd2UgYWxyZWFkeSBwYXJzZWQgZXZlcnkgb3B0aW9uLgogICAgICB0ZXN0ICQjIC1ndCAw IHx8IGJyZWFrCgogICAgICBfR19vcHQ9JDEKICAgICAgc2hpZnQKICAgICAgY2FzZSAkX0dfb3B0 IGluCiAgICAgICAgLS1kZWJ1Z3wteCkgICBkZWJ1Z19jbWQ9J3NldCAteCcKICAgICAgICAgICAg ICAgICAgICAgIGZ1bmNfZWNobyAiZW5hYmxpbmcgc2hlbGwgdHJhY2UgbW9kZSIKICAgICAgICAg ICAgICAgICAgICAgICRkZWJ1Z19jbWQKICAgICAgICAgICAgICAgICAgICAgIDs7CgogICAgICAg IC0tbm8td2FybmluZ3N8LS1uby13YXJuaW5nfC0tbm8td2FybikKICAgICAgICAgICAgICAgICAg ICAgIHNldCBkdW1teSAtLXdhcm5pbmdzIG5vbmUgJHsxKyIkQCJ9CiAgICAgICAgICAgICAgICAg ICAgICBzaGlmdAoJCSAgICAgIDs7CgogICAgICAgIC0td2FybmluZ3N8LS13YXJuaW5nfC1XKQog ICAgICAgICAgICAgICAgICAgICAgdGVzdCAkIyA9IDAgJiYgZnVuY19taXNzaW5nX2FyZyAkX0df b3B0ICYmIGJyZWFrCiAgICAgICAgICAgICAgICAgICAgICBjYXNlICIgJHdhcm5pbmdfY2F0ZWdv cmllcyAkMSIgaW4KICAgICAgICAgICAgICAgICAgICAgICAgKiIgJDEgIiopCiAgICAgICAgICAg ICAgICAgICAgICAgICAgIyB0cmFpbGluZyBzcGFjZSBwcmV2ZW50cyBtYXRjaGluZyBsYXN0ICQx IGFib3ZlCiAgICAgICAgICAgICAgICAgICAgICAgICAgZnVuY19hcHBlbmRfdW5pcSBvcHRfd2Fy bmluZ190eXBlcyAiICQxIgogICAgICAgICAgICAgICAgICAgICAgICAgIDs7CiAgICAgICAgICAg ICAgICAgICAgICAgICphbGwpCiAgICAgICAgICAgICAgICAgICAgICAgICAgb3B0X3dhcm5pbmdf dHlwZXM9JHdhcm5pbmdfY2F0ZWdvcmllcwogICAgICAgICAgICAgICAgICAgICAgICAgIDs7CiAg ICAgICAgICAgICAgICAgICAgICAgICpub25lKQogICAgICAgICAgICAgICAgICAgICAgICAgIG9w dF93YXJuaW5nX3R5cGVzPW5vbmUKICAgICAgICAgICAgICAgICAgICAgICAgICB3YXJuaW5nX2Z1 bmM9OgogICAgICAgICAgICAgICAgICAgICAgICAgIDs7CiAgICAgICAgICAgICAgICAgICAgICAg ICplcnJvcikKICAgICAgICAgICAgICAgICAgICAgICAgICBvcHRfd2FybmluZ190eXBlcz0kd2Fy bmluZ19jYXRlZ29yaWVzCiAgICAgICAgICAgICAgICAgICAgICAgICAgd2FybmluZ19mdW5jPWZ1 bmNfZmF0YWxfZXJyb3IKICAgICAgICAgICAgICAgICAgICAgICAgICA7OwogICAgICAgICAgICAg ICAgICAgICAgICAqKQogICAgICAgICAgICAgICAgICAgICAgICAgIGZ1bmNfZmF0YWxfZXJyb3Ig XAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICJ1bnN1cHBvcnRlZCB3YXJuaW5nIGNhdGVn b3J5OiAnJDEnIgogICAgICAgICAgICAgICAgICAgICAgICAgIDs7CiAgICAgICAgICAgICAgICAg ICAgICBlc2FjCiAgICAgICAgICAgICAgICAgICAgICBzaGlmdAogICAgICAgICAgICAgICAgICAg ICAgOzsKCiAgICAgICAgLS12ZXJib3NlfC12KSBvcHRfdmVyYm9zZT06IDs7CiAgICAgICAgLS12 ZXJzaW9uKSAgICBmdW5jX3ZlcnNpb24gOzsKICAgICAgICAtXD98LWgpICAgICAgIGZ1bmNfdXNh Z2UgOzsKICAgICAgICAtLWhlbHApICAgICAgIGZ1bmNfaGVscCA7OwoKCSMgU2VwYXJhdGUgb3B0 YXJncyB0byBsb25nIG9wdGlvbnMgKHBsdWdpbnMgbWF5IG5lZWQgdGhpcyk6CgktLSo9KikgICAg ICAgIGZ1bmNfc3BsaXRfZXF1YWxzICIkX0dfb3B0IgoJICAgICAgICAgICAgICBzZXQgZHVtbXkg IiRmdW5jX3NwbGl0X2VxdWFsc19saHMiIFwKICAgICAgICAgICAgICAgICAgICAgICAgICAiJGZ1 bmNfc3BsaXRfZXF1YWxzX3JocyIgJHsxKyIkQCJ9CiAgICAgICAgICAgICAgICAgICAgICBzaGlm dAogICAgICAgICAgICAgICAgICAgICAgOzsKCiAgICAgICAjIFNlcGFyYXRlIG9wdGFyZ3MgdG8g c2hvcnQgb3B0aW9uczoKICAgICAgICAtVyopCiAgICAgICAgICAgICAgICAgICAgICBmdW5jX3Nw bGl0X3Nob3J0X29wdCAiJF9HX29wdCIKICAgICAgICAgICAgICAgICAgICAgIHNldCBkdW1teSAi JGZ1bmNfc3BsaXRfc2hvcnRfb3B0X25hbWUiIFwKICAgICAgICAgICAgICAgICAgICAgICAgICAi JGZ1bmNfc3BsaXRfc2hvcnRfb3B0X2FyZyIgJHsxKyIkQCJ9CiAgICAgICAgICAgICAgICAgICAg ICBzaGlmdAogICAgICAgICAgICAgICAgICAgICAgOzsKCiAgICAgICAgIyBTZXBhcmF0ZSBub24t YXJndW1lbnQgc2hvcnQgb3B0aW9uczoKICAgICAgICAtXD8qfC1oKnwtdip8LXgqKQogICAgICAg ICAgICAgICAgICAgICAgZnVuY19zcGxpdF9zaG9ydF9vcHQgIiRfR19vcHQiCiAgICAgICAgICAg ICAgICAgICAgICBzZXQgZHVtbXkgIiRmdW5jX3NwbGl0X3Nob3J0X29wdF9uYW1lIiBcCiAgICAg ICAgICAgICAgICAgICAgICAgICAgIi0kZnVuY19zcGxpdF9zaG9ydF9vcHRfYXJnIiAkezErIiRA In0KICAgICAgICAgICAgICAgICAgICAgIHNoaWZ0CiAgICAgICAgICAgICAgICAgICAgICA7OwoK ICAgICAgICAtLSkgICA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lbiBieS97CiAgICAgICAgICB4O3A7eAogICAgICAgIH0KCWgK CS9eV3JpdHRlbiBieS9xJyA8ICIkcHJvZ3BhdGgiCiAgICBlY2hvCiAgICBldmFsIFwkRUNITyBc IiIkdXNhZ2VfbWVzc2FnZSJcIgp9CgoKIyBmdW5jX3ZlcnNpb24KIyAtLS0tLS0tLS0tLS0KIyBF Y2hvIHZlcnNpb24gbWVzc2FnZSB0byBzdGFuZGFyZCBvdXRwdXQgYW5kIGV4aXQuCmZ1bmNfdmVy c2lvbiAoKQp7CiAgICAkZGVidWdfY21kCgogICAgcHJpbnRmICclc1xuJyAiJHByb2duYW1lICRz Y3JpcHR2ZXJzaW9uIgogICAgJFNFRCAtbiAnCiAgICAgICAgLyhDKS8hYiBnbwogICAgICAgIDpt b3JlCiAgICAgICAgL1wuLyF7CiAgICAgICAgICBOCiAgICAgICAgICBzfFxuIyB8IHwKICAgICAg ICAgIGIgbW9yZQogICAgICAgIH0KICAgICAgICA6Z28KICAgICAgICAvXiMgV3JpdHRlbiBieSAv LC8jIHdhcnJhbnR5OyAvIHsKICAgICAgICAgIHN8XiMgfHwKICAgICAgICAgIHN8XiMgKiR8fAog ICAgICAgICAgc3xcKChDKVwpWyAwLTksLV0qWyAsLV1cKFsxLTldWzAtOV0qIFwpfFwxIFwyfAog ICAgICAgICAgcAogICAgICAgIH0KICAgICAgICAvXiMgV3JpdHRlbiBieSAvIHsKICAgICAgICAg IHN8XiMgfHwKICAgICAgICAgIHAKICAgICAgICB9CiAgICAgICAgL153YXJyYW50eTsgL3EnIDwg IiRwcm9ncGF0aCIKCiAgICBleGl0ICQ/Cn0KCgojIExvY2FsIHZhcmlhYmxlczoKIyBtb2RlOiBz aGVsbC1zY3JpcHQKIyBzaC1pbmRlbnRhdGlvbjogMgojIGV2YWw6IChhZGQtaG9vayAnYmVmb3Jl LXNhdmUtaG9vayAndGltZS1zdGFtcCkKIyB0aW1lLXN0YW1wLXBhdHRlcm46ICIxMC9zY3JpcHR2 Z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uKQogICAgICAgICAgICAgICAgICAgICAgICBvcHRfZHJ5 X3J1bj06CiAgICAgICAgICAgICAgICAgICAgICAgIDs7CgogICAgICAgIC0tY29uZmlnKSAgICAg ICBmdW5jX2NvbmZpZyA7OwoKICAgICAgICAtLWRsb3BlbnwtZGxvcGVuKQogICAgICAgICAgICAg ICAgICAgICAgICBvcHRfZGxvcGVuPSIke29wdF9kbG9wZW4rJG9wdF9kbG9wZW4KfSQxIgogICAg ICAgICAgICAgICAgICAgICAgICBzaGlmdAogICAgICAgICAgICAgICAgICAgICAgICA7OwoKICAg ICAgICAtLXByZXNlcnZlLWR1cC1kZXBzKQogICAgICAgICAgICAgICAgICAgICAgICBvcHRfcHJl c2VydmVfZHVwX2RlcHM9OiA7OwoKICAgICAgICAtLWZlYXR1cmVzKSAgICAgZnVuY19mZWF0dXJl cyA7OwoKICAgICAgICAtLWZpbmlzaCkgICAgICAgc2V0IGR1bW15IC0tbW9kZSBmaW5pc2ggJHsx KyIkQCJ9OyBzaGlmdCA7OwoKICAgICAgICAtLWhlbHApICAgICAgICAgb3B0X2hlbHA9OiA7OwoK ICAgICAgICAtLWhlbHAtYWxsKSAgICAgb3B0X2hlbHA9JzogaGVscC1hbGwnIDs7CgogICAgICAg IC0tbW9kZSkgICAgICAgICB0ZXN0ICQjID0gMCAmJiBmdW5jX21pc3NpbmdfYXJnICRfR19vcHQg JiYgYnJlYWsKICAgICAgICAgICAgICAgICAgICAgICAgb3B0X21vZGU9JDEKICAgICAgICAgICAg ICAgICAgICAgICAgY2FzZSAkMSBpbgogICAgICAgICAgICAgICAgICAgICAgICAgICMgVmFsaWQg bW9kZSBhcmd1bWVudHM6CiAgICAgICAgICAgICAgICAgICAgICAgICAgY2xlYW58Y29tcGlsZXxl eGVjdXRlfGZpbmlzaHxpbnN0YWxsfGxpbmt8cmVsaW5rfHVuaW5zdGFsbCkgOzsKCiAgICAgICAg ICAgICAgICAgICAgICAgICAgIyBDYXRjaCBhbnl0aGluZyBlbHNlIGFzIGFuIGVycm9yCiAgICAg ICAgICAgICAgICAgICAgICAgICAgKikgZnVuY19lcnJvciAiaW52YWxpZCBhcmd1bWVudCBmb3Ig JF9HX29wdCIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICBleGl0X2NtZD1leGl0CiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWsKICAgICAgICAgICAgICAgICAgICAgICAgICAg ICA7OwogICAgICAgICAgICAgICAgICAgICAgICBlc2FjCiAgICAgICAgICAgICAgICAgICAgICAg IHNoaWZ0CiAgICAgICAgICAgICAgICAgICAgICAgIDs7CgogICAgICAgIC0tbm8tc2lsZW50fC0t bm8tcXVpZXQpCiAgICAgICAgICAgICAgICAgICAgICAgIG9wdF9xdWlldD1mYWxzZQogICAgICAg ICAgICAgICAgICAgICAgICBmdW5jX2FwcGVuZCBwcmVzZXJ2ZV9hcmdzICIgJF9HX29wdCIKICAg ICAgICAgICAgICAgICAgICAgICAgOzsKCiAgICAgICAgLS1uby13YXJuaW5nc3wtLW5vLXdhcm5p bmd8LS1uby13YXJuKQogICAgICAgICAgICAgICAgICAgICAgICBvcHRfd2FybmluZz1mYWxzZQog ICAgICAgICAgICAgICAgICAgICAgICBmdW5jX2FwcGVuZCBwcmVzZXJ2ZV9hcmdzICIgJF9HX29w dCIKICAgICAgICAgICAgICAgICAgICAgICAgOzsKCiAgICAgICAgLS1uby12ZXJib3NlKQogICAg ICAgICAgICAgICAgICAgICAgICBvcHRfdmVyYm9zZT1mYWxzZQogICAgICAgICAgICAgICAgICAg ICAgICBmdW5jX2FwcGVuZCBwcmVzZXJ2ZV9hcmdzICIgJF9HX29wdCIKICAgICAgICAgICAgICAg ICAgICAgICAgOzsKCiAgICAgICAgLS1zaWxlbnR8LS1xdWlldCkKICAgICAgICAgICAgICAgICAg ICAgICAgb3B0X3F1aWV0PToKICAgICAgICAgICAgICAgICAgICAgICAgb3B0X3ZlcmJvc2U9ZmFs c2UKICAgICAgICAgICAgICAgICAgICAgICAgZnVuY19hcHBlbmQgcHJlc2VydmVfYXJncyAiICRf R19vcHQiCiAgICAgICAgICAgICAgICAgICAgICAgIDs7CgogICAgICAgIC0tdGFnKSAgICAgICAg ICB0ZXN0ICQjID0gMCAmJiBmdW5jX21pc3NpbmdfYXJnICRfR19vcHQgJiYgYnJlYWsKICAgICAg ICAgICAgICAgICAgICAgICAgb3B0X3RhZz0kMQogICAgICAgICAgICAgICAgICAgICAgICBmdW5j X2FwcGVuZCBwcmVzZXJ2ZV9hcmdzICIgJF9HX29wdCAkMSIKICAgICAgICAgICAgICAgICAgICAg ICAgZnVuY19lbmFibGVfdGFnICIkMSIKICAgICAgICAgICAgICAgICAgICAgICAgc2hpZnQKICAg ICAgICAgICAgICAgICAgICAgICAgOzsKCiAgICAgICAgLS12ZXJib3NlfC12KSAgIG9wdF9xdWll dD1mYWxzZQogICAgICAgICAgICAgICAgICAgICAgICBvcHRfdmVyYm9zZT06CiAgICAgICAgICAg ICAgICAgICAgICAgIGZ1bmNfYXBwZW5kIHByZXNlcnZlX2FyZ3MgIiAkX0dfb3B0IgogICAgICAg ICAgICAgICAgICAgICAgICA7OwoKCSMgQW4gb3B0aW9uIG5vdCBoYW5kbGVkIGJ5IHRoaXMgaG9v ayBmdW5jdGlvbjoKICAgICAgICAqKQkJc2V0IGR1bW15ICIkX0dfb3B0IiAkezErIiRAIn07CXNo aWZ0OyBicmVhayAgOzsKICAgICAgZXNhYwogICAgZG9uZQoKCiAgICAjIHNhdmUgbW9kaWZpZWQg cG9zaXRpb25hbCBwYXJhbWV0ZXJzIGZvciBjYWxsZXIKICAgIGZ1bmNfcXVvdGVfZm9yX2V2YWwg JHsxKyIkQCJ9CiAgICBsaWJ0b29sX3BhcnNlX29wdGlvbnNfcmVzdWx0PSRmdW5jX3F1b3RlX2Zv cl9ldmFsX3Jlc3VsdAp9CmZ1bmNfYWRkX2hvb2sgZnVuY19wYXJzZV9vcHRpb25zIGxpYnRvb2xf cGFyc2Vfb3B0aW9ucwoKCg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uLi9s aWIgL3Vzci9saWIvZ2NjL3g4Nl82NC1saW51eC1nbnUvNi8uLi8uLi8uLiIKCiMgRGVwZW5kZW5j aWVzIHRvIHBsYWNlIGJlZm9yZSBhbmQgYWZ0ZXIgdGhlIG9iamVjdHMgYmVpbmcgbGlua2VkIHRv CiMgY3JlYXRlIGEgc2hhcmVkIGxpYnJhcnkuCnByZWRlcF9vYmplY3RzPSIiCnBvc3RkZXBfb2Jq ZWN0cz0iIgpwcmVkZXBzPSIiCnBvc3RkZXBzPSItbHN0ZGMrKyAtbG0gLWxnY2NfcyAtbGMgLWxn Y2NfcyIKCiMgVGhlIGxpYnJhcnkgc2VhcmNoIHBhdGggdXNlZCBpbnRlcm5hbGx5IGJ5IHRoZSBj b21waWxlciB3aGVuIGxpbmtpbmcKIyBhIHNoYXJlZCBsaWJyYXJ5Lgpjb21waWxlcl9saWJfc2Vh cmNoX3BhdGg9IiIKCiMgIyMjIEVORCBMSUJUT09MIFRBRyBDT05GSUc6IEJJTkNYWAoK --_004_BN6PR17MB3171F862BBEC1D410945424E8F6B0BN6PR17MB3171namp_--
James Sakalaukus <jsakalaukus@HIDDEN>
:bug-libtool@HIDDEN
.
Full text available.bug-libtool@HIDDEN
:bug#37894
; Package libtool
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.