From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 04 21:35:11 2023 Received: (at submit) by debbugs.gnu.org; 5 Oct 2023 01:35:11 +0000 Received: from localhost ([127.0.0.1]:45625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoDGh-0003bi-5e for submit@debbugs.gnu.org; Wed, 04 Oct 2023 21:35:11 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoDGf-0003bR-CI for submit@debbugs.gnu.org; Wed, 04 Oct 2023 21:35:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoDGG-0003MO-Dg for bug-guix@gnu.org; Wed, 04 Oct 2023 21:34:44 -0400 Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoDGF-0001n5-3q for bug-guix@gnu.org; Wed, 04 Oct 2023 21:34:44 -0400 Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1e5602c12e5so47685fac.3 for ; Wed, 04 Oct 2023 18:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696469682; x=1697074482; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9HQDNj8g2unabu8gX+8yH9mX9AnOtUJdUdG7I89FBsM=; b=iGrNt2T9pMIpctc8GLCu7T0elsAKsvnXh8vU3RWYd8ttLlXFvcD99A0Fxws5DmJ0ta IMOCPIJCNOygZpMMZQYlzddnPDOylrcJNoik6HAKWAyoiqPrw+ftPTj9SwGVL0RON/sX q5eKC9+jOhzHbzZdCkKVI4ZN4kJgM2XR4SdXH09/HUt4AZ/vp7cZG0hTpOc7pVvqLz5+ lBZGkpZSE+WyF0AEiHeJAeDnyVxOyxBPfwF4bC3AX+6d4h6VwirOCoILpwhdc9TdOWIL OlntUd2bK8fXpQz9fFpFingtyPJWEdg2vHrMV7sLtPWalFSF7tdi4yJyo9pTmj41Q5/A W6JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696469682; x=1697074482; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9HQDNj8g2unabu8gX+8yH9mX9AnOtUJdUdG7I89FBsM=; b=dzgsdRJYqaSlF0/6HOoHhWLHzbXFG/xoVLMdpg0DEgHKZ9IlCslCWKN4OvoK/HZQ2R W9ehp6UVg4B/PTLV/4DyAhp89CCMQjlQH6RQExlpbV7rSnGTi0s/S0Bww8IS1ieZRUJa xzWn+J90+tN29yUzzLwk7o9TO6WAY91FLED+CnTJLScTLJRjnhCxwce8PlRUeOvJCBz0 Z0S7+pneNIsWRWPfoArKY7MVHR9yaOr7/n11U6nvfdDhexgrS02i2F9jJ2BbnGb1ugWb 8NYKzqC1iHf4ih2P73N5UnzBuyc4v7rew3iUIwHKCkYpCvsttR5t+0QP1sp+pxySfZrY QGfA== X-Gm-Message-State: AOJu0YwcRwPWg564uEEz+KUHdEe9w38ty1Kx1MjTfJyRs4kOD5/QGfM1 Ky7qCbHBL+tQEa/tQ5+NGJ+raf+OX1YQlZbB05vMBzfuP0KlQA== X-Google-Smtp-Source: AGHT+IF42rcyyh/HKa5z+jIV+zaYxIAeDFPFbNrtuIhd9R4c/F1LSCZKzaV39AxtE7UXEQQNbeMaExy79xq6UHwxESU= X-Received: by 2002:a05:6870:6592:b0:1b0:17f2:6518 with SMTP id fp18-20020a056870659200b001b017f26518mr4709598oab.42.1696469681814; Wed, 04 Oct 2023 18:34:41 -0700 (PDT) MIME-Version: 1.0 From: Nathan Dehnel Date: Wed, 4 Oct 2023 20:34:30 -0500 Message-ID: Subject: guix_defconfig options cannot be overridden in customize-linux function To: bug-guix Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2001:4860:4864:20::32; envelope-from=ncdehnel@gmail.com; helo=mail-oa1-x32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) (let ((linux-package (customize-linux #:name name #:linux linux ;; #:configs ;; '("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y" ;; "CONFIG_DMA_PERNUMA_CMA=y" ;; "CONFIG_FONTS=y" ;; "CONFIG_FONT_8x16=y" ;; "CONFIG_FONT_SUN12x22=y" ;; "CONFIG_FONT_TER16x32=y") #:defconfig ;; this defconfig contains the config options above (among others) (local-file "defconfig-6.6") #:configs and #:defconfig both cause this error: Mismatching configurations in .config and arch/arm64/configs/guix_defconfig (("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION" (#f "y")) ("CONFIG_DM A_PERNUMA_CMA" (#f "y")) ("CONFIG_FONTS" (#f "y")) ("CONFIG_FONT_8x16" (#f "y")) ("CONFIG_FONT_SUN12x22" (#f "y")) ("CONFIG_FONT_TER16x32 " (#f "y"))) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 05 09:10:41 2023 Received: (at 66355) by debbugs.gnu.org; 5 Oct 2023 13:10:41 +0000 Received: from localhost ([127.0.0.1]:46256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoO7k-0003Hf-Uq for submit@debbugs.gnu.org; Thu, 05 Oct 2023 09:10:41 -0400 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]:59470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoO7g-0003HP-Em for 66355@debbugs.gnu.org; Thu, 05 Oct 2023 09:10:39 -0400 Received: by mail-qv1-xf36.google.com with SMTP id 6a1803df08f44-65af1037ca8so4905766d6.2 for <66355@debbugs.gnu.org>; Thu, 05 Oct 2023 06:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696511412; x=1697116212; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=8Ceq9/3oCy/hLwh4aos2Rb94UTQjlsVygHayvTe5YA8=; b=lHfJ1Jj/B5vXmslMe3sLPcq16Q75dlq0EVxOUFyqKBmXoGX0zG2bhMH1F6HO4mNGr5 zuSmY+gwLjdwdjnS6xkRzv6sXtD/1uRJfJ93RIFQF41Z3rjIgQXFjMSuagVMFEI7I3LD dhy1wu8puQJR+Xu4LAHbP/zkNSDIl6RMw/jFJEHjjowlUKL3J1NhyUFFZmmALcCuZ8Ui tZ0sU7XBq+/LR/r99edyAP29dAEqPCsOpNMjtuUGg5XljezmAZHSND3ZVnZpe46tVIpG KX97DI00TibbJcklYvZaR0G05POlqSNn3rNmdQgHXJDoagKQYugt07s1yxI7BtvTluZe w60Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696511412; x=1697116212; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8Ceq9/3oCy/hLwh4aos2Rb94UTQjlsVygHayvTe5YA8=; b=gjGkpSnAyC5zwNgzSFJfxSDl8vleiLjZtm4rQ7+71K7q+Fp9Aafx2TxGX92FMTWvoY 80ugKXg+bKolNsDzAeGipISGQCXQwSvVx5JwwSHAZQM3JGexLlSkaTjgAvpsqHuY6vez FF51MEkA/g+uU4vxVx5JGowymZgJJuszNsKB3bYqQqn2idJCYTtwut2a46ZpGJnqRuTD FpNjPRkhgKtUcWv3ph/5d8Dfbuv41c5WnkNe/p1/Fgn71UhzkmrLOHokC2EU6cPslByY A68hw1hQN6hJn2fCuYlHwTAa28TJMmnB6Nosxwy/jomvVfkFIPiaZt41tAX7NbpU+7aD ucRw== X-Gm-Message-State: AOJu0YyyBeS9C/hLN1CE13h+Vq5eiN0/rKbfj4nCEFkBBp12+qioYpFR cfol4Wc60Hi5KLyyx64B5nt2ZtGp9P4= X-Google-Smtp-Source: AGHT+IHAX90P/oGUeP9fhijKAWiqirnvKWDjPpe44wlr0+Tlj9spfDC2wXYOPcebus9HYnvwI3clkA== X-Received: by 2002:a0c:c306:0:b0:65d:145e:310f with SMTP id f6-20020a0cc306000000b0065d145e310fmr5333957qvi.43.1696511411941; Thu, 05 Oct 2023 06:10:11 -0700 (PDT) Received: from hurd (dsl-151-116.b2b2c.ca. [66.158.151.116]) by smtp.gmail.com with ESMTPSA id i15-20020a05620a074f00b0076c96e571f3sm475883qki.26.2023.10.05.06.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 06:10:11 -0700 (PDT) From: Maxim Cournoyer To: Nathan Dehnel Subject: Re: bug#66355: guix_defconfig options cannot be overridden in customize-linux function In-Reply-To: (Nathan Dehnel's message of "Wed, 4 Oct 2023 20:34:30 -0500") References: Date: Thu, 05 Oct 2023 09:10:10 -0400 Message-ID: <87a5sxtdu5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66355 Cc: 66355@debbugs.gnu.org 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 Nathan, Nathan Dehnel writes: > (let ((linux-package > (customize-linux > #:name name > #:linux linux > ;; #:configs > ;; '("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y" > ;; "CONFIG_DMA_PERNUMA_CMA=y" > ;; "CONFIG_FONTS=y" > ;; "CONFIG_FONT_8x16=y" > ;; "CONFIG_FONT_SUN12x22=y" > ;; "CONFIG_FONT_TER16x32=y") > #:defconfig > ;; this defconfig contains the config options above (among others) > (local-file "defconfig-6.6") > > #:configs and #:defconfig both cause this error: > > Mismatching configurations in .config and > arch/arm64/configs/guix_defconfig > (("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION" (#f "y")) ("CONFIG_DM > A_PERNUMA_CMA" (#f "y")) ("CONFIG_FONTS" (#f "y")) ("CONFIG_FONT_8x16" > (#f "y")) ("CONFIG_FONT_SUN12x22" (#f "y")) ("CONFIG_FONT_TER16x32 > " (#f "y"))) customize-linux is very limited in that it doesn't resolve the config inter-dependencies. So if you try to enable CONFIG_FONTS but forget to also enable any of its required options, you'll end up in the situation above. I'd suggest producing a defconfig file with all the correctly resolved dependencies using the 'make savedefconfig' or similar after modifying the config with 'make menuconfig'. Let me know how it goes. -- Thanks, Maxim