Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp945108pxb; Thu, 30 Sep 2021 23:03:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgG33aBqRfrzeaE2KAetVKSlvEmwKEuwAIrJb2y5XXdbzW2lE7FdhXNFzk4v+4xpOaROxO X-Received: by 2002:a62:7dd3:0:b0:447:dd44:1580 with SMTP id y202-20020a627dd3000000b00447dd441580mr8270108pfc.19.1633068235778; Thu, 30 Sep 2021 23:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633068235; cv=none; d=google.com; s=arc-20160816; b=Wxb3FMWoH//k3GgtFeEDZPejHBDDn9YbFkxCenNRPycW6+bI1PJTniemUhaTMoBQXo CEfpJ0aerguaiQr8cH8CtH5NQcBZCHA5dRuTT3KKPiMbxuwW8+V9XcMuNlbuMCE+VJGx 1owGoJauWa/BI9RCho5T90hlgIhWapIS2b7j1lVxWRDC5ZKEyYKlLYcZ5W+TDY9/MwpD Gg+aNdI73qJHyFQgdyzGT6JbTrZ/KPo4lyEzpUEb5WW8MSmwK2A3RET8C93IrQDOCBoX r04fZIlrlAcC7zWW8+L0p97CI8iG/0U+E26oB2KHvyY51OWU3Yia/cBjaO17xXgF8VMT rDrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=SM3cAa6E5avADXYAkUSlFph5I46KqHsdUqyjiLaFoQY=; b=SnoqeBn3md4UGBUGP1z7jCGKpFntW0oSsNEMVuIYRRKzpI8XYpUuXiQBF/wS+ZWZov 04rz0/szq8kbd8sHosgAAseF2LoofJu+vhQoBJk7O8KWj9ccG1hjA+V1d/6hyLZqA/sz gFd6W/oLHmd6MpMls/Qx2P6Nk3q0iLJQmS1eJ6pjkXgBsYmV/21xmE5UE8eI6cKpueEW VLhg6nxmawLQHJ1y9q/OemvaOhpk0m0tCQtcu9Oh1jEP0SQgpquRQqsJSFt4P802Sz76 C2FXsFio3wI7E3QbBjJsIhc9N9ndcQHBv43tw4MU6rJItqaxpLgR3TVArh3uY3CwByJ0 Njxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 133si6088507pgb.570.2021.09.30.23.03.27; Thu, 30 Sep 2021 23:03:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352098AbhJAFwx (ORCPT + 99 others); Fri, 1 Oct 2021 01:52:53 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:55750 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241958AbhJAFwq (ORCPT ); Fri, 1 Oct 2021 01:52:46 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1mWBRk-00065u-FU; Fri, 01 Oct 2021 13:51:00 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1mWBRi-0007qF-UQ; Fri, 01 Oct 2021 13:50:58 +0800 Date: Fri, 1 Oct 2021 13:50:58 +0800 From: Herbert Xu To: Nathan Chancellor Cc: Linux Crypto Mailing List , Vladis Dronov , Simo Sorce , Eric Biggers , llvm@lists.linux.dev Subject: Re: [v2 PATCH] crypto: api - Fix built-in testing dependency failures Message-ID: <20211001055058.GA6081@gondor.apana.org.au> References: <20210913071251.GA15235@gondor.apana.org.au> <20210917002619.GA6407@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Sep 28, 2021 at 11:32:09AM -0700, Nathan Chancellor wrote: > > This patch as commit 3cefb01905df ("crypto: api - Fix built-in testing > dependency failures") in -next (along with the follow up fix) causes the > following depmod error: > > $ make -skj"$(nproc)" ARCH=powerpc CROSS_COMPILE=powerpc-linux- INSTALL_MOD_PATH=rootfs ppc44x_defconfig all modules_install > depmod: ERROR: Cycle detected: crypto -> crypto_algapi -> crypto > depmod: ERROR: Found 2 modules in dependency cycles! > make: *** [Makefile:1946: modules_install] Error 1 > > Initially reported on our CI: > > https://github.com/ClangBuiltLinux/continuous-integration2/runs/3732847295?check_suite_focus=true That's weird, I can't reproduce this. Where can I find your Kconfig file? Alternatively, can you identify exactly what is in algapi that is being depended on by crypto? The crypto module should be at the very base and there should be no depenedencies from it on algapi. The algapi module is meant to be on top of crypto obviously. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt