From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kJ/FI652imJ/FgEAbAwnHQ (envelope-from ) for ; Sun, 22 May 2022 19:45:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2ObSIq52imLAQwEAG6o9tA (envelope-from ) for ; Sun, 22 May 2022 19:45:18 +0200 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 4C6A3160A7 for ; Sun, 22 May 2022 19:45:18 +0200 (CEST) Received: from localhost ([::1]:37922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nspdl-0004vS-Ga for larch@yhetil.org; Sun, 22 May 2022 13:45:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nspd4-0004v5-P7 for guix-devel@gnu.org; Sun, 22 May 2022 13:44:35 -0400 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:39783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nspd3-0007AP-1r for guix-devel@gnu.org; Sun, 22 May 2022 13:44:34 -0400 Received: by mail-ed1-x532.google.com with SMTP id j4so12066284edq.6 for ; Sun, 22 May 2022 10:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=Yt4F+InuGVuQi0AXNeEJWclcz2vKOZTvYvXmmAAu4u4=; b=HCivambVbdJ7e7qFFNm6Z02YnIRd/E62OM3lwPsBPZIWO32qrOR33/4V9OH7hztjKJ IBdKFmTKsogcWO8/D32vaNkVvZ+oHIMh2q3DwPrqiJkz1X0FTx0LifIY5282bHuhTmNS mde7Toj5lO8m8bCYVIsLm8c+6meqQbkxiwP99znAW9Q0thQQdjGMktrkTeGz917vNeEa v+ZNvUVYVTYpzAy9e9P/sx9P8Sv7EhbZsstuJLRx8A4DaPkAMm7MU2YVBQrDgt5haBai l635bOBnhHI5qKP2etYqWgQbZg+5et8MZGbVz6vknIV8C03GziU5Oreg/DDGTe6z/883 lxVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=Yt4F+InuGVuQi0AXNeEJWclcz2vKOZTvYvXmmAAu4u4=; b=jCQeX7iQTTLXht7/0xE3Ky2XOU4clVWI+xVgRo25BvC3ueJoGqaqCsqqtMNVUukpb6 17HqM77zhXiaL4FnIYhqoF6Dod4srvUKTmMMeUHqG02eA/4nldi+4AsTRNX/UgoQOHJ2 +fLImhhTDHA5rShwIniQEUacm2pN51acXmQYYAHxA0ZkdICWT91dfOMdalvVJxeaaG4w BQpWAAfU/GRXPtNLW3cD5s2XGCK7PbbXfWCqzHL7bcPBeeb1xiu++5I0mMvh7iVMbL/5 uo40BmL8aZZ0zJn/A2MmedOKBqW80+975pA6JDhZmqPFwjIA/9w4pVgCMQgZHP97X9Iu hkPQ== X-Gm-Message-State: AOAM531TnM7lcqKsNZM02dDnLw0TKx0d2Oq+rxsleJU1idzIu9MikNNi yGMLwSAO8bGEMboTKPI0rI7PHk79WrA= X-Google-Smtp-Source: ABdhPJwN+0bWbBULDI6NHbLJ126Lv8yXWXU6jGmzTHDBoFFPmMUeHsnZLaUEjNUvdiviwFCSOjkpPQ== X-Received: by 2002:a50:fe83:0:b0:42a:b5f4:8a52 with SMTP id d3-20020a50fe83000000b0042ab5f48a52mr20027305edt.105.1653241471075; Sun, 22 May 2022 10:44:31 -0700 (PDT) Received: from gazelle.gmail.com (p54acc755.dip0.t-ipconnect.de. [84.172.199.85]) by smtp.gmail.com with ESMTPSA id z9-20020a1709063ac900b006fedcb78854sm577529ejd.164.2022.05.22.10.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 10:44:30 -0700 (PDT) References: <87pmk9bqj7.fsf@gmail.com> <6ba84a62baba44e2f680ee64f37a53146c2c4c02.camel@telenet.be> <87tu9jq3sx.fsf@gmail.com> User-agent: mu4e 1.6.10; emacs 28.0.90 From: =?utf-8?Q?Th=C3=A9o?= Maxime Tyburn To: Ekaitz Zarraga Cc: Maxime Devos , guix-devel@gnu.org Subject: Re: Blender export backend missing Date: Sun, 22 May 2022 15:49:11 +0200 In-reply-to: Message-ID: <87v8tx8nt3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=theo.tyburn@gmail.com; helo=mail-ed1-x532.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" 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=1653241518; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Yt4F+InuGVuQi0AXNeEJWclcz2vKOZTvYvXmmAAu4u4=; b=HydJ91nPqTHyXy8pBVDi08e+hG14XDWedBnXrqyh0Mg8ob8pOROGyqDoAV/O7vKL0yApES iqACko1MZ2bK2ET9kR/JvmCuFes6xB6f9KYfssF5m5iPPmFvF84n2AEEhUvIv/PZ5v8tFS qbIRf1Mgj9WmyFr+wAY3udJ0xiFgoX/bvqtSktIqwyPjxbN1NvNDtYY6sxUU5E8neq7ZVv MOuDbIzfE9myZHv0vq/5SR3m0o0dLd9d340FCFXr2ksWjAnlIj6yQaACIVizAIWCP926Gx utNMZVJXf9p31ZMaY+4NR2xnU4TJQRcTYIm1qH6cF/qefe76kv4y/wEkdOE6wg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653241518; a=rsa-sha256; cv=none; b=ajTGAcc3HplJJDTC+gG/LpHhCcj1gEGr28E+p5/prwDFMPVn7OZLoWHR3okYyy4fyMpkRb nyNkhWgSeVMJL/4yvWtsv6mvDJRZzq3rU5S6ZP1wfY0PN5V7LsN9wz0PoPHCXBFRTk9EpE 6nFJO8HHDjl6IaQpeZAA4DY0gIDeDjRrL4CNFnEizOn6gpcdfB55wyLjtgEOxOxXq25fCI mX66PqTHk7KDoQCAZAmWgEaYawlcwUj0g/OwjWiEH+AOJlm5BNBjqq2PLwPK2q4y9Nd0sE t7pJ20+KPRBLg5jtfnx41c+0k2T3Hia3EJBdK9jm6j0D8GRVkQ7pceET726JfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HCivambV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HCivambV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4C6A3160A7 X-Spam-Score: -2.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: Vo+C39EDFMcD Hi Ekaitz Zarraga writes: > Make sure the version of alembic we have packaged is the one Blender expe= cts. > > Sometimes the APIs change and that may led to that kind of errors. The version of alembic that blender 3.0.1 requires is the same we have. The problem might come from another version mismastch problem. Namely with OpenEXR. OpenEXR version 2.x provided Imath inside of its subdirectory Ilmbase, for which we also have a separate package. From version 3.x of OpenEXR, Imath became a separate package. The guix blender package still uses openexr version 2.x. and its subpackage ilmbase. However guix package alembic uses = the new imath. Blender upstream actually also expect openexr 3.x and imath. The quick and dirty fix is to just downgrade alembic. I just tried it and it works. So at least we can work with alembic files in blender now. A better fix would be to add openexr 3.x and imath to blender package=E2=80=99s inputs and remove openexr-2 and ilmbase. I tried that but it doesn=E2=80=99t work. The error is --8<---------------cut here---------------start------------->8--- CMake Error: The following variables are used in this project, but they are= set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake= files: OPENEXR_HALF_LIBRARY (ADVANCED) linked by target "cycles_scene" in directory /tmp/guix-build-blender-3.= 0.1.drv-0/blender-3.0.1/intern/cycles/scene OPENEXR_ILMIMF_LIBRARY (ADVANCED) linked by target "cycles_scene" in directory /tmp/guix-build-blender-3.= 0.1.drv-0/blender-3.0.1/intern/cycles/scene --8<---------------cut here---------------end--------------->8--- It seems this is due to some error in the cmake of blender=E2=80=99s source= . Some other packge maintainers have come across the same issue aparently https://devtalk.blender.org/t/building-blender-2-93-3-with-the-new-half-imp= lementation-of-openexr-that-uses-half-of-imath/20074. I guess it has not been fixed in upstream blender yet. There is a patch tho= ugh here https://github.com/bartoszek/AUR-blender-2.83-git/blob/master/openexr3.patch So this could be the better solution if want to rely on that patch. Do we? I also have no idea how to apply a patch from another repo in a package definition though. Any idea? A general build / packaging question: For testing purposes I sometimes want= to just try some command in the build environment. Like applying this patch for example. Is there a simple way to somehow enter the build env and do things from there imperatively, just to quickly check some things? Best, Th=C3=A9o