X-Loop: help-debbugs@HIDDEN Subject: bug#16384: libtool fails with uninstalled frameworks and the -F flag Resent-From: "Michael C. Grant" <mcg@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-libtool@HIDDEN Resent-Date: Tue, 07 Jan 2014 16:48:03 +0000 Resent-Message-ID: <handler.16384.B.138911324632198 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 16384 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 16384 <at> debbugs.gnu.org X-Debbugs-Original-To: "bug-libtool@HIDDEN" <bug-libtool@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.138911324632198 (code B ref -1); Tue, 07 Jan 2014 16:48:03 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jan 2014 16:47:26 +0000 Received: from localhost ([127.0.0.1]:41213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1W0ZoL-0008NG-DW for submit <at> debbugs.gnu.org; Tue, 07 Jan 2014 11:47:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36086) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <mcg@HIDDEN>) id 1W0Zi5-0008Bq-2w for submit <at> debbugs.gnu.org; Tue, 07 Jan 2014 11:40:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mcg@HIDDEN>) id 1W0Zhv-0003r0-25 for submit <at> debbugs.gnu.org; Tue, 07 Jan 2014 11:40:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mcg@HIDDEN>) id 1W0Zhu-0003qw-Ud for submit <at> debbugs.gnu.org; Tue, 07 Jan 2014 11:40:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mcg@HIDDEN>) id 1W0Zhm-0003OK-EH for bug-libtool@HIDDEN; Tue, 07 Jan 2014 11:40:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mcg@HIDDEN>) id 1W0Zhe-0003pg-0H for bug-libtool@HIDDEN; Tue, 07 Jan 2014 11:40:38 -0500 Received: from smtp149.ord.emailsrvr.com ([173.203.6.149]:51987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mcg@HIDDEN>) id 1W0Zhd-0003pV-9c for bug-libtool@HIDDEN; Tue, 07 Jan 2014 11:40:29 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp31.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 565E53A865F for <bug-libtool@HIDDEN>; Tue, 7 Jan 2014 11:40:28 -0500 (EST) X-Virus-Scanned: OK Received: from smtp192.mex05.mlsrvr.com (unknown [184.106.31.85]) by smtp31.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTPS id BB6BD3A82FE for <bug-libtool@HIDDEN>; Tue, 7 Jan 2014 11:40:27 -0500 (EST) Received: from ORD2MBX03C.mex05.mlsrvr.com ([fe80::92e2:baff:fe20:c334]) by ORD2HUB25.mex05.mlsrvr.com ([fe80::be30:5bff:fef5:2014%15]) with mapi id 14.03.0158.001; Tue, 7 Jan 2014 10:40:27 -0600 From: "Michael C. Grant" <mcg@HIDDEN> Thread-Topic: libtool fails with uninstalled frameworks and the -F flag Thread-Index: AQHPC8crFT+1LYZ7MECcauLwI+AoTw== Date: Tue, 7 Jan 2014 16:40:27 +0000 Message-ID: <AAF1A41F-FE3F-4393-A2C7-67D7E9C5DEAB@HIDDEN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [65.111.101.128] Content-Type: multipart/mixed; boundary="_002_AAF1A41FFE3F4393A2C767D7E9C5DEABcvxrcom_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: Tue, 07 Jan 2014 11:47:24 -0500 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: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://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: <http://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 (----) --_002_AAF1A41FFE3F4393A2C767D7E9C5DEABcvxrcom_ Content-Type: text/plain; charset="us-ascii" Content-ID: <258B26A6F2A3B943BE017679DB0FE768@HIDDEN> Content-Transfer-Encoding: quoted-printable I'm trying to compile GNU Octave and its new Qt GUI on a Mac OSX with Homeb= rew. Homebrew installs the Qt frameworks in /usr/local/Cellar/qt/4.8.5/lib,= so after some fiddling with the configure script I get this: QT_LDFLAGS=3D-F/usr/local/Cellar/qt/4.8.5/lib QT_LIBS=3D-framework QtCore -framework QtGui -framework QtNetwork However, the libtool script does not handle the -F argument through properl= y, so it is stripped out of the linking process. I created the following patch for the generated libtool script, which cause= s libtool to treat -F exactly like it treats -L. This seems to do the trick= . I did notice that scanning through past discussions that this has come up a= couple of times, but there is reluctance to provide ful support for -F for= some reason. Perhaps the relative simplicity of this patch would convince = you to reconsider. If not, we can certainly entertain applying this patch i= n Homebrew itself. Regards, Michael --_002_AAF1A41FFE3F4393A2C767D7E9C5DEABcvxrcom_ Content-Type: application/octet-stream; name="libtool.diff" Content-Description: libtool.diff Content-Disposition: attachment; filename="libtool.diff"; size=2280; creation-date="Tue, 07 Jan 2014 16:40:27 GMT"; modification-date="Tue, 07 Jan 2014 16:40:27 GMT" Content-ID: <9A24762BDD53AC4CA56425311D5F4010@HIDDEN> Content-Transfer-Encoding: base64 LS0tIGxpYnRvb2wJMjAxNC0wMS0wNyAwNzo1Njo0Ny4wMDAwMDAwMDAgLTA2MDANCisrKyBsaWJ0 b29sLm1jZwkyMDE0LTAxLTA3IDA3OjU1OjAwLjAwMDAwMDAwMCAtMDYwMA0KQEAgLTU5ODIsMTMg KzU5ODIsMTcgQEANCiAJY29udGludWUNCiAJOzsNCiANCi0gICAgICAtTCopDQotCWZ1bmNfc3Ry aXBuYW1lICItTCIgJycgIiRhcmciDQorICAgICAgLUwqfC1GKikNCisJY2FzZSAkYXJnIGluDQor CS1GKikgbGZfcHJlZml4PSItRiIgOzsNCisgICAgICAgIC0qKSAgbGZfcHJlZml4PSItTCIgOzsN CisgICAgICAgIGVzYWMNCisJZnVuY19zdHJpcG5hbWUgIiRsZl9wcmVmaXgiICcnICIkYXJnIg0K IAlpZiB0ZXN0IC16ICIkZnVuY19zdHJpcG5hbWVfcmVzdWx0IjsgdGhlbg0KIAkgIGlmIHRlc3Qg IiQjIiAtZ3QgMDsgdGhlbg0KLQkgICAgZnVuY19mYXRhbF9lcnJvciAicmVxdWlyZSBubyBzcGFj ZSBiZXR3ZWVuIFxgLUwnIGFuZCBcYCQxJyINCisJICAgIGZ1bmNfZmF0YWxfZXJyb3IgInJlcXVp cmUgbm8gc3BhY2UgYmV0d2VlbiBcYC1bTEZdJyBhbmQgXGAkMSci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Zlcy9vYmpl Y3RzIg0KKwkgICAgZnVuY193YXJuaW5nICJcYC1bTEZdJyBpcyBpZ25vcmVkIGZvciBhcmNoaXZl cy9vYmplY3RzIg0KIAkgICAgOzsNCiAJICBlc2FjICMgbGlua21vZGUNCiAJICBjb250aW51ZQ0K --_002_AAF1A41FFE3F4393A2C767D7E9C5DEABcvxrcom_--
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: "Michael C. Grant" <mcg@HIDDEN> Subject: bug#16384: Acknowledgement (libtool fails with uninstalled frameworks and the -F flag) Message-ID: <handler.16384.B.138911324632198.ack <at> debbugs.gnu.org> References: <AAF1A41F-FE3F-4393-A2C7-67D7E9C5DEAB@HIDDEN> X-Gnu-PR-Message: ack 16384 X-Gnu-PR-Package: libtool Reply-To: 16384 <at> debbugs.gnu.org Date: Tue, 07 Jan 2014 16:48: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 16384 <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 16384: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D16384 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.