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 ms9.migadu.com with LMTPS id ICXZGFqUUmQJXAAASxT56A (envelope-from ) for ; Wed, 03 May 2023 19:05:30 +0200 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 4JrbF1qUUmTP+AAAG6o9tA (envelope-from ) for ; Wed, 03 May 2023 19:05:30 +0200 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 322A81C871 for ; Wed, 3 May 2023 19:05:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puFua-00054j-EY; Wed, 03 May 2023 13:05:04 -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 1puFuZ-00054Y-1v for bug-guix@gnu.org; Wed, 03 May 2023 13:05:03 -0400 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 1puFuY-0002Jo-El for bug-guix@gnu.org; Wed, 03 May 2023 13:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puFuX-0002GI-Oa for bug-guix@gnu.org; Wed, 03 May 2023 13:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62698: bind:utils Resent-From: Brian Cully Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 03 May 2023 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62698 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: =?UTF-8?Q?=CE=91=CE=BD=CF=84=CF=8E=CE=BD=CE=B9=CE=BF=CF=82_?= =?UTF-8?Q?=CE=A4=CF=83=CF=8E=CE=BB=CE=B7=CF=82?= , 62698@debbugs.gnu.org Received: via spool by 62698-submit@debbugs.gnu.org id=B62698.16831334918672 (code B ref 62698); Wed, 03 May 2023 17:05:01 +0000 Received: (at 62698) by debbugs.gnu.org; 3 May 2023 17:04:51 +0000 Received: from localhost ([127.0.0.1]:47615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puFuM-0002Fo-Mh for submit@debbugs.gnu.org; Wed, 03 May 2023 13:04:50 -0400 Received: from coleridge.kublai.com ([166.84.7.167]:62485 helo=mail.spork.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puFuK-0002Ff-4n for 62698@debbugs.gnu.org; Wed, 03 May 2023 13:04:48 -0400 Received: from psyduck (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id 8AB37969B; Wed, 3 May 2023 13:04:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1683133487; bh=UDOcx6csJ9wsuroKkHm07aSziKej4Z9f9g17u1TZsjs=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=YXOKD3j6eOvjqF2HLP4YckN3H7NdMiE4dD9or+v6fplRDw4Dm0TwxtDbs2wDFuJIm ZO2XOm4MbaSNX3mUjSVJZ4x/ZUVqbKf67+ab2MhFJFRW6hc40BXTtqQ+TNfkhqzMri BlTe4iI343mwR395dB6/OuG2h0hFTJIturKgu5QU= References: <87a5zkyigh.fsf@psyduck.jhoto.kublai.com> <87cz4f49ee.fsf@psyduck.jhoto.kublai.com> <87zg7i2ynb.fsf@psyduck.jhoto.kublai.com> <87fs8dzhzl.fsf@gmail.com> User-agent: mu4e 1.10.2; emacs 28.2 Date: Wed, 03 May 2023 12:58:33 -0400 In-reply-to: <87fs8dzhzl.fsf@gmail.com> Message-ID: <87mt2lpcr9.fsf@psyduck.jhoto.kublai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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: , Reply-to: Brian Cully From: Brian Cully via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683133530; a=rsa-sha256; cv=none; b=QEmdOoxrAQ1vgH+sGTC7XLcON8L7TbxjVy5omMmxhFnncRlL9eXWcs7650mi7sXwpaMbPc rUB3OvnEBk8w+z1W/BNEoFVVfeckHeeYkvVlSZT5kS3oH6Lz4VnjchXIcieG84ytquYW3L dQqTYQ18ruSVToFcSPJVVOC+NpnxMXPBqqn5GXGBEBNukrHM0MnqTuXUzlBh3FflYy6blo ooLYcdm3CBlkwC70kvWOzrIkyILlq1qwtLUgYaSipvqV/IudvYXczmKgbr3QgNoMf8q02f bw7hl7Je1Yi5Bd2WRK0GNopYyc+NDyICu1f10kfe0fktBZDn22ofkhFsBfBGIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=YXOKD3j6; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683133530; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=gxIg2PtlodINNNRGxhzUwkHLHJavr0V2AJi7VDEDNpE=; b=h8UGgQxw4WLrqhOfvcH6Jljzgq5kB46q5EllORiXDgU8ZcNB+WdBpSJlGtFBGjfTpJseyj o03FE/omKlyzhAAg8O+ub7RglSgDPQmMV3VAoGxClR132jWJ5QD5ZXtP6V2NrMwV4NdI+j /TWXSCLCKcC4kVjZNzInEWG+3xhAliipqBxeQlC5qSlCScZVTLVBG1iGOSSEi3PPfYObsz YqLazLTCrKmcbbqVJWOths71FCI29Y3Eg1k6AGpwTSK84pQvjPMM9uJjwAfZxS58LCCARP zyMDo3u7jaUInm9sVSfJ0hcALHo9NA8KUUSYu2iiya5G9/gCUWYivocZ1EN2gQ== X-Migadu-Spam-Score: -4.20 X-Spam-Score: -4.20 X-Migadu-Queue-Id: 322A81C871 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=YXOKD3j6; dmarc=pass (policy=none) header.from=gnu.org; 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-TUID: McMoW5cVBnfc Maxim Cournoyer writes: > Thanks for finding the problem. Should we leave this bug open=20 > until > specification->package+output is properly documented in our=20 > manual, with > an example? If yes, would you like to try your hand at adding=20 > it? I've looked at this briefly, and can't figure out a good place to=20 document this (I'm also not particularly good with TexInfo). I'm okay with closing the bug. Though I will say that I think this=20 procedure is a bit of a foot-gun. Multiple value returns are=20 always kind of weird, and in this particular case I don't see the=20 value at all; the only reason to use=20 =E2=80=98specification->package+output=E2=80=99 would be to get both the pa= ckage=20 and the output, so the minor advantages of multi-value returns are=20 obviated. On top of that, does this even get used outside of=20 system/home definitions? And in those places you always want a=20 list. I realize a lot of code uses the current semantics, so changing=20 them would be extremely difficult at this late stage. It's worth=20 thinking about adding another procedure that does the expected=20 thing (returning a list of package and output), IMHO, and=20 transitioning over to that. -bjc