From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4HH2JcBCi18pXAAA0tVLHw (envelope-from ) for ; Sat, 17 Oct 2020 19:15:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6Km/IcBCi1+RGwAAB5/wlQ (envelope-from ) for ; Sat, 17 Oct 2020 19:15:12 +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 37AA29401BF for ; Sat, 17 Oct 2020 19:15:12 +0000 (UTC) Received: from localhost ([::1]:34970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTrfb-0004ZA-6a for larch@yhetil.org; Sat, 17 Oct 2020 15:15:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTrfS-0004Yt-Rn for bug-guix@gnu.org; Sat, 17 Oct 2020 15:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52254) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTrfS-00047q-HX for bug-guix@gnu.org; Sat, 17 Oct 2020 15:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTrfS-00049A-CP for bug-guix@gnu.org; Sat, 17 Oct 2020 15:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64 Resent-From: bokr@oz.net Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Oct 2020 19:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43986 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Received: via spool by 43986-submit@debbugs.gnu.org id=B43986.160296207215884 (code B ref 43986); Sat, 17 Oct 2020 19:15:02 +0000 Received: (at 43986) by debbugs.gnu.org; 17 Oct 2020 19:14:32 +0000 Received: from localhost ([127.0.0.1]:35567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTrex-000488-MA for submit@debbugs.gnu.org; Sat, 17 Oct 2020 15:14:32 -0400 Received: from imta-37.everyone.net ([216.200.145.37]:38652 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTrR4-0003nE-8e for 43986@debbugs.gnu.org; Sat, 17 Oct 2020 15:00:10 -0400 Received: from pps.filterd (omta004.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 09HIwtA1028658; Sat, 17 Oct 2020 12:00:08 -0700 X-Eon-Originating-Account: WCXHyX7uJU46Vb5168kfIARqaDR4n94qgqXCZ3mmfNo X-Eon-Dm: m0117124.ppops.net Received: by m0117124.mta.everyone.net (EON-AUTHRELAY2 - 5a81c0d0) id m0117124.5f8a0284.f8b9; Sat, 17 Oct 2020 12:00:07 -0700 X-Eon-Sig: AQMHrIJfiz837Ol6tAIAAAAC,e7b2ce9e9f8ff475b85c511846bec068 X-Eip: 0jhAKDnOSW3XfpewTmHmeSw0QWY9JDqz_UH-S3R4qy0 From: bokr@oz.net Date: Sat, 17 Oct 2020 20:59:57 +0200 Message-ID: <20201017185957.GA2851@LionPure> References: <20201014124120.15f19ad6@scratchpost.org> <20201017121923.48d8e85a@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20201017121923.48d8e85a@scratchpost.org> 1From: Bengt Richter User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-10-17_15:2020-10-16, 2020-10-17 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 clxscore=1011 spamscore=0 mlxlogscore=899 phishscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010170134 X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Sat, 17 Oct 2020 15:14:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: 43986@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.99 X-TUID: owmP8/bH3wIO Hi Danny, On +2020-10-17 12:20:11 +0200, Danny Milosavljevic wrote: > How do I debug this? > > $ guix-core-updates/guix/pre-inst-env guix environment -s armhf-linux --pure grep > > needs grep (it's in the implicit native inputs), and that grep has a test failure. What if the test failure tested a grep feature that you don't actually need from the implicit native input grep? Is there no way to use a fully valid subset of a tool's functionality (that excludes irrelevant test failures of unused broken functionality) if there's a test failure in testing everything? If one could express a dependency on a limited subset by passing also a required-features list, à la ACL?, maybe dependencies could trigger less builds, and the feature lists might reveal opportunities for optimizing out some dependencies, e.g. where a bash shell's one or two grep invocations might depend on grep only for a regex match that might easily be rewritten with bash's own built-in '=~' One could imagine builds producing ELFs with bitvectors flagging features built and tested, for efficient dynamic safe-capability determination re usage by dependents, but I better stop rambling. So, monolith dependencies vs factoring, how to balance? > > So I can't actually enter the environment for building grep and running > > make check > > . > > What now? HTWNEU -- Hope This Was Not Entirely Useless :) -- Regards, Bengt Richter