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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49815 in the body.
You can then email your comments to 49815 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#49815; Package guix. (Sun, 01 Aug 2021 21:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 01 Aug 2021 21:28:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Upcoming timekeeping failure in gpsd
Date: Sun, 1 Aug 2021 17:27:06 -0400
In October, the date reported by gpsd will jump back by 1024 weeks:

https://gitlab.com/gpsd/gpsd/-/issues/144

This will be fixed in the upcoming 3.23 release:

https://gitlab.com/gpsd/gpsd/-/issues/144#note_636906629

This is a serious problem because gpsd is commonly used as a time source
for network time servers.

I tried updating our package from 3.21 to 3.22, to help prepare for this
important update, but the build fails during the configure portion of
the SCons 'build' phase as shown below. I'm not familiar with SCons so
I'm not sure which is the salient error.

------
starting phase `build'
scons: Reading SConscript files ...
scons version: 3.0.4
scons is running under Python version: 3.8.2.final.0
gpsd version: 3.22
This system is: linux
Checking whether the C compiler works... yes
Checking if compiler accepts -pthread... no
Checking whether the C++ compiler works... yes
Checking for C header file curses.h... no
Turning off ncurses support, curses.h not found.
Checking pkg-config for libusb-1.0... yes
Checking for C library librt... no
Checking for C library libnsl... no
Checking for C library libsocket... no
Checking for C library libm... no
Checking for C library libthr... no
Checking pkg-config for dbus-1... yes
Checking pkg-config for bluez... yes
Checking for C type in_port_t... no
Did not find in_port_t typedef, assuming unsigned short int
Checking whether SUN_LEN is declared... yes
Checking for C header file linux/can.h... no
You do not have kernel CANbus available.
Checking if compiler is C11... no
Checking for C header file libkern/OSAtomic.h... no
No memory barriers - SHM export and time hinting may not be reliable.
Checking whether __ORDER_BIG_ENDIAN__ is declared... yes
Checking whether __ORDER_LITTLE_ENDIAN__ is declared... yes
Checking whether __BYTE_ORDER__ is declared... yes
Your compiler has built-in endianness support.
Checking for C header file arpa/inet.h... no
Checking for C header file netdb.h... no
Checking for C header file netinet/in.h... no
Checking for C header file netinet/ip.h... no
Checking for C header file sys/sysmacros.h... yes
Checking for C header file sys/socket.h... no
Checking for C header file sys/un.h... yes
Checking for C header file syslog.h... yes
Checking for C header file termios.h... yes
Checking for C header file winsock2.h... no
Checking if sizeof(time_t) is 64 bits... no
WARNING: time_t is too small.  It will fail in 2038
Checking for C function cfmakeraw()... no
Checking for C function clock_gettime()... no
Checking for C function daemon()... no
Checking for C function fcntl()... no
Checking for C function fork()... no
Checking for C function getopt_long()... no
Checking for C function gmtime_r()... no
Checking for C function inet_ntop()... no
Checking for C function strlcat()... no
Checking for C function strlcpy()... no
Checking for C function strptime()... no
Checking for C function sincos()... no
Checking for C function __sincos()... no
Checking for C header file sys/timepps.h... no
Forcing magic_hat=no since RFC2783 API is unavailable
Checking whether TIOCMIWAIT is declared... no
WARNING: Neither TIOCMIWAIT (PPS) nor RFC2783 API (KPPS) is available.
Checking for C library libbluetooth... no
libbluetooth not found, bluez cannot be enabled.
Checking for C library libdbus-1... no
libdbus-1 not found, dbus_export cannot be enabled.
Checking that xsltproc can make man pages... no
Neither xsltproc nor xmlto found, documentation cannot be built.
Checking pkg-config for Qt5Network... yes
Checking if compiler accepts -Wall... no
Checking if compiler accepts -Wcast-align... no
Checking if compiler accepts -Wextra... no
Checking if compiler accepts -Wimplicit-fallthrough... no
Checking if compiler accepts -Wmissing-declarations... no
Checking if compiler accepts -Wmissing-prototypes... no
Checking if compiler accepts -Wno-missing-field-initializers... no
Checking if compiler accepts -Wno-uninitialized... no
Checking if compiler accepts -Wpointer-arith... no
Checking if compiler accepts -Wreturn-type... no
Checking if compiler accepts -Wstrict-prototypes... no
Checking if compiler accepts -Wvla... no
Checking whether coverage program exists...no
Checking whether cppcheck program exists...no
Checking whether dia program exists...no
Checking whether flake8 program exists...no
Checking whether pycodestyle program exists...no
Checking whether pylint program exists...no
Checking whether scan-build program exists...no
Checking whether tar program exists.../gnu/store/v6f44zccwh9z5zk3pjlywjybbi8n2hjh-tar-1.32/bin/tar
Checking whether valgrind program exists...no
Checking whether xmllint program exists...no
Program coverage not found -- skipping Python coverage
Program cppcheck not found -- skipping cppcheck checks
Program dia not found -- not rebuiding cycle.svg.
Program flake8 not found -- skipping flake8 checks
Program pycodestyle not found -- skipping pycodestyle checks
Program pylint not found -- skipping pylint checks
Program scan-build not found -- skipping scan-build checks
Program valgrind not found -- skipping valgrind checks
Program xmllint not found -- skipping xmllint checks
Checking whether python program exists.../gnu/store/f8s95qc6dfhl0r45m70hczw5zip0xjxq-python-wrapper-3.8.2/bin/python
System PYTHONPATH='/gnu/store/fyk6x25fpbg15q3d27bnzywk12hp7hql-scons-3.0.4/lib/python3.8/site-packages:/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages:/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/site-packages:/gnu/store/180s697y50pvfly42xphwngd0669jlwj-python-pycairo-1.19.1/lib/python3.8/site-packages:/gnu/store/frj6yg9316ihw5k7yxm3gndzfv0yy3br-python-pygobject-3.34.0/lib/python3.8/site-packages:/gnu/store/ci0f79qsippv8rqcjfgfxyds28iy4nc3-python-pyserial-3.5/lib/python3.8/site-packages'
Ensure your PYTHONPATH includes /gnu/store/5cycbh8cha5l5sylcbpa5n89al5m0vk5-gpsd-3.22/lib/python3.8/site-packages/
Checking Python config vars... ok
Checking Python target version... 3.8
Checking Python module serial (pyserial)... 
WARNING: ubxtool and zerk are missing optional runtime module serial
Checking Python module cairo (pycairo)... 
WARNING: Python module cairo (pycairo) not found.
Checking Python module gi (pygobject)... 
WARNING: Python module gi (pygobject) not found.
Checking pkg-config for gtk+-3.0... yes
WARNING: xgps and xgpsspeed are missing runtime dependencies
Checking Python module matplotlib... 
WARNING: gpsplot is missing required runtime module matplotlib
Altered configuration variables:
nmea2000 = False (default True): NMEA2000/CAN support
ncurses = False (default True): build with ncurses
magic_hat = False (default True): special Linux PPS hack for Raspberry Pi et al
prefix = /gnu/store/5cycbh8cha5l5sylcbpa5n89al5m0vk5-gpsd-3.22 (default /usr/local): installation directory prefix
python_libdir = /gnu/store/5cycbh8cha5l5sylcbpa5n89al5m0vk5-gpsd-3.22/lib/python3.8/site-packages (default ): Python module directory prefix
qt_versioned = 5 (default ): version for versioned Qt
WARNING: ncurses not found, not building cgps or gpsmon.
WARNING: asciidoctor not found.
WARNING: Some documentation and html will not be built.
AttributeError: 'SConsEnvironment' object has no attribute 'Tar':
  File "/tmp/guix-build-gpsd-3.22.drv-0/gpsd-3.22/SConstruct", line 63:
    SConscript('SConscript',
  File "/gnu/store/fyk6x25fpbg15q3d27bnzywk12hp7hql-scons-3.0.4/lib/scons/SCons/Script/SConscript.py", line 667:
    return method(*args, **kw)
  File "/gnu/store/fyk6x25fpbg15q3d27bnzywk12hp7hql-scons-3.0.4/lib/scons/SCons/Script/SConscript.py", line 604:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/gnu/store/fyk6x25fpbg15q3d27bnzywk12hp7hql-scons-3.0.4/lib/scons/SCons/Script/SConscript.py", line 284:
    exec(compile(_file_.read(), _file_.name, 'exec'),
  File "/tmp/guix-build-gpsd-3.22.drv-0/gpsd-3.22/gpsd-3.22/SConscript", line 3226:
    targz = gzenv.Tar(target + '.gz', distfiles)
WARNING: asciidoctor not found.
WARNING: Some documentation and html will not be built.
WARNING: ncurses not found, not building cgps or gpsmon.
WARNING: gpsplot is missing required runtime module matplotlib
WARNING: xgps and xgpsspeed are missing runtime dependencies
WARNING: ubxtool and zerk are missing optional runtime module serial
Ensure your PYTHONPATH includes /gnu/store/5cycbh8cha5l5sylcbpa5n89al5m0vk5-gpsd-3.22/lib/python3.8/site-packages/
WARNING: Neither TIOCMIWAIT (PPS) nor RFC2783 API (KPPS) is available.
command "scons" "-j" "4" "prefix=/gnu/store/5cycbh8cha5l5sylcbpa5n89al5m0vk5-gpsd-3.22" "python_libdir=/gnu/store/5cycbh8cha5l5sylcbpa5n89al5m0vk5-gpsd-3.22/lib/python3.8/site-packages" "qt_versioned=5" failed with status 2
builder for `/gnu/store/r5h7q3qx1dd0pb80i8mcrka17i34svha-gpsd-3.22.drv' failed with exit code 1
------




Information forwarded to bug-guix <at> gnu.org:
bug#49815; Package guix. (Mon, 02 Aug 2021 21:25:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: 49815 <at> debbugs.gnu.org
Subject: Re: Upcoming timekeeping failure in gpsd
Date: Mon, 2 Aug 2021 17:24:34 -0400
[Message part 1 (text/plain, 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 <linux/limits.h>
          ^~~~~~~~~~~~~~~~
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 <linux/limits.h>
          ^~~~~~~~~~~~~~~~
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
[gpsd.patch (text/plain, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#49815; Package guix. (Fri, 06 Aug 2021 22:56:02 GMT) Full text and rfc822 format available.

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

From: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 49815 <at> debbugs.gnu.org, Thiago Jung Bauermann <bauermann <at> kolabnow.com>
Subject: [PATCH] build-system/scons: Set $CPPPATH
Date: Fri,  6 Aug 2021 19:55:17 -0300
The SCons build system sets the compiler include path from the $CPPPATH
environment variable while GCC and Guix use $C_INCLUDE_PATH, so set the
former with the value of the latter.

* guix/build/scons-build-system.scm (build): Set $CPPPATH from
$C_INCLUDE_PATH.
---

Hi Leo,

I was able to build your patch using this one.

Thanks,
Thiago


 guix/build/scons-build-system.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/guix/build/scons-build-system.scm b/guix/build/scons-build-system.scm
index 17a0b7b877e6..fa422c41a172 100644
--- a/guix/build/scons-build-system.scm
+++ b/guix/build/scons-build-system.scm
@@ -20,6 +20,7 @@
 (define-module (guix build scons-build-system)
   #:use-module ((guix build gnu-build-system) #:prefix gnu:)
   #:use-module (guix build utils)
+  #:use-module (srfi srfi-26)
   #:export (%standard-phases
             scons-build))
 
@@ -32,6 +33,10 @@
 (define* (build #:key outputs (build-targets '()) (scons-flags '()) (parallel-build? #t) #:allow-other-keys)
   (let ((out (assoc-ref outputs "out")))
     (mkdir-p out)
+    ;; SCons expects the include path in $CPPPATH, so copy from
+    ;; $C_INCLUDE_PATH.
+    (let ((c-include-path (getenv "C_INCLUDE_PATH")))
+      (and=> c-include-path (cut setenv "CPPPATH" <>)))
     (apply invoke "scons"
            (append (if parallel-build?
                        (list "-j" (number->string




Information forwarded to bug-guix <at> gnu.org:
bug#49815; Package guix. (Sat, 07 Aug 2021 00:45:02 GMT) Full text and rfc822 format available.

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

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

Just a quick suggestion from a bystander...

Thiago Jung Bauermann <bauermann <at> kolabnow.com> writes:

> The SCons build system sets the compiler include path from the $CPPPATH
> environment variable while GCC and Guix use $C_INCLUDE_PATH, so set the
> former with the value of the latter.
>
> * guix/build/scons-build-system.scm (build): Set $CPPPATH from
> $C_INCLUDE_PATH.
> ---
>
> Hi Leo,
>
> I was able to build your patch using this one.
>
> Thanks,
> Thiago
>
>
>  guix/build/scons-build-system.scm | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/guix/build/scons-build-system.scm b/guix/build/scons-build-system.scm
> index 17a0b7b877e6..fa422c41a172 100644
> --- a/guix/build/scons-build-system.scm
> +++ b/guix/build/scons-build-system.scm
> @@ -20,6 +20,7 @@
>  (define-module (guix build scons-build-system)
>    #:use-module ((guix build gnu-build-system) #:prefix gnu:)
>    #:use-module (guix build utils)
> +  #:use-module (srfi srfi-26)
>    #:export (%standard-phases
>              scons-build))
>  
> @@ -32,6 +33,10 @@
>  (define* (build #:key outputs (build-targets '()) (scons-flags '()) (parallel-build? #t) #:allow-other-keys)
>    (let ((out (assoc-ref outputs "out")))
>      (mkdir-p out)
> +    ;; SCons expects the include path in $CPPPATH, so copy from
> +    ;; $C_INCLUDE_PATH.
> +    (let ((c-include-path (getenv "C_INCLUDE_PATH")))
> +      (and=> c-include-path (cut setenv "CPPPATH" <>)))

To avoid importing srfi-26, you could write

         (and c-include-path (setenv "CPPPATH" c-include-path))

Or, if you're confident C_INCLUDE_PATH is always set (since
scons-build-system extends gnu-build-system, which includes gcc):

         (setenv "CPPPATH" (getenv "C_INCLUDE_PATH"))

>      (apply invoke "scons"
>             (append (if parallel-build?
>                         (list "-j" (number->string

--
Sarah




Information forwarded to bug-guix <at> gnu.org:
bug#49815; Package guix. (Sat, 07 Aug 2021 01:00:02 GMT) Full text and rfc822 format available.

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

From: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 49815 <at> debbugs.gnu.org
Subject: Re: [PATCH] build-system/scons: Set $CPPPATH
Date: Fri, 06 Aug 2021 21:58:48 -0300
Hi,

Em sexta-feira, 6 de agosto de 2021, às 19:55:17 -03, Thiago Jung Bauermann 
escreveu:
> I was able to build your patch using this one.

Actually no. Sorry, I spoke too soon. It still fails.
Back to the drawing board.


-- 
Thanks,
Thiago






Information forwarded to bug-guix <at> gnu.org:
bug#49815; Package guix. (Sat, 07 Aug 2021 03:14:02 GMT) Full text and rfc822 format available.

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




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sat, 07 Aug 2021 18:13:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Sat, 07 Aug 2021 18:13:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Sarah Morgensen <iskarian <at> mgsn.dev>
Cc: 49815-done <at> debbugs.gnu.org, Thiago Jung Bauermann <bauermann <at> kolabnow.com>
Subject: Re: bug#49815: Upcoming timekeeping failure in gpsd
Date: Sat, 7 Aug 2021 14:12:21 -0400
On Fri, Aug 06, 2021 at 08:13:16PM -0700, Sarah Morgensen wrote:
> >               (substitute* "SConstruct"
>                               ^ Should be "SConscript"
> 
> This fixes the build.
> 
> >                 (("envs = \\{\\}")
> >                  "envs = os.environ"))
> 
> Hope that helps!

Aha!

Thanks to you and Thiago for your help with this!

Fixed with 178cbc30d4e4f4a5d718ae220894544709483ef7.




Information forwarded to bug-guix <at> gnu.org:
bug#49815; Package guix. (Sat, 07 Aug 2021 22:18:01 GMT) Full text and rfc822 format available.

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

From: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
To: Sarah Morgensen <iskarian <at> mgsn.dev>
Cc: 49815 <at> debbugs.gnu.org, Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#49815: Upcoming timekeeping failure in gpsd
Date: Sat, 07 Aug 2021 19:17:33 -0300
Hi Sarah,

Em sábado, 7 de agosto de 2021, às 00:13:16 -03, Sarah Morgensen escreveu:

> > @@ -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.

Nice!

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

IIUC this takes care of propagating $C_INCLUDE_PATH to gcc. I should have 
noticed it before. :facepalm:

> Hope that helps!

Thank you!

-- 
Thanks,
Thiago






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 05 Sep 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 232 days ago.

Previous Next


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