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 ms0.migadu.com with LMTPS id WGjQMr7I+mEqhQEAgWs5BA (envelope-from ) for ; Wed, 02 Feb 2022 19:09:02 +0100 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 eM2OK77I+mFosgAAG6o9tA (envelope-from ) for ; Wed, 02 Feb 2022 19:09:02 +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 16AF83C9B3 for ; Wed, 2 Feb 2022 19:09:02 +0100 (CET) Received: from localhost ([::1]:57618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFK3x-0004Vr-65 for larch@yhetil.org; Wed, 02 Feb 2022 13:09:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFIzp-0005Hw-Nf for guix-devel@gnu.org; Wed, 02 Feb 2022 12:01:10 -0500 Received: from [2a00:1450:4864:20::42a] (port=35423 helo=mail-wr1-x42a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFIzm-0001OY-1b; Wed, 02 Feb 2022 12:00:41 -0500 Received: by mail-wr1-x42a.google.com with SMTP id e2so39608005wra.2; Wed, 02 Feb 2022 09:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:cc:date:message-id:mime-version :content-transfer-encoding; bh=UcEAUSm6Upun/bjXWHJdai5cHFIDMh0OvgPYKULUHOo=; b=p6Al05hbF05tqIq8cE13nkaPhT+Lyf8PXL997mrfb+cCgi3KBr256qBs78IRFpABgI H+YqKhp7fref2FMP71BjzRyCJu97COvaYFDe7c/+MtPNEo8x1iVOA3zVl8XrGrFhVW9I wJipB5Yg4ZT91d28cMWBh/NBfF7v5k0Ld1dF93RUT7mlpEv11HZ9RHLs76gHZ269EBBU h8sR9SKgqDU/ANUl9O603b6F5Wq1KBkgssuHxiE8ANBSt33NpebqlVHF2blZ0/soi86Z FoiJQk+eSAYHPBNyPbVRMY2LLZzN0TiXPFd4Jo3byfz+Cv9kT7diNoxahulDR74XQ6nb dhAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:cc:date:message-id:mime-version :content-transfer-encoding; bh=UcEAUSm6Upun/bjXWHJdai5cHFIDMh0OvgPYKULUHOo=; b=XE4u+WlNHSQ1fgQry5HnBlQrINRG2Rqtme5wSz5Zbe+IRIZNkvwAqbM4cciGsrBi7x 26aJW+71xzSS7rxNCtSzyzTmPPjXOLdxUZxxqS2fZz9vjzEsyTwLVMl+aN8Ivo4Icckm zeQf/1drjpZf1dv67Wrb3TDUSVRoi2OWXme5wUIjha0dfAEkgU7lUdxGXCVGgHfRwZIU qUZc59Nu0K3EkEoiiyObIUZem7qPJm2dOSTzMrEestTj8hwmpgw42AHESPjn4JyYmz2O hGtFAjkhyYsi7QPENmD4qbkklb3HLwQK05O1luCK/69RP9WeD06xhTzSq6bc4JXbginJ nzAw== X-Gm-Message-State: AOAM533cLKJ5M6BhhcXKeEzmK6wbIv+pO1quaSENy61gezZDa+eoP8he 84Lk1c6Orpj+bg3/ROup0VcDR/LBMs0= X-Google-Smtp-Source: ABdhPJwKrJe55f0ww/AZsvTPIyxcyHUWWBAkZKQMLz8H1QpyR85SAoImhH5/kRKmIdsBVnpSozsvqA== X-Received: by 2002:adf:d239:: with SMTP id k25mr27195289wrh.699.1643821229847; Wed, 02 Feb 2022 09:00:29 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id r17sm5795562wmq.33.2022.02.02.09.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Feb 2022 09:00:28 -0800 (PST) From: zimoun To: guix-devel@gnu.org Subject: weird OpenBLAS time-machine Date: Wed, 02 Feb 2022 18:00:17 +0100 Message-ID: <87k0ed9pb2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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: , Cc: maxim.cournoyer@gmail.com Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643825342; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UcEAUSm6Upun/bjXWHJdai5cHFIDMh0OvgPYKULUHOo=; b=rJMBuyNGpSHX0NdxZsDt8NRMl7tQ84odC0dtLZVvJ+T8coSbVTvaWPxeqSDg9Mr4iHFyJi Q+NC00iiFnZgCJyTCvnSrZ9t+SoHJ3u22oxBBR3uVnMfaFzBgZ5nBBO00WeCxodqbnoRJF 3wROpSPYrc493HAAFR8DhEYypNWA7SIChESf/bgC8TEVGtpW8ydriBuELGl2JNpA0CcVjp 0upy4GZTcptD2RpNpx+L6xG/w3zeBF9Zml8+m1NuXcGOS3fKNJV7wChSQpWzMWuXBOb8ap Ot5RX1fIipbZymq0ydpKnsJjeO3S+GPI/7KaUTkK8a/ff4MRTCGaBDuGq+J42A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643825342; a=rsa-sha256; cv=none; b=AHScs3CQvlyv+HZuGHJfgh/bOUYPu0/XyeuKg6EGsZMZmROU8XOPMysOpF32R+dWGL2Cjw V+RAf8UfJM2KvelVrcMH2xFqAb8dK0MgLVOWSkH/48SfmFFhk3ggp/IHLKkPmhMJVUA6Dw fAmbHQEooqi9z+h8e7bh1HXpmSEZyR+K30Zi1o1nUjuSIpC2g47VCTmHfzqoOGPk85llj1 mYh6C/hQE8GD8ORqTMlHa+ks94BsxMKBMQRrbpB5lhsVOLu2RDgHS7A+3YR8J5ZAqG0t0F 9VJw9oUTWOosRp5xs0IvbPP0R97tmtqtUYFiEZdskVxziaAhBH0gA6tN5Wmpnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=p6Al05hb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=p6Al05hb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 16AF83C9B3 X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: M++DzPJHjgSa Hi, Investigating [0], I note that, for these 2 commits, $ git log --oneline 4b1538e6ef^..ab0cf06244 ab0cf06244 gnu: rust: Remove #:rust ,rust-1.52 arguments. 4b1538e6ef gnu: kexec-tools: Fix build on i686-linux. where the latter is simply the parent of the former, $ git cat-file -p ab0cf06244 | grep parent parent 4b1538e6ef76bf46993f0a368a0abbe2f6eb8ffb then the version of OpenBLAS is different. --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3Dab0cf06244 -- show openblas | recsel -P vers= ion 0.3.18 $ guix time-machine --commit=3D4b1538e6ef -- show openblas | recsel -P vers= ion 0.3.9 --8<---------------cut here---------------end--------------->8--- The update to 0.3.18 from 0.3.13 is done by bd771edd6c, and as far I see, there is no merge around; from bd771edd6c to ab0cf06244, all are direct parents. Sadly, it is not possible to time-machine to bd771edd6c (Update to 0.3.18) because an unrelated error ((value "Unbound variable: ~S") (value (rust-1.51))). For some commits between this range, the time-machine is also raising an error because (value "Unbound variable: ~S") (value (rust-1.52)). Anyway, another story. :-) What is really weird is: --8<---------------cut here---------------start------------->8--- $ cd $CHECKOUT $ git show 4b1538e6ef:gnu/packages/maths.scm \ | grep -n -A 5 'define-public openblas' 4402:(define-public openblas 4403- (package 4404- (name "openblas") 4405- (version "0.3.18") 4406- (source 4407- (origin -- 4486:(define-public openblas-ilp64 4487- (package/inherit openblas 4488- (name "openblas-ilp64") 4489- (supported-systems '("x86_64-linux" "aarch64-linux" "mips64el-linu= x")) 4490- (arguments 4491- (substitute-keyword-arguments (package-arguments openblas) --8<---------------cut here---------------end--------------->8--- For 4b1538e6ef the version should be 0.3.18 but then: --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3D4b1538e6ef -- show openblas name: openblas version: 0.3.9 outputs: out systems: x86_64-linux i686-linux dependencies: cunit@2.1-3 gfortran@7.5.0 perl@5.30.2 location: gnu/packages/maths.scm:3655:2 homepage: https://www.openblas.net/ license: Modified BSD synopsis: Optimized BLAS library based on GotoBLAS description: OpenBLAS is a BLAS library forked from the GotoBLAS2-1.13 BSD = version. --8<---------------cut here---------------end--------------->8--- Other said, the package defined in /gnu/store/=E2=80=A6-guix-4b1538e6e-modules/share/guile/site/3.0/gnu/packag= es does not match the version is the checkout. Concretely, compare the file gnu/packages/maths.scm from: --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3D4b1538e6ef -- edit openblas $ git -C ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27sh= j7apsnalwq/ \ show 4b1538e6ef:gnu/packages/maths.scm --8<---------------cut here---------------end--------------->8--- Here the diff for only OpenBLAS. --8<---------------cut here---------------start------------->8--- $ diff /tmp/maths-modules.scm /tmp/maths-checkout.scm | grep -A 45 -B 3 '0.= 3.18' 3657c4405 < (version "0.3.9") --- > (version "0.3.18") 3660,3663c4408,4412 < (method url-fetch) < (uri (string-append "mirror://sourceforge/openblas/v" version "/Op= enBLAS%20" < version "%20version.tar.gz")) < (file-name (string-append name "-" version ".tar.gz")) --- > (method git-fetch) > (uri (git-reference > (url "https://github.com/xianyi/OpenBLAS") > (commit (string-append "v" version)))) > (file-name (git-file-name name version)) 3666c4415 < "14iz9xnrb9xiwgj84j94mc74gg0zn2vsy9fmsijxxma1n7dck4w3")))) --- > "17zdd8asylz2w71hczrz5y344p6d5ds1jn4901maw7zcp3dbk63g")))) 3682a4432 > "NO_STATIC=3D1" ;avoid a 67 MiB static archive 3693c4443 < ;; Unfortunately, this is not supported on non-x86 architect= ures, --- > ;; Unfortunately, this is not supported on all architectures, 3698,3699c4448,4454 < (string-prefix? "i686" system)) < '("DYNAMIC_ARCH=3D1")) --- > (string-prefix? "i686" system) > (string-prefix? "powerpc64le" system) > (string-prefix? "aarch64" system)) > ;; Dynamic older enables a few extra CPU architectures= that > ;; were released before 2010. > '("DYNAMIC_ARCH=3D1" "DYNAMIC_OLDER=3D1" "TARGET=3DGEN= ERIC")) > ;; On some of these architectures the CPU can't be dete= cted. 3705,3707c4460,4462 < ;; On aarch64 force the generic 'armv8-a' target < ((string-prefix? "aarch64" system) < '("TARGET=3DARMV8")) --- > ;; Failed to detect CPU. > ((string-prefix? "armhf" system) > '("TARGET=3DARMV7")) 3718,3719c4473 < "/lib")) < #t))))) --- > "/lib"))))))) --8<---------------cut here---------------end--------------->8--- What could be wrong? Cheers, simon 0: