From unknown Sun Jun 15 13:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#66013] [PATCH 0/4] gnu: bap, python-glcontext: Fix hash and update. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Sep 2023 18:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66013@debbugs.gnu.org Cc: Simon Tournier X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169480314423422 (code B ref -1); Fri, 15 Sep 2023 18:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Sep 2023 18:39:04 +0000 Received: from localhost ([127.0.0.1]:44740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhDiZ-00065h-PZ for submit@debbugs.gnu.org; Fri, 15 Sep 2023 14:39:04 -0400 Received: from lists.gnu.org ([2001:470:142::17]:50380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhDiV-000659-Vu for submit@debbugs.gnu.org; Fri, 15 Sep 2023 14:39:02 -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 1qhDiJ-0002ft-Ph for guix-patches@gnu.org; Fri, 15 Sep 2023 14:38:47 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhDiH-0002cY-HM for guix-patches@gnu.org; Fri, 15 Sep 2023 14:38:47 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-404800222d2so1602245e9.0 for ; Fri, 15 Sep 2023 11:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694803124; x=1695407924; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=r9R9fqQOKTnxVDGzkf73qAa4aPGXdT44vFlIlcQPGZQ=; b=SX63dI8uWez+yVtOYMDkqqBpLNXNOKNq+1IA7cILd+z1rhL9HTHXx7dRK4GOvqkUxz SzoQ49mKTaxwkRb0bWMtiTFBNQIn+M2rCR19rPIHhyJij1LagxUfUfNI8HH/P1zmxRbe csWooSgRzf73Lis8P1lXaWPuwjK837pLzEfPMSybAeV2YE1mutYE8eZgjrUIuOKfDf8d 6G1wImu+1VeyjmcFsKQntMPivG5nydrXq4qHK+4mJQJ70p2JmZp3ikTkne8fnV6n7dk0 Rx5Teq9Kn3KIujFBnaebNYWx7CXCEV8BYA9IC/yyARvNtuFfXbWIwHXPNOO4CtxBNRbm MfMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694803124; x=1695407924; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=r9R9fqQOKTnxVDGzkf73qAa4aPGXdT44vFlIlcQPGZQ=; b=NR8lSxRUGAjE5BbmIB/ETeBVW7Rt3zMp1PY/tnI5J+j6G5Pr6nSOMfM2f6kiC0mVkW f38Ox8n1r8eFIFhYFO+sGIvgXBDWHbWsuSoPlyZ9ojaKCAdUYHTWd1SNAf1cBtiT1/3f 8on8dSHDFzFG7q1F9IWJ0Gpj+fvzivIeQaG3afIb7+esoU3QkA1JSMNtgxyVDc0I8L83 abFlQiouAAnwNhvGd/RyDoZVFIlTFFkwaWNt4LhagYN74cBBS3CWBVMGu1paEtoRH3v9 Z6f41fmpTs1F7W67Hh2gML5mH8pprJxvB0bEqYySLi6ATIiBIxeIIvMtzQf7I4fi3Eel xv6A== X-Gm-Message-State: AOJu0YweqhhS8cikw7eZItl3Q5m3Vh7jmS6Zi0jTKVYsQjjvWIbqfFuh e4MXwIryF6dbguWzWsVYAMEKAZ+HOA4= X-Google-Smtp-Source: AGHT+IHghdiqAHzIQuDnhPchxTADHIpJ98Z1k9cx3WtUY5RhgKWWtlHaCH1TwkBPu/0dirGkbWc86A== X-Received: by 2002:a05:600c:3d89:b0:401:c717:ec69 with SMTP id bi9-20020a05600c3d8900b00401c717ec69mr2271061wmb.4.1694803123395; Fri, 15 Sep 2023 11:38:43 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id k21-20020a05600c0b5500b003fbe791a0e8sm5299820wmr.0.2023.09.15.11.38.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 11:38:42 -0700 (PDT) From: Simon Tournier Date: Fri, 15 Sep 2023 20:38:34 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, The package “bap” and “python-glcontext” have hash mismatches. In both cases, it is because upstream changed the lable tag. The Git tag pointed some content and now the same Git tag points another content. The path I follow for fixing this issue: The first patch of each package does not modify the checksum hash that had been introduced in Guix; the patch just restore the correspondance with the immutable content. Since we are here :-) the second patch of each update them to the last version available – keeping the explicit commit because there is no reason that upstream will not replace the Git tag again. *Please note*. Because of the referencing to mutable Git tag as reference for Guix source package, the packages “bap” and “python-glcontext” for all the Guix revisions containing the first tag reference (now wrong; pointing to past content) are now broken forever. They are still installable because they are still available as substitutes in the build farms but they can vanish at the next garbage collection of the substitute farms. Upstream applies the policy they want for their mutable Git tags. They want to append ’-alpha’ for some pre-release and do not version the pre-release candidates. Fine. They want to replace the content tagged as a release by another content and rewrite the tag. Fine. However, must we know what is the upstream policy when packaging? No. Therefore, rely on mutable Git tag leads to troubles when it is easy to avoid them: explicity refer to the commit hash in the Guix definition of the package. I will open again a discussion about that. For the record, here some more explanations. * About bap =========== If I read correctly, “bap” had been updated to 2.5.0-alpha in Guix with: 404df667e3b06f1e9a416c956e53c03ca3642140 AuthorDate: Sun Jun 19 08:43:00 2022 +0200 CommitDate: Tue Jun 28 19:34:50 2022 +0200 Today, an user gets the source of “bap” because the Guix project still stores the checkout substitute. But we cannot predict when the store of the build farms will be garbage collected and this checkout substitute will disappear, so making this package broken for many Guix revisions. To be precise, this source of the package “bap” are unreachable by the Guix recipe since Jul 8 2022! Other said, the source of “bap” was correct only few days and broken since more than one year, it is unsatisfactory. --8<---------------cut here---------------start------------->8--- $ guix build -S bap /gnu/store/axrfwjm357glpn02dil5zfis8ma51z6w-bap-2.5.0-alpha-checkout $ guix build -S bap --check The following derivation will be built: /gnu/store/931x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv building /gnu/store/931x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv... guile: warning: failed to install locale environment variable `PATH' set to `/gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/bin:/gnu/store/78rf44kf4xf6lc01jjy9ci5905j2344l-gzip-1.12/bin:/gnu/store/z45rrcnvcw31h1wbl1zh8hh79jkwv0gs-tar-1.34/bin' Initialized empty Git repository in /gnu/store/axrfwjm357glpn02dil5zfis8ma51z6w-bap-2.5.0-alpha-checkout/.git/ >From https://github.com/BinaryAnalysisPlatform/bap * tag v2.5.0-alpha -> FETCH_HEAD [...] HEAD is now at baa9022 prevents knowledge conflicts on mangled names (#1535) r:sha256 hash mismatch for /gnu/store/axrfwjm357glpn02dil5zfis8ma51z6w-bap-2.5.0-alpha-checkout: expected hash: 1fw9pp0xnssc08qqfkcafffap4f46hw7zmk80gif5yc4nazga8w5 actual hash: 0lywz6ld9jmbryf8m4fnq793ylwh34kf5qws6w60ibkhg8wkjhlz hash mismatch for store item '/gnu/store/axrfwjm357glpn02dil5zfis8ma51z6w-bap-2.5.0-alpha-checkout' build of /gnu/store/931x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv failed View build log at '/var/log/guix/drvs/93/1x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv.gz'. guix build: error: build of `/gnu/store/931x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv' failed $ git clone https://github.com/BinaryAnalysisPlatform/bap $ git -C bap checkout v2.5.0-alpha $ guix hash -rx bap 0lywz6ld9jmbryf8m4fnq793ylwh34kf5qws6w60ibkhg8wkjhlz $ git -C bap checkout a972f8a419294dfb21847db5172ba58c5d7767eb $ guix hash -rx bap 1fw9pp0xnssc08qqfkcafffap4f46hw7zmk80gif5yc4nazga8w5 $ git -C bap log --oneline a972f8a419294dfb21847db5172ba58c5d7767eb..v2.5.0-alpha baa902209ee4 (tag: v2.5.0-alpha) prevents knowledge conflicts on mangled names (#1535) 46c93ca54bba fixes calling convention for ms64 (#1533) 2b789c446e45 improves the main subroutine discovery within glibc runtime (#1532) c100c28d6a71 makes the ABI processors usable programmatically (#1529) 7e3d4066e98d adds patterns to recognize certain x86 endbr as function starts (#1531) 411c73306e28 turns x86 endbr instructions into nops by default (#1530) 02c953ba034e fixes armv4t name that was missing the arm prefix (#1528) 2af9d9199a6e restructures powerpc targets and reimplements ppc32 eabi (#1526) 4b9932b0612e enables passing arguments by reference (#1525) 5a71fb10683f adds c layouts (#1524) 4d019ce6f267 rewrites mips targets and abi (#1523) 1054959144c0 reimplements ARM ABI specification (#1522) acbb6d512d4b reimplements x86 targets using the new infrastructure (#1521) f26063f9b895 adds the high-level calling convention specification language (#1520) b1f5784684df extends Core Theory with target registration and lookup (#1519) 28e4d883d4e0 uses signed casts for promoting arguments (#1518) ce62b09cf059 publishes Theory.Target.nicknames and extends Primus Contexts (#1517) 63c79e5b43f2 adds armv8 BFM instructions (#1516) f07b27040d2c allows target overriding (#1515) 6ef5e3d86259 x86_disasm: support padd instructions (#1513) 577ef721fe21 adds the mmap dependency (#1514) 43b0dcf473d7 Adds more missing Thumb instructions (#1511) 5730f5c21274 adds an example on how to create a monad transformer stack (#1354) (#1510) 096e41eab0d5 restores the old bitvector order, changes the Primus Value order (#1509) --8<---------------cut here---------------end--------------->8--- * About python-glcontext ======================= --8<---------------cut here---------------start------------->8--- $ guix build -S python-glcontext --check The following derivation will be built: /gnu/store/j05qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv building /gnu/store/j05qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv... guile: warning: failed to install locale environment variable `PATH' set to `/gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/bin:/gnu/store/78rf44kf4xf6lc01jjy9ci5905j2344l-gzip-1.12/bin:/gnu/store/z45rrcnvcw31h1wbl1zh8hh79jkwv0gs-tar-1.34/bin' Initialized empty Git repository in /gnu/store/iixrcir0g1kidxzwnhbvcmc1l5psyyp7-python-glcontext-2.4.0-checkout/.git/ >From https://github.com/moderngl/glcontext * tag 2.4.0 -> FETCH_HEAD Note: switching to 'FETCH_HEAD'. [...] HEAD is now at 0af21b7 bump to 2.4.0 r:sha256 hash mismatch for /gnu/store/iixrcir0g1kidxzwnhbvcmc1l5psyyp7-python-glcontext-2.4.0-checkout: expected hash: 0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac actual hash: 03xpw776pvv8c5n58049yczlkgcqdh9vfcpjlghh3p6cal3yiq8a hash mismatch for store item '/gnu/store/iixrcir0g1kidxzwnhbvcmc1l5psyyp7-python-glcontext-2.4.0-checkout' build of /gnu/store/j05qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv failed View build log at '/var/log/guix/drvs/j0/5qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv.gz'. guix build: error: build of `/gnu/store/j05qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv' failed $ git clone https://github.com/moderngl/glcontext $ for ci in $(git -C glcontext log --format=%H); \ do git -C glcontext checkout $ci 2>/dev/null ;\ echo $ci $(guix hash -rx glcontext) done | grep 0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac beebc1fd08ee850f06f4390be4b280824e383074 0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac $ git -C glcontext log --oneline beebc1fd08ee850f06f4390be4b280824e383074..0af21b7 0af21b7c8a8c (tag: 2.4.0) bump to 2.4.0 e962e631067d Update build.yml c6c1b38a3e28 Update publish.yml 8b2d89cd31e6 disable experimental backends 8a6918336869 fix some platform specific typecast issues 001178af0c7d Update publish.yml --8<---------------cut here---------------end--------------->8--- Cheers, simon Simon Tournier (4): gnu: bap: Update to 2.5.0-alpha-0.a972f8a. gnu: bap: Update to 2.6.0-alpha-0.f995d28. gnu: python-glcontext: Update to 2.4.0-0.beebc1f. gnu: python-glcontext: Update to 2.4.0-1.0af21b7. gnu/packages/ocaml.scm | 148 ++++++++++++++++++------------------ gnu/packages/python-xyz.scm | 100 ++++++++++++------------ 2 files changed, 128 insertions(+), 120 deletions(-) base-commit: b696fb41bc0dfcb7130a5aa6d69aff2ae191c283 prerequisite-patch-id: 62fc21d64477426edaa901fdf00d27556cb3ce68 prerequisite-patch-id: 01fbfb50e705a21f272c328e67a682868c52087d -- 2.38.1 From unknown Sun Jun 15 13:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#66013] [PATCH 1/4] gnu: bap: Update to 2.5.0-alpha-0.a972f8a. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Sep 2023 19:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66013@debbugs.gnu.org Cc: Simon Tournier Received: via spool by 66013-submit@debbugs.gnu.org id=B66013.169480507126666 (code B ref 66013); Fri, 15 Sep 2023 19:12:03 +0000 Received: (at 66013) by debbugs.gnu.org; 15 Sep 2023 19:11:11 +0000 Received: from localhost ([127.0.0.1]:44763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhEDf-0006w2-0Q for submit@debbugs.gnu.org; Fri, 15 Sep 2023 15:11:11 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:38004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhEDZ-0006vC-VR for 66013@debbugs.gnu.org; Fri, 15 Sep 2023 15:11:10 -0400 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-31f7c87353eso445703f8f.0 for <66013@debbugs.gnu.org>; Fri, 15 Sep 2023 12:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694805053; x=1695409853; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bXOHEBtlnRXZe/qBbEOp50KK4QNSn2dgVHxUrDOl1fo=; b=IUoEyP2MqYlZUc3VkkWu0pkHzJE9FaHNjsKY3q/E/V9UOxi1edMT1ad6OdsCjeYj03 kvD3ekm9BpqqhpYW7Oa5QCKUUY667O083YZf0gNE3fWJnDw3zMR1uADHeHhHmiEc5l4A sBdAklOB1j3CZq/vAYgmFVp/uk93p/GHSpav2oOxvW+nvm2ENhFHT+uwFKmwiMf/Th5O WpxcxZBdpEtfqxIzSGozIIGJbJRe6KwOSlbrE0ZeKfXoCOwcgBgMFRVQMZ22wFZFA2EM QIodho1sjPsHGgORcj7cmuFCH2T7CbYWXlobvluqfFEo5UDhZk2LwCXfdnFJw8PFO7qq cDJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694805053; x=1695409853; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bXOHEBtlnRXZe/qBbEOp50KK4QNSn2dgVHxUrDOl1fo=; b=qwoalxObIQDpAN1SeTo47nUy5AH5TLmNL8Jsu9Mu+/fvDP1o8ztWO/V0+g+29mKv95 c7jWc2Y8FyNzXNA3rZ84bwFCDt0MUPei3JC1o9kRqrqXxynWNscsgczJua5QjxjiFNwb OEihJ20idml30vTMWfgOaoWOfFarsUJjw3Zw1sxot0ZDhM1WEAvtrOMF1EztG/KfvDhw tTcvrTmsjpQ7puQTPpZfLrWpFQi0s1AHf5VMYI6/jp0VKQ+ib2uGhMJrRZLKY6tfKxXf kuzBJJNtsSrob1zsKvjKpKIgxEavcVUdU0U4i/xIfzk1PK9KwpYEM4nouR8r9zekupFX FzTg== X-Gm-Message-State: AOJu0YyswI0cb8ieBu/s7xMicRiYCWQCS1xyiMLDqSn34JZvsvStdXUz FGxzjfs0ynwqMjD9SV25xbTwy5/8r4s= X-Google-Smtp-Source: AGHT+IFeIKBg9lwVaBIXxL5e6v4ZUW8AATIojkgf8uPNxnGZ1a38CFNGPJqLGIskLNy/0/cHyuSH+w== X-Received: by 2002:adf:e592:0:b0:31a:d2f9:736b with SMTP id l18-20020adfe592000000b0031ad2f9736bmr2176257wrm.1.1694805053157; Fri, 15 Sep 2023 12:10:53 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id s10-20020a5d510a000000b0031971ab70c9sm5142381wrt.73.2023.09.15.12.10.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 12:10:51 -0700 (PDT) From: Simon Tournier Date: Fri, 15 Sep 2023 21:10:37 +0200 Message-Id: <89bb3fe4dbd60e640d2614b4e26711fd63c9a669.1694800551.git.zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ocaml.scm (bap): Explicitly refer to commit instead of mutable Git tag. --- gnu/packages/ocaml.scm | 147 +++++++++++++++++++++-------------------- 1 file changed, 75 insertions(+), 72 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 8ff755aea9fb..c026433b0ef1 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5324,82 +5324,85 @@ (define-public ocaml-ppx-bap (license license:expat))) (define-public bap - (package - (name "bap") - (version "2.5.0-alpha") - (home-page "https://github.com/BinaryAnalysisPlatform/bap") - (source (origin - (method git-fetch) - (uri (git-reference - (url home-page) - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1fw9pp0xnssc08qqfkcafffap4f46hw7zmk80gif5yc4nazga8w5")))) - (build-system ocaml-build-system) - (arguments - (list - #:use-make? #t - #:phases - #~(modify-phases %standard-phases - (add-before 'configure 'fix-ncurses - (lambda _ - (substitute* "oasis/llvm" - (("-lcurses") "-lncurses")) - #t)) - (replace 'configure - (lambda* (#:key outputs inputs #:allow-other-keys) - (for-each make-file-writable (find-files "." ".")) - ;; Package name changed - (substitute* "oasis/elf-loader" - (("bitstring.ppx") "ppx_bitstring")) - ;; We don't have a monolithic llvm - (substitute* "oasis/llvm.setup.ml.in" - (("llvm_static = \"true\"") "true")) - (invoke "./configure" "--prefix" - (assoc-ref outputs "out") - "--libdir" - (string-append + (let (;; Let pin one commit because -alpha is subject to change. + (revision "0") + (commit "a972f8a419294dfb21847db5172ba58c5d7767eb")) + (package + (name "bap") + (version (git-version "2.5.0-alpha" revision commit)) + (home-page "https://github.com/BinaryAnalysisPlatform/bap") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1fw9pp0xnssc08qqfkcafffap4f46hw7zmk80gif5yc4nazga8w5")))) + (build-system ocaml-build-system) + (arguments + (list + #:use-make? #t + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'fix-ncurses + (lambda _ + (substitute* "oasis/llvm" + (("-lcurses") "-lncurses")) + #t)) + (replace 'configure + (lambda* (#:key outputs inputs #:allow-other-keys) + (for-each make-file-writable (find-files "." ".")) + ;; Package name changed + (substitute* "oasis/elf-loader" + (("bitstring.ppx") "ppx_bitstring")) + ;; We don't have a monolithic llvm + (substitute* "oasis/llvm.setup.ml.in" + (("llvm_static = \"true\"") "true")) + (invoke "./configure" "--prefix" (assoc-ref outputs "out") - "/lib/ocaml/site-lib") - (string-append "--with-llvm-version=" #$(package-version llvm)) - "--with-llvm-config=llvm-config" - "--disable-ghidra" - "--disable-llvm-static" - "--enable-llvm" - "--enable-everything")))))) - (native-inputs (list clang ocaml-oasis ocaml-ounit)) - (propagated-inputs - (list - camlzip - ocaml-bitstring - ocaml-cmdliner - ocaml-core-kernel - ocaml-ezjsonm - ocaml-fileutils - ocaml-frontc - ocaml-graph - ocaml-linenoise - ocaml-ocurl - ocaml-piqi - ocaml-ppx-bap - ocaml-ppx-bitstring - ocaml-re - ocaml-uri - ocaml-utop - ocaml-uuidm - ocaml-yojson - ocaml-z3 - ocaml-zarith)) - (inputs - (list gmp llvm ncurses)) - (synopsis "Binary Analysis Platform") - (description "Binary Analysis Platform is a framework for writing program + "--libdir" + (string-append + (assoc-ref outputs "out") + "/lib/ocaml/site-lib") + (string-append "--with-llvm-version=" #$(package-version llvm)) + "--with-llvm-config=llvm-config" + "--disable-ghidra" + "--disable-llvm-static" + "--enable-llvm" + "--enable-everything")))))) + (native-inputs (list clang ocaml-oasis ocaml-ounit)) + (propagated-inputs + (list + camlzip + ocaml-bitstring + ocaml-cmdliner + ocaml-core-kernel + ocaml-ezjsonm + ocaml-fileutils + ocaml-frontc + ocaml-graph + ocaml-linenoise + ocaml-ocurl + ocaml-piqi + ocaml-ppx-bap + ocaml-ppx-bitstring + ocaml-re + ocaml-uri + ocaml-utop + ocaml-uuidm + ocaml-yojson + ocaml-z3 + ocaml-zarith)) + (inputs + (list gmp llvm ncurses)) + (synopsis "Binary Analysis Platform") + (description "Binary Analysis Platform is a framework for writing program analysis tools, that target binary files. The framework consists of a plethora of libraries, plugins, and frontends. The libraries provide code reusability, the plugins facilitate extensibility, and the frontends serve as entry points.") - (license license:expat))) + (license license:expat)))) (define-public ocaml-camomile (package -- 2.38.1 From unknown Sun Jun 15 13:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#66013] [PATCH 3/4] gnu: python-glcontext: Update to 2.4.0-0.beebc1f. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Sep 2023 19:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66013@debbugs.gnu.org Cc: Simon Tournier Received: via spool by 66013-submit@debbugs.gnu.org id=B66013.169480507726688 (code B ref 66013); Fri, 15 Sep 2023 19:12:03 +0000 Received: (at 66013) by debbugs.gnu.org; 15 Sep 2023 19:11:17 +0000 Received: from localhost ([127.0.0.1]:44765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhEDk-0006wN-Ew for submit@debbugs.gnu.org; Fri, 15 Sep 2023 15:11:16 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:39004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhEDc-0006vY-WA for 66013@debbugs.gnu.org; Fri, 15 Sep 2023 15:11:10 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-31ffc8ead75so35237f8f.0 for <66013@debbugs.gnu.org>; Fri, 15 Sep 2023 12:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694805056; x=1695409856; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9x//yOdSW6cLxQZDPc9G9wv286y3Q1h2zUG6GtQCK24=; b=BQL8LSE/jkC3DOoPq5ckdVYJt76dDZxLLZ0SrG+J/QyyzhtcDkE68M690VMXX7xx6l lxUUhy6vWMhFC+H5AyyZvHObylGj6jJxqqOFtBgIoMFIqgk60Edr3eSnWjnOy03fpR+q W2VjScIqZQ8/82r2ICU0JqCurKF3UapMQA5m7ZQ/qE3XFtbv3GDm+PmENETrNLBtME1f L+XSI7Xy3NiAPQ4pal0YxjzFHzNBKoloey7KjWZ0DNwWYBMzH4vVYFaKqtxUC3nIX5yM Xcsu6VaIbtUagyQODRDvPx+8PrQTEh1o4HaqfLP8hlFxzbSiodUcl1fBC4LEGDqhs833 En/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694805056; x=1695409856; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9x//yOdSW6cLxQZDPc9G9wv286y3Q1h2zUG6GtQCK24=; b=FVmTs6mU/2uJNQ5Iqur0oeawLvvYBrLZzGydhwB+fCX0Faz293uSyZJf8CHWBOJJ/i FFkV3me5tZqp6iI/O7pNZqm2TXwT4nkqQjdFaoJXU3TBqwQh66FAhc4vSDYI61NJ05Ob ClPQ1UqG1rLR3FIU4MSJ9svZxAx7RccIo07lKrSvjzn6y3iNsUYA/ONvY6k+Gc0ZPDam wyLRrw3LswUhqhuwJkCJwqHQnwJIsHM6VfVE4coXkzZqHjCdbvAxFUJzrN0AAJOolom4 Q7pOlhDWAXPgfe8zD6V/Y/AhV39G9aTomJuhz8MukhNCqPQfLPw9h7b39JOWav2r9UsT Od9Q== X-Gm-Message-State: AOJu0YyAVDzoRbxzMXBQNy22CxeR6KeqMrsdltfJVqyOkVz5teY9pqfZ uMJ4yg5ID8A4X6f1Cs6Xw4Kfv3gMoDw= X-Google-Smtp-Source: AGHT+IFXQ0+wnSaHS62872Wzc4b9X3a+xJeG+9R8UEaRKYoj5/8Me/cZwwv51NtjToauNyxWapdw6A== X-Received: by 2002:a05:6000:91:b0:317:3da0:7606 with SMTP id m17-20020a056000009100b003173da07606mr2246698wrx.4.1694805056251; Fri, 15 Sep 2023 12:10:56 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id s10-20020a5d510a000000b0031971ab70c9sm5142381wrt.73.2023.09.15.12.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 12:10:55 -0700 (PDT) From: Simon Tournier Date: Fri, 15 Sep 2023 21:10:39 +0200 Message-Id: <375535045b489ea3432fe79940db0f36d18021aa.1694800551.git.zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-glcontext): Explicitly refer to commit instead of mutable Git tag. --- gnu/packages/python-xyz.scm | 100 +++++++++++++++++++----------------- 1 file changed, 52 insertions(+), 48 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2230310a0350..481326b8e162 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22986,55 +22986,59 @@ (define-public python-pyopengl-accelerate "This is the Cython-coded accelerator module for PyOpenGL."))) (define-public python-glcontext - (package - (name "python-glcontext") - (version "2.4.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/moderngl/glcontext") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac")))) - (build-system pyproject-build-system) - (arguments - (list #:phases #~(modify-phases %standard-phases - (add-before 'build 'fix-lib-paths - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((mesa (assoc-ref inputs "mesa")) - (libx11 (assoc-ref inputs "libx11"))) - (substitute* '("glcontext/x11.cpp" - "glcontext/egl.cpp") - (("\"libGL.so\"") - (string-append "\"" mesa "/lib/libGL.so\"")) - (("\"libEGL.so\"") - (string-append "\"" mesa "/lib/libEGL.so\"")) - (("\"libX11.so\"") - (string-append "\"" libx11 "/lib/libX11.so\""))) - (substitute* '("glcontext/__init__.py") - (("find_library\\('GL'\\)") - (string-append "'" mesa "/lib/libGL.so'")) - (("find_library\\('EGL'\\)") - (string-append "'" mesa "/lib/libEGL.so'")) - (("find_library\\(\"X11\"\\)") - (string-append "'" libx11 "/lib/libX11.so'")))))) - (replace 'check - (lambda* (#:key inputs outputs tests? - #:allow-other-keys) - (when tests? - (system "Xvfb :1 &") - (setenv "DISPLAY" ":1") - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "tests"))))))) - (inputs (list libx11 mesa)) - (native-inputs (list xorg-server-for-tests python-pytest python-psutil)) - (home-page "https://github.com/moderngl/glcontext") - (synopsis "Portable OpenGL Context for ModernGL") - (description "Python-glcontext is a library providing an OpenGL + (let (;; Upstream is known for abusing mutable tag, hence pinpoint the + ;; relevant commit. + (revision "0") + (commit "beebc1fd08ee850f06f4390be4b280824e383074")) + (package + (name "python-glcontext") + (version (git-version "2.4.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moderngl/glcontext") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac")))) + (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-before 'build 'fix-lib-paths + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((mesa (assoc-ref inputs "mesa")) + (libx11 (assoc-ref inputs "libx11"))) + (substitute* '("glcontext/x11.cpp" + "glcontext/egl.cpp") + (("\"libGL.so\"") + (string-append "\"" mesa "/lib/libGL.so\"")) + (("\"libEGL.so\"") + (string-append "\"" mesa "/lib/libEGL.so\"")) + (("\"libX11.so\"") + (string-append "\"" libx11 "/lib/libX11.so\""))) + (substitute* '("glcontext/__init__.py") + (("find_library\\('GL'\\)") + (string-append "'" mesa "/lib/libGL.so'")) + (("find_library\\('EGL'\\)") + (string-append "'" mesa "/lib/libEGL.so'")) + (("find_library\\(\"X11\"\\)") + (string-append "'" libx11 "/lib/libX11.so'")))))) + (replace 'check + (lambda* (#:key inputs outputs tests? + #:allow-other-keys) + (when tests? + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "tests"))))))) + (inputs (list libx11 mesa)) + (native-inputs (list xorg-server-for-tests python-pytest python-psutil)) + (home-page "https://github.com/moderngl/glcontext") + (synopsis "Portable OpenGL Context for ModernGL") + (description "Python-glcontext is a library providing an OpenGL implementation for ModernGL on multiple platforms.") - (license license:expat))) + (license license:expat)))) (define-public python-rencode (package -- 2.38.1 From unknown Sun Jun 15 13:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#66013] [PATCH 2/4] gnu: bap: Update to 2.6.0-alpha-0.f995d28. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Sep 2023 19:12:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66013@debbugs.gnu.org Cc: Simon Tournier Received: via spool by 66013-submit@debbugs.gnu.org id=B66013.169480507726695 (code B ref 66013); Fri, 15 Sep 2023 19:12:04 +0000 Received: (at 66013) by debbugs.gnu.org; 15 Sep 2023 19:11:17 +0000 Received: from localhost ([127.0.0.1]:44767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhEDk-0006wP-To for submit@debbugs.gnu.org; Fri, 15 Sep 2023 15:11:17 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:38159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhEDb-0006vM-Nv for 66013@debbugs.gnu.org; Fri, 15 Sep 2023 15:11:10 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4047ef37f55so2076405e9.1 for <66013@debbugs.gnu.org>; Fri, 15 Sep 2023 12:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694805055; x=1695409855; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=znUufqRkD9pQfGYoU2s7pcDwFN5jcU7nJjHXi58SdQg=; b=GkrMW/Si91PaL3TVlQIP6YuMKFNa/DxjYfvo6eGqjY1lEtP8YoGYiqU15IzJ+Ma1CT ZNsWDXFp+snLy/thiyaxOoPKSBVykLwDTA9M80y+0u+9BZ6ezGxJKLbrwo9nDq0EgZQO 1+XGYffe0pxT3Fj7Vi2f4Fx+gF+r4kLbqEdD7EYQs1qe3pKJQu9SyhI+Qxcd3Eibj2fq gII7QgCsbgjLnVvWbcp/f70K1PFWTgrJ+eGsR092nQKG5UucI6zqmNYXUspROIcXG6f4 KSXi5u3qX3DwGat6GvORQfYqoSFY4mUWRS4IUxn8eXV5GIheA7KnDSKaQCBC2WY9Ir3/ EY6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694805055; x=1695409855; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=znUufqRkD9pQfGYoU2s7pcDwFN5jcU7nJjHXi58SdQg=; b=dEN8YMJv7GmgdFZE9cAIcoUi45idXME6JVwnTbW/76oBwIMNHQ7Fr4VF5V+Y8pQL6P n0NjT5KG2jWweNY6GrtFe+nRcay05d2YIbhNFQP15/1qv/qYeklUCQxohvVXaE/2p9u6 7Od1Czk0zzUK8O6vFf9oMWYKTUFP6JbzJT0fcFKhzqS0dhbw1ofQhDn5U5WBh2sH/mI1 2BkNv57M74HDp333lbQGhOyHWSuPNVrtiGvjpCUSm9ud3THkugTXv8siZKG6lrfLTAgx XM5zttILKv8PiiaEl1KRKhGQfVk7vXnvSdgGNJpjVP7h+CQyexFU59zYJazcpzV5qn1l SP8g== X-Gm-Message-State: AOJu0YxklPEvsuO5Z87icOPmAUTDS0OogBR/g/Ptzmi3zoY8OBFCky1p 0dwz364eE7CDe0Ajtk6fG8H2vArfgy8= X-Google-Smtp-Source: AGHT+IHB5PK+j9q/0c3JXZcBOY+xaAa2osQr2DyrIiiQuFRnE0QILcZDiH/7pvAsIr8GRnMqoALWew== X-Received: by 2002:adf:e592:0:b0:31a:d2f9:736b with SMTP id l18-20020adfe592000000b0031ad2f9736bmr2176304wrm.1.1694805055145; Fri, 15 Sep 2023 12:10:55 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id s10-20020a5d510a000000b0031971ab70c9sm5142381wrt.73.2023.09.15.12.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 12:10:53 -0700 (PDT) From: Simon Tournier Date: Fri, 15 Sep 2023 21:10:38 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/ocaml.scm (bap): Update to 2.6.0-alpha-0.f995d28. --- gnu/packages/ocaml.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c026433b0ef1..0f4b72e29799 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5325,11 +5325,12 @@ (define-public ocaml-ppx-bap (define-public bap (let (;; Let pin one commit because -alpha is subject to change. + ;; The last stable release v2.5.0 is from July 2022. (revision "0") - (commit "a972f8a419294dfb21847db5172ba58c5d7767eb")) + (commit "f995d28a4a34abb4cef8e0b3bd3c41cd710ccf1a")) (package (name "bap") - (version (git-version "2.5.0-alpha" revision commit)) + (version (git-version "2.6.0-alpha" revision commit)) (home-page "https://github.com/BinaryAnalysisPlatform/bap") (source (origin (method git-fetch) @@ -5339,7 +5340,7 @@ (define-public bap (file-name (git-file-name name version)) (sha256 (base32 - "1fw9pp0xnssc08qqfkcafffap4f46hw7zmk80gif5yc4nazga8w5")))) + "1zfkc8nagf8kvxbypalbhf6gs0c7i48zx53hlpak2ipjwhvm5im5")))) (build-system ocaml-build-system) (arguments (list -- 2.38.1 From unknown Sun Jun 15 13:03:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#66013] [PATCH 4/4] gnu: python-glcontext: Update to 2.4.0-1.0af21b7. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Sep 2023 19:12:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66013 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66013@debbugs.gnu.org Cc: Simon Tournier Received: via spool by 66013-submit@debbugs.gnu.org id=B66013.169480507726702 (code B ref 66013); Fri, 15 Sep 2023 19:12:04 +0000 Received: (at 66013) by debbugs.gnu.org; 15 Sep 2023 19:11:17 +0000 Received: from localhost ([127.0.0.1]:44769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhEDl-0006wW-8E for submit@debbugs.gnu.org; Fri, 15 Sep 2023 15:11:17 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:41321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhEDd-0006va-VD for 66013@debbugs.gnu.org; Fri, 15 Sep 2023 15:11:11 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-401e6ce2d9fso7200375e9.1 for <66013@debbugs.gnu.org>; Fri, 15 Sep 2023 12:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694805057; x=1695409857; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zJD0BKdDo+gtVRa9/rzoeCWVIUUky+K4t6dDspiYceY=; b=cqJeLQOrFsELml59egjVrkVuU6Pl60jO/88RX0noH0f/B2U1dZy5B46je//auDPlNg EaoP2/6qpNul+UNnd4r1OUHcSzhpBW55ttdruH3aRH3KJIB3MSn34oQBC4n7eQFBnCkG UflbMp43yIDCCFK1SQA3rrNZKSdcw/iGfL18pUE3DKrEKs3sSJSOhnj884ObzbY1ABkg HxOq/6o2aFs+E9orkHZ5/7WnrslbIu4Na5DM82glv0j3ZjkZUrXofHz8x1tjjl9z5S5J /bmcD1fvB65fjGEoX55QGIMTYCA1biulH1jRoWH5MMDRfZIWuJKcvEG6Xm35+QPycpsl hSVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694805057; x=1695409857; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zJD0BKdDo+gtVRa9/rzoeCWVIUUky+K4t6dDspiYceY=; b=XkAfT1LGoWH6V7+AADSdn6wz0rdqA5xHH88HDCOyBkCuXYiMGRbd9P6wzGH1my6oDX QkEXK27IbvaYFNwHRYeanvi7bYtFRtfChMRybrCZ+rfwJBOGCjr+YXMrbgqy0jI+Pu1P +NrZzY4Mfv6OctnwTABZFL/L1UTSDzyo75eLw62DaQ/dKfmb9a0M9LEAEW5b13lMnGd2 oIPSgW93KyZ17HoI5eece5ZLj+l7GVtWTg32/uuIo8SthZPldyjs/dETGjn8Aqzv8TcF jXLc4/5QwTi/neKkpPJHsQS+CNf7LDOlw2gSNWzf7uzLAktX47ZY9e9vqnr8Zp2gSHaq 0MEQ== X-Gm-Message-State: AOJu0YxqbwvQMJtB0ZIUD88oPMzZcgZqCf6IN7CRVN6k2t48UbUdHmB1 VV+yNy/Krm1zca0YrIH3tdPS0hq199g= X-Google-Smtp-Source: AGHT+IHFauAdOakEf2XTEKrFM5YJo4ukozyw8XLDzb9kotPYUlogJmDxegD1Tad3iQp3n4mW8a48/A== X-Received: by 2002:a05:600c:3b9d:b0:3ff:c342:f296 with SMTP id n29-20020a05600c3b9d00b003ffc342f296mr2306146wms.1.1694805057609; Fri, 15 Sep 2023 12:10:57 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id s10-20020a5d510a000000b0031971ab70c9sm5142381wrt.73.2023.09.15.12.10.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 12:10:56 -0700 (PDT) From: Simon Tournier Date: Fri, 15 Sep 2023 21:10:40 +0200 Message-Id: <4413530e2475d4e37194e87cf983c883ef2ad3a1.1694800551.git.zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-glcontext): Update to 2.4.0-1.0af21b7. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 481326b8e162..fc6caf93912c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22988,8 +22988,8 @@ (define-public python-pyopengl-accelerate (define-public python-glcontext (let (;; Upstream is known for abusing mutable tag, hence pinpoint the ;; relevant commit. - (revision "0") - (commit "beebc1fd08ee850f06f4390be4b280824e383074")) + (revision "1") + (commit "0af21b7c8a8cc0e76f4d9aff6a4f156f43d37333")) (package (name "python-glcontext") (version (git-version "2.4.0" revision commit)) @@ -23001,7 +23001,7 @@ (define-public python-glcontext (file-name (git-file-name name version)) (sha256 (base32 - "0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac")))) + "03xpw776pvv8c5n58049yczlkgcqdh9vfcpjlghh3p6cal3yiq8a")))) (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases -- 2.38.1 From unknown Sun Jun 15 13:03:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Simon Tournier Subject: bug#66013: closed (Re: [bug#66013] [PATCH 0/4] gnu: bap, python-glcontext: Fix hash and update.) Message-ID: References: <87pm2a8g0v.fsf@gmail.com> X-Gnu-PR-Message: they-closed 66013 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 66013@debbugs.gnu.org Date: Fri, 22 Sep 2023 14:01:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1695391263-7402-1" This is a multi-part message in MIME format... ------------=_1695391263-7402-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #66013: [PATCH 0/4] gnu: bap, python-glcontext: Fix hash and update. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 66013@debbugs.gnu.org. --=20 66013: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66013 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1695391263-7402-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 66013-done) by debbugs.gnu.org; 22 Sep 2023 14:00:35 +0000 Received: from localhost ([127.0.0.1]:37010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjghu-0001u6-Ms for submit@debbugs.gnu.org; Fri, 22 Sep 2023 10:00:35 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:40368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjghp-0001tq-Pc for 66013-done@debbugs.gnu.org; Fri, 22 Sep 2023 10:00:33 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4053e6e8ca7so2153195e9.1 for <66013-done@debbugs.gnu.org>; Fri, 22 Sep 2023 07:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695391212; x=1695996012; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=ZvXf8ZV05kd4fdkFQMzZ6kvtaPHUHMSw0212CuoZrhY=; b=Ulfn0wmpqea0phTkg0D5T7JsRSdVLekZN/nVBIiFnJFc52muYLFlDMdIyPJvKbL4Ih chsAdn9UJ2XMnd+WkKQtyMg2B4qtEjbWdKgpzYP4mHKPS0RhQFw3GVBlxjpdSl+fW2RQ VFOG5RyXU7uNtApcH9g2pMFOGoRi7KlpZrfr2BmRJi6TcfWcne4/9sLcTLNKp1575stg rDVBFNGT24FdMz6UIgwn+cbLaQZ0oF6i+dziUUTCDWg2bWC6sNhVCvjMNSjDln6XQn5w qqe2nygmxO2JU2VZhrmsx7g0mqk5IskJEY70Ch+q1RSfwuvUQD1Ynwlue0Aj55L3HpY3 nkuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695391212; x=1695996012; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZvXf8ZV05kd4fdkFQMzZ6kvtaPHUHMSw0212CuoZrhY=; b=sY8jTfo+7AD+H/CXerEHGh0SQCNj4gbyigyp4AsOf5ZMm7BirhlTo7qnVX9i5aNIRF yiwJ+RfNz83hUl0KAOpvL3r3yGtOGQXsrcDiGm3VBBvRxi41pdn9ZLawN1CJu5aHMJxd jo6RMmR4X2T2wh3EDmYpyAwVUK7UQ1Q9n5YrhrbWg+4VJn9gM+BtMBzXZF0Jkw2TypHK yPheRcXH1ftLuHuDnfjO5+VK2lBnKfbfy7q69wc8Svdoz4ttdNXvj4bId0Y6X3qCI38e kUHsyDUcKagFLh0ycWY1JRJqZM9uVZPX/0NaTsjtyh3WDYSqWLIG/fSy6xGiQaXfcAPh Ecgw== X-Gm-Message-State: AOJu0YzWSNPr7DV6u/srqE1wYY4YmqCWrWzoCToP81oZUUHXJClKeqY0 2rtj6cglmNEeZWnCUpL4I1gidX3Zeeo= X-Google-Smtp-Source: AGHT+IFGLD2mul4PKUIdtCGj+BJvSGBD1FEgZ4m6SXz5mNB5JM38WJteSnVTHPeWXYF6iud6tYD5/Q== X-Received: by 2002:adf:ee02:0:b0:321:68e9:aa0b with SMTP id y2-20020adfee02000000b0032168e9aa0bmr7532098wrn.2.1695391212481; Fri, 22 Sep 2023 07:00:12 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id b12-20020adff90c000000b0031fb91f23e9sm4505565wrr.43.2023.09.22.07.00.11 for <66013-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 07:00:12 -0700 (PDT) From: Simon Tournier To: 66013-done@debbugs.gnu.org Subject: Re: [bug#66013] [PATCH 0/4] gnu: bap, python-glcontext: Fix hash and update. In-Reply-To: References: Date: Fri, 22 Sep 2023 16:00:00 +0200 Message-ID: <87pm2a8g0v.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66013-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Fri, 15 Sep 2023 at 20:38, Simon Tournier wrote: > Simon Tournier (4): > gnu: bap: Update to 2.5.0-alpha-0.a972f8a. > gnu: bap: Update to 2.6.0-alpha-0.f995d28. > gnu: python-glcontext: Update to 2.4.0-0.beebc1f. > gnu: python-glcontext: Update to 2.4.0-1.0af21b7. > > gnu/packages/ocaml.scm | 148 ++++++++++++++++++------------------ > gnu/packages/python-xyz.scm | 100 ++++++++++++------------ > 2 files changed, 128 insertions(+), 120 deletions(-) After one week waiting after QA, the series was not moving in the queue, seeing patches sent after this one but processed before, asked on #guix [1] why, then I am applying this series. Done with 47ba771548b50914895448552b7f85973694d579 to ec130e1a1b7f3b87b1a6e626754f7e7a07f6b717. 1: https://logs.guix.gnu.org/guix/2023-09-21.log#120326 Cheers, simon ------------=_1695391263-7402-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Sep 2023 18:39:04 +0000 Received: from localhost ([127.0.0.1]:44740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhDiZ-00065h-PZ for submit@debbugs.gnu.org; Fri, 15 Sep 2023 14:39:04 -0400 Received: from lists.gnu.org ([2001:470:142::17]:50380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhDiV-000659-Vu for submit@debbugs.gnu.org; Fri, 15 Sep 2023 14:39:02 -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 1qhDiJ-0002ft-Ph for guix-patches@gnu.org; Fri, 15 Sep 2023 14:38:47 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhDiH-0002cY-HM for guix-patches@gnu.org; Fri, 15 Sep 2023 14:38:47 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-404800222d2so1602245e9.0 for ; Fri, 15 Sep 2023 11:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694803124; x=1695407924; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=r9R9fqQOKTnxVDGzkf73qAa4aPGXdT44vFlIlcQPGZQ=; b=SX63dI8uWez+yVtOYMDkqqBpLNXNOKNq+1IA7cILd+z1rhL9HTHXx7dRK4GOvqkUxz SzoQ49mKTaxwkRb0bWMtiTFBNQIn+M2rCR19rPIHhyJij1LagxUfUfNI8HH/P1zmxRbe csWooSgRzf73Lis8P1lXaWPuwjK837pLzEfPMSybAeV2YE1mutYE8eZgjrUIuOKfDf8d 6G1wImu+1VeyjmcFsKQntMPivG5nydrXq4qHK+4mJQJ70p2JmZp3ikTkne8fnV6n7dk0 Rx5Teq9Kn3KIujFBnaebNYWx7CXCEV8BYA9IC/yyARvNtuFfXbWIwHXPNOO4CtxBNRbm MfMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694803124; x=1695407924; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=r9R9fqQOKTnxVDGzkf73qAa4aPGXdT44vFlIlcQPGZQ=; b=NR8lSxRUGAjE5BbmIB/ETeBVW7Rt3zMp1PY/tnI5J+j6G5Pr6nSOMfM2f6kiC0mVkW f38Ox8n1r8eFIFhYFO+sGIvgXBDWHbWsuSoPlyZ9ojaKCAdUYHTWd1SNAf1cBtiT1/3f 8on8dSHDFzFG7q1F9IWJ0Gpj+fvzivIeQaG3afIb7+esoU3QkA1JSMNtgxyVDc0I8L83 abFlQiouAAnwNhvGd/RyDoZVFIlTFFkwaWNt4LhagYN74cBBS3CWBVMGu1paEtoRH3v9 Z6f41fmpTs1F7W67Hh2gML5mH8pprJxvB0bEqYySLi6ATIiBIxeIIvMtzQf7I4fi3Eel xv6A== X-Gm-Message-State: AOJu0YweqhhS8cikw7eZItl3Q5m3Vh7jmS6Zi0jTKVYsQjjvWIbqfFuh e4MXwIryF6dbguWzWsVYAMEKAZ+HOA4= X-Google-Smtp-Source: AGHT+IHghdiqAHzIQuDnhPchxTADHIpJ98Z1k9cx3WtUY5RhgKWWtlHaCH1TwkBPu/0dirGkbWc86A== X-Received: by 2002:a05:600c:3d89:b0:401:c717:ec69 with SMTP id bi9-20020a05600c3d8900b00401c717ec69mr2271061wmb.4.1694803123395; Fri, 15 Sep 2023 11:38:43 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id k21-20020a05600c0b5500b003fbe791a0e8sm5299820wmr.0.2023.09.15.11.38.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 11:38:42 -0700 (PDT) From: Simon Tournier To: guix-patches@gnu.org Subject: [PATCH 0/4] gnu: bap, python-glcontext: Fix hash and update. Date: Fri, 15 Sep 2023 20:38:34 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Simon Tournier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi, The package “bap” and “python-glcontext” have hash mismatches. In both cases, it is because upstream changed the lable tag. The Git tag pointed some content and now the same Git tag points another content. The path I follow for fixing this issue: The first patch of each package does not modify the checksum hash that had been introduced in Guix; the patch just restore the correspondance with the immutable content. Since we are here :-) the second patch of each update them to the last version available – keeping the explicit commit because there is no reason that upstream will not replace the Git tag again. *Please note*. Because of the referencing to mutable Git tag as reference for Guix source package, the packages “bap” and “python-glcontext” for all the Guix revisions containing the first tag reference (now wrong; pointing to past content) are now broken forever. They are still installable because they are still available as substitutes in the build farms but they can vanish at the next garbage collection of the substitute farms. Upstream applies the policy they want for their mutable Git tags. They want to append ’-alpha’ for some pre-release and do not version the pre-release candidates. Fine. They want to replace the content tagged as a release by another content and rewrite the tag. Fine. However, must we know what is the upstream policy when packaging? No. Therefore, rely on mutable Git tag leads to troubles when it is easy to avoid them: explicity refer to the commit hash in the Guix definition of the package. I will open again a discussion about that. For the record, here some more explanations. * About bap =========== If I read correctly, “bap” had been updated to 2.5.0-alpha in Guix with: 404df667e3b06f1e9a416c956e53c03ca3642140 AuthorDate: Sun Jun 19 08:43:00 2022 +0200 CommitDate: Tue Jun 28 19:34:50 2022 +0200 Today, an user gets the source of “bap” because the Guix project still stores the checkout substitute. But we cannot predict when the store of the build farms will be garbage collected and this checkout substitute will disappear, so making this package broken for many Guix revisions. To be precise, this source of the package “bap” are unreachable by the Guix recipe since Jul 8 2022! Other said, the source of “bap” was correct only few days and broken since more than one year, it is unsatisfactory. --8<---------------cut here---------------start------------->8--- $ guix build -S bap /gnu/store/axrfwjm357glpn02dil5zfis8ma51z6w-bap-2.5.0-alpha-checkout $ guix build -S bap --check The following derivation will be built: /gnu/store/931x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv building /gnu/store/931x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv... guile: warning: failed to install locale environment variable `PATH' set to `/gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/bin:/gnu/store/78rf44kf4xf6lc01jjy9ci5905j2344l-gzip-1.12/bin:/gnu/store/z45rrcnvcw31h1wbl1zh8hh79jkwv0gs-tar-1.34/bin' Initialized empty Git repository in /gnu/store/axrfwjm357glpn02dil5zfis8ma51z6w-bap-2.5.0-alpha-checkout/.git/ >From https://github.com/BinaryAnalysisPlatform/bap * tag v2.5.0-alpha -> FETCH_HEAD [...] HEAD is now at baa9022 prevents knowledge conflicts on mangled names (#1535) r:sha256 hash mismatch for /gnu/store/axrfwjm357glpn02dil5zfis8ma51z6w-bap-2.5.0-alpha-checkout: expected hash: 1fw9pp0xnssc08qqfkcafffap4f46hw7zmk80gif5yc4nazga8w5 actual hash: 0lywz6ld9jmbryf8m4fnq793ylwh34kf5qws6w60ibkhg8wkjhlz hash mismatch for store item '/gnu/store/axrfwjm357glpn02dil5zfis8ma51z6w-bap-2.5.0-alpha-checkout' build of /gnu/store/931x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv failed View build log at '/var/log/guix/drvs/93/1x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv.gz'. guix build: error: build of `/gnu/store/931x0yxqr800alglvc3gkqaqkfrgwh1b-bap-2.5.0-alpha-checkout.drv' failed $ git clone https://github.com/BinaryAnalysisPlatform/bap $ git -C bap checkout v2.5.0-alpha $ guix hash -rx bap 0lywz6ld9jmbryf8m4fnq793ylwh34kf5qws6w60ibkhg8wkjhlz $ git -C bap checkout a972f8a419294dfb21847db5172ba58c5d7767eb $ guix hash -rx bap 1fw9pp0xnssc08qqfkcafffap4f46hw7zmk80gif5yc4nazga8w5 $ git -C bap log --oneline a972f8a419294dfb21847db5172ba58c5d7767eb..v2.5.0-alpha baa902209ee4 (tag: v2.5.0-alpha) prevents knowledge conflicts on mangled names (#1535) 46c93ca54bba fixes calling convention for ms64 (#1533) 2b789c446e45 improves the main subroutine discovery within glibc runtime (#1532) c100c28d6a71 makes the ABI processors usable programmatically (#1529) 7e3d4066e98d adds patterns to recognize certain x86 endbr as function starts (#1531) 411c73306e28 turns x86 endbr instructions into nops by default (#1530) 02c953ba034e fixes armv4t name that was missing the arm prefix (#1528) 2af9d9199a6e restructures powerpc targets and reimplements ppc32 eabi (#1526) 4b9932b0612e enables passing arguments by reference (#1525) 5a71fb10683f adds c layouts (#1524) 4d019ce6f267 rewrites mips targets and abi (#1523) 1054959144c0 reimplements ARM ABI specification (#1522) acbb6d512d4b reimplements x86 targets using the new infrastructure (#1521) f26063f9b895 adds the high-level calling convention specification language (#1520) b1f5784684df extends Core Theory with target registration and lookup (#1519) 28e4d883d4e0 uses signed casts for promoting arguments (#1518) ce62b09cf059 publishes Theory.Target.nicknames and extends Primus Contexts (#1517) 63c79e5b43f2 adds armv8 BFM instructions (#1516) f07b27040d2c allows target overriding (#1515) 6ef5e3d86259 x86_disasm: support padd instructions (#1513) 577ef721fe21 adds the mmap dependency (#1514) 43b0dcf473d7 Adds more missing Thumb instructions (#1511) 5730f5c21274 adds an example on how to create a monad transformer stack (#1354) (#1510) 096e41eab0d5 restores the old bitvector order, changes the Primus Value order (#1509) --8<---------------cut here---------------end--------------->8--- * About python-glcontext ======================= --8<---------------cut here---------------start------------->8--- $ guix build -S python-glcontext --check The following derivation will be built: /gnu/store/j05qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv building /gnu/store/j05qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv... guile: warning: failed to install locale environment variable `PATH' set to `/gnu/store/y3vdq2pdkljrw63xxnc2vb6lz07ycar6-git-minimal-2.41.0/bin:/gnu/store/78rf44kf4xf6lc01jjy9ci5905j2344l-gzip-1.12/bin:/gnu/store/z45rrcnvcw31h1wbl1zh8hh79jkwv0gs-tar-1.34/bin' Initialized empty Git repository in /gnu/store/iixrcir0g1kidxzwnhbvcmc1l5psyyp7-python-glcontext-2.4.0-checkout/.git/ >From https://github.com/moderngl/glcontext * tag 2.4.0 -> FETCH_HEAD Note: switching to 'FETCH_HEAD'. [...] HEAD is now at 0af21b7 bump to 2.4.0 r:sha256 hash mismatch for /gnu/store/iixrcir0g1kidxzwnhbvcmc1l5psyyp7-python-glcontext-2.4.0-checkout: expected hash: 0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac actual hash: 03xpw776pvv8c5n58049yczlkgcqdh9vfcpjlghh3p6cal3yiq8a hash mismatch for store item '/gnu/store/iixrcir0g1kidxzwnhbvcmc1l5psyyp7-python-glcontext-2.4.0-checkout' build of /gnu/store/j05qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv failed View build log at '/var/log/guix/drvs/j0/5qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv.gz'. guix build: error: build of `/gnu/store/j05qbsnlak0xff4k6dd34yyn20q630w3-python-glcontext-2.4.0-checkout.drv' failed $ git clone https://github.com/moderngl/glcontext $ for ci in $(git -C glcontext log --format=%H); \ do git -C glcontext checkout $ci 2>/dev/null ;\ echo $ci $(guix hash -rx glcontext) done | grep 0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac beebc1fd08ee850f06f4390be4b280824e383074 0zzpwyqg19y600n09xz07cxk4jimh9vjraszda7g7ipijq6iasac $ git -C glcontext log --oneline beebc1fd08ee850f06f4390be4b280824e383074..0af21b7 0af21b7c8a8c (tag: 2.4.0) bump to 2.4.0 e962e631067d Update build.yml c6c1b38a3e28 Update publish.yml 8b2d89cd31e6 disable experimental backends 8a6918336869 fix some platform specific typecast issues 001178af0c7d Update publish.yml --8<---------------cut here---------------end--------------->8--- Cheers, simon Simon Tournier (4): gnu: bap: Update to 2.5.0-alpha-0.a972f8a. gnu: bap: Update to 2.6.0-alpha-0.f995d28. gnu: python-glcontext: Update to 2.4.0-0.beebc1f. gnu: python-glcontext: Update to 2.4.0-1.0af21b7. gnu/packages/ocaml.scm | 148 ++++++++++++++++++------------------ gnu/packages/python-xyz.scm | 100 ++++++++++++------------ 2 files changed, 128 insertions(+), 120 deletions(-) base-commit: b696fb41bc0dfcb7130a5aa6d69aff2ae191c283 prerequisite-patch-id: 62fc21d64477426edaa901fdf00d27556cb3ce68 prerequisite-patch-id: 01fbfb50e705a21f272c328e67a682868c52087d -- 2.38.1 ------------=_1695391263-7402-1--