From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 CLRYO/PgxWPUFQEAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 00:42:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KPZaO/PgxWNJPwAA9RJhRA (envelope-from ) for ; Tue, 17 Jan 2023 00:42:43 +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 CDE00DDD3 for ; Tue, 17 Jan 2023 00:42:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHZ7M-0008Tm-Qb; Mon, 16 Jan 2023 18:42:20 -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 1pHZ7K-0008TO-MF for help-guix@gnu.org; Mon, 16 Jan 2023 18:42:18 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHZ7I-0001wB-Fb for help-guix@gnu.org; Mon, 16 Jan 2023 18:42:18 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C52215C015A; Mon, 16 Jan 2023 18:42:13 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 16 Jan 2023 18:42:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trevdev.ca; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1673912533; x=1673998933; bh=49lQ+IKSPi beE7rZY90ZHXJ8pZgs/cXWnhtA4h83n8Q=; b=DVX32yQb4jvG2sqgIhHaZlROk/ kkQxwUTkimvTWLumR/P8IIxLN4BW4naWTO5KLUPqgCzXxhjOTdLQXIFYvaTFB/LL l2iQwbtAQM4TbbzvKFlPkL1YqUyVpoclMfQJLcFk15gDvdWAlmRkbQV10YuLWKzy i2hgydu6C80MpsFJ3GVhSRYfrsGWNwwdobPaAfxyzDkS5s+b5hY06amP+24E/OCl em2Crs4IFbWd/pPT0MUPbviDvpaW38b+jmaNR/QCGHI19G3qLWLCY2WXp8N4J2/h 9DsKV5O+bCi9IAAWVCMLvE8TzD75wTVbZpXpPdgTjnPbpnaWhWAFUwO2tgTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1673912533; x=1673998933; bh=49lQ+IKSPibeE7rZY90ZHXJ8pZgs /cXWnhtA4h83n8Q=; b=Kcv6EPbIkZpl9NeT+QhJ9tUManxGZL97lYcjtrX9sURA l3lByajFdM53tseCZuoc3VVNlGzh4b7UHw7Yk/HLk2fE30MoydlaV9RkyWPYhTy7 ZN5wtWENXOcPf9HS05LYrjEo+RC8FfcCyOW+iZXzubdcP93HmCD5qksFtBs2Skjf 3awvZ/gMnEDHoAOvnsYqdsAk30Y5hWEnyyyUIYEN4ilhf71Tq4sElIvtWOvcTwJE HYlb+qjALsLii7Vy65UgI7FHVeMiCA0NUAhjNLySRRx8axy/NZVXeptufUtDUGPH LLH+4fsxA8lbq33Ax6WTUdWrpEqEEHRsa07dbJlKXw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddthedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtjeenucfhrhhomhepvfhrvghv uceothhrvghvsehtrhgvvhguvghvrdgtrgeqnecuggftrfgrthhtvghrnhepudeffefgtd duffefvdfhuddtudeiuddtuefhueeiteehtedvhfethfegiefgueehnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhrvghvsehtrhgvvhguvg hvrdgtrg X-ME-Proxy: Feedback-ID: i762946f9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Jan 2023 18:42:13 -0500 (EST) Date: Mon, 16 Jan 2023 15:42:12 -0800 From: Trev To: Timo Wilken Cc: help-guix@gnu.org Subject: Re: Packaging timewarrior Message-ID: <20230116234212.rjll3pyspuybdvka@guix> References: <20230116164445.hd2m747id2ldvzzn@guix> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=66.111.4.29; envelope-from=trev@trevdev.ca; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-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=1673912563; a=rsa-sha256; cv=none; b=CUTc/T/JqhN9nAcUTyZVcJmUeWX1fzOAX0DdjGN3TQd+HzIAS21VM/iHPryU0cpMVjT90y xNJjEoRlXHn5yZrBiDM43RtFbakYC7cEGbBnQjV8laIumgul9jZcPJYtiV8xAzY0OqtnOv +n171ekNwVtBmIzPpS8RvxVM75ycGAK6Dj9b09nkFYj0dRCWNmyw5FTsQjZuL47OX3UuwZ yqoZrWkaV03JPU0oEz2ECMQiLtNAzHKLCbfwB6Hy3O4jw7eTqicC4XZtmzLxY4Oruqc1Tw K+NFz+njO4AZoLSMtcwuJgPO/rvUTEsQ5OeEWp2NNm7mUvVtjniSuMZ7m/3dVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trevdev.ca header.s=fm1 header.b=DVX32yQb; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=Kcv6EPbI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673912563; 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=49lQ+IKSPibeE7rZY90ZHXJ8pZgs/cXWnhtA4h83n8Q=; b=QK4gnoUQzNWDDThq8rf0xBNhalE1xmVBnAcrZA6HCyMuAPeQ6BS/7n+ItOrgXISBJLk9b7 QcneI2WkzD6vmxwuuWA19E+UahYufStydXs4snwCvvh7JhcHaancGEchpNvfvQnepGeQY4 8ScJGXeao/3T/AJu5ddRxxVa4ePQwbqAanD+qtSw5ZCxZjCM16yQNbIy2/2XHY/O99TRKA waPVn1SY50od9uwaiJqPonUIa1mYZyAdLwAor44Wdxa2b3TFBSopUgL8Ok9ETBPp9xBacH 5Za4AINTDnDp53ZX80AA8VpFMkyxdLiruzLefjGJaSbr8PalfxIK6CiwA7AIlA== X-Migadu-Spam-Score: -0.03 X-Spam-Score: -0.03 X-Migadu-Queue-Id: CDE00DDD3 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trevdev.ca header.s=fm1 header.b=DVX32yQb; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=Kcv6EPbI; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: ZeAfcREYVrxN On 23/01/16 06:03PM, Timo Wilken wrote: > Hi Trev, > > > On 16 January 2023 17:44:45 CET, Trev wrote: > >If it's of any use to anybody, I have attached the full build log. Any > >guidance would be appreciated. > > Make logs can be a bit annoying -- it runs multiple processes, and one make child can keep spewing info lines after another has already failed. > This is really good to know. I will try to be more patient with these log files going forward. > In your case, the "real" error is further up in the log: > > /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh: line 1: /bin/sh: No such file or directory > make[2]: *** [src/commands/CMakeFiles/generate_additional_help.dir/build.make:76: src/commands/additional-help.h] Error 127 > > In Guix build containers, the /bin/sh symlink does not exist. Check timewarrior's makefiles for lines like "SHELL=/bin/sh" and substitute* them out with the result of something like #+(file-append bash-minimal "/bin/sh"). > This did the trick! ----- (arguments (list #:phases #~(modify-phases %standard-phases (add-after 'patch-source-shebangs 'patch-hardcoded-paths (lambda _ (substitute* "src/commands/CMakeLists.txt" (("/bin/sh") (string-append #$(this-package-input "bash-minimal") "/bin/sh")))))))) ----- I will clean my code up and get this contributed upstream :) > Cheers, > Timo Cheers to you too. Thank you for the coaching and assistance. -- Trev : 0FB7 D06B 4A2A F07E AD5B 1169 183B 6306 8AA1 D206