From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6DuVMrqegmM7YwAAbAwnHQ (envelope-from ) for ; Sun, 27 Nov 2022 00:18:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gBCsMbqegmPOHwAAG6o9tA (envelope-from ) for ; Sun, 27 Nov 2022 00:18:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7D6EEA5EB for ; Sun, 27 Nov 2022 00:18:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oz4Qv-0003z4-Ab; Sat, 26 Nov 2022 18:18:05 -0500 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 1oz4Qt-0003xO-Es for bug-guix@gnu.org; Sat, 26 Nov 2022 18:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oz4Qs-0003wB-6p for bug-guix@gnu.org; Sat, 26 Nov 2022 18:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oz4Qr-0008V4-MO for bug-guix@gnu.org; Sat, 26 Nov 2022 18:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59423: Invalid 'location' field generated in dovecot configuration References: <87y1s5wa4p.fsf@gmx.com> In-Reply-To: <87y1s5wa4p.fsf@gmx.com> Resent-From: Fredrik Salomonsson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 26 Nov 2022 23:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59423 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 59423@debbugs.gnu.org Received: via spool by 59423-submit@debbugs.gnu.org id=B59423.166950464632659 (code B ref 59423); Sat, 26 Nov 2022 23:18:01 +0000 Received: (at 59423) by debbugs.gnu.org; 26 Nov 2022 23:17:26 +0000 Received: from localhost ([127.0.0.1]:41662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oz4QH-0008Uh-RC for submit@debbugs.gnu.org; Sat, 26 Nov 2022 18:17:26 -0500 Received: from mout01.posteo.de ([185.67.36.65]:43583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oz4QF-0008UY-MT for 59423@debbugs.gnu.org; Sat, 26 Nov 2022 18:17:24 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A6A41240026 for <59423@debbugs.gnu.org>; Sun, 27 Nov 2022 00:17:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1669504637; bh=jGtXMyuhW+8mA9zoy1U3tyZ47w0nXKXQTpU6tKmyG70=; h=From:To:Subject:Date:From; b=HFnOpU1ZAW10bYxmVC3B3YiTQkOONyh69eh3/7J804bg+wcAf6ZyKpdEMZkEniwtD 9aO4c/GjeXhnXFcq8yjFGgpRpBWD9XsWEF7gPylnvUkLB6yokTIwR7bjMyaHc8GPNN srrjtFGwMkpzW0Vet2f1bPR0/Av2bLHunqflkZP8eI0bVa7AF7oe/TcutX3cCiCCwW qa8onaNe1IHU6DzisQPdGPdBfgWkGpQz4MrwoJUEqagv5jxkf2IAajWKbSLL0IwmWc FF++r9hCcSfHHk4n8HtSRYC+NL/UZSSqeblJjgLBAcWbh5R2RwwUK+JCGmjgidcqnD KVbEMHRiuPbGg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NKSLL2YZYz9rxN for <59423@debbugs.gnu.org>; Sun, 27 Nov 2022 00:17:13 +0100 (CET) From: Fredrik Salomonsson Date: Sat, 26 Nov 2022 23:17:11 +0000 Message-ID: <878rjxxq4o.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669504698; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=3ZGHZORE+EGmNedyM8psVHyYKEoivsP8nW5x6FXFyEU=; b=IqhF6c4FO0xTjTCmWHGRvYzBSBrVCvVeeYswZ8VKTEcdk0Igw/PavldqdYm0LVmEMNq5H6 VXhMpKEIsergGNPJeN4Rq5ZIlSjBjjmgmT6PcFj7yAnOp7n1RfQlZZap/585y6sD98Aipb MZkF7PoT8qVaK5bwmYzEPfiE8xA1xkuY22l0zl9C3/+QgXIvkYqxTdtfuwppKSQnRZ4u/v wF8nAgV4TrFQDhX0RbO/hfv8EQ5jUFq5StL0V37unw9euz94DvNXLJMIBMkpSmeJK7dtmV gfKwngnVBQm+uDh/rJ0XkDOM06rup4Q4yRRWuYKvEgRg9oXyCSHbrQSBamSAEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669504698; a=rsa-sha256; cv=none; b=nZfitJ4wdkAB+R6CkB81mX/Rie1J7jjpL8fSYlCuOXZ49/IE9Zmh7jHJHOUtwz/SzMSV7z EmzU7hf5Dm8Xq0G/vpaDc/vU+xaX6XroGF0CGrmnTrpd03MNCWkrKaQ2ytWjcpClCag7/0 05yfGjna8cMCbJLI4xCDmjqabmXjRiAk/rsY20BxS0wqVZoZUXFNELnCUe5SjUuVQ4am2s P1eEhY/SsV/LrDX9PBA68YRXpcVJOJMXJSuPLlhvU5trecpmVIrvCytjUsNGmZdns00cXz I2FAc22s7GJhvlk/yyMCprTMmhM7motjd5NCjyjDexLGh3Wzx1GA0XMV4Z9fwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=HFnOpU1Z; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=HFnOpU1Z; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7D6EEA5EB X-Spam-Score: 5.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: AvplOAKXSRot Hello, I think I encountered the same bug when I updated my home rofi service to use a configuration. It also has a `location` entry but it takes an integer. Here is a repro to reproduce it using `guix repl`: scheme@(guix-user)> (use-modules (gnu services configuration)) scheme@(guix-user)> (define (serialize-integer f v) (number->string v)) scheme@(guix-user)> (define-configuration repro-configuration (location (integer 2) "set location")) ;;; :3:0: warning: shadows previous definition of `%repro-configuration-location-procedure' at :3:0 ;;; : warning: shadows previous definition of `repro-configuration-location' at scheme@(guix-user)> (serialize-configuration (repro-configuration) repro-configuration-fields) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure number->string: Wrong type argument in position 1: #f Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guix-user) [1]> ,q scheme@(guix-user)> (repro-configuration) $1 = #< location: 2 %location: #f> Note the warning about location being shadowed. And it looks like %location is trying to use `serialize-integer` but failing as it is #f. Here is what `guix describe` reports on what guix version I'm running: Generation 13 nov 26 2022 15:05:06 (current) guix 68925b5 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 68925b5ee7e0d96b0c84ae98a633eea5097bf511 I hope this helps with debugging this. -- s/Fred[re]+i[ck]+/Fredrik/g