all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sarah Morgensen <iskarian@mgsn.dev>
To: Leo Famulari <leo@famulari.name>
Cc: 49815@debbugs.gnu.org
Subject: bug#49815: Upcoming timekeeping failure in gpsd
Date: Fri, 06 Aug 2021 20:13:16 -0700	[thread overview]
Message-ID: <864kc2hrqr.fsf@mgsn.dev> (raw)
In-Reply-To: <YQhikmaTv8sRAGbZ@jasmine.lan> (Leo Famulari's message of "Mon, 2 Aug 2021 17:24:34 -0400")

Hi Leo,

Leo Famulari <leo@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




  parent reply	other threads:[~2021-08-07  3:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-01 21:27 bug#49815: Upcoming timekeeping failure in gpsd Leo Famulari
2021-08-02 21:24 ` Leo Famulari
2021-08-06 22:55   ` bug#49815: [PATCH] build-system/scons: Set $CPPPATH Thiago Jung Bauermann via Bug reports for GNU Guix
2021-08-07  0:44     ` bug#49815: Upcoming timekeeping failure in gpsd Sarah Morgensen
2021-08-07  0:58     ` bug#49815: [PATCH] build-system/scons: Set $CPPPATH Thiago Jung Bauermann via Bug reports for GNU Guix
2021-08-07  3:13   ` Sarah Morgensen [this message]
2021-08-07 18:12     ` bug#49815: Upcoming timekeeping failure in gpsd Leo Famulari
2021-08-07 22:17     ` Thiago Jung Bauermann via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=864kc2hrqr.fsf@mgsn.dev \
    --to=iskarian@mgsn.dev \
    --cc=49815@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.