From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OHehGJymkGaErQAAe85BDQ:P1 (envelope-from ) for ; Fri, 12 Jul 2024 03:44:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OHehGJymkGaErQAAe85BDQ (envelope-from ) for ; Fri, 12 Jul 2024 05:44:28 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=1720755868; 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: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; bh=QPqdStTvb+cqz3Mm7uetsj2biiEYXbW3QZkzYJKZCtQ=; b=GCAwqOvKt1EjiJq2kcndzVfz9zxAXxmIdZ/QDR79w3i7iXj5r3fJ4Yfuswu+eO/KSBtJr5 V4Q8a8F3PYs4UySf6dREB4fpdKNbf2rAT23rQ2sN4u7dCrNwg3Gchg9y/BoFKh0QsxVLOq mYYA8ZFpeoSfz6xYX0CwPf2YoWg4PHI3W06PKFDqsJiN820+3w7NuroXTmBYf4o33BZ71W 2RhQD52QuTzRJFclkeHbPFYDaXwmauRozDETSPavP5CsYqg0GYYDIWWqxzChcuCOwYBwyP IAnWHwE5z7D/9d/tkuqLJiTASzkIATWQIEeb7hqzguhxyKrjo7YF0uKd1PzVTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=1720755868; a=rsa-sha256; cv=none; b=byYaAqBwuXe2GlHtuGvXIYYIeKjzYrtdEi1mW1c8egkPhaUtMNlaAKjjfi0PpHLHUoWRPa QJmrKTEqduevWSNCP8Ad4Tsufri/H58bxBy1K43CwyKdwDn473P4lZWusEGgXCHGDqZNwB jfJ5MmDS91m1ddP7MkuDFxz9xjwQS5rTIY9udDsLLc3L3Xy/PSSxFbmwA/ie+R0sc5gpxw AGKM+EKR2U0yDqx5EV0pEIA+vcdmtOnZfg9eymIV2+JIYDrf1jhrf8PuqwOHBL2OIBmGaG Q77A2R977elWIqcDZhdLG2VeBcKOqARhmDohIZCJIxvZAy6vcQn5TYugTJctkA== 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 0CE346A037 for ; Fri, 12 Jul 2024 05:44:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sS7CZ-00023b-DN; Thu, 11 Jul 2024 23:44:08 -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 1sS7CU-00023R-FW for bug-guix@gnu.org; Thu, 11 Jul 2024 23:44:02 -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 1sS7CU-0000kt-6y for bug-guix@gnu.org; Thu, 11 Jul 2024 23:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sS7CU-0005My-5L for bug-guix@gnu.org; Thu, 11 Jul 2024 23:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72046: [core-updates] OpenImageIO fails to build Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 12 Jul 2024 03:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72046 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72046@debbugs.gnu.org Cc: leo@famulari.name Received: via spool by 72046-submit@debbugs.gnu.org id=B72046.172075580620585 (code B ref 72046); Fri, 12 Jul 2024 03:44:02 +0000 Received: (at 72046) by debbugs.gnu.org; 12 Jul 2024 03:43:26 +0000 Received: from localhost ([127.0.0.1]:52916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sS7Bu-0005Lw-5J for submit@debbugs.gnu.org; Thu, 11 Jul 2024 23:43:26 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81]:45298 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sS7Bq-0005LZ-GT for 72046@debbugs.gnu.org; Thu, 11 Jul 2024 23:43:24 -0400 Received: from m (unknown [64.176.166.156]) by APP-03 (Coremail) with SMTP id rQCowABXXNRIppBmKO9QFQ--.61373S2; Fri, 12 Jul 2024 11:43:08 +0800 (CST) From: Zheng Junjie In-Reply-To: <87h6cvp9yf.fsf@iscas.ac.cn> (Zheng Junjie's message of "Fri, 12 Jul 2024 11:26:16 +0800") References: <87v81cphjs.fsf@iscas.ac.cn> <87le28osr5.fsf@iscas.ac.cn> <87h6cvp9yf.fsf@iscas.ac.cn> Date: Fri, 12 Jul 2024 11:43:02 +0800 Message-ID: <87cynjp96h.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: rQCowABXXNRIppBmKO9QFQ--.61373S2 X-Coremail-Antispam: 1UD129KBjvJXoW7Kw45ArWDJw4xKFy7Wr43GFg_yoW8Kr1rpF yfGF109rs5Z3yfZ393Ww4Iqrs8Wrs7trWDGwn2yw1jy3W2vF97ZF43ta1rJF43Xry3Ca17 Wan7G3W5Z34DCFDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9mb7Iv0xC_tr1lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwV C2z280aVCY1x0267AKxVW8Jr0_Cr1UM2vj62AExVA0xI801c8C04v26x02cVCv0xWle2I2 62IYc4CY6c8Ij28IcVAaY2xG8wASzI0EjI02j7AqF2xKxwAqx4xG64xvF2IEw4CE5I8CrV C2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE 7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCY02Avz4vEIxC_Gr4l42xK82IYc2Ij64vIr41l4I 8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AK xVWUGVWUWwC2zVAF1VAY17CE14v26r1Y6r17MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcV AFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8I cIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r 1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07jw-B_UUUUU= X-Originating-IP: [64.176.166.156] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ 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-Spam-Score: -8.50 X-Migadu-Queue-Id: 0CE346A037 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.50 X-TUID: 9LbqNeT3sPOT --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Zheng Junjie writes: > Leo Famulari writes: > >> On Thu, Jul 11, 2024 at 11:32:53AM -0400, Leo Famulari wrote: >>> Okay, great. I confirm your patch fixes the problem. I'll push it to >>> core-updates on your behalf. >> >> Pushed as 50243774824597dbd141a074a7be0117dc450cef >> >> Thanks for your help! > > i think also need this patch. > > From f781494940c801db6c63e22ea12c43ffec547456 Mon Sep 17 00:00:00 2001 > Message-ID: > From: Zheng Junjie > Date: Fri, 12 Jul 2024 11:23:34 +0800 > Subject: [PATCH] gnu: opencolorio: Fix cmake file. > > * gnu/packages/image-processing.scm (opencolorio)[arguments]: Add > fix-OpenColorIOConfig phase. > > Change-Id: I317870801f77dc59bcd07b0d11a750bbbb63b327 > --- > gnu/packages/image-processing.scm | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm > index 32d5b8bb5c..4e83e5c26c 100644 > --- a/gnu/packages/image-processing.scm > +++ b/gnu/packages/image-processing.scm > @@ -276,7 +276,18 @@ (define-public opencolorio > (build-system cmake-build-system) > (arguments > ;; XXX: GPU tests are failing. > - (list #:configure-flags #~(list "-DOCIO_BUILD_GPU_TESTS=false"))) > + (list #:configure-flags #~(list "-DOCIO_BUILD_GPU_TESTS=false") > + #:phases #~(modify-phases %standard-phases > + (add-after 'install 'fix-OpenColorIOConfig > + (lambda _ > + ;; Work around a CMake Zlib-detection bug: > + ;; https://gitlab.kitware.com/cmake/cmake/-/issues/25200 > + ;; make OpenColorIOConfig.cmake is a normal cmake file > + (substitute* > + (string-append #$output > + "/lib/cmake/OpenColorIO/OpenColorIOConfig.cmake") > + (("\\.#define ZLIB_VERSION \"1\\.3\"") > + ""))))))) > (native-inputs > ;; XXX: OCIO has unit tests for OpenShadingLanguage, but they fail. > ;; They also require OIIO, but OCIO is an optional dependency to it. > > base-commit: 50243774824597dbd141a074a7be0117dc450cef > prerequisite-patch-id: 54dff8d31eca386fe3e0f90879bf9e98dade94d7 and this --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-openimageio-Fix-cmake-file.patch Content-Transfer-Encoding: quoted-printable From=20dcf47a64e364fb3c59561d535325020368644223 Mon Sep 17 00:00:00 2001 Message-ID: From: Zheng Junjie Date: Fri, 12 Jul 2024 11:41:21 +0800 Subject: [PATCH] gnu: openimageio: Fix cmake file. * gnu/packages/graphics.scm (openimageio)[arguments]: Add fix-OpenImageIOConfig phase. Change-Id: I0a923c8513069dde5cd3e42fde9279cbd177a10a =2D-- gnu/packages/graphics.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 22ef878972..7286d27b27 100644 =2D-- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -1359,6 +1359,13 @@ (define-public openimageio (add-after 'configure 'fix-zlib-version (lambda _ (substitute* "include/imageio_pvt.h" + (("#define ZLIB_VERSION \"1\\.3\"") + "")))) + (add-after 'install 'fix-OpenImageIOConfig + (lambda _ + (substitute* (string-append + #$output + "/lib/cmake/OpenImageIO/OpenImageIOConfig= .cmake") (("#define ZLIB_VERSION \"1\\.3\"") ""))))))) (native-inputs base-commit: 50243774824597dbd141a074a7be0117dc450cef prerequisite-patch-id: 54dff8d31eca386fe3e0f90879bf9e98dade94d7 prerequisite-patch-id: 2499d00ec9751650f8167724c59570ecbf99820d =2D-=20 2.45.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmaQpkYACgkQO1qpk+Gi 3/BZvg/+Il0UhtmvMkiA8DMwF5QSeBO9Gq/3BSp+LsmCO9vFIezWb7wUav1bi2wt cXNVy0vRV61cFA5JMrH7GQN194qmUAJDdkvSCZKyJPfHltM4rkBvfVxZyyrEszF+ grRBfHaAYrYEtL0e2n7nWcloU++9s/3r9EM88j/nwA5d7svnvisxIsTpEBb9ffPr c8qoeojwnspq7njkZtd1PnVbTpRfq9P5BxUvWOvazA7Zew0IOMy6/2Ja3ji2sjxm OjPpmqasCEnRB9XBoUw9qgid8FUbIPACK5WuMlUv0efX14Dc5CogsEil7KCfgIny XCvWHxRPQjoT8zbT8sAvWfwXHW4dOlbArsyo0H7y7cI2fky1RpaESMSmNWBDB2A2 aPI4SIuqHcfQqppbCO04R1GsKkHdlUX984GkRQPseuAWTfUAkMVtv5ZWVpWWP7vz +AUdggiDxQhgXZkthvFrDlVMrdF3Ui4i0ZHFRxPX7ZX4nY2itSHbr7ffeCp5KEms 0mCdBqDs4qWKE8G3tZNR3sm9MM6VakYjjQqZ+ItFhGDgi6fqq1CIGcolHzsoK7lB 0CwayOBOOfreFRSrsuYATH8iuqxxoKsMx4VSLJAIWmJUtNF2pgA1yrtje2gkNlvE FyyFObzjh3OM1IJt1s4sSQ7wgHiGr8aALvsDlKe6Ydf8aM0xVkM= =Tv/2 -----END PGP SIGNATURE----- --==-=-=--