From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OKY4AuAhmWFo4gAAgWs5BA (envelope-from ) for ; Sat, 20 Nov 2021 17:27:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ICx6Od8hmWGUHgAAbx9fmQ (envelope-from ) for ; Sat, 20 Nov 2021 16:27:11 +0000 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 AFFE6B6C4 for ; Sat, 20 Nov 2021 17:27:11 +0100 (CET) Received: from localhost ([::1]:34020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moTCo-0002hs-O9 for larch@yhetil.org; Sat, 20 Nov 2021 11:27:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moTCg-0002hT-I1 for bug-guix@gnu.org; Sat, 20 Nov 2021 11:27:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moTCg-0008Vc-9O for bug-guix@gnu.org; Sat, 20 Nov 2021 11:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moTCf-0002lb-W1 for bug-guix@gnu.org; Sat, 20 Nov 2021 11:27:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52001: numpy CPU dispatch probably prevents builds of python-numpy from being reproducible Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 Nov 2021 16:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52001 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus , 52001@debbugs.gnu.org Received: via spool by 52001-submit@debbugs.gnu.org id=B52001.163742561710625 (code B ref 52001); Sat, 20 Nov 2021 16:27:01 +0000 Received: (at 52001) by debbugs.gnu.org; 20 Nov 2021 16:26:57 +0000 Received: from localhost ([127.0.0.1]:43556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moTCb-0002lJ-5M for submit@debbugs.gnu.org; Sat, 20 Nov 2021 11:26:57 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:42886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moTCX-0002l4-GO for 52001@debbugs.gnu.org; Sat, 20 Nov 2021 11:26:55 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id LgSn260094UW6Th01gSn9D; Sat, 20 Nov 2021 17:26:50 +0100 Message-ID: From: Maxime Devos Date: Sat, 20 Nov 2021 16:26:47 +0000 In-Reply-To: <87y25ihm3e.fsf@elephly.net> References: <87y25ihm3e.fsf@elephly.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1637425610; bh=9WF5zrHSERbYcaD+9AJGK7qmF3wRXwg+C5cPBySkjM0=; h=Subject:From:To:Date:In-Reply-To:References; b=FDyEqpdjGRQrIPyp4HnLurtmMfI0fUy7vJTWYTCMWrHpdjvyxur7h+YpGg+9rmmhX 7YJTUb07WXVd3yFNoEDh5111FNQyS9hAHzsMzZmKPWoJIQt7kLs7SGrEe4HIV30Qyr d4aI8cvVIphMeek/p6Xl+OWn2DdLBQN75oZS6X0a56PIMEvaj/dlGt79aNSFoZY7q6 r/vV1U9oeYx6mImy9RDvvYBjHeqVRMfsAyYa/u9KERWS/Zze5AGpRkO9aGi0A9rfSw b0zVDJKpqmer+2NayLp/mQIDNvPTQTHOq+8nuMSAhglgnVVLuV/O0fj58OAjF9wA4c UFYNcJ1gcMyww== 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" 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=1637425631; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: 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=9WF5zrHSERbYcaD+9AJGK7qmF3wRXwg+C5cPBySkjM0=; b=edrjVSBGRZNwJWy9bx0otcWU5vWMW35kYeoNe/yAtO4EuXXqZMm0hskawA1TzTFazjFQm1 jcfgs2qYIPtN47VbmE04YP3hsDRgZgsMsUnERwxCo55/hPRA78aqFfIEnlMzFuVbillyJ3 l6kXI+kcclgCkkCu5ZEJuBKTpZowh+feuFZF13cF55+aID6ZXm7WucVolX6NM58Cm8H6aN BuV2KA5umixbcKy0WYxa/F5SUvSULJCGhvfjplm1B67nlyOwOgrj7HY8sVXMyk0K4z4RSc mhCDqXz2ZMgBsxdYJmqEUK6YpvhhE8ZlU5EpNJZk3pkZVQcQeqKnD0bYXlsR4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637425631; a=rsa-sha256; cv=none; b=OpGqbZ0nxcXqo5CWE+7jZVzWNYZ9vRNq/twl9VoAlrm74EcL0p1pHOTihzziRKdGjah7Pq xdkEI3iw0JK/Wy/Jy6nIE11HtSUsUir4rjnxHLkEUDmdbzFkVvgTLAuUPxYzuf6jVLUoA+ Hnd9pnPZfjscPGFIzFSs1pz+vtMHcmih8Cn1C1MPv9OElEKc7/L+YhzQCk7DkbIMLlXidA +gytiioVbu/5l49+1U9Lk91b1gDPX1PMAVTtNDMscM8hcFu8BWjr7aSJfhFHruGtTYqUPx PgRJMMq0G3kVOyhY6uCe7fq2kz+pqgEmbtjHLrJmGIeKuKdAhGBMhDWF3aLBmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=FDyEqpdj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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" X-Migadu-Spam-Score: -1.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=FDyEqpdj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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" X-Migadu-Queue-Id: AFFE6B6C4 X-Spam-Score: -1.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1ujhR4J+JfUa Ricardo Wurmus schreef op za 20-11-2021 om 15:36 [+0000]: > Numpy accelerates operations with native code.  Early in the build > it probes the CPU / compiler for supported instruction extensions > and then proceeds to build extensions for different features.  I’m > guessing that this won’t work when building on older CPUs, so the > results of two builds on different CPUs may differ. > > It would be helpful if someone could confirm this by building > numpy on an older CPU and then compare the build result with that > provided by ci.guix.gnu.org. > I built it locally, and have the same result as ci.guix.gnu.org. However, the bordeaux substitute is different: $ LANGUAGE=en guix challenge python-numpy /gnu/store/k311v0843hgq5frcbscylwimqssl1h54-python-numpy-1.17.3 contents differ: local hash: 07var0wn8fywxchldz5pjqpnlavrlbc8s81aqwsqyi0i7qlh6ka7 https://ci.guix.gnu.org/nar/lzip/k311v0843hgq5frcbscylwimqssl1h54-python-numpy-1.17.3 : 07var0wn8fywxchldz5pjqpnlavrlbc8s81aqwsqyi0i7qlh6ka7 https://bordeaux.guix.gnu.org/nar/lzip/k311v0843hgq5frcbscylwimqssl1h54-python-numpy-1.17.3 : 0cbl3q19bshb6ddz8xkcrjzkcmillsqii4z852ybzixyp7rg40qa bordeaux.guix.gnu.org 3.9MiB 6.7MiB/s 00:01 [##################] 100.0% 1 store items were analyzed: - 0 (0.0%) were identical - 1 (100.0%) differed - 0 (0.0%) were inconclusive Diffoscope output: bordeaux.guix.gnu.org 3.9MiB 4.2MiB/s 00:01 [##################] 100.0% [...] │ │ │ │ │ │ │ │ --- /tmp/guix-directory.6ivbVt/lib/python3.8/site-packages/numpy/distutils/fcompiler/__pycache__/vast.cpython-38.pyc │ │ │ │ │ │ │ ├── +++ /gnu/store/k311v0843hgq5frcbscylwimqssl1h54-python-numpy-1.17.3/lib/python3.8/site-packages/numpy/distutils/fcompiler/__pycache__/vast.cpython-38.pyc │ │ │ │ │ │ │ │ @@ -106,15 +106,15 @@ │ │ │ │ │ │ │ │ 00000690: 0104 0106 0104 0104 0106 0104 f906 0904 ................ │ │ │ │ │ │ │ │ 000006a0: 0104 0208 0308 06da 085f 5f6d 6169 6e5f .........__main_ │ │ │ │ │ │ │ │ 000006b0: 5f29 01da 036c 6f67 e902 0000 0029 01da _)...log.....).. │ │ │ │ │ │ │ │ 000006c0: 1463 7573 746f 6d69 7a65 645f 6663 6f6d .customized_fcom │ │ │ │ │ │ │ │ 000006d0: 7069 6c65 7272 0700 0000 2901 da08 636f pilerr....)...co │ │ │ │ │ │ │ │ 000006e0: 6d70 696c 6572 2911 da0a 5f5f 6675 7475 mpiler)...__futu │ │ │ │ │ │ │ │ 000006f0: 7265 5f5f 7202 0000 0072 0300 0000 7204 re__r....r....r. │ │ │ │ │ │ │ │ -00000700: 0000 0072 1900 0000 da1d 6e75 6d70 792e ...r......numpy. │ │ │ │ │ │ │ │ +00000700: 0000 0072 1900 0000 5a1d 6e75 6d70 792e ...r....Z.numpy. │ │ │ │ │ │ │ │ 00000710: 6469 7374 7574 696c 732e 6663 6f6d 7069 distutils.fcompi │ │ │ │ │ │ │ │ 00000720: 6c65 722e 676e 7572 0500 0000 da09 636f ler.gnur......co │ │ │ │ │ │ │ │ 00000730: 6d70 696c 6572 7372 0600 0000 7227 0000 mpilersr....r'.. │ │ │ │ │ │ │ │ 00000740: 00da 0964 6973 7475 7469 6c73 7233 0000 ...distutilsr3.. │ │ │ │ │ │ │ │ 00000750: 00da 0d73 6574 5f76 6572 626f 7369 7479 ...set_verbosity │ │ │ │ │ │ │ │ 00000760: da0f 6e75 6d70 792e 6469 7374 7574 696c ..numpy.distutil │ │ │ │ │ │ │ │ 00000770: 7372 3500 0000 da05 7072 696e 7472 2000 sr5.....printr . 1 bit is different. Greetings, Maxime.