From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WGqEDg3m5WHEfgAAgWs5BA (envelope-from ) for ; Mon, 17 Jan 2022 22:56:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8CgcBw3m5WFgsQAAG6o9tA (envelope-from ) for ; Mon, 17 Jan 2022 22:56:29 +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 9625AFD6F for ; Mon, 17 Jan 2022 22:56:28 +0100 (CET) Received: from localhost ([::1]:54272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9ZzH-0001kX-JU for larch@yhetil.org; Mon, 17 Jan 2022 16:56:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9Zys-0001jr-5A for guix-patches@gnu.org; Mon, 17 Jan 2022 16:56:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9Zyr-0001if-Nf for guix-patches@gnu.org; Mon, 17 Jan 2022 16:56:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9Zyr-0007v2-Lj for guix-patches@gnu.org; Mon, 17 Jan 2022 16:56:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53324] [PATCH] gnu: Add uftrace. Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jan 2022 21:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 53324@debbugs.gnu.org Received: via spool by 53324-submit@debbugs.gnu.org id=B53324.164245654230414 (code B ref 53324); Mon, 17 Jan 2022 21:56:01 +0000 Received: (at 53324) by debbugs.gnu.org; 17 Jan 2022 21:55:42 +0000 Received: from localhost ([127.0.0.1]:48370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9ZyY-0007uU-Ea for submit@debbugs.gnu.org; Mon, 17 Jan 2022 16:55:42 -0500 Received: from smtp.polymtl.ca ([132.207.4.11]:40345) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9ZyW-0007uF-GR for 53324@debbugs.gnu.org; Mon, 17 Jan 2022 16:55:41 -0500 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 20HLtTsG030305 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jan 2022 16:55:34 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 20HLtTsG030305 In-Reply-To: <233bfd5965974c3f33639d28e67210f2462e028b.camel@telenet.be> References: <6856160952d91ecf9887db79e7e0fbb1ca06daba.camel@telenet.be> <87h7a2vzwv.fsf@laura> <233bfd5965974c3f33639d28e67210f2462e028b.camel@telenet.be> Date: Mon, 17 Jan 2022 16:55:29 -0500 Message-ID: <87ee56vxgu.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Mon, 17 Jan 2022 21:55:29 +0000 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Olivier Dion X-ACL-Warn: , Olivier Dion via Guix-patches From: Olivier Dion via Guix-patches via 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=1642456588; h=from:from:sender:sender:reply-to: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; bh=Qk0W6kS8CvK+Y1umyrGc9FdLEpXM4TEvKm1zm+Cz+DY=; b=Hh6nEdCVMhh9jBPoWstdFT6SSuJMP2ufxAmdGpyF7FR5PtpOsp4K8lLZGcH1tdunewwVc4 5ik1u35RKpgv4/tvIVRB3O50Y/T3Vzfiif4OOIrLW6WtHWNuXXtuEbz5Y5YBqpRAcF2OTB W8r/hTLZmW7bD6EVHT9g3M6T1KkKymAa1mDoE6WDfvciMpUs9Hr/uifA8bqCSlmFXJZZSG lSzTBgc37eelkLcs3uxVL9Es2XhZVbAyDhIAhUlwl4UyvoxoQXe8UURVzxWWhrVupWuAm8 sDP1tflAeywzTFTnn5QMiplU2toydwqRgAujibgbzM3KlC0Pi8MNYQTJSeQQ1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642456588; a=rsa-sha256; cv=none; b=bB1sWVsNWjqk0crg9X/tPOaIrrVwp/v3XbtPDedBBniYzrYcP+6oyAzDS3+/AtXb9dXNEE CGRYiZDhND1XzI3LYYsopqgAc1C2lNTADaKGEBRdvFO54F+IoObTvU4o39yz1SSWU4DHh+ XINmxugCTJu4VDbDWFuJyWkEZH/pRsErP5MPmGJnWb79zpc7KFW17ISxcuyw0wLVUleTpB 0IE4pmImCFcBGxMh7rHyLkVHB3HokMTf2g4bc01VzTsuF6eXHzk8Z476XZ+U8/gCJLL1km LQtG64TfH+ELw9bpR89cPu6M9g0xol27MF3YH6uH+P0vs9s9G+WBbRp3u+r7zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.32 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9625AFD6F X-Spam-Score: -3.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: S2KAd4YemLTg On Mon, 17 Jan 2022, Maxime Devos wrote: > Olivier Dion schreef op ma 17-01-2022 om 16:02 [-0500]: >> On Mon, 17 Jan 2022, Maxime Devos wrote: >> >> In the mean time, would you have an idea on how to fix __FILE__ for >> the build? uftrace uses it for logging and it ends up expanding to >> `/tmp/guix-build*/source/*`. I tried to change the `srcdir` in the >> various Makefile without much success. >> > > Maybe uftrace supports out-of-tree builds? Also, does uftrace try to > read /tmp/guix-build*, or does only the file name appear in > backtraces? If the latter, it is presumably not much of a problem. > If it is, maybe out-of-tree builds could help. Automake supports > out-of-tree builds, but I don't know if uftrace's build system does. It does support out-of-tree build juste like autotool. The configure script however does `readlink -f $(dirname $0)` for its `srcdir`. For example, even if I build at `/tmp/uftrace` where the configure script is at /home/old/documents/polymtl/bmi/uftrace, I will get -------------------------------------------------------------------------------- `uftrace:/home/old/documents/polymtl/bmi/uftrace/cmds/record.c:1571:find_in_path` -------------------------------------------------------------------------------- at runtime. -- Olivier Dion Polymtl