From unknown Sat Jul 26 16:38:31 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#48284 <48284@debbugs.gnu.org> To: bug#48284 <48284@debbugs.gnu.org> Subject: Status: Dovecot has two =?UTF-8?Q?=E2=80=98location=E2=80=99?= fields Reply-To: bug#48284 <48284@debbugs.gnu.org> Date: Sat, 26 Jul 2025 23:38:31 +0000 retitle 48284 Dovecot has two =E2=80=98location= =E2=80=99 fields reassign 48284 guix submitter 48284 Ludovic Court=C3=A8s severity 48284 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 08 09:02:17 2021 Received: (at submit) by debbugs.gnu.org; 8 May 2021 13:02:17 +0000 Received: from localhost ([127.0.0.1]:50187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfMb3-00014C-6B for submit@debbugs.gnu.org; Sat, 08 May 2021 09:02:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:51370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfMb1-000146-QR for submit@debbugs.gnu.org; Sat, 08 May 2021 09:02:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfMb0-0001z5-Vq for bug-guix@gnu.org; Sat, 08 May 2021 09:02:15 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33006) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfMaz-0005Nf-4i for bug-guix@gnu.org; Sat, 08 May 2021 09:02:14 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54930 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfMav-000153-C6 for bug-guix@gnu.org; Sat, 08 May 2021 09:02:13 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Subject: Dovecot has two =?utf-8?B?4oCYbG9jYXRp?= =?utf-8?B?b27igJk=?= fields X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 =?utf-8?Q?Flor=C3=A9al?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 08 May 2021 15:02:06 +0200 Message-ID: <87h7jd8jld.fsf@inria.fr> 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: -2.3 (--) 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: -3.3 (---) I just noticed this compiler warning: --8<---------------cut here---------------start------------->8--- gnu/services/mail.scm:431:0: warning: shadows previous definition of `%name= space-configuration-location-procedure' at gnu/services/mail.scm:431:0 : warning: shadows previous definition of `namespace-conf= iguration-location' at --8<---------------cut here---------------end--------------->8--- I believe this comes from the fact that =E2=80=98define-configuration=E2=80= =99 automatically introduces a =E2=80=98location=E2=80=99 field (for the source= code location of instantiations), which clashes with this one: --8<---------------cut here---------------start------------->8--- (location (string "") "Physical location of the mailbox. This is in same format as mail_location, which is also the default for it.") --8<---------------cut here---------------end--------------->8--- I think this was revealed by the fix in commit dd0826fbf345dfe7289cf943ed2d29edc51d543f. Probably the only sane way to address it is by renaming the field above. Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue May 18 08:35:58 2021 Received: (at 48284) by debbugs.gnu.org; 18 May 2021 12:35:58 +0000 Received: from localhost ([127.0.0.1]:54625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liyx4-00067H-1a for submit@debbugs.gnu.org; Tue, 18 May 2021 08:35:58 -0400 Received: from mail-qv1-f51.google.com ([209.85.219.51]:43836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liyx1-000672-DE for 48284@debbugs.gnu.org; Tue, 18 May 2021 08:35:56 -0400 Received: by mail-qv1-f51.google.com with SMTP id v18so4787577qvx.10 for <48284@debbugs.gnu.org>; Tue, 18 May 2021 05:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=cKRMAjz9WRE0mtRpAyf5g2zjLe4U1+BtqXeA2cECeh4=; b=IlSehnAX1TIQTK2CG56Ox+Fb3Wk37VbPacPoXs0ndrfSREWI1DPkL5CHcpz5XjWA6m uffW9oope2804n14zCMoB5c0fr2A9jN4dxcth27wUwv8k5mW7anOJKgyaQ3YbFjWkNFf cYszPu3hLLTDrkLljADYPR3PI7jXbRKP/IVcqVsl3uRT8bgYAiNHCb8bvdjvFZw+pNog iYlsol4vfzWsG2zbqgyT+LBIg063b9vfprQ2nb9szmrFLn93k1VX7x5g6IvunX7ET+9G XPplZA0xiaBIvg3ZMgi5aZ33yARsJ/G9moBQEqsQCmnWmoYdtF4nIMTkrtxvVw1QSM1r 0Z4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=cKRMAjz9WRE0mtRpAyf5g2zjLe4U1+BtqXeA2cECeh4=; b=RCoZZ5+08AGfJTiMTyLKgGMqU9OObNRmwrgHGpyQjDH4TmpKelNnbmd/XPUci9HEqY aOcQ+9YQYjoMvZwjxL6Cf3k3sRQqHpjlRL/ZoYNtzvQi25WeTlBYd/qdEnRhmjRe/hxb DBiwuFkOTNdLWT3vNrp6N1P3EKqsikXjQDqrlrv/yOX4u5xVwIk1/nqoklRvqgeq9V+8 EA0DiOfih/Lx0RxcPN5gbJQccY5ooFWv3mMoVf8Q2kxip6pzE1otPzfSRGTZkM4nD+4C HoNKpO0QwIEXUtr7bZtadu4Lqp7vY7kW3kaw1gA12STH93/Ujhvr5p2oW9tP8XQXH0dv jEmA== X-Gm-Message-State: AOAM532uf14p7PsLOhZnCQTVfrsdyxaOdW6n7dUwHNJdKCiZKHr1M+tu Jy+vGsqpG9j/7DXr/ExHeRmTAratDLs= X-Google-Smtp-Source: ABdhPJxL1LogQqrrINr+QSzC6Zf9UClvDH3ieOJv/iD6KHWXXG9io68oRH0gA6RRPoaQeVBJPDnG9g== X-Received: by 2002:ad4:5281:: with SMTP id v1mr5273328qvr.56.1621341349646; Tue, 18 May 2021 05:35:49 -0700 (PDT) Received: from hurd (dsl-236-124-184.b2b2c.ca. [207.236.124.184]) by smtp.gmail.com with ESMTPSA id v8sm12506816qkg.102.2021.05.18.05.35.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 05:35:49 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#48284: Dovecot has two =?utf-8?B?4oCYbG9jYXRpb27igJk=?= fields References: <87h7jd8jld.fsf@inria.fr> Date: Tue, 18 May 2021 08:35:47 -0400 In-Reply-To: <87h7jd8jld.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Sat, 08 May 2021 15:02:06 +0200") Message-ID: <87sg2kmd7g.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: 48284 Cc: 48284@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 Ludo, Ludovic Court=C3=A8s writes: > I just noticed this compiler warning: > > gnu/services/mail.scm:431:0: warning: shadows previous definition of `%na= mespace-configuration-location-procedure' at gnu/services/mail.scm:431:0 > : warning: shadows previous definition of `namespace-co= nfiguration-location' at > > > I believe this comes from the fact that =E2=80=98define-configuration=E2= =80=99 > automatically introduces a =E2=80=98location=E2=80=99 field (for the sour= ce code > location of instantiations), which clashes > with this one: > > (location > (string "") > "Physical location of the mailbox. This is in same format as > mail_location, which is also the default for it.") > > I think this was revealed by the fix in commit > dd0826fbf345dfe7289cf943ed2d29edc51d543f. > > Probably the only sane way to address it is by renaming the field above. We could also rename the define-configuration produced %location field accessor to something more explicit such as $name-source-location instead of $name-location, no? I don't think that field is being used much at all, given it was effectively broken prior to the above commit, so renaming it should go mostly unnoticed. Maxim