GNU bug report logs - #49815
Upcoming timekeeping failure in gpsd

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Sun, 1 Aug 2021 21:28:01 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 49815 <at> debbugs.gnu.org (full text, mbox):

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: Leo Famulari <leo <at> famulari.name>
Cc: 49815 <at> debbugs.gnu.org, Thiago Jung Bauermann <bauermann <at> kolabnow.com>
Subject: Re: bug#49815: Upcoming timekeeping failure in gpsd
Date: Fri, 06 Aug 2021 20:13:16 -0700
Hi Leo,

Leo Famulari <leo <at> famulari.name> writes:

> 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?
>

[...]

>
> 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"
                              ^ Should be "SConscript"

This fixes the build.

>                 (("envs = \\{\\}")
>                  "envs = os.environ"))

Hope that helps!

--
Sarah




This bug report was last modified 3 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.