From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sMHfErtiCGF3DQAAgWs5BA (envelope-from ) for ; Mon, 02 Aug 2021 23:25:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mDhTDrtiCGHXKgAAbx9fmQ (envelope-from ) for ; Mon, 02 Aug 2021 21:25:15 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 6B901AA6C for ; Mon, 2 Aug 2021 23:25:13 +0200 (CEST) Received: from localhost ([::1]:45906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAfQt-0002Da-Uu for larch@yhetil.org; Mon, 02 Aug 2021 17:25:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAfQl-0002DO-Ij for bug-guix@gnu.org; Mon, 02 Aug 2021 17:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAfQk-0006VG-88 for bug-guix@gnu.org; Mon, 02 Aug 2021 17:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAfQk-0006xz-6E for bug-guix@gnu.org; Mon, 02 Aug 2021 17:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49815: Upcoming timekeeping failure in gpsd References: In-Reply-To: Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 02 Aug 2021 21:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49815 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49815@debbugs.gnu.org Received: via spool by 49815-submit@debbugs.gnu.org id=B49815.162793949626765 (code B ref 49815); Mon, 02 Aug 2021 21:25:02 +0000 Received: (at 49815) by debbugs.gnu.org; 2 Aug 2021 21:24:56 +0000 Received: from localhost ([127.0.0.1]:39401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAfQd-0006xc-SS for submit@debbugs.gnu.org; Mon, 02 Aug 2021 17:24:56 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:57831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAfQb-0006xL-DW for 49815@debbugs.gnu.org; Mon, 02 Aug 2021 17:24:54 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9C5A3320079B; Mon, 2 Aug 2021 17:24:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 02 Aug 2021 17:24:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type; s= mesmtp; bh=oC1UX7ILqU2L6hDh63srzL95R2a2Lt/5nAvAkQnb1nU=; b=NLNTW fYHeUDi4GWZxQCcBj879ZUORvhsI7Z26jhpSmPWZMF3S2QQen19Vn+azhVATw2Br X13BjB33eBPAuLTXGYf6WN7IGJZNAMMPB1rQGseh+i6d3+o1PnHORN/wzwgk2Mc5 9483LZ4iHVZA1BWNnVnyTNp95k3yjPj13hSpAE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=oC1UX7ILqU2L6hDh63srzL95R2a2L t/5nAvAkQnb1nU=; b=VJns2DF7E7cbYkzNNSpl8kJQFGNnkqkPzTseY6KbR72SZ 3kZ7VYRc3/415KSWpbpfbK9pElicLP+uW2PAjKGJL3Qm2yWnE1pOA8GeG3dIKe2e uv6jU5CYxQs5OwIVNJyQ3j4zgam3OS/EDZA8k1v+1UdYnosWP8VXGte2PCmNSkj2 yfwtkoaYFnpqwooOz1OsMG7Slewz3oPT0DzeZ0avSjhtOiausEiD2bUqc4i+6Bln 11M7AON/Gvf0x/oJsMrSG+bASNvmROZ/mnqtpQBAsjyToZN1EsE25fm1UrEiTKYE 9v6I7jJR6sDhd5mbvRG4s9Aqdl9otgT9n8JV6yBiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddriedvgddugeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesmhdtreertd dtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi rdhnrghmvgeqnecuggftrfgrthhtvghrnhepkeevvdejvefhjeevueelkeehueefjedugf fhtefgieeggfeklefhhfekteffudefnecuffhomhgrihhnpehgihhthhhusgdrtghomhen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghose hfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for <49815@debbugs.gnu.org>; Mon, 2 Aug 2021 17:24:46 -0400 (EDT) Date: Mon, 2 Aug 2021 17:24:34 -0400 From: Leo Famulari Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="WrSaxhPmnREbIJxl" Content-Disposition: inline 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627939515; h=from:from:sender:sender: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: dkim-signature; bh=oC1UX7ILqU2L6hDh63srzL95R2a2Lt/5nAvAkQnb1nU=; b=JxRRoS2VCefbWHJKFEdJr21CaZjPzWagvgXg6GwkpDuMEsjjiseXwzpaeEdazlbbY3w6pg kwiDpdOmqhYOyRGHBORmogKuRPwfKuXU/ykaA8Vi12KJ6jKDb5rrh/ysyHfZaeewGgtbB+ fCJsQWBxjgs3VK3UofDi5eE67QscGDwJBraE9RL/5DWHFV/+QZH3A6l7KpZ/JL8rckajy3 Sx+FoOLZslPfcpWFcQAZ9dfiBu/z9tYTOnyyo1rBwyszMcGuUygVl3KXot+9kMc3FgF8eS FjD/hPm/yavyQd+99LJ6wBlw+FMqRU1OdAckgwz7bfDfTAicRGMGutEeMDXI0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627939515; a=rsa-sha256; cv=none; b=RLagCav+rOLRsUUsYvPFE/3wwweNdkNKHrDhy1PWFeLOL1XkDHVtOahXaze9nKC90vorq3 ZBnAzJKRh02FukLpgJ4PlRdwCzX59g03Y9OqPjgqbXcAz6wCokAQ4xsomq9VOEhqSFWaes 5aIRxegDXhYPiraJXiSi9QaYVieT5ioW8+kUaHUHLtaoHXB1H7voIU4tj8FkAxWY6CSD05 5cvir5jg0YFpA6aeIAV60DtKXm+jEm5/AWh6L8stZm7Quec1qQCgNvz02R2JXY4pJQbwY+ 7KpRwQVgA2lFj3NZDnOseTvXhNM2TktC9/XFKFZazB67nJGGXy9TnqFnibtHcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b="NLNTW fY"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=VJns2DF7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b="NLNTW fY"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=VJns2DF7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 6B901AA6C X-Spam-Score: -0.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4hNKKbWGKB3u --WrSaxhPmnREbIJxl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I got past the previous build failure by setting the environment variable "TAR=noop" (found in the Nix package [0])... who knows what that means? It only appears in the Nix packaging. So now, using the attached patch, it fails to build because it can't find limits.h, as shown below. Any ideas? ------ gcc -o gpsd-3.22/drivers/driver_greis_checksum.os -c -O2 -fPIC -I/gnu/store/00bkkmzybyfmbhhv0nw7r49m72339lyf-dbus-1.12.16/include/dbus-1.0 -I/gnu/store/00bkkmzybyfmbhhv0nw7r49m72339lyf-dbus-1.12.16/lib/dbus-1.0/include gpsd-3.22/drivers/driver_greis_checksum.c In file included from /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/bits/posix1_lim.h:161:0, from /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/limits.h:183, from /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib/lib/gcc/x86_64-unknown-linux-gnu/7.5.0/include-fixed/limits.h:194, from /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib/lib/gcc/x86_64-unknown-linux-gnu/7.5.0/include-fixed/syslimits.h:7, from /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib/lib/gcc/x86_64-unknown-linux-gnu/7.5.0/include-fixed/limits.h:34, from gpsd-3.22/drivers/driver_greis_checksum.c:11: /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/bits/local_lim.h:38:10: fatal error: linux/limits.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. gcc -o gpsd-3.22/drivers/driver_rtcm2.os -c -O2 -fPIC -I/gnu/store/00bkkmzybyfmbhhv0nw7r49m72339lyf-dbus-1.12.16/include/dbus-1.0 -I/gnu/store/00bkkmzybyfmbhhv0nw7r49m72339lyf-dbus-1.12.16/lib/dbus-1.0/include gpsd-3.22/drivers/driver_rtcm2.c scons: *** [gpsd-3.22/drivers/driver_greis_checksum.os] Error 1 In file included from /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/bits/posix1_lim.h:161:0, from /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/limits.h:183, from /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib/lib/gcc/x86_64-unknown-linux-gnu/7.5.0/include-fixed/limits.h:194, from /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib/lib/gcc/x86_64-unknown-linux-gnu/7.5.0/include-fixed/syslimits.h:7, from /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib/lib/gcc/x86_64-unknown-linux-gnu/7.5.0/include-fixed/limits.h:34, from gpsd-3.22/drivers/../include/gps.h:14, from gpsd-3.22/drivers/../include/gpsd.h:29, from gpsd-3.22/drivers/driver_rtcm2.c:65: /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/bits/local_lim.h:38:10: fatal error: linux/limits.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. scons: *** [gpsd-3.22/drivers/driver_rtcm2.os] Error 1 scons: building terminated because of errors. ------ [0] https://github.com/NixOS/nixpkgs/blob/b166cc7fddc7c9b3fdd27dd74f177116ee5e2a7b/pkgs/servers/gpsd/default.nix#L54 --WrSaxhPmnREbIJxl Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gpsd.patch" diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm index 0eb4362858..df4c8ef4f6 100644 --- a/gnu/packages/gps.scm +++ b/gnu/packages/gps.scm @@ -222,14 +222,16 @@ such as elevation, speed, heart rate, power, temperature, and gear shifts.") (define-public gpsd (package (name "gpsd") - (version "3.21") + (version "3.23-rc1") (source (origin - (method url-fetch) - (uri (string-append "https://download-mirror.savannah.gnu.org" - "/releases/gpsd/gpsd-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/gpsd/gpsd") + (commit "7f30d88d04dc62b8bd6265ad1d09d72d220f97f6"))) + (file-name (git-file-name name version)) (sha256 - (base32 "14gyqrbrq6jz4y6x59rdpv9d4c3pbn0vh1blq3iwrc6kz0x4ql35")))) + (base32 "0n2ba6n2z3qjnjl2lvzqrp71x2rkip17p0r9hflviwkzcfr7ppdk")))) (build-system scons-build-system) (native-inputs `(("bc" ,bc) @@ -259,6 +261,7 @@ such as elevation, speed, heart rate, power, temperature, and gear shifts.") (modify-phases %standard-phases (add-after 'unpack 'fix-build (lambda* (#:key outputs #:allow-other-keys) + (setenv "TAR" "noop") (substitute* "SConstruct" (("envs = \\{\\}") "envs = os.environ")) --WrSaxhPmnREbIJxl--