From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6MR9DEI5z2ZuOgAA62LTzQ:P1 (envelope-from ) for ; Wed, 28 Aug 2024 14:50:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6MR9DEI5z2ZuOgAA62LTzQ (envelope-from ) for ; Wed, 28 Aug 2024 16:50:42 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="I9ao1UO/"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ivYv4Lni; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724856641; h=from:from:sender:sender: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=7lCM8mGCvLAEIS7ZYfucIUCxcm2Jpk/Evrn7GJoKmAU=; b=WaUUg6ulFS+oxub1qXXlhIM/URRTdJ3gku/GxSZ3yZrfLIJvnfNsQJMPW7aRh7QQBNnzWq DFrvPtOP9kZSEhtXOjvHcPIO+KqbMTgLzRhlEwrRRGC9kN4V16bVRo+E3Zsvfb3Nm3oDG6 5tP6Bc9mc89oKvZJsQtpuk95K+IAeDJ4/J3t0A5Cba87tzDJTp4ARjjVmEVMVNIg+ueaCZ AEYnHL+z08Dqmmncnld2qmSTNasLjDWY0xwcez0d2lg3a9xbLOFyc19wGDMC2YvBfjFxY6 7OGkNFC1UAaRlH6w/Prmr7cgmudsRPW9Emr68+QkwSTWl0HL1Ht84VOLWnV3Qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="I9ao1UO/"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=ivYv4Lni; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724856641; a=rsa-sha256; cv=none; b=Qqi4bic07dT0xUVLT3dA5SmILb3OlnUss9m53GXZIvr14MwhmUovSfmtNRko8ItSoaL8Xl LzN3RC7zAErzsv9L/cJo0gAF57hZOAfkiVWBk64mHCsjH5HDBanySHhsMfUng4qiGqAhFr t6ZaUKpIfJkkqREdU4FApP8bi1o5uqY+YY/L+EVYOV1v6GGw1UY7+ecEEBvhLx0eF17j6E dw+wTj4fRMzgQapiB4Rmkh7iRmowQR61Z9dHgZhqVazu2D+OnWfiRl93IuZbZxAOJey85M uieGE8r9HwAF3XfVxoYQXaaCdeoYR+pYy2aGYKDTpizpdeqiT55MZwnEoVjiKw== 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 8F2A457369 for ; Wed, 28 Aug 2024 16:50:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sjJzw-0001Jk-Ba; Wed, 28 Aug 2024 10:50:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sjJzs-0001JT-Ps for bug-guix@gnu.org; Wed, 28 Aug 2024 10:50:08 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sjJzs-0001Sz-Fn for bug-guix@gnu.org; Wed, 28 Aug 2024 10:50:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=7lCM8mGCvLAEIS7ZYfucIUCxcm2Jpk/Evrn7GJoKmAU=; b=I9ao1UO/x1p97hmeJZCk2+Y0yIkZ+22yO9QkSJoJ5X+i4GwY+f689GQyV9Tj/dTcLc3Ztqpxqn3DwbwykMxaKdHZj2zr3BWS5dBcjNn1rMEAEtNEicQ4aEL6MCg2G0m1ZzbF2F+CrB2avKvgPesCZh/As3wBKIe6WrtkXFTMDy6oMElGYpgzffWBZ7wowA1w1LO4CNy3dyMjNHua4HYw1kW0q/lpH9oS/SVnVbI4s6MfLhl/z+1Vo5eeXlP08PNSF6trGs7OrCNt89+1hbD0Zhq+b/6tjqrstjl2sk24b6xTB3GHDy/kgCjXciOUebaxdQT5WY1oqmTzrOUcGDWTFA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sjK0j-0006sf-KD for bug-guix@gnu.org; Wed, 28 Aug 2024 10:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72747: [PATCH v2] gnu: tensorflow-lite: Fix build. References: <4AB3AB32-7D01-4DFE-B5B9-DB9F0FAC84FA@me.com> In-Reply-To: <4AB3AB32-7D01-4DFE-B5B9-DB9F0FAC84FA@me.com> Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 28 Aug 2024 14:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72747 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72747@debbugs.gnu.org Cc: Andy Tai Received: via spool by 72747-submit@debbugs.gnu.org id=B72747.172485660226357 (code B ref 72747); Wed, 28 Aug 2024 14:51:01 +0000 Received: (at 72747) by debbugs.gnu.org; 28 Aug 2024 14:50:02 +0000 Received: from localhost ([127.0.0.1]:49536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjJzl-0006qz-S0 for submit@debbugs.gnu.org; Wed, 28 Aug 2024 10:50:02 -0400 Received: from mail-pf1-f171.google.com ([209.85.210.171]:60759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sjJzj-0006qR-AE for 72747@debbugs.gnu.org; Wed, 28 Aug 2024 10:50:00 -0400 Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-7143ae1b560so3859626b3a.1 for <72747@debbugs.gnu.org>; Wed, 28 Aug 2024 07:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724856479; x=1725461279; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=7lCM8mGCvLAEIS7ZYfucIUCxcm2Jpk/Evrn7GJoKmAU=; b=ivYv4Lniqmr8PsRrHKSqpCcTWF7gwJY2CS7yi5R85HG5lKQEdToEvhCDXCouQUl3aH 2Y2v1YwhrcK+TusC36e6YlkKRqtNn7CHPjaRzrBi0GkzrovrrLFrhamNNaku+jy7iOsq g4SXP8Jcuap7aEQF4Ypqtj7NdR1oOmtV1rkvRhAvHB+3RkSe1L5bpcG+fdO7NQL5hnfr eNffiamFnTYJGxJqEhrw3AV/rjO3LHgzywUbyGQlat934AH7MyibS5fV89ZnIvWrVRcd 9+HHcDFpauT5fiBgrJ2aOxHGuB5+J56QLvmyJwVSflCu/hDfXbcPEeKA6Xl/Klv73o7P g8dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724856479; x=1725461279; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7lCM8mGCvLAEIS7ZYfucIUCxcm2Jpk/Evrn7GJoKmAU=; b=Cf6UmRlXz14O/e6X/59Pb91GLfJIoiq5Dk9XF82YaabC/vrbcNjfv9xObg21RHyOKc DbXaLUTutL2EzuYNQCQulVnDrcQaL2rTMVGJcFuIeL0yl8PT7Wok6b90ohfydHtQhyxA PBjdc9UqFwoMXk0qkbmFMJyRACz3IJahmrxHDb4PFZwtZAwgL9HrzIm0K+Z7wYAyfj4Z 9mdUv8IRBfgV8W14lDt+6uPODmYUhCzFrxw5VqMA7yGu3oI7YUZ4m2nf3oDhB+iQy/G4 Ily3bziEh5fmuuRPoAUvziGQBgAeth8UNYsTuzFTQe6wj8irC4W2W9zD+6aJIIcEpYke 7NyA== X-Gm-Message-State: AOJu0YzCFeHWI33w3I6TfSDovgUYRyzyd4NuCPBmf/dU4bw1vG2jUNwz bfE7W4S/TBsmaxFvDwhsWliD64uoWxNHm0eDd+Fb4N5c1RyMb3QJlw0ilw== X-Google-Smtp-Source: AGHT+IFBnJnMuzg6vnakTalDBKjN76rmuVWEdKTisCOJQ/9WfQ/nngfWccyOX8hg53X0D76wAc1Egw== X-Received: by 2002:a05:6a00:228f:b0:710:50c8:ddcb with SMTP id d2e1a72fcca58-715d108bf1emr2423634b3a.5.1724856478756; Wed, 28 Aug 2024 07:47:58 -0700 (PDT) Received: from DEskMiniX300.. ([209.237.158.138]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71434273356sm10186551b3a.89.2024.08.28.07.47.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2024 07:47:58 -0700 (PDT) From: Andy Tai Date: Wed, 28 Aug 2024 07:47:54 -0700 Message-Id: <738b4e753d8cd8dc84180f9fd31d66cc483b97ee.1724856448.git.atai@atai.org> X-Mailer: git-send-email 2.34.1 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 8F2A457369 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.02 X-Spam-Score: -9.02 X-TUID: PjrI6FiVyhEh * gnu/packages/machine-learning.scm (tensorflow-lite): Fix build. [inputs]: Change flatbuffers-next to flatbuffers-23.1. * gnu/packages/serialization.scm (flatbuffers-23.1): New variable. Change-Id: I257c3563cb91cbf8e0f0874367aafced248ab4dc --- gnu/packages/machine-learning.scm | 2 +- gnu/packages/serialization.scm | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 4c5b713cbf..fd790e4455 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -3487,7 +3487,7 @@ (define-public tensorflow-lite ("cpuinfo" ,cpuinfo) ("eigen" ,eigen) ("fp16" ,fp16) - ("flatbuffers" ,flatbuffers-next) + ("flatbuffers" ,flatbuffers-23.1) ("gemmlowp" ,gemmlowp) ("mesa-headers" ,mesa-headers) ("neon2sse" ,neon2sse) diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm index 6aaf416467..31d3ed9feb 100644 --- a/gnu/packages/serialization.scm +++ b/gnu/packages/serialization.scm @@ -899,6 +899,25 @@ (define-public flatbuffers game development and other performance-critical applications.") (license license:asl2.0))) +(define-public flatbuffers-23.1 + ;; needed explicitly by tensorflow-lite 2.13.1 + (package + (inherit flatbuffers) + (version "23.1.21") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/flatbuffers") + (commit (string-append "v" version)))) + (file-name (git-file-name "flatbuffers" version)) + (sha256 + (base32 + "1z3a6l8g2y53i5xzraswfs2i0i3kk52zv7nzc2q3fgisbyiri3pz")))) + (arguments + (substitute-keyword-arguments (package-arguments flatbuffers) + ((#:configure-flags flags #~'()) + #~(append #$flags '("-DCMAKE_POSITION_INDEPENDENT_CODE=ON"))))))) + (define-public flatbuffers-next (package (inherit flatbuffers) base-commit: 53396a22afc04536ddf75d8f82ad2eafa5082725 -- 2.34.1