From unknown Sat Aug 16 21:12:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52411 <52411@debbugs.gnu.org> To: bug#52411 <52411@debbugs.gnu.org> Subject: Status: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu Reply-To: bug#52411 <52411@debbugs.gnu.org> Date: Sun, 17 Aug 2025 04:12:39 +0000 retitle 52411 [core-updates-frozen] kmod-29 build fails, cross-compiled for= i586-pc-gnu reassign 52411 guix submitter 52411 Maxim Cournoyer severity 52411 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 10 07:55:43 2021 Received: (at submit) by debbugs.gnu.org; 10 Dec 2021 12:55:43 +0000 Received: from localhost ([127.0.0.1]:45851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvfR9-0004bU-3N for submit@debbugs.gnu.org; Fri, 10 Dec 2021 07:55:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:58568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvfR7-0004bL-9N for submit@debbugs.gnu.org; Fri, 10 Dec 2021 07:55:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvfR7-0007MR-0r for bug-guix@gnu.org; Fri, 10 Dec 2021 07:55:41 -0500 Received: from [2607:f8b0:4864:20::730] (port=34416 helo=mail-qk1-x730.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvfR4-0005RG-2q for bug-guix@gnu.org; Fri, 10 Dec 2021 07:55:39 -0500 Received: by mail-qk1-x730.google.com with SMTP id t6so7615059qkg.1 for ; Fri, 10 Dec 2021 04:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=AylWQQu+CfeUl0a6Fv5F91pB/4DtY7CJKs38QllJqYM=; b=eF6TZ0W6Pq2j6c8H+mfB8i1+Y/estb0LZZ7GQ+s6+B5ylRdDpPDnFlHtE4E/O8Wy2Y ij1Hhjy17vNstqL686Lq2/1s5aaGc2qNc7B1KuEU9nbJ1OnmnH4VoviKZKO94oQDZPT7 Qji/tVa5cbBdD3aN2jO1peVsRtvPyNw3aoB3h4p8l9HaE/U0hS8L2lVIR70PhMoI6plP iJe3cJi2c3ro5U6qfPMLr9tCWp71198x5bdj+yuyciALOUwDDDs+KacWNUzQlQAA8+55 RWWvLI1+69aGYL/wUzcvUFsDuBGN7MEvBAV5zhZXdfK/M58Ht2p4m4YqBxnzXhfo/xhJ 7W6g== 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:date:message-id:mime-version :content-transfer-encoding; bh=AylWQQu+CfeUl0a6Fv5F91pB/4DtY7CJKs38QllJqYM=; b=djv0OMvi3DLYW8+6/7fVs70NFIiOmxaxfyb67+DwoTGIuoNujoKQ8zTzTquBNpo1wH 6yNP+7/IjfzDMTZdZzy90RyBfQBlkp9XlKdDePPnJpnDeXS1uACegSm6mMVhW5E1QZfu 27wQq71gmh3+NvaWIKYEJVFMR2VSeisf+jA0v0dCUGsRnxmQodtY7x3vdRYt9AcqOFpK wjp1q5HPQQ7hK9RUihu0unxrG9KAyOoeG7hxcD8L03KxqJjPbl0S+qh6WUbbmyTpWILD 5riAbKNbWzX415RSO/jl/QJ3gd+o86vYGPebLDlRcmVc8vPAvS3Tuee54Pt8rbURYjER NqUA== X-Gm-Message-State: AOAM533aHgl4RRJk6ijB9Ugz6pi0wtoS+bJsSfahkhB+Had/urnixXJ/ CEBEQJOJ0utR2naUfyeG2fk2TejvVXo= X-Google-Smtp-Source: ABdhPJyK74fcltrQvqmdqkmGzo58aPVOr0rK5IXO3AlglG/PIwHJpMsfoMKEdfnWWSEGtzJEvB43SQ== X-Received: by 2002:a05:620a:44ce:: with SMTP id y14mr19553363qkp.612.1639140935989; Fri, 10 Dec 2021 04:55:35 -0800 (PST) Received: from hurd (dsl-236-125-239.b2b2c.ca. [207.236.125.239]) by smtp.gmail.com with ESMTPSA id v12sm1830853qtx.80.2021.12.10.04.55.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Dec 2021 04:55:35 -0800 (PST) From: Maxim Cournoyer To: bug-guix Subject: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu Date: Fri, 10 Dec 2021 07:55:34 -0500 Message-ID: <87zgp8y5yx.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 2607:f8b0:4864:20::730 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::730; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x730.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, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello Guix! I haven't been able to deploy core-updates-frozen on one of my machine, because it has the childhurd service which needs kmod-29 which fails building, like so: --8<---------------cut here---------------start------------->8--- config.status: executing libtool commands kmod 29 =3D=3D=3D=3D=3D=3D=3D prefix: /gnu/store/nw7xs4vv55i2w0yhpb2adq0fghzs7dcw= -kmod-29 sysconfdir: ${prefix}/etc libdir: ${exec_prefix}/lib rootlibdir: ${exec_prefix}/lib includedir: ${prefix}/include bindir: ${exec_prefix}/bin Bash completions dir: ${datarootdir}/bash-completion/completions compiler: i586-pc-gnu-gcc cflags: -pipe -DANOTHER_BRICK_IN_THE -Wall -W -Wex= tra -Wno-inline -Wvla -Wundef -Wformat=3D2 -Wlogical-op -Wsign-compare -Wmi= ssing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdec= laration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-protot= ypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -= Wendif-labels -Wstrict-aliasing=3D3 -Wwrite-strings -Wno-long-long -Wno-ove= rlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-= unused-result -Wnested-externs -Wchar-subscripts -Wtype-limits -Wuninitiali= zed -fno-common -fdiagnostics-show-option -fvisibility=3Dhidden -ffunction-= sections -fdata-sections -g -O2 ldflags: -Wl,--as-needed -Wl,--no-undefined -Wl,--g= c-sections=20 experimental features: no tools: yes python bindings: no logging: yes compression: zstd=3Dyes xz=3Dyes zlib=3Dyes debug: no coverage: no doc: man: yes test-modules: no features: +ZSTD +XZ +ZLIB -LIBCRYPTO -EXPERIMENTAL phase `configure' succeeded after 3.0 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `build' Makefile:2516: warning: overriding recipe for target '.log' Makefile:2509: warning: ignoring old recipe for target '.log' Makefile:2530: warning: overriding recipe for target '.log' Makefile:2516: warning: ignoring old recipe for target '.log' make --no-print-directory all-recursive Makefile:2516: warning: overriding recipe for target '.log' Makefile:2509: warning: ignoring old recipe for target '.log' Makefile:2530: warning: overriding recipe for target '.log' Makefile:2516: warning: ignoring old recipe for target '.log' Making all in . Makefile:2516: warning: overriding recipe for target '.log' Makefile:2509: warning: ignoring old recipe for target '.log' Makefile:2530: warning: overriding recipe for target '.log' Makefile:2516: warning: ignoring old recipe for target '.log' GEN libkmod/libkmod.pc CC tools/kmod.o CC tools/lsmod.o CC tools/rmmod.o CC tools/insmod.o CC tools/modinfo.o CC tools/modprobe.o CC tools/depmod.o CC tools/log.o CC tools/static-nodes.o CC shared/array.lo CC shared/hash.lo CC shared/scratchbuf.lo CC shared/strbuf.lo CC shared/util.lo CC libkmod/libkmod.lo CC libkmod/libkmod-builtin.lo CC libkmod/libkmod-list.lo CC libkmod/libkmod-config.lo CC libkmod/libkmod-index.lo CC libkmod/libkmod-module.lo CC libkmod/libkmod-elf.lo CC libkmod/libkmod-file.lo CC libkmod/libkmod-signature.lo In file included from tools/kmod.c:26: ./shared/util.h:24:56: error: =E2=80=98PATH_MAX=E2=80=99 undeclared here (n= ot in a function) 24 | int alias_normalize(const char *alias, char buf[static PATH_MAX], s= ize_t *len) _must_check_ __attribute__((nonnull(1,2))); | ^~~~~~~~ In file included from tools/insmod.c:26: ./shared/util.h:24:56: error: =E2=80=98PATH_MAX=E2=80=99 undeclared here (n= ot in a function) 24 | int alias_normalize(const char *alias, char buf[static PATH_MAX], s= ize_t *len) _must_check_ __attribute__((nonnull(1,2))); | ^~~~~~~~ =E2=80=98 ./shared/util.h:24: confused by earlier errors, bailing out =E2=80=98 ./shared/util.h:24: confused by earlier errors, bailing out In file included from tools/modinfo.c:30: ./shared/util.h:24:56: error: =E2=80=98PATH_MAX=E2=80=99 undeclared here (n= ot in a function) 24 | int alias_normalize(const char *alias, char buf[static PATH_MAX], s= ize_t *len) _must_check_ __attribute__((nonnull(1,2))); | ^~~~~~~~ =E2=80=98 ./shared/util.h:24: confused by earlier errors, bailing out --8<---------------cut here---------------end--------------->8--- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 10 12:48:19 2021 Received: (at 52411) by debbugs.gnu.org; 10 Dec 2021 17:48:19 +0000 Received: from localhost ([127.0.0.1]:47868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvk0J-0007BA-GX for submit@debbugs.gnu.org; Fri, 10 Dec 2021 12:48:19 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:59042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvk0D-0007Au-O1 for 52411@debbugs.gnu.org; Fri, 10 Dec 2021 12:48:17 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id UhoA260044UW6Th06hoAD8; Fri, 10 Dec 2021 18:48:12 +0100 Message-ID: Subject: Re: bug#52411: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu From: Maxime Devos To: Maxim Cournoyer , 52411@debbugs.gnu.org Date: Fri, 10 Dec 2021 17:48:10 +0000 In-Reply-To: <87zgp8y5yx.fsf@gmail.com> References: <87zgp8y5yx.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1639158492; bh=C77BM4HDMZVRBUqdU8IBO3ZedjcojjAf7JFBdXwuSZo=; h=Subject:From:To:Date:In-Reply-To:References; b=mUxJ7+ik2FmSrEmP3711Yn5CYtjhB6pzK8CWtMggfluBXQp1KEbiZRQ6gxnMVhq2i K43sOZmKGDbozIN4MFYHz67qLxetAX9Zmu9zJ0lM/CiWK21CTPCOcLWBu/JkcrTYoS zGhCuDVc7nuzFxN1AJDkg62ubvGc0JM2+8Lc4BH1Q74cOwWellc0djLMDD2T/cdckr jl/p87IjjVjVaNe7DIDChXYPdgDxZP4Ma/I6vIa20CmDpsk7eLhqZBuoQM0fOk2LIa hfbO7idhG3ps9en98S0+EwZlUo5lnuM60EWx+MP4UMpLBeyITXAa0GYcsHHl/HhpTz pBFgDodT9MkVw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52411 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Maxim Cournoyer schreef op vr 10-12-2021 om 07:55 [-0500]: > Hello Guix! > > I haven't been able to deploy core-updates-frozen on one of my > machine, > because it has the childhurd service which needs kmod-29 which fails > building, like so: kmod is a linux-only thing, it's for doing things with linux kernel modules, so the childhurd service shouldn't be using kmod. Perhaps look at why kmod is being built in the first place? Greetings, Maxime. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 10 12:56:01 2021 Received: (at 52411) by debbugs.gnu.org; 10 Dec 2021 17:56:01 +0000 Received: from localhost ([127.0.0.1]:47878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvk7l-0007PI-H2 for submit@debbugs.gnu.org; Fri, 10 Dec 2021 12:56:01 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:36810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvk7i-0007P0-OZ for 52411@debbugs.gnu.org; Fri, 10 Dec 2021 12:56:00 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id Uhvw2600U4UW6Th06hvxEL; Fri, 10 Dec 2021 18:55:57 +0100 Message-ID: <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> Subject: Re: bug#52411: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu From: Maxime Devos To: Maxim Cournoyer , 52411@debbugs.gnu.org Date: Fri, 10 Dec 2021 17:55:56 +0000 In-Reply-To: References: <87zgp8y5yx.fsf@gmail.com> 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=1639158957; bh=4BvPMAZHU6DNSCWp7ymMPx6KP7KIu7b/O/rsDIR3ieU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=PbEVAwVIT4ewOhJoCe3543jIFwMAghtSY7L9g8dTGy2hDKk1D3KXbRKUFAG1HxGtc /AC3oQNR3u82bHPZCkPMzR5kZPfMc/uNUdrrYaVrntL5XQjsieJt4M1JWlnqR23mH4 zkGxyVTwAUSkycQlChy4VRpBelxalgwNblQolaBoyEkLPb3BHUwYNAsmLSNRjsUPgW 8yQ5lwrNiBQX9yQcBRrTzLwd3a9tlOgZAnoXjbdmQh80x1OdQftmq6HL2x66oFB8q7 p/VEuwMwWIuynkO/54TG9FaUFjpwPiOlfpQsWbxv7XEHU5poHnCrTiy+5a0opXhfV0 n5fFyZB7mCg9g== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 52411 Cc: Jan Nieuwenhuizen , Thiago Jung Bauermann X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Maxime Devos schreef op vr 10-12-2021 om 17:48 [+0000]: > Maxim Cournoyer schreef op vr 10-12-2021 om 07:55 [-0500]: > > Hello Guix! > > > > I haven't been able to deploy core-updates-frozen on one of my > > machine, > > because it has the childhurd service which needs kmod-29 which > > fails > > building, like so: > > kmod is a linux-only thing, it's for doing things with linux kernel > modules, so the childhurd service shouldn't be using kmod. Perhaps > look > at why kmod is being built in the first place? I think I might have found the issue. The following commit made the existence/absence 'kmod' input of pciutils depend on %current- system/%current-target-system: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=22ee7209797c023b95e22ced156df62cbff90184 but it forgot to keep in mind that nix systems != triplets. Instead of %current-target-system, the 'current-target-nix-system' from ‘https://issues.guix.gnu.org/49672#3’ needs to be used (or the hurd-target? procedure). Greetings, Maxime. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 16 14:02:32 2021 Received: (at 52411) by debbugs.gnu.org; 16 Dec 2021 19:02:32 +0000 Received: from localhost ([127.0.0.1]:36815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxw1Q-00005X-2G for submit@debbugs.gnu.org; Thu, 16 Dec 2021 14:02:32 -0500 Received: from mail-qt1-f180.google.com ([209.85.160.180]:38654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxw1O-00005H-LS for 52411@debbugs.gnu.org; Thu, 16 Dec 2021 14:02:31 -0500 Received: by mail-qt1-f180.google.com with SMTP id 8so210021qtx.5 for <52411@debbugs.gnu.org>; Thu, 16 Dec 2021 11:02:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=cklVyA4aknxuS6hq6f3wuGbOBplV75zFgDRVAyj55mY=; b=RZ7EeNM/7Sl/PxD50gL8xFpTqioSNa2iIGmVQVqxv5ud16Ppga2Pd9mpKq4HFGds/V OpAUoEcodpjKwT2qhGmxirzSvs0lsM8QGorqW673ubOU8IlzoT4xbkeAPW0hrAQCfOGL YXkBYnQe2UeIbmxEaZdkBkfK1ZtpU1l5972qXKrNdMvNraex6H43rOjnS/VT/XlETDoC nP/CL1ANjo9gfa511lN4ymQbHKKTNcCVtEvCIbjNXzykf48E+LzPm1+s6W6TrOuJpPol mFF9hK4kFVPb8jSNSUYIUAepUZGO3A9iZarBf6jVLt2J0FnYTu/7QpmoIohT769nBxan A9fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=cklVyA4aknxuS6hq6f3wuGbOBplV75zFgDRVAyj55mY=; b=BP9KQNwdfCdiATsg3t3x3vykjs/TWmJ7NXwscfxCvL6JwN7OWscBOCju4Vm0N+Glvl UJpdUaOXrDRJSxWP9PSjwmCoigGI33qBpJV+efvDEE+mqnUQYLYcEFWr0m8mCWnKvPDq /nd4hBl9WONio4yOSEIo9WDx/zfTgMkhb5Xc/IJB7UWGzqCgSwss/0Rz4gtevYZSz771 lWqQR8kRpBWSqqG6cPDLfvjHCW2QnFyuqsX09AH+EIQjQvZDzpyIQOH/+WWzvQuYqRQE A3kGQau7wME/1TV6Z85ATd+2sNlLMzxMQ3ezCvsyV/c7Yj8MfAC+Zkbd77UEvT+5bdSy OKMA== X-Gm-Message-State: AOAM531/et7PuY88F5Z+cmVK7ElIhYrnfsYpR+bZkgtVm6vforym5B9t 5dFSZ3cXqp+HzSKR9DXntpQ= X-Google-Smtp-Source: ABdhPJyFuq5E6BUEojG3Mn1t+ZcfmZBrlY9CMyqkSQ2Ox3I9bYRJVXMYG9pPJhC06EdcRkFO1ef87g== X-Received: by 2002:ac8:5c4b:: with SMTP id j11mr18803525qtj.495.1639681345119; Thu, 16 Dec 2021 11:02:25 -0800 (PST) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id o20sm3257988qkp.114.2021.12.16.11.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 11:02:24 -0800 (PST) From: Maxim Cournoyer To: Maxime Devos Subject: Re: bug#52411: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu References: <87zgp8y5yx.fsf@gmail.com> <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> Date: Thu, 16 Dec 2021 14:02:22 -0500 In-Reply-To: <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> (Maxime Devos's message of "Fri, 10 Dec 2021 17:55:56 +0000") Message-ID: <874k78cr0h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 52411 Cc: Thiago Jung Bauermann , 52411@debbugs.gnu.org, Jan Nieuwenhuizen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Maxime, Maxime Devos writes: > Maxime Devos schreef op vr 10-12-2021 om 17:48 [+0000]: >> Maxim Cournoyer schreef op vr 10-12-2021 om 07:55 [-0500]: >> > Hello Guix! >> >=20 >> > I haven't been able to deploy core-updates-frozen on one of my >> > machine, >> > because it has the childhurd service which needs kmod-29 which >> > fails >> > building, like so: >>=20 >> kmod is a linux-only thing, it's for doing things with linux kernel >> modules, so the childhurd service shouldn't be using kmod. Perhaps >> look >> at why kmod is being built in the first place? > > I think I might have found the issue. The following commit made the > existence/absence 'kmod' input of pciutils depend on %current- > system/%current-target-system: > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D22ee7209797c023b9= 5e22ced156df62cbff90184 > > but it forgot to keep in mind that nix systems !=3D triplets. > Instead of %current-target-system, the 'current-target-nix-system' > from =E2=80=98https://issues.guix.gnu.org/49672#3=E2=80=99 needs to be us= ed > (or the hurd-target? procedure). Thanks for your answer! It indeed looks like a related bug. For some reason though, I was able to 'guix deploy' the configuration this morning, using guix at commit 9f955a1cfd8f3b8fe066034878131f0e2518740b. Odd! Is someone still able to reproduce it? Thank you, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 23:11:57 2021 Received: (at 52411) by debbugs.gnu.org; 18 Dec 2021 04:11:57 +0000 Received: from localhost ([127.0.0.1]:41028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myR4f-0003Oy-J6 for submit@debbugs.gnu.org; Fri, 17 Dec 2021 23:11:57 -0500 Received: from mail-qk1-f177.google.com ([209.85.222.177]:42713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myR4c-0003Oj-On for 52411@debbugs.gnu.org; Fri, 17 Dec 2021 23:11:55 -0500 Received: by mail-qk1-f177.google.com with SMTP id g28so4178568qkk.9 for <52411@debbugs.gnu.org>; Fri, 17 Dec 2021 20:11:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Jxj75Xs8j489HcHVbeJqgWrmyyklsgp0LQ6CB0ZHsCk=; b=SpVViCWRkyzi+LIUmhYP5gNVnH4eo3cE6U6CJ7Wr7pr1N13kEe25nr6j/JQJR94xiX xTbW+biVUptKoXoACw3qxL4Ctx1KQizbQFt5gnLWH1YxXHNArfzdy0VhL51atnpJYGr7 /JHGD7RF0Ka1UjNiigUcLTyneAFoPa8ysRV37n9dK3sqYix6Qf+KOwN11YuGZGQnmxwV nFkmeu+D5u6o+IHxlxK3iqAJYKZhnEY9XeQa+mWTxgqSHIKjhfIumTH9Qc+QzWbUyHii O/Gx5WdIyKfAjZu+fp35IKVDzlsZpAkY+oZe7vAfQ+6hjaOeh46/n04XSlnjfTMD5GG1 kQbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Jxj75Xs8j489HcHVbeJqgWrmyyklsgp0LQ6CB0ZHsCk=; b=1e2VFdnmHHehYFz1pDXnEwfP8szwfqfp/36zGn3GmlRj15pvD+aP9zcLIBUUigddkq KKFvfEtf8NfIUig6gu+RqC6HqtgtTD8jT2a62M7QGOzgVY/UTwCoVWEBGvMXMtZwyY8D uP1Iei6F15z2LQ2RrAvTui8gZ985AojAEefzTkl/KaRiV0N78SrekbnVCTkZVqmKp4bV doxR8MLvVfsUEt7lzWTXoJ7ssNH2QIkj+YSOkMHJfd9duElW6bdIj5m0MKEahy2LXPMB h7zmDduhRqNRN9nO0r+M+90Hic5kgWq/kFMrpUYPYT+18DxZgiGidVIMrnc301ormUVw Om5g== X-Gm-Message-State: AOAM531M49EZl/Crl6LQZsPSYNPDJCg2s75YQo9U2MujTBW+LXCokX7U HTW3WKUiBHguHJsc8HY2Wh0= X-Google-Smtp-Source: ABdhPJykBectp0cu/HJ0G5Iac/B811n0osDdv73Liwd4jH7jKYL48o2KA7P0RSvaFG0tn9Xy2wRBAw== X-Received: by 2002:a05:620a:94d:: with SMTP id w13mr3925621qkw.419.1639800709353; Fri, 17 Dec 2021 20:11:49 -0800 (PST) Received: from hurd ([207.35.95.41]) by smtp.gmail.com with ESMTPSA id r4sm8194760qtu.21.2021.12.17.20.11.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 20:11:48 -0800 (PST) From: Maxim Cournoyer To: Maxime Devos Subject: Re: bug#52411: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu References: <87zgp8y5yx.fsf@gmail.com> <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> Date: Fri, 17 Dec 2021 23:11:48 -0500 In-Reply-To: <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> (Maxime Devos's message of "Fri, 10 Dec 2021 17:55:56 +0000") Message-ID: <874k765z7f.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52411 Cc: Thiago Jung Bauermann , 52411@debbugs.gnu.org, Jan Nieuwenhuizen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Maxime, Maxime Devos writes: > Maxime Devos schreef op vr 10-12-2021 om 17:48 [+0000]: >> Maxim Cournoyer schreef op vr 10-12-2021 om 07:55 [-0500]: >> > Hello Guix! >> > >> > I haven't been able to deploy core-updates-frozen on one of my >> > machine, >> > because it has the childhurd service which needs kmod-29 which >> > fails >> > building, like so: >> >> kmod is a linux-only thing, it's for doing things with linux kernel >> modules, so the childhurd service shouldn't be using kmod. Perhaps >> look >> at why kmod is being built in the first place? > > I think I might have found the issue. The following commit made the > existence/absence 'kmod' input of pciutils depend on %current- > system/%current-target-system: > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D22ee7209797c023b9= 5e22ced156df62cbff90184 > > but it forgot to keep in mind that nix systems !=3D triplets. > Instead of %current-target-system, the 'current-target-nix-system' > from =E2=80=98https://issues.guix.gnu.org/49672#3=E2=80=99 needs to be us= ed > (or the hurd-target? procedure). Looking more closely, I don't see an issue with the current conditional seleciting kmod? nix systems !=3D triplets, but in this case, the conditional is seldom dealing with nix systems, it seems. Am I missing something? *** time passes ... reads sources *** Ah! per (guix utils), it seems like %current-system is a nix system, while %current-target-system is a GNU triplet. Confusing! So, I've now made the following change: --8<---------------cut here---------------start------------->8--- (native-inputs (list which pkg-config)) (inputs - `(,@(if (member (or (%current-target-system) - (%current-system)) - (package-supported-systems kmod)) + `(,@(if (not (hurd-target?)) `(("kmod" ,kmod)) '()) --8<---------------cut here---------------end--------------->8--- I'll push it to version-1.4.0 as it causes a big rebuild. I'm still curious that this doesn't appear triggered on every guix deploy I've made though... Thanks! Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 23:43:13 2021 Received: (at 52411) by debbugs.gnu.org; 18 Dec 2021 04:43:13 +0000 Received: from localhost ([127.0.0.1]:41059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myRYu-0004GM-Uu for submit@debbugs.gnu.org; Fri, 17 Dec 2021 23:43:13 -0500 Received: from mx.kolabnow.com ([212.103.80.153]:29016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myRYs-0004G2-Hm for 52411@debbugs.gnu.org; Fri, 17 Dec 2021 23:43:11 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id C83A1411ED; Sat, 18 Dec 2021 05:43:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1639802582; x=1641616983; bh=H6mV2DFyCt3NcJ1SgPLvLs8sAplA27yT86L u63Zuns0=; b=pMaIrx0qwdSCGOTf06zDsEhcbQHh2DZGxpzyWvnkCfZ9q/MhESJ 8TEWMWSWEjbMpOrecq8j7Q4h2bLQZ/DES+1mzSbQzeYK/6qqGS6IzYGBX/QUtEps EWAwnrn0gQA1M7G35oGIC8Wa9AJKlm7mT6sM5a0RKhWomHb3cHyAVVwQggezA759 UtX9ZUiM54nlu216AOVlsr2iFDkjLAuDv2alqjZNOosXL40bcxeI46YVJr+QN5bJ L10r2B2slzBy5guwiLECcSLp6HjjlO2f2/ukjSWrW23+LYwDsTxy+BBb5pqxbLtP /SicOmuDZhH3CA68/T9ejYqaXTdfOW5A+tj27jAfxHcAUSJqr2uoTpZSgUVZTqWz tUBe7fkv9oh+DtR6bgRcc+jGSwDTzrLjajlAwOoGMRbq3Bf5E/G9LRFQpNgjyZB8 By9eRkMvSjbivvpEcBAPyW+wc93iPq+f9HwOoIhY2FYUyt2fR0eHdd/iwqVb588N EItbdussyCkffLeXKIQe0P+1N8vUd6qqJl3R6tJPGwRe2xiw4DHh3zcZphZGw+9/ Gwc/2+LNnUYI/s1BXLpOcPm+nKTDi0yvuGkTx7GK7fuaYl2pFIIo8TfuWqGzMZKO jNr7J+By+QVrtajL+x0eMk2U7ljRcUy8eJuzK92xAA9WJlQ1J8KbJeAA= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B9tgY4T0QIun; Sat, 18 Dec 2021 05:43:02 +0100 (CET) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by mx.kolabnow.com (Postfix) with ESMTPS id 1B4F24090E; Sat, 18 Dec 2021 05:43:00 +0100 (CET) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id E02CFA48; Sat, 18 Dec 2021 05:42:59 +0100 (CET) From: Thiago Jung Bauermann To: Maxime Devos , Maxim Cournoyer Subject: Re: bug#52411: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu Date: Sat, 18 Dec 2021 01:42:53 -0300 Message-ID: <2150305.bgRPiZMkaZ@popigai> In-Reply-To: <874k765z7f.fsf@gmail.com> References: <87zgp8y5yx.fsf@gmail.com> <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> <874k765z7f.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52411 Cc: 52411@debbugs.gnu.org, Jan Nieuwenhuizen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Em s=C3=A1bado, 18 de dezembro de 2021, =C3=A0s 01:11:48 -03, Maxim Cournoy= er=20 escreveu: > > I think I might have found the issue. The following commit made the > > existence/absence 'kmod' input of pciutils depend on %current- > > system/%current-target-system: > >=20 > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D22ee7209797c023= b9 > > 5e22ced156df62cbff90184 > >=20 > > but it forgot to keep in mind that nix systems !=3D triplets. > > Instead of %current-target-system, the 'current-target-nix-system' > > from =E2=80=98https://issues.guix.gnu.org/49672#3=E2=80=99 needs to be = used > > (or the hurd-target? procedure). >=20 > Looking more closely, I don't see an issue with the current conditional > seleciting kmod? nix systems !=3D triplets, but in this case, the > conditional is seldom dealing with nix systems, it seems. Am I missing > something? >=20 > *** time passes ... reads sources *** >=20 > Ah! per (guix utils), it seems like %current-system is a nix system, > while %current-target-system is a GNU triplet. Confusing! Guix=E2=80=99s usage of GNU triplets in some places and nix systems in othe= rs is a=20 footgun. IMHO we should choose one format and use it everywhere we can,=20 converting to the other if necessary... =2D-=20 Thanks, Thiago From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 17 12:13:38 2022 Received: (at 52411-done) by debbugs.gnu.org; 17 Jan 2022 17:13:38 +0000 Received: from localhost ([127.0.0.1]:47799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9VZZ-00064O-Qq for submit@debbugs.gnu.org; Mon, 17 Jan 2022 12:13:38 -0500 Received: from mail-qk1-f170.google.com ([209.85.222.170]:41883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9VZT-00063c-IV for 52411-done@debbugs.gnu.org; Mon, 17 Jan 2022 12:13:34 -0500 Received: by mail-qk1-f170.google.com with SMTP id o135so9309906qke.8 for <52411-done@debbugs.gnu.org>; Mon, 17 Jan 2022 09:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=c3DjiU5bs2GHb6s2t3bW+Sn4Q2R/M3V/H66Z2G6R+mI=; b=Zu8MKbH5RoZ4D0Zfm6CrVTRG5iAQhbn4waykDfz2la1MWbzW9L5KM/1NOlDjYEKds6 NpR7yvD4qFzh2HVeTLqcHfz9WKmjBDuUpS2tnac05KrzWX98C0CrtsyAEzbecLkgb/76 T+bRg9+VyhdeTm40f4cfuf7MpqSRyyT9nyQufeLI8tQh1dQ7hZQuAhov2ONeD3cyoCw4 LnGGd8znFVuxrbutSAbQyEf3Rxfd7SKOeGcVPLEFQI0amd7vnPDLoMGsV/52llK5RCvT rA9Jhp2ccEzKDtQiIUVw0MFG9WqGhctjXY3YVnvGUFlRBRcze/F+TblNLUNq9i/GXvan LKzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=c3DjiU5bs2GHb6s2t3bW+Sn4Q2R/M3V/H66Z2G6R+mI=; b=IzFaJOXpdXZqxEoWHHHp8ZVYa3C2NpkdGa0n3bmYpzEfR9Jtm1Hm1PXT/S3nOKydbP vLMqaJH8wD0T/8oRpVHje+ZvclvmozP78GsI4OOH2PiQLz1Pvxnoal4exThUznrssnlX hHXTH8s42VuJ/PNyDvaeD4UgaMhSqlAqQbCwUr+vpCZDpTdnsvMJpzm58ZWoVUUEvkFI MPX2ZfyvT7SugXXxRbp57/6Cj+s4PO6igBh6uk6h039mQmyVQCSQxVALaPEAq+sDu7oN MZoSHJfJ6G4YEzCCmcHVBnsdL81xr5LQ+0182d2H49CYAQukimUgLitDOwDeTxud7lvk FbCQ== X-Gm-Message-State: AOAM532rszMdB8cMsv+/Yu5+wg03rGZ3q6L0hN/ETxbQRxxtht7EMesm Gt3ksjuVem9oz4pRkG0tMqk= X-Google-Smtp-Source: ABdhPJzE6A3zc+01629U+IukJBG1ORr1uUqyzg6sVUNm66KmTe+dvQsGwNvO7XDwVGXMxB+ycG0MzA== X-Received: by 2002:ae9:f11a:: with SMTP id k26mr15422001qkg.444.1642439606120; Mon, 17 Jan 2022 09:13:26 -0800 (PST) Received: from hurd (dsl-205-236-230-134.b2b2c.ca. [205.236.230.134]) by smtp.gmail.com with ESMTPSA id g13sm2836919qko.59.2022.01.17.09.13.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 09:13:25 -0800 (PST) From: Maxim Cournoyer To: Thiago Jung Bauermann Subject: Re: bug#52411: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu References: <87zgp8y5yx.fsf@gmail.com> <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> <874k765z7f.fsf@gmail.com> <2150305.bgRPiZMkaZ@popigai> Date: Mon, 17 Jan 2022 12:13:24 -0500 In-Reply-To: <2150305.bgRPiZMkaZ@popigai> (Thiago Jung Bauermann's message of "Sat, 18 Dec 2021 01:42:53 -0300") Message-ID: <87tue2i8uj.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52411-done Cc: Maxime Devos , 52411-done@debbugs.gnu.org, Jan Nieuwenhuizen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Thiago Jung Bauermann writes: > Hello, > > Em s=C3=A1bado, 18 de dezembro de 2021, =C3=A0s 01:11:48 -03, Maxim Courn= oyer=20 > escreveu: >> > I think I might have found the issue. The following commit made the >> > existence/absence 'kmod' input of pciutils depend on %current- >> > system/%current-target-system: >> >=20 >> > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D22ee7209797c02= 3b9 >> > 5e22ced156df62cbff90184 >> >=20 >> > but it forgot to keep in mind that nix systems !=3D triplets. >> > Instead of %current-target-system, the 'current-target-nix-system' >> > from =E2=80=98https://issues.guix.gnu.org/49672#3=E2=80=99 needs to be= used >> > (or the hurd-target? procedure). >>=20 >> Looking more closely, I don't see an issue with the current conditional >> seleciting kmod? nix systems !=3D triplets, but in this case, the >> conditional is seldom dealing with nix systems, it seems. Am I missing >> something? >>=20 >> *** time passes ... reads sources *** >>=20 >> Ah! per (guix utils), it seems like %current-system is a nix system, >> while %current-target-system is a GNU triplet. Confusing! > > Guix=E2=80=99s usage of GNU triplets in some places and nix systems in ot= hers is a=20 > footgun. IMHO we should choose one format and use it everywhere we can,=20 > converting to the other if necessary... Eh, indeed! I see Maxime has written neat helpers that should mitigate it to some extent (in guix build utils). Thank you! The bug at hand should now be fixed in master. Closing. Thanks! Maxim From unknown Sat Aug 16 21:12:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 15 Feb 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator