From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id RSdSN6PXDWENZQEAgWs5BA (envelope-from ) for ; Sat, 07 Aug 2021 02:45:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qKdpMqPXDWG3AQAAB5/wlQ (envelope-from ) for ; Sat, 07 Aug 2021 00:45:23 +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 3EB54CBD0 for ; Sat, 7 Aug 2021 02:45:23 +0200 (CEST) Received: from localhost ([::1]:50588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCASn-0007sK-3i for larch@yhetil.org; Fri, 06 Aug 2021 20:45:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCASV-0007sA-04 for bug-guix@gnu.org; Fri, 06 Aug 2021 20:45:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCASU-0007bX-PR for bug-guix@gnu.org; Fri, 06 Aug 2021 20:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mCASU-0004AU-EP for bug-guix@gnu.org; Fri, 06 Aug 2021 20:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49815: Upcoming timekeeping failure in gpsd Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 07 Aug 2021 00:45: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: Thiago Jung Bauermann Received: via spool by 49815-submit@debbugs.gnu.org id=B49815.162829707215971 (code B ref 49815); Sat, 07 Aug 2021 00:45:02 +0000 Received: (at 49815) by debbugs.gnu.org; 7 Aug 2021 00:44:32 +0000 Received: from localhost ([127.0.0.1]:51585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCAS0-00049X-BT for submit@debbugs.gnu.org; Fri, 06 Aug 2021 20:44:32 -0400 Received: from out0.migadu.com ([94.23.1.103]:53981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCARx-00049M-5N for 49815@debbugs.gnu.org; Fri, 06 Aug 2021 20:44:30 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1628297067; h=from:from: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; bh=1BodP/EZANF4QRI+G7kcbzxKqen3b/3skTN6uVrMaZg=; b=V9Y9+a2nKzEOkL3MZXFxzguYDE4Pa+b4atf8L56Cm33bDI5iNddRnTLAmSnQhn/zyuIL+v At85gAaSVr+oBxyCy1RxZZAM6mh8jMuI7UxRVAIbjraEI7QPv8wg63i+xc7N8/Rw9fmjfD aSb1B/objc4wwRe0R7nbw7VFG6C0DsY= From: Sarah Morgensen References: <20210806225517.346462-1-bauermann@kolabnow.com> Date: Fri, 06 Aug 2021 17:44:24 -0700 In-Reply-To: <20210806225517.346462-1-bauermann@kolabnow.com> (Thiago Jung Bauermann's message of "Fri, 6 Aug 2021 19:55:17 -0300") Message-ID: <86lf5e13tj.fsf_-_@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: iskarian@mgsn.dev 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: , Cc: 49815@debbugs.gnu.org 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=1628297123; 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: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=1BodP/EZANF4QRI+G7kcbzxKqen3b/3skTN6uVrMaZg=; b=GeMckpCZD6SGnhQhJJKZYmyv8O5usPpRcSj7uNvAb8mEvlV/qB+iEBB1vu8n+Tvh5+bOMy mnFTmCykG7ujPCsAwqCfCsQ8ElKQW7D6MLDIBO/SRxUF06mMeUtcRKO1XmD18iPm5KXQo7 V47nDLBI9OvjadF2S1d7adLP9s27ieP64AF/iphgstVRcqR1ZRGTbqYltlMJTWBQMaIakb juOC79VFQH4mqW7GXrh1JytEYfUs3jiP4diyITJ9NCWEemvc9Q/w1FTw1hWu3p/SYSYEV5 Sx2V8W0b/GmgvpknEiXKQE/+R1RcU2IcRCGcB1p9AF4r5CIswN6S02+JIis5dA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628297123; a=rsa-sha256; cv=none; b=EiGDHsV7BUFep0uODAvSO0J04Wm/yKOUyIlZZMSJslf0TMeoYzKHVwk4T+/NYIy2PIHar3 98MDFL1Qgfc40pcStIPPRImKrzxWFpgVuojWyVr/UWIzXxfCF90Ih1O2StwKngDYsmW1ny y+o82hyBacND69HSf2PoHhByEMhOE5v2GnAbYjp87vwMwcnd+jn95IOpNIlsgNqcna0mPK F8XO9HKgbqcX4nY8R3tav+FSGU0iJZsHp/6vQ51nsuAMHSvKqKT4jmowI64LnpiK4fdqy0 2eQrzlOgEh7l5RNEhOsV+fF2lVRhR1VFQLZqJj4I6p4pgfnLlWRkA22uC3AwJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=V9Y9+a2n; 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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=V9Y9+a2n; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=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: 3EB54CBD0 X-Spam-Score: -1.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: cRo5RmA4Vi+Q Hi, Just a quick suggestion from a bystander... Thiago Jung Bauermann 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