From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id GILuIQK66mRTfgAAG6o9tA:P1 (envelope-from ) for ; Sun, 27 Aug 2023 04:50:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GILuIQK66mRTfgAAG6o9tA (envelope-from ) for ; Sun, 27 Aug 2023 04:50:42 +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 362D235353 for ; Sun, 27 Aug 2023 04:50:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=qSJxZS8K; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693104642; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=t4S6aZobKpz77F83WQhqWqHfbMKssixWPOEhcvz8Bic=; b=VQq3je48xShySB3QWAbR+3ykwpvIUssqMGHEOAtA0D7r1jS/aX8OHpU6JjrCNSO6C54CpR EB8XbBbY+WiVsTUDIMFVfC/zp4li5K0AwCCnBWd6Ejt4kiAPEG1Fh98cju9BAW72I4x5dL sL29/K000L1jJHnUos0mInAWZ6caHVQwRvUmuKE/nWZO9/AF0e+8V3TZkeX+dAtlD+uCfZ qGM5nYo7O4S3G22VX8h3Ejem1ndd5qg4UMsV69S2ULoYG9JFrM2q2TwGsGi9/ksSrP2OCK NeGAxtbii+AKH+DNLkrE3UbBrFvRrDppqlrxh5SzCeZEo5fnBgdBPrhDf4fOgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=qSJxZS8K; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693104642; a=rsa-sha256; cv=none; b=RIp12F5Ld/3/EE5IEH8wtkRQJn/2RzTxJOxRouRHqWBnOOBG6n0olTC78y6fcD3s6JqWAK SuScRFXURNFL9Z7F/029twqpJK6XIRuwGDaAzoIwnFQEkLFfJgZPR2LTyV8fY+fHstOtOV qCiKsqRpgwBksUzLvoTZPPCDjc5N1uxrFYbsgbqjMVwrIh9ib+xNC+0VzqVE+7BZhlMbbt KKziCz+F7t/EEJb2UMSypA35euZn998V7rgdTIIN/3n83ONHHWkb7V5syYblM7G1tjiJEl 6cF2FHbIX6k+PazqiuR88jmuGuOh+WSD0CtHMxCww2uAjLlGZ9Ow3m2af9TOxw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qa5qt-00022Y-Sa; Sat, 26 Aug 2023 22:50:11 -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 1qa5qs-00022C-3f for guix-devel@gnu.org; Sat, 26 Aug 2023 22:50:10 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qa5qp-0000zU-TI for guix-devel@gnu.org; Sat, 26 Aug 2023 22:50:09 -0400 Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-64f3ad95ec0so13785296d6.1 for ; Sat, 26 Aug 2023 19:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693104606; x=1693709406; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=t4S6aZobKpz77F83WQhqWqHfbMKssixWPOEhcvz8Bic=; b=qSJxZS8KU4vdeo9VE94viHIYdJeruuSePvc6fZVYVDhpIcCDtkitkEISluWmHdxglA 9/KFs+89KvuZ93toJ/GadhupoZ2DruGHgZe9UcQ/5AOQZcnYi5hLqkNR93RJflWsTvAh +VbC9Ckl9RMZn1P0VjuynaJZDCT0qjAmsdjeku5rI7suadFdlx4Mn5bNC9yRCoXH+YTg q3bsKwJUXAHUCMtB45mbapIX5jXR11TDmxNQC/h19q3g/edeETEdY51ivnoxQ/ctz8IU GMHTknUpYttTZ/bl8yqXT46An++Lxl0DrYK0LpcVa49f+2dYrVPBNHu3RMhu8rLnjR+T bCoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693104606; x=1693709406; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=t4S6aZobKpz77F83WQhqWqHfbMKssixWPOEhcvz8Bic=; b=M31pyhyiYuUkG7JGX7Hzsk3UuYXCiWmfV+X0WpfgFNmvsxiCz7OiYlLgi6CdbXN3Ln 86lWq1ik+d3xAz9+TwsQxfYUo7bBrzjqocqf1bCEH9JPNfSldFfAzm3+E/S1bdKwsJZu Fk9T/vG1WdU1h776dSSgiDPO3LgbeeJ87HF57sL/VV5ihZBENoVGXLknZWubeYfC92ku XSLFTEZOHbpQDviLJnzUKNVM/xnL04IBS+zJO3/Gj65DTWuM0RAnAQYOZlDP55wNh9j8 jjnIwVskMV38dBA846LPajZfTGoNdsgeueHftui47xEtiX7morMwSwe94CN2NCXuucno wiag== X-Gm-Message-State: AOJu0YyC4oNbCBy8MSWb0mtDJaMf+i1+8jrhwCAe9WM6OlS0OBR8ocBG /5qRqYAiWkwxaTyKxClhSIkYwNJmbd4JIA== X-Google-Smtp-Source: AGHT+IGDDq8YYdR3jNrwhGYV2pIzKN+OPZPWXmCJREYpEW9McH1QOGSSHYiTePViXsRl7xEg3YX5rg== X-Received: by 2002:a0c:b417:0:b0:647:3f2d:829a with SMTP id u23-20020a0cb417000000b006473f2d829amr23113093qve.45.1693104606294; Sat, 26 Aug 2023 19:50:06 -0700 (PDT) Received: from hurd (dsl-155-106.b2b2c.ca. [66.158.155.106]) by smtp.gmail.com with ESMTPSA id j14-20020a0ce00e000000b0064f66ae4be3sm1631011qvk.88.2023.08.26.19.50.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 19:50:05 -0700 (PDT) From: Maxim Cournoyer To: Csepp Cc: Katherine Cox-Buday , guix-devel@gnu.org Subject: Re: How can we decrease the cognitive overhead for contributors? References: <871qfsayyx.fsf@riseup.net> Date: Sat, 26 Aug 2023 22:50:04 -0400 In-Reply-To: <871qfsayyx.fsf@riseup.net> (Csepp's message of "Thu, 24 Aug 2023 02:18:03 +0200") Message-ID: <87bketjj1f.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf35.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-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -8.58 X-Spam-Score: -8.58 X-Migadu-Queue-Id: 362D235353 X-TUID: CdSORzLy+L3v Hi, Csepp writes: [...] > but as soon as something breaks, you are thrown into the deep end, > having to dissect logs, bisect commit ranges, learn strace, gdb (which > still doesn't work well on Guix) Hm? Why GDB on Guix may be sometimes more challenging than say, on Fedora, I only know of one problem, that is related to grafts (see: #48907). For running binaries wrapped in shell script, I have this 'run-gdb' wrapper which reads: --8<---------------cut here---------------start------------->8--- #!/usr/bin/env bash wrapper=$(cat $(which $1)) shift . <(echo "$wrapper" | grep ^export) binary=$(echo "$wrapper" | grep ^exec | grep -o -E '/gnu/store[^"]*') gdb --args "$binary" "$@" --8<---------------cut here---------------end--------------->8--- Hope that helps, -- Thanks, Maxim