From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CNhxIRTOPGKkCQEAgWs5BA (envelope-from ) for ; Thu, 24 Mar 2022 21:01:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mNtAHhTOPGKLzwAAauVa8A (envelope-from ) for ; Thu, 24 Mar 2022 21:01:24 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4C67E20C7F for ; Thu, 24 Mar 2022 21:01:24 +0100 (CET) Received: from localhost ([::1]:49366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXTe6-0000Q5-Rb for larch@yhetil.org; Thu, 24 Mar 2022 16:01:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXTdm-0000Pq-8f for guix-patches@gnu.org; Thu, 24 Mar 2022 16:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXTdl-0006c3-Vp for guix-patches@gnu.org; Thu, 24 Mar 2022 16:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXTdl-0005yx-VJ for guix-patches@gnu.org; Thu, 24 Mar 2022 16:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54507] [PATCH v3 3/3] gnu: openfst-1.7.3: Enable ngram-fst extension & C++14 build Resent-From: Aurora Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Mar 2022 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54507 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54507@debbugs.gnu.org Cc: Aurora Received: via spool by 54507-submit@debbugs.gnu.org id=B54507.164815200622852 (code B ref 54507); Thu, 24 Mar 2022 20:01:01 +0000 Received: (at 54507) by debbugs.gnu.org; 24 Mar 2022 20:00:06 +0000 Received: from localhost ([127.0.0.1]:49469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXTcn-0005vX-Ce for submit@debbugs.gnu.org; Thu, 24 Mar 2022 16:00:06 -0400 Received: from knopi.disroot.org ([178.21.23.139]:44704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXTcf-0005ux-3s for 54507@debbugs.gnu.org; Thu, 24 Mar 2022 15:59:53 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 5DEE84026F; Thu, 24 Mar 2022 20:59:52 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KY58DJMi1-UH; Thu, 24 Mar 2022 20:59:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1648151986; bh=8HZtzF2zHvkJi3A0WV0G4TAg5UXIzus7NxIFaMzE0TY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Dik83LYFaNiVJW1ZodC4ZsCwh/+5kOgioMPG8HO1/LdG8sj/88jnihrkthT0pccws RYYM7RhW+pfnDKFz2YOujyIyTygjtOAMiKl0rWlVEcKO22mde/sb+gzunFalgZN70d b0qUcPFS7f0poSUMLUuy4QjccSiCOmzGNhIsrxb4EwuXa8/6HlaUgs91y/3X4N15iL ZDjipXegDicPDPuGAwyh55QF7WfxfoWgA6KMhDTb5H4AX+XIP98q9EHV+TRWmCdNb9 yV8/e2qlvrtRYs8+AdYdx9tqI7sG/hrucir9LmREG0hxDGoWCR0OyptwlAf3EbTPQB Kxmls0uAXaO5Q== Date: Thu, 24 Mar 2022 19:59:33 +0000 Message-Id: <20220324195933.2129-4-rind38@disroot.org> In-Reply-To: <20220324195933.2129-1-rind38@disroot.org> References: <877d8ji5tl.fsf@disp3269> <20220324195933.2129-1-rind38@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Aurora X-ACL-Warn: , Aurora via Guix-patches From: Aurora via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648152084; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bCQCSjHqR3X5nxEFUaxqMMzgV/hSbrHgoV4zPE3yiHc=; b=FLjNGnMOuEY9KjIpatcMF6Qx7YY7/vd7HrfE17GRhBcAQYwgWyGUGCHMPUs+8DOBNUE6j+ 6bfxzrXrZv+ex0x4FOz2faMo6OIT1/TDyVFfq0hfoP4qAhmhgFAwWM/ZMHFYzinb0DvbsZ TiSYEDpXaafpePIrYGrxLC43cHUJz/eUG6lsVjAQcOwRDN3rrroG1qsfCJDIqir6tZzRwJ Qt1Oi+hW2jozTJL2XpBQaBN518n8d9cTEO2rHPDl0BnM8YRpy3Ar0uCKoqH3x5aGSjqgyj 00I0ANvxZu7BjwawsZXaaJBxEG9oH+DOh8dSRkWsJy4BGV9lvLVvlWY/AR4ZWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648152084; a=rsa-sha256; cv=none; b=NqIimG3uU2TGhVGC++io+ezsMcJcelz0CQaFsSqTd9FL4nShO3+rKE/uR/UvK3WQrAaO+U Xb4Zx/iHFxhpcbYq9lk9pbaaD/F/mSWY/suxNPoAH7HfprqQCrWByx3fjK6W27dkzYxXBF vDRwzstZk6wXHOhb0nra3e/xgycHxCFRbti0bbop7qE3beS2cmdSDvgN9StWUe9ZUvsgAl 9eTLoM/qmG4JhtAsa5w2ecvu7T+EOZLB+y8xya8yJV0nfBSD8jH2JNRs8K041/j7xOhogu a5+DDzecSPGzj5fx8EEH1E6gm+KfwlmV8tc1Obj3i6bg0xIoljRDOSVIV4fx2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Dik83LYF; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Dik83LYF; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4C67E20C7F X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: gIJqvNsg7Ac8 The extension doesn't build in old versions of openfst such as 1.7.3 without manually setting CXXFLAGS. This package definition, including this workaround to build extensions successfully, will need to be removed once kaldi is fixed upstream and can be used with up-to-date versions of openfst. --- gnu/packages/machine-learning.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index ddc1392..d4a3604 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -596,7 +596,9 @@ optimizing, and searching weighted finite-state transducers (FSTs).") "FstDownload/openfst-" version ".tar.gz")) (sha256 (base32 - "038a60w7y8qnbxmcrsim9rafz9mihsny8xv50jpzlr7rl166pp5q")))))) + "038a60w7y8qnbxmcrsim9rafz9mihsny8xv50jpzlr7rl166pp5q")))) + (arguments '(#:configure-flags '("--enable-ngram-fsts" "CXXFLAGS=-std=c++14") + #:make-flags '("CXXFLAGS=-std=c++14"))))) (define-public shogun (package -- 2.30.2