From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C706F7F for ; Fri, 21 Jul 2023 03:19:04 +0000 (UTC) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-66872d4a141so1029388b3a.1 for ; Thu, 20 Jul 2023 20:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689909544; x=1690514344; h=content-transfer-encoding:subject:cc:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=JnZZLXKopoPDJZvlIe8Qkn79tGnv8EjnYImRJi/CMeQ=; b=OKJCRsLgzRojvIEOd+G+WO6qOOPYlbEGMnAA3etxOJ15TH8pVpZ91Uj+HLI/eEZM9N rsHdmVRWR+lyRyX0XgGoDL5M1HzdfQu2QDsny/+w5kPr/w4UjuSLdt6dFEhYHH4vKRbd jeXA62nQZc/vierDW5+n+WlSEswqA76E6yILexTMvg/h/qimCtJA5xlqJFOqm4CBCDrB vW7zS5AFR+Han2K8UuYA68AQX/RY7WDkWGaXjcGRjfEE2A+KTQlmBfGU00CLGQ/Ac6KT 4cWf4FNF8v1MkoryWoTEHDT8Imh5EICCkKl8QfGy01M5V+Bc9+5H3uW/IwOhVJ1VS94D HBhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689909544; x=1690514344; h=content-transfer-encoding:subject:cc:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=JnZZLXKopoPDJZvlIe8Qkn79tGnv8EjnYImRJi/CMeQ=; b=dIfc/LOa+NC5Rmn+f6XbE9q/LQ9heSUucSSfrdfWhbT1gmIfPjm7Q0lJD6UwzmocTe UzaT4xhGio22SON0oCJ+O44zhe1H9VE3JAAfFg4hytsGt8+Fb4Ylwx+J8rCMqRHqf9s2 Zow2PWxgpmmuPkmEuNuzYknrEgrX1RiWbZJRmDnUU17Azy3LWbTLeViXAM9fYF4+xTUo dGwHSIQ1Op3F20htiXMEniKQF6WULMS+oL1tlt+u6Ibm5B2c0DaAoU4ntV4SKQuX3BQ9 p15+bWz7/4gRUO8+T2TX+Ksw4sLDQ6eJEoboJocEic3zTTnKwkqbphqgCfBmmHcjvAal 1CwA== X-Gm-Message-State: ABy/qLbrIbmbGernYUf3LRyHZNUjAeqR9NrOnQRfLG1DYOhLFuz6Pdi9 QAxIgpCrGd5l0d9EO/HGkGMRtVF6YinUaQ== X-Google-Smtp-Source: APBJJlFSH473ZQlUiP9jUwhRDcbaBihfrQY+6GdViIe2H0d4aBUC/ywhBHN9DLxYCIocDhOIlYvVcg== X-Received: by 2002:a05:6a20:748b:b0:134:e14c:851b with SMTP id p11-20020a056a20748b00b00134e14c851bmr695853pzd.23.1689909543853; Thu, 20 Jul 2023 20:19:03 -0700 (PDT) Received: from [192.168.0.104] ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id c7-20020a170902d48700b001b80b342f61sm2134066plg.268.2023.07.20.20.19.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Jul 2023 20:19:03 -0700 (PDT) Message-ID: Date: Fri, 21 Jul 2023 10:18:56 +0700 Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Josh Triplett , Nicolas Schier , Masahiro Yamada , Sasha Levin , Brian Lindholm From: Bagas Sanjaya Cc: Linux Kernel Mailing List , Linux Regressions , Linux Stable , Linux Kernel Build System Subject: Fwd: 6.4.4 breaks module-free builds of Debian kernel packages Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > I'm on AMD64 with Debian testing (trixie), where I build my own kernels (with CONFIG_MODULES unset) using "make bindeb-pkg". The build proceeds through 99% of the process, but fails here: > > Kernel: arch/x86/boot/bzImage is ready (#2) > make -f ./Makefile ARCH=x86 KERNELRELEASE=6.4.4-i5 intdeb-pkg > sh ./scripts/package/builddeb > *** > *** The present kernel configuration has modules disabled. > *** To use the module feature, please run "make menuconfig" etc. > *** to enable CONFIG_MODULES. > *** > make[5]: *** [Makefile:1969: modules_install] Error 1 > make[4]: *** [scripts/Makefile.package:150: intdeb-pkg] Error 2 > make[3]: *** [Makefile:1657: intdeb-pkg] Error 2 > make[2]: *** [debian/rules:16: binary-arch] Error 2 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 > make[1]: *** [scripts/Makefile.package:139: bindeb-pkg] Error 2 > make: *** [Makefile:1657: bindeb-pkg] Error 2 > > 6.3.13 contained the same error, but I "fixed" that by moving to 6.4.3. But alas, 6.4.4 now has the same issue. > > I worked around the issue by changing "exit 1" to "exit 0" in the main Makefile (at "modules module_install", per the attached patch), but I don't know if this is a true fix or something that simply happens to work for my particular configuration. See Bugzilla for the full thread and attached patch that ignores the error. Josh: It looks like this regression is caused by a commit of yours (and also 1240dabe8d58b4). Would you like to take a look on it? Anyway, I'm adding this regression to be tracked by regzbot: #regzbot introduced: 4243afdb932677 https://bugzilla.kernel.org/show_bug.cgi?id=217689 #regzbot title: always doing modules_install breaks CONFIG_MODULES=n builds Thanks. [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217689 -- An old man doll... just what I always wanted! - Clara