From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id COk3BDXjtmH9VAEAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 07:07:49 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aJsGADXjtmHmPgAA1q6Kng (envelope-from ) for ; Mon, 13 Dec 2021 06:07:49 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id AEDC61F90D for ; Mon, 13 Dec 2021 07:07:48 +0100 (CET) Received: from localhost ([::1]:47402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweV1-0006cW-RU for larch@yhetil.org; Mon, 13 Dec 2021 01:07:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweSS-0003eu-1t for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweSR-0007a8-Pu for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweSR-0002eK-KM for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 32/45] gnu: Add node-segfault-handler. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:05:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163937549910048 (code B ref 51838); Mon, 13 Dec 2021 06:05:07 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:04:59 +0000 Received: from localhost ([127.0.0.1]:53805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweSJ-0002bt-AJ for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:59 -0500 Received: from mail-vk1-f174.google.com ([209.85.221.174]:33716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweRw-0002Zr-0t for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:54 -0500 Received: by mail-vk1-f174.google.com with SMTP id h1so9735040vkh.0 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GsoQQebLlBzr7ablElkGa+Js4eAh4ZVd1bbBbcYAa80=; b=f+COxHvbATUlWrNQaXN3T7giukMgKahT/78Nvp4dhRZYMZgzV8yxKX5nUcyVqTx/Mv sY1wK6MDfXmhbMcXbxwrPO6nnfiKu7HaDicuKV8fzQ09PA04RpQzjjHFFU9Mw9vAxOo7 OGdk4C6AtTRm88XtxmTW02BUrErfIKyVuF2YjO4Yd41p4NC0Wf+GFxP9s6me/bDXqo9Q l0YepzAF3Q+lGf6KbRnnjJgrDAca3lZy5LkIAwIuzG8x1GTHdqM0r4dY5gLGOVyO1l+7 TnKWHEPULGK9zbK7VrOszBULMErUvvlnELRquV8ulb3X28ro41e2ZOY6371paiwN8nkG jUAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GsoQQebLlBzr7ablElkGa+Js4eAh4ZVd1bbBbcYAa80=; b=6x4OEo7cQ07He695pENaaD88rLJN/nbJr4S9WGQdwfxO6lfaKd5ISrC1klSvcNheWj GHllxGZDR8Lv3J6/GGll0b+CAlp6dAAJgHSqa3pl7csE4Cd8iFVAfq1fTk2BpJjJ6SrW R5dui2hm00WnPBewxjbozgtv43WQkN0wHZGV3JY9FjX0t3TyIcfYQ+gYri6jO7eEk1nc CBSFeiL4HHD+ckXcki+ORHEYPgSujJXNBuhK1fEjD/LT4LAxcVoZbFABH7DUmOk1o9B2 wVCmtOs1e9k5k6AWFP+CqAdokMO59N1VnL4ty7nAwHzjL350+T9uXO5jFl9zEh5Te+03 v3VQ== X-Gm-Message-State: AOAM531/muhVTpPz+5fhG5yqt3AOe6B6usoauSe69JNlVwejYKFO06Z9 wt/EYjqJsHLGazjv4WnlMgqBEv6AM7aq6F7bJEI= X-Google-Smtp-Source: ABdhPJxbxG+U967+K3KFCpbT2+wpgyYqxBBqfFRK/ObsHk43EBKXhfiUIjU83DquldlnSyGlfBq7Tw== X-Received: by 2002:a05:6122:894:: with SMTP id 20mr30092439vkf.23.1639375470609; Sun, 12 Dec 2021 22:04:30 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id b11sm3446356vsp.6.2021.12.12.22.04.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:04:30 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:00:54 -0500 Message-Id: <20211213060107.129223-33-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211213060107.129223-1-philip@philipmcgrath.com> References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-1-philip@philipmcgrath.com> <20211208202838.752542-5-philip@philipmcgrath.com> <877dc924h7.fsf@gmx.com> <5c62c3ce-dd50-5dcd-00ed-ff1524be4e0b@philipmcgrath.com> <20211213060107.129223-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639375668; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=GsoQQebLlBzr7ablElkGa+Js4eAh4ZVd1bbBbcYAa80=; b=h7u6+s1QgGj2wdtwP5jrpjHP/4SFIA4kUJ151jFWieZtw/lAtGD2AcKG0lbP1o5aLRBg50 CdM4wlgrqWk8xdr9XcBv54N7ZHPP+okJO9EpKhxxpTbXyImaEBdneZyEu6hzxntj88X8uF veRj+/nCSL4l9b9l3awJlxDGUGgkvcaov4ShiWk0n7kR8A9+oOlwVIRSY+O+cKW5/3pHHf K5mWqTNKsjJEl44aeoL7/5bohXiq9rTT1ZwoP2Z7Bas9a7/jJx0Arrj/cw9sJqBdYYLPMY s3PUgFQtTgb7JUfwvto/6groe25qGotNSpu5OrmZGNSEB6fuoFLqAnx4rGRClg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639375668; a=rsa-sha256; cv=none; b=ofnHz/b9hdoCHwmIyZOQXs150C1tR8gW37Vi8I4jE68iJ0SrdnqaoYserZK2QlyQ+b4HI7 Tt3orbTwDXQRhewjB5fSVwvMzeBwhU0eg/j9kZPTQo21wCu1BQjkbel8zk8VYwIeqPNgHi zB3W586D4PhA/KsaqQSQpWdOX5i9ORjpezt/Q9EHbi/gY5JtJ/rFLqtq7K9P2LSS/v7vFf bD3YTVKlAAXikyRtRujFVLmmgpca6hB44T40kVvtNMEZjljNLDbQWjOFLI+Ws40HvhxPHz 5h5Nf43BtWN+Acsebg6VHKeuKLMnaElipEifFHVK2PjjeW7fks4RM2SYl1reLw== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=f+COxHvb; dmarc=none; spf=pass (aspmx2.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: 1.03 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=f+COxHvb; dmarc=none; spf=pass (aspmx2.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: AEDC61F90D X-Spam-Score: 1.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: zjI6XvhPr5d7 * gnu/packages/node-xyz.scm (node-segfault-handler): New variable. --- gnu/packages/node-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 021bc81403..b63cd46fdd 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -868,3 +868,33 @@ (define-public node-bindings modules. It is basically the ``swiss army knife'' of @code{require()}ing your native module's @code{.node} file.") (license license:expat))) + +(define-public node-segfault-handler + (package + (name "node-segfault-handler") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ddopson/node-segfault-handler") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "07nbw35wvrr18kmh8f388v4k5mpjgyy0260bx0xzjdv795i3xvfv")))) + (native-inputs + `(("python" ,python))) + (inputs + `(("node-bindings" ,node-bindings) + ("node-nan" ,node-nan))) + (build-system node-build-system) + (arguments + ;; there are no tests + `(#:tests? #f)) + (home-page "https://github.com/ddopson/node-segfault-handler") + (synopsis "Catches @code{SIGSEGV} and prints diagnostic information") + (description "This package is a tool for debugging Node.js C/C++ native +code modules and getting stack traces when things go wrong. If a +@code{SIGSEGV} signal is raised, the module will print a native stack trace to +both @code{STDERR} and to a timestamped file.") + (license license:bsd-3))) -- 2.32.0