From patchwork Fri Oct 29 11:06:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Foo Chuan Wei X-Patchwork-Id: 34133 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D708827BBE3; Fri, 29 Oct 2021 12:08:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4F3AA27BBE1 for ; Fri, 29 Oct 2021 12:08:11 +0100 (BST) Received: from localhost ([::1]:42838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgPk2-0003yH-Dp for patchwork@mira.cbaines.net; Fri, 29 Oct 2021 07:08:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgPju-0003xf-RD for guix-patches@gnu.org; Fri, 29 Oct 2021 07:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgPju-0007Rk-Gd for guix-patches@gnu.org; Fri, 29 Oct 2021 07:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgPju-0001D4-9m for guix-patches@gnu.org; Fri, 29 Oct 2021 07:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51479] [PATCH 1/1] gnu: ta-lib: Explicitly link math library References: In-Reply-To: Resent-From: Foo Chuan Wei Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Oct 2021 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51479 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51479@debbugs.gnu.org Received: via spool by 51479-submit@debbugs.gnu.org id=B51479.16355056234570 (code B ref 51479); Fri, 29 Oct 2021 11:08:02 +0000 Received: (at 51479) by debbugs.gnu.org; 29 Oct 2021 11:07:03 +0000 Received: from localhost ([127.0.0.1]:54076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgPiu-0001BJ-7n for submit@debbugs.gnu.org; Fri, 29 Oct 2021 07:07:03 -0400 Received: from mail-oln040092253097.outbound.protection.outlook.com ([40.92.253.97]:25960 helo=APC01-SG2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgPio-0001Az-Sx for 51479@debbugs.gnu.org; Fri, 29 Oct 2021 07:06:58 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kNUZ/Uw++ReGWjX+rDPpNJbu4hjyYSFswiCAurPtFWZKI76kq9PO3kGXqTiDpogahx3N1AyXdXqDclKvvsfFXilfiSaCeoUILed0nnvMVVdTOYLWfEUeUxGkvfaNUjo+T4yH1tge1TZZ1LF9zsZr/5hPhYB6BlivGTLm5+LPJZoJZScZHnXq37BN1jyi0jx1pRMNwmYzfL4NFAf2FW7rRGtcgv31WyhaMC/oURHDl/F2sqiLUWl4S9bJb/nKcpp2pJ2knknNBz9XM8BObT4n2/A8TT3E+L6cMJeHYDpyQmiFMoBUaW1w5EObYGGQQsyHAQdNv94WwK5t4GxDS8bo+g== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mkEKOp2Wonr3UEndbWri7cUsxBDUlqML/qUpHiAxVdo=; b=MB56aYpH0jw2WkOBJpfphanjuI855bzyMs7jEYItnTZgLWldxsyUSpN2qEW4owWh8b9RR64X4/XJBV/vE81K6zwt18k6fAPQUBjTfK1KtGaiRZmPhk/ebpJJa1ZfVQOiqT+Ff24DBU6SU6PZKYW3DtqzUrziMKtn6QSwZPKTQ1SP6n3PmJPfJyjzTFIdxuoF34pCSYHoN4p1DBrG6mcA0iQnqEGTwx2ngInQ6bXv/HqaIhgDuDS6RfnDiYVwlX2ZJRD/g6QmxxZLE5E9y2Ix5Itmdd0Qv6mlCqcvaonScTeD6CRplpcua3Lt7nIX09mYQHDc4CJkMsfGM7CNx5Cd6g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mkEKOp2Wonr3UEndbWri7cUsxBDUlqML/qUpHiAxVdo=; b=QoMWDKLS8ImPm25p9pSCtRiRZfn6ctikd292VYbt+M43NWq4Gx0rwjGfwx5Ay2t3kqgr5g2H1z37DEikZfzfUJTOR0X8CvcdqRLxRamexDc+oURzZ7MvkR3qr0jii8be3X0tx1BUQc3uiNEvglhCI+5qEYhP+6I1fxJYhCSoVXG3k0aFAjNZ88RNMR5naAjdy/C9HZR4v+JeSSuMv71lvQqfG6R5gx4OXdpgZniSzxo2D14D2JqiOgLS0SCPiAnxbpSjHgEpPSQSDbWfqVTjw59nykC+e9fETltekyvD+iIwSyp1BPauRua4mAiDn2M9jLyKOyQkMtqs7xoMNJ9XGw== Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) by PSAPR01MB4055.apcprd01.prod.exchangelabs.com (2603:1096:301:48::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Fri, 29 Oct 2021 11:06:46 +0000 Received: from PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::b81b:9b11:fede:9015]) by PU1PR01MB2155.apcprd01.prod.exchangelabs.com ([fe80::b81b:9b11:fede:9015%6]) with mapi id 15.20.4628.020; Fri, 29 Oct 2021 11:06:46 +0000 Date: Fri, 29 Oct 2021 11:06:43 +0000 From: Foo Chuan Wei Message-ID: Content-Disposition: inline X-TMN: [9PqFbAuW/NTuTWNGtxVcW0OhVtzMuEin] X-ClientProxiedBy: SG2PR01CA0194.apcprd01.prod.exchangelabs.com (2603:1096:4:189::22) To PU1PR01MB2155.apcprd01.prod.exchangelabs.com (2603:1096:803:1c::21) X-Microsoft-Original-Message-ID: <20211029110643.wq574otx3vypoie2@main> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from main (61.6.253.77) by SG2PR01CA0194.apcprd01.prod.exchangelabs.com (2603:1096:4:189::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Fri, 29 Oct 2021 11:06:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dd2d8945-545f-4f3f-ece2-08d99acc32db X-MS-TrafficTypeDiagnostic: PSAPR01MB4055: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5hPd75db/a++pfC7I523xokpYbRqdWDEuI3NeFp59sMxE/yM1gxZ6jYUTs/1tPQhYKRvKV0AnUblQZevRPkb25/nS+ehJOXsuB4/QFBT17pYElgEIg90HlkUL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ZvFtrnLGVgH8XOpUtV2wtZOBPMCXTohIcqF9dr+n+oOJ99E0qt98NtW4dJJC+Enl6wlXzIv0UGrjOPb4FP1y+wvkjxod0VA66j51sRP94W8z3acm X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-5c337.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: dd2d8945-545f-4f3f-ece2-08d99acc32db X-MS-Exchange-CrossTenant-AuthSource: PU1PR01MB2155.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2021 11:06:46.8774 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSAPR01MB4055 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/finance.scm (ta-lib): Explicitly link math library. --- gnu/packages/finance.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index f0093ba635..f662b5b774 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -1768,7 +1768,17 @@ editing on the Web.") (base32 "0lf69nna0aahwpgd9m9yjzbv2fbfn081djfznssa84f0n7y1xx4z")))) (build-system gnu-build-system) (arguments - `(;; Parallel build fails with: + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'edit-makefile-to-link-math-library + (lambda _ + (substitute* "src/Makefile.am" + (("ta_common/libta_common.la") + "ta_common/libta_common.la -lm")) + (substitute* "src/Makefile.in" + (("\\$\\(libta_lib_la_LDFLAGS\\) \\$\\(LDFLAGS\\) -o \\$@") + "$(libta_lib_la_LDFLAGS) $(LDFLAGS) -lm -o $@"))))) + ;; Parallel build fails with: ;; mv -f .deps/gen_code-gen_code.Tpo .deps/gen_code-gen_code.Po ;; mv: cannot stat '.deps/gen_code-gen_code.Tpo': No such file or directory ;; Makefile:254: recipe for target 'gen_code-gen_code.o' failed