From MAILER-DAEMON Sun Jan 01 18:14:40 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cNpKq-0000rb-F8
	for mharc-gpsd-dev@gnu.org; Sun, 01 Jan 2017 18:14:40 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45343)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cNpKo-0000rS-Ct
	for gpsd-dev@nongnu.org; Sun, 01 Jan 2017 18:14:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cNpKl-0007Ou-8E
	for gpsd-dev@nongnu.org; Sun, 01 Jan 2017 18:14:38 -0500
Received: from relay02-mailcontrol.conova.com ([217.196.144.162]:42807)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cNpKk-0007LP-T0
	for gpsd-dev@nongnu.org; Sun, 01 Jan 2017 18:14:35 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay02-mailcontrol.conova.com; Mon, 02 Jan 2017 00:14:29 +0100
Received: from [IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa] (unknown
	[IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa])
	by mail.recluse.de (Postfix) with ESMTPSA id 06F331BE;
	Mon,  2 Jan 2017 00:13:53 +0100 (CET)
To: Fred Wright <fw@fwright.net>, gpsd-dev <gpsd-dev@nongnu.org>
From: Bernd Zeimetz <bernd@bzed.de>
Message-ID: <aa0665c2-d4bf-b0f1-6526-0b3085754d31@bzed.de>
Date: Mon, 2 Jan 2017 00:14:26 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Icedove/45.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay02-mailcontrol.conova.com with C35C2B00190
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.3792
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.162
Subject: [gpsd-dev] Reverts "Work around yet another scons fuckup."
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jan 2017 23:14:39 -0000

Hi Fred,

if you revert this commit, please ensure gpsd builds in Debian unstable
with the following options

export LDFLAGS="-Wl,-z,relro"
export CFLAGS="-g -O2 -fstack-protector-strong -Wformat
-Werror=format-security"
export CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat
-Werror=format-security"
export CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2"

scons prefix=/usr systemd=yes strip=no dbus_export=yes
docdir=/usr/share/doc/gpsd libdir=/usr/lib gpsd_user=gpsd
gpsd_group=dialout debug=no


Testing "on two linux versions" does not help. Just reverting my commits
does not help - I assume you want to maintain gpsd in Debian then?

You should be able to make it fail with gcc 6.2 on most platforms.

So please revert the revert, or fix the issue on your preferred way.

Thanks,

Bernd

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


From MAILER-DAEMON Sun Jan 01 18:43:11 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cNpmR-0004KO-1Y
	for mharc-gpsd-dev@gnu.org; Sun, 01 Jan 2017 18:43:11 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47844)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cNpmO-0004KH-PV
	for gpsd-dev@nongnu.org; Sun, 01 Jan 2017 18:43:09 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cNpmJ-0000VX-BP
	for gpsd-dev@nongnu.org; Sun, 01 Jan 2017 18:43:08 -0500
Received: from relay01-mailcontrol.conova.com ([217.196.144.161]:51155)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cNpmI-0000UP-VJ
	for gpsd-dev@nongnu.org; Sun, 01 Jan 2017 18:43:03 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay01-mailcontrol.conova.com; Mon, 02 Jan 2017 00:42:58 +0100
Received: from [IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa] (unknown
	[IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa])
	by mail.recluse.de (Postfix) with ESMTPSA id D3A231BE;
	Mon,  2 Jan 2017 00:42:22 +0100 (CET)
To: Fred Wright <fw@fwright.net>, GPSD Developers List <gpsd-dev@nongnu.org>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
From: Bernd Zeimetz <bernd@bzed.de>
Message-ID: <fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
Date: Mon, 2 Jan 2017 00:42:55 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Icedove/45.4.0
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay01-mailcontrol.conova.com with 81266E0065
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.5627
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.161
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jan 2017 23:43:09 -0000

Hi Fred,

sorry, I missed that mail - please CC me if you need my attention or
poke me on irc.

On 12/20/2016 12:35 AM, Fred Wright wrote:
[..]
> 4) Check out fde48f55 or later.

That change does not help, as we are dealing with compiler default
options here, not with those added in SConstruct.

> Of course it would still be nice to know how a warning became an error.

afaik default since 6.2.

% gcc -Q --help=warnings | grep enabled
  -Waggressive-loop-optimizations 	[enabled]
  -Walign-commons             		[enabled]
  -Wattributes                		[enabled]
  -Wbuiltin-macro-redefined   		[enabled]
  -Wc90-c99-compat            		[enabled]
  -Wc99-c11-compat            		[enabled]
  -Wconversion-null           		[enabled]
  -Wcoverage-mismatch         		[enabled]
  -Wcpp                       		[enabled]
  -Wdeclaration-after-statement 	[enabled]
  -Wdelete-incomplete         		[enabled]
  -Wdeprecated                		[enabled]
  -Wdeprecated-declarations   		[enabled]
  -Wdesignated-init           		[enabled]
  -Wdiscarded-array-qualifiers 		[enabled]
  -Wdiscarded-qualifiers      		[enabled]
  -Wdiv-by-zero               		[enabled]
  -Wendif-labels              		[enabled]
  -Wenum-compare              		[enabled]
  -Wfree-nonheap-object       		[enabled]
  -Whsa                       		[enabled]
  -Wignored-attributes        		[enabled]
  -Wimplicit-function-declaration 	[enabled]
  -Wimplicit-int              		[enabled]
  -Wincompatible-pointer-types 		[enabled]
  -Winherited-variadic-ctor   		[enabled]
  -Wint-conversion            		[enabled]
  -Wint-to-pointer-cast       		[enabled]
  -Winvalid-memory-model      		[enabled]
  -Winvalid-offsetof          		[enabled]
  -Wline-truncation           		[enabled]
  -Wliteral-suffix            		[enabled]
  -Wlong-long                 		[enabled]
  -Wlto-type-mismatch         		[enabled]
  -Wmain                      		[enabled]
  -Wnarrowing                 		[enabled]
  -Wnon-template-friend       		[enabled]
  -Wodr                       		[enabled]
  -Woverflow                  		[enabled]
  -Woverride-init-side-effects 		[enabled]
  -Wpacked-bitfield-compat    		[enabled]
  -Wpmf-conversions           		[enabled]
  -Wpointer-to-int-cast       		[enabled]
  -Wpragmas                   		[enabled]
  -Wproperty-assign-default   		[enabled]
  -Wprotocol                  		[enabled]
  -Wpsabi                     		[enabled]
  -Wreturn-local-addr         		[enabled]
  -Wshadow-ivar               		[enabled]
  -Wshift-count-negative      		[enabled]
  -Wshift-count-overflow      		[enabled]
  -Wshift-negative-value      		[enabled]
  -Wsizeof-array-argument     		[enabled]
  -Wsubobject-linkage         		[enabled]
  -Wswitch-bool               		[enabled]
  -Wsync-nand                 		[enabled]
  -Wterminate                 		[enabled]
  -Wtrigraphs                 		[enabled]
  -Wunderflow                 		[enabled]
  -Wunused-result             		[enabled]
  -Wvarargs                   		[enabled]
  -Wvirtual-move-assign       		[enabled]
  -Wvla                       		[enabled]
  -frequire-return-statement  		[enabled]

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


From MAILER-DAEMON Tue Jan 03 20:16:04 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cOaBQ-0006PB-KX
	for mharc-gpsd-dev@gnu.org; Tue, 03 Jan 2017 20:16:04 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42379)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cOaBN-0006Ny-0I
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:16:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cOaBI-00068D-Uq
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:16:00 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:39178)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cOaBI-00064p-J1
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:15:56 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v041FlZ7031161
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
	Tue, 3 Jan 2017 17:15:47 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v041Fkmt022552;
	Tue, 3 Jan 2017 17:15:46 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v041Fk1M022546; 
	Tue, 3 Jan 2017 17:15:46 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Tue, 3 Jan 2017 17:15:46 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
Message-ID: <Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVayoHExei1dGTvXjR+8IQ2AppSQiAebFZP3p4krKYyM/4cPLmdK/7nZBYNC6gY7qym9BZlodCEQe10h9upobadJ
X-Sonic-ID: C;UJ12UhvS5hGmoBTn7CXqBA== M;9oavUhvS5hGmoBTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2017 01:16:03 -0000


On Mon, 2 Jan 2017, Bernd Zeimetz wrote:

> sorry, I missed that mail - please CC me if you need my attention or
> poke me on irc.

Well, last time I tried CCing you, it made things worse. :-) The GPSD
listserver avoids forwarding to anyone explicitly listed as a recipient,
so CCing means that you *only* get the direct copy, and unless you've
whitelisted me in your spam filter, you don't get that one, either.

Trying a BCC this time, which may or may not help.

> On 12/20/2016 12:35 AM, Fred Wright wrote:
> [..]
> > 4) Check out fde48f55 or later.
>
> That change does not help, as we are dealing with compiler default
> options here, not with those added in SConstruct.

More than just that - see below.

> > Of course it would still be nice to know how a warning became an error.
>
> afaik default since 6.2.

Not in 6.3, or even in your own example.

> % gcc -Q --help=warnings | grep enabled
>   -Waggressive-loop-optimizations 	[enabled]
[...]

Actually, -Wstrict-prototypes doesn't appear in this list.

Also, that says nothing about how warnings became errors.  Warnings per se
don't cause configure checks to fail.

On Mon, 2 Jan 2017, Bernd Zeimetz wrote:

> if you revert this commit, please ensure gpsd builds in Debian unstable
> with the following options
>
> export LDFLAGS="-Wl,-z,relro"
> export CFLAGS="-g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security"
> export CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security"
> export CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2"
>
> scons prefix=/usr systemd=yes strip=no dbus_export=yes
> docdir=/usr/share/doc/gpsd libdir=/usr/lib gpsd_user=gpsd
> gpsd_group=dialout debug=no
>
>
> Testing "on two linux versions" does not help. Just reverting my commits

Indeed, which is why I asked for help testing.

> You should be able to make it fail with gcc 6.2 on most platforms.

Nope (if you mean "at least 6.2").  I don't have a Debian unstable
install, but I did just add a Fedora 25 (with gcc 6.3) to my VM
collection.  As long as Qt is turned off, it builds and passes all the
regression tests with no warnings.  Though getting the options to the
almost-default state (i.e., except qt) requires installing a few more
packages.

I also tried it (after a full clean) with the above flag settings and
options, and it *still* built and tested cleanly.  So I'm still unable to
reproduce the problem.  And I looked specifically at some CheckFunc cases
in config.log (both successful and properly unsuccessful), which looked
like they behaved as intended.

> So please revert the revert, or fix the issue on your preferred way.

In order to have a "preferred way", we need to understand what the real
problem is. :-)

Fred Wright


From MAILER-DAEMON Tue Jan 03 20:26:20 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cOaLM-0007aA-OA
	for mharc-gpsd-dev@gnu.org; Tue, 03 Jan 2017 20:26:20 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47262)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cOaLJ-0007Zz-7F
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:26:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cOaLI-0002QY-B2
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:26:17 -0500
Received: from rellim.com ([2001:470:e815::19]:55355 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <gem@rellim.com>) id 1cOaLI-0002KK-4c
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:26:16 -0500
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id v041PuW8012232
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 3 Jan 2017 17:26:01 -0800
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com v041PuW8012232
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1483493161; bh=XfEsCY5MGKVvu11j1RhBN1f4lAZpsFqxXhmEs1oPQKU=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=X2CvITO1yaSCCEdSlP/SDjHmJ7pFK/CGVhT4PQzy1dHUqeKJHcSgC4s4+paRUwvMM
	oEZQAVTZPMCbFXle7JEiVgPjzQuHAT2TInqy0u9pmUqyDJ9HTl7IoAuC0ELqa83qdN
	7n3os+Odvl8SapzqK8myTi37Z8mhYwIQKGAEkBoo=
Date: Tue, 3 Jan 2017 17:25:55 -0800
From: "Gary E. Miller" <gem@rellim.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20170103172555.44a83a17@spidey.rellim.com>
In-Reply-To: <Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
Organization: Rellim
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/OF5Z2c6HHV.1R8a0VlE1gae";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6rc1
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 03 Jan 2017 17:26:01 -0800 (PST)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2017 01:26:19 -0000

--Sig_/OF5Z2c6HHV.1R8a0VlE1gae
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Yo Fred!

On Tue, 3 Jan 2017 17:15:46 -0800 (PST)
Fred Wright <fw@fwright.net> wrote:

> On Mon, 2 Jan 2017, Bernd Zeimetz wrote:
>=20
> > sorry, I missed that mail - please CC me if you need my attention or
> > poke me on irc. =20
>=20
> Well, last time I tried CCing you, it made things worse. :-) The GPSD
> listserver avoids forwarding to anyone explicitly listed as a
> recipient, so CCing means that you *only* get the direct copy, and
> unless you've whitelisted me in your spam filter, you don't get that
> one, either.

Uh, no.  That is now how it works.

> > So please revert the revert, or fix the issue on your preferred
> > way. =20
>=20
> In order to have a "preferred way", we need to understand what the
> real problem is. :-)

At least revert until then.  Otherwise people can't use git head.

RGDS                                                 Veritas liberabit vos
GARY                                                     Quid est veritas?
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com  Tel:+1 541 382 8588

--Sig_/OF5Z2c6HHV.1R8a0VlE1gae
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYbE8jAAoJEA0O2UlB0XnYAOgH/i37UmHs3sJJs++A/CiPOYRt
ZyIrTdmqEDI6QmvBN9mJ4EHGkwasDn5GaH1ivc0ZQNVBXX4s9s40gMIpySlurkuM
HCz/IKzkk47c45AjWHey21ESBHBKeMC5DVck1KSEIwjI9fPhlvLpkmtlLHZyi2fh
NSz7Q72KHAu187AOaRxv4lyBUq016kJpepmveFNHaf3pYeKwbwGOuS4Cx5uR9/Nq
kuWeCUVUxmPTG/09jGYTb11RGPPHRyk6gleUQLno+xjv2SZlSO4iU8xTGIobxM0w
UqQaHA/4Nhy414+ykkYSmYnSOGogiqGzJQ/VzQs0LcD4bH9WMzvao+CRPv/YKpw=
=t01O
-----END PGP SIGNATURE-----

--Sig_/OF5Z2c6HHV.1R8a0VlE1gae--


From MAILER-DAEMON Tue Jan 03 20:56:49 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cOaor-000411-DK
	for mharc-gpsd-dev@gnu.org; Tue, 03 Jan 2017 20:56:49 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57733)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cOaop-00040b-3X
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:56:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cOaol-0008FB-93
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:56:47 -0500
Received: from d.mail.sonic.net ([64.142.111.50]:58922)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cOaok-0008CM-VE
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 20:56:43 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v041ueRf030677
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Tue, 3 Jan 2017 17:56:40 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v041udC3015563
	for <gpsd-dev@nongnu.org>; Tue, 3 Jan 2017 17:56:39 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v041ud5x015560
	for <gpsd-dev@nongnu.org>; Tue, 3 Jan 2017 17:56:39 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Tue, 3 Jan 2017 17:56:39 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20170103172555.44a83a17@spidey.rellim.com>
Message-ID: <Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVaMtFbZYY1Wd+cSSGHVy7rN168quScnU+MXd67/bNlc8efx76qreIbp0wguM6ML0i+g1he8ITV17HBrVeGRN0vt
X-Sonic-ID: C;AvWICCHS5hG/vvIb5pbgmg== M;hPKpCCHS5hG/vvIb5pbgmg==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2017 01:56:48 -0000


On Tue, 3 Jan 2017, Gary E. Miller wrote:
> On Tue, 3 Jan 2017 17:15:46 -0800 (PST)
> Fred Wright <fw@fwright.net> wrote:
> > On Mon, 2 Jan 2017, Bernd Zeimetz wrote:
> >
> > > sorry, I missed that mail - please CC me if you need my attention or
> > > poke me on irc.
> >
> > Well, last time I tried CCing you, it made things worse. :-) The GPSD
> > listserver avoids forwarding to anyone explicitly listed as a
> > recipient, so CCing means that you *only* get the direct copy, and
> > unless you've whitelisted me in your spam filter, you don't get that
> > one, either.
>
> Uh, no.  That is now how it works.

It has been in my experience (at least for this listserver as currently
configured).  Try it.

> > > So please revert the revert, or fix the issue on your preferred
> > > way.
> >
> > In order to have a "preferred way", we need to understand what the
> > real problem is. :-)
>
> At least revert until then.  Otherwise people can't use git head.

I just did in the interests of expediency, but as yet there's no evidence
that anyone other than Bernd sees the problem that the extra 50 lines of
code are trying to fix.

Fred Wright


From MAILER-DAEMON Tue Jan 03 21:02:30 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cOauM-0005Bs-59
	for mharc-gpsd-dev@gnu.org; Tue, 03 Jan 2017 21:02:30 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59818)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cOauJ-0005Al-TY
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 21:02:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cOauG-0002dj-K1
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 21:02:27 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:50742)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cOauG-0002d5-AD
	for gpsd-dev@nongnu.org; Tue, 03 Jan 2017 21:02:24 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0422Kq3000394
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Tue, 3 Jan 2017 18:02:20 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0422KtK019733
	for <gpsd-dev@nongnu.org>; Tue, 3 Jan 2017 18:02:20 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0422JxH019730
	for <gpsd-dev@nongnu.org>; Tue, 3 Jan 2017 18:02:20 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Tue, 3 Jan 2017 18:02:19 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
In-Reply-To: <CAOSy7+_LpL2VxC9SAHp==284FMpxpVX_aZLPrhyVYFa4Kf5BpA@mail.gmail.com>
Message-ID: <Pine.LNX.4.58L1X.1701031719590.16526@bolt.sonic.net>
References: <AM4PR08MB08657F6F0E1D221B3BA7028E8E6A0@AM4PR08MB0865.eurprd08.prod.outlook.com>
	<Pine.LNX.4.58L1X.1612301521190.25310@bolt.sonic.net>
	<AM4PR08MB0865115FA818FC49EA3BC5018E6D0@AM4PR08MB0865.eurprd08.prod.outlook.com>
	<CAOSy7+_LpL2VxC9SAHp==284FMpxpVX_aZLPrhyVYFa4Kf5BpA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbUOUJTrsfHgAMaLPT1C/jbxwmGOGmgpbZLjiz4OmxLW7VBTqLGczkgYkWxRX6fQ00yDwavDe8pqzPBS9rk5eSW
X-Sonic-ID: C;9Gg+0yHS5hGVxBTn7CXqBA== M;OPNg0yHS5hGVxBTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] [PATCH] Fix compiling QT code with at least GCC 6.2.1
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2017 02:02:29 -0000


On Sat, 31 Dec 2016, Robert Norris wrote:

> Use of #ifndef USE_QT in libgpsd_core.c now seems pointless as it will always be TRUE.

Umm, no.  The same sources are compiled twice - once for the "normal"
library, and once for the Qt version.  The former case has that off.

> GPSD seems to have lost the build of a test_qgpsmm program from test_gpsmm.c in the great scons build conversion.

Indeed one of the reasons I've been reluctant to mess with the Qt code is
the inability to test it.  All I did when adding the qt_versioned option
was to make sure it would build.

On Sat, 31 Dec 2016, Jon Schlueter wrote:

> the QT support needs some re-work, as it should not be compiling C code as
> C++.

Well, that's not *always* unreasonable, but whether it's actually
appropriate here needs to be determined.  And if it *is* appropriate, then
something should be done about the clang deprecation warnings that doesn't
involve breaking it for "miscellaneous" compilers.

> But I don't remember enough of the context, I'll try to take a crack at
> re-factoring some
> of the build logic in the New Year.  If there are others who still use it,
> it would be nice to
> make sure I don't break the functionality as I get it rotated into correct
> shape.

Yeah, see above regarding testing. :-)

I don't know how easy and/or helpful it would be to resurrect the
test_qgpsmm program that Rob mentioned.  And license permitting, perhaps
the Qt-based xgps-like program could be pulled into contrib/ to facilitate
testing.

I'll ignore Rob's extern C patch in the meantime, as well as his suggested
"std::" addition.  The latter isn't necessarily bad, since it's inside a
C++ conditional, but it still seems rather unflavorful to have two
different atomic-access methods between C and C++.  More so if the same
data could be accessed by both C and C++.

Fred Wright


From MAILER-DAEMON Wed Jan 04 01:31:34 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cOf6k-00055s-GI
	for mharc-gpsd-dev@gnu.org; Wed, 04 Jan 2017 01:31:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47305)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cOf6g-00055k-ID
	for gpsd-dev@nongnu.org; Wed, 04 Jan 2017 01:31:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cOf6d-00073p-DU
	for gpsd-dev@nongnu.org; Wed, 04 Jan 2017 01:31:30 -0500
Received: from relay02-mailcontrol.conova.com ([217.196.144.162]:50716)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cOf6d-00072N-1S
	for gpsd-dev@nongnu.org; Wed, 04 Jan 2017 01:31:27 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay02-mailcontrol.conova.com; Wed, 04 Jan 2017 07:31:22 +0100
Received: from [IPv6:2a02:16a8:dc4:af4:c528:31ad:6f6d:cc9f] (unknown
	[IPv6:2a02:16a8:dc4:af4:c528:31ad:6f6d:cc9f])
	by mail.recluse.de (Postfix) with ESMTPSA id 4E5DAED;
	Wed,  4 Jan 2017 07:30:45 +0100 (CET)
Date: Wed, 04 Jan 2017 07:30:56 +0100
From: Bernd Zeimetz <bernd@bzed.de>
To: Fred Wright <fw@fwright.net>,GPSD Developers List <gpsd-dev@nongnu.org>
User-Agent: K-9 Mail for Android
In-Reply-To: <Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
Message-ID: <01553FBE-FDCA-4806-A07F-1FF62AFC3E38@bzed.de>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----26LX8VI512GBI1P1ERIJ2D5FXJERK4"
Content-Transfer-Encoding: 7bit
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay02-mailcontrol.conova.com with 21632B00188
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.4790
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.162
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2017 06:31:32 -0000

------26LX8VI512GBI1P1ERIJ2D5FXJERK4
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,=20

short question - which scons version are you using?=20

Thanks,=20
Bernd=20

Am 4=2E J=C3=A4nner 2017 02:15:46 MEZ schrieb Fred Wright <fw@fwright=2Ene=
t>:
>
>On Mon, 2 Jan 2017, Bernd Zeimetz wrote:
>
>> sorry, I missed that mail - please CC me if you need my attention or
>> poke me on irc=2E
>
>Well, last time I tried CCing you, it made things worse=2E :-) The GPSD
>listserver avoids forwarding to anyone explicitly listed as a
>recipient,
>so CCing means that you *only* get the direct copy, and unless you've
>whitelisted me in your spam filter, you don't get that one, either=2E
>
>Trying a BCC this time, which may or may not help=2E
>
>> On 12/20/2016 12:35 AM, Fred Wright wrote:
>> [=2E=2E]
>> > 4) Check out fde48f55 or later=2E
>>
>> That change does not help, as we are dealing with compiler default
>> options here, not with those added in SConstruct=2E
>
>More than just that - see below=2E
>
>> > Of course it would still be nice to know how a warning became an
>error=2E
>>
>> afaik default since 6=2E2=2E
>
>Not in 6=2E3, or even in your own example=2E
>
>> % gcc -Q --help=3Dwarnings | grep enabled
>>   -Waggressive-loop-optimizations 	[enabled]
>[=2E=2E=2E]
>
>Actually, -Wstrict-prototypes doesn't appear in this list=2E
>
>Also, that says nothing about how warnings became errors=2E  Warnings per
>se
>don't cause configure checks to fail=2E
>
>On Mon, 2 Jan 2017, Bernd Zeimetz wrote:
>
>> if you revert this commit, please ensure gpsd builds in Debian
>unstable
>> with the following options
>>
>> export LDFLAGS=3D"-Wl,-z,relro"
>> export CFLAGS=3D"-g -O2 -fstack-protector-strong -Wformat
>> -Werror=3Dformat-security"
>> export CXXFLAGS=3D"-g -O2 -fstack-protector-strong -Wformat
>> -Werror=3Dformat-security"
>> export CPPFLAGS=3D"-Wdate-time -D_FORTIFY_SOURCE=3D2"
>>
>> scons prefix=3D/usr systemd=3Dyes strip=3Dno dbus_export=3Dyes
>> docdir=3D/usr/share/doc/gpsd libdir=3D/usr/lib gpsd_user=3Dgpsd
>> gpsd_group=3Ddialout debug=3Dno
>>
>>
>> Testing "on two linux versions" does not help=2E Just reverting my
>commits
>
>Indeed, which is why I asked for help testing=2E
>
>> You should be able to make it fail with gcc 6=2E2 on most platforms=2E
>
>Nope (if you mean "at least 6=2E2")=2E  I don't have a Debian unstable
>install, but I did just add a Fedora 25 (with gcc 6=2E3) to my VM
>collection=2E  As long as Qt is turned off, it builds and passes all the
>regression tests with no warnings=2E  Though getting the options to the
>almost-default state (i=2Ee=2E, except qt) requires installing a few more
>packages=2E
>
>I also tried it (after a full clean) with the above flag settings and
>options, and it *still* built and tested cleanly=2E  So I'm still unable
>to
>reproduce the problem=2E  And I looked specifically at some CheckFunc
>cases
>in config=2Elog (both successful and properly unsuccessful), which looked
>like they behaved as intended=2E
>
>> So please revert the revert, or fix the issue on your preferred way=2E
>
>In order to have a "preferred way", we need to understand what the real
>problem is=2E :-)
>
>Fred Wright

--=20
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesende=
t=2E
------26LX8VI512GBI1P1ERIJ2D5FXJERK4
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body>Hi, <br>
<br>
short question - which scons version are you using? <br>
<br>
Thanks, <br>
Bernd <br><br><div class=3D"gmail_quote">Am 4=2E J=C3=A4nner 2017 02:15:46=
 MEZ schrieb Fred Wright &lt;fw@fwright=2Enet&gt;:<blockquote class=3D"gmai=
l_quote" style=3D"margin: 0pt 0pt 0pt 0=2E8ex; border-left: 1px solid rgb(2=
04, 204, 204); padding-left: 1ex;">
<pre class=3D"k9mail"><br />On Mon, 2 Jan 2017, Bernd Zeimetz wrote:<br />=
<br /><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8e=
x; border-left: 1px solid #729fcf; padding-left: 1ex;"> sorry, I missed tha=
t mail - please CC me if you need my attention or<br /> poke me on irc=2E<b=
r /></blockquote><br />Well, last time I tried CCing you, it made things wo=
rse=2E :-) The GPSD<br />listserver avoids forwarding to anyone explicitly =
listed as a recipient,<br />so CCing means that you *only* get the direct c=
opy, and unless you've<br />whitelisted me in your spam filter, you don't g=
et that one, either=2E<br /><br />Trying a BCC this time, which may or may =
not help=2E<br /><br /><blockquote class=3D"gmail_quote" style=3D"margin: 0=
pt 0pt 1ex 0=2E8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On=
 12/20/2016 12:35 AM, Fred Wright wrote:<br /> [=2E=2E]<br /><blockquote cl=
ass=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px =
solid #ad7fa8; padding-left: 1ex;"> 4) Check out fde48f55 or later=2E<br />=
</blockquote><br /> That change does not help, as we are dealing with compi=
ler default<br /> options here, not with those added in SConstruct=2E<br />=
</blockquote><br />More than just that - see below=2E<br /><br /><blockquot=
e class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: =
1px solid #729fcf; padding-left: 1ex;"><blockquote class=3D"gmail_quote" st=
yle=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px solid #ad7fa8; padding=
-left: 1ex;"> Of course it would still be nice to know how a warning became=
 an error=2E<br /></blockquote><br /> afaik default since 6=2E2=2E<br /></b=
lockquote><br />Not in 6=2E3, or even in your own example=2E<br /><br /><bl=
ockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border=
-left: 1px solid #729fcf; padding-left: 1ex;"> % gcc -Q --help=3Dwarnings |=
 grep enabled<br />   -Waggressive-loop-optimizations  [enabled]<br /></blo=
ckquote>[=2E=2E=2E]<br /><br />Actually, -Wstrict-prototypes doesn't appear=
 in this list=2E<br /><br />Also, that says nothing about how warnings beca=
me errors=2E  Warnings per se<br />don't cause configure checks to fail=2E<=
br /><br />On Mon, 2 Jan 2017, Bernd Zeimetz wrote:<br /><br /><blockquote =
class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1p=
x solid #729fcf; padding-left: 1ex;"> if you revert this commit, please ens=
ure gpsd builds in Debian unstable<br /> with the following options<br /><b=
r /> export LDFLAGS=3D&quot;-Wl,-z,relro&quot;<br /> export CFLAGS=3D&quot;=
-g -O2 -fstack-protector-strong -Wformat<br /> -Werror=3Dformat-security&qu=
ot;<br /> export CXXFLAGS=3D&quot;-g -O2 -fstack-protector-strong -Wformat<=
br /> -Werror=3Dformat-security&quot;<br /> export CPPFLAGS=3D&quot;-Wdate-=
time -D_FORTIFY_SOURCE=3D2&quot;<br /><br /> scons prefix=3D/usr systemd=3D=
yes strip=3Dno dbus_export=3Dyes<br /> docdir=3D/usr/share/doc/gpsd libdir=
=3D/usr/lib gpsd_user=3Dgpsd<br /> gpsd_group=3Ddialout debug=3Dno<br /><br=
 /><br /> Testing &quot;on two linux versions&quot; does not help=2E Just r=
everting my commits<br /></blockquote><br />Indeed, which is why I asked fo=
r help testing=2E<br /><br /><blockquote class=3D"gmail_quote" style=3D"mar=
gin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px solid #729fcf; padding-left: 1ex=
;"> You should be able to make it fail with gcc 6=2E2 on most platforms=2E<=
br /></blockquote><br />Nope (if you mean &quot;at least 6=2E2&quot;)=2E  I=
 don't have a Debian unstable<br />install, but I did just add a Fedora 25 =
(with gcc 6=2E3) to my VM<br />collection=2E  As long as Qt is turned off, =
it builds and passes all the<br />regression tests with no warnings=2E  Tho=
ugh getting the options to the<br />almost-default state (i=2Ee=2E, except =
qt) requires installing a few more<br />packages=2E<br /><br />I also tried=
 it (after a full clean) with the above flag settings and<br />options, and=
 it *still* built and tested cleanly=2E  So I'm still unable to<br />reprod=
uce the problem=2E  And I looked specifically at some CheckFunc cases<br />=
in config=2Elog (both successful and properly unsuccessful), which looked<b=
r />like they behaved as intended=2E<br /><br /><blockquote class=3D"gmail_=
quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px solid #729fcf=
; padding-left: 1ex;"> So please revert the revert, or fix the issue on you=
r preferred way=2E<br /></blockquote><br />In order to have a &quot;preferr=
ed way&quot;, we need to understand what the real<br />problem is=2E :-)<br=
 /><br />Fred Wright<br /></pre></blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesende=
t=2E</body></html>
------26LX8VI512GBI1P1ERIJ2D5FXJERK4--


From MAILER-DAEMON Wed Jan 04 03:47:15 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cOhE3-00060E-SP
	for mharc-gpsd-dev@gnu.org; Wed, 04 Jan 2017 03:47:15 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38611)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cOhE2-000605-5a
	for gpsd-dev@nongnu.org; Wed, 04 Jan 2017 03:47:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cOhDy-000530-9W
	for gpsd-dev@nongnu.org; Wed, 04 Jan 2017 03:47:14 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:40374)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cOhDx-00052o-T4
	for gpsd-dev@nongnu.org; Wed, 04 Jan 2017 03:47:10 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v048l5uA026362
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Wed, 4 Jan 2017 00:47:05 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v048l5uN002702
	for <gpsd-dev@nongnu.org>; Wed, 4 Jan 2017 00:47:05 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v048l4VX002696
	for <gpsd-dev@nongnu.org>; Wed, 4 Jan 2017 00:47:05 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Wed, 4 Jan 2017 00:47:04 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <Pine.LNX.4.58L1X.1701040019100.15448@bolt.sonic.net>
Message-ID: <Pine.LNX.4.58L1X.1701040046060.15448@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<01553FBE-FDCA-4806-A07F-1FF62AFC3E38@bzed.de>
	<Pine.LNX.4.58L1X.1701040019100.15448@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbvrnvXqUjHs0sF6mn94M6jtqz9Nu1XK6tsiT15F74yvkeIotUZO0E2Jt499sFylAb8bNAfO1s45fBKph5EB4b4
X-Sonic-ID: C;inGQXlrS5hGfuxTn7CXqBA== M;Lkm1XlrS5hGfuxTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2017 08:47:15 -0000


Oops - screwed up the original send address here.

On Wed, 4 Jan 2017, Fred Wright wrote:
> On Wed, 4 Jan 2017, Bernd Zeimetz wrote:
>
> > Hi,
> >
> > short question - which scons version are you using?
>
> In the Fedora 25 case:
> -------------------------------------------------------
> [fw@MacFed ~]$ scons --version
> SCons by Steven Knight et al.:
> 	script: v2.5.1.rel_2.5.1:3735:9dc6cee5c168[MODIFIED], 2016/11/03 14:02:02, by bdbaddog on mongodog
> 	engine: v2.5.1.rel_2.5.1:3735:9dc6cee5c168[MODIFIED], 2016/11/03 14:02:02, by bdbaddog on mongodog
> 	engine path: ['/usr/lib/scons/SCons']
> Copyright (c) 2001 - 2016 The SCons Foundation
> -------------------------------------------------------
>
> The OSX version that I do most of my testing with is also 2.5.1:
> -------------------------------------------------------
> MacPro:~ fw$ scons --version
> SCons by Steven Knight et al.:
> 	script: v2.5.1.rel_2.5.1:3735:9dc6cee5c168[MODIFIED], 2016/11/03 14:02:02, by bdbaddog on mongodog
> 	engine: v2.5.1.rel_2.5.1:3735:9dc6cee5c168[MODIFIED], 2016/11/03 14:02:02, by bdbaddog on mongodog
> 	engine path: ['/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.5.1/SCons']
> Copyright (c) 2001 - 2016 The SCons Foundation
> -------------------------------------------------------
>
> I'm pretty sure the SCons bug you identified is still present here, since
> I see the malconstructed test code in config.log.  What I don't see is how
> it turns into an error, even when the warning is enabled.
>
> Allthough I think it would be good to fix the bug in SCons, I don't think
> it makes sense to put a complete rewrite of the function in GPSD's
> SConstruct unless it's really necessary, and there's no simple workaround.
> Note that a *really* correct fix would need to be more elaborate anyway,
> since ideally one would have to be able to specify the complete signature
> of the test function in CheckFunc, rather than merely using "void" to make
> it non-K&R.
>
> Perhaps you could send me the config.log from your failing case.
>
> BCCing again in case it's helpful.  I'll stop if it's not.
>
> Fred Wright


From MAILER-DAEMON Fri Jan 06 17:08:53 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cPcgv-0006ep-JT
	for mharc-gpsd-dev@gnu.org; Fri, 06 Jan 2017 17:08:53 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41394)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cPcgq-0006ec-9W
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 17:08:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cPcgm-0005ZA-5u
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 17:08:48 -0500
Received: from relay01-mailcontrol.conova.com ([217.196.144.161]:54062)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cPcgl-0005Yw-Gu
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 17:08:44 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay01-mailcontrol.conova.com; Fri, 06 Jan 2017 23:08:39 +0100
Received: from [IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa] (unknown
	[IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa])
	by mail.recluse.de (Postfix) with ESMTPSA id 5F4301F9;
	Fri,  6 Jan 2017 23:08:00 +0100 (CET)
To: Fred Wright <fw@fwright.net>, GPSD Developers List <gpsd-dev@nongnu.org>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
From: Bernd Zeimetz <bernd@bzed.de>
Message-ID: <8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
Date: Fri, 6 Jan 2017 23:08:36 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Icedove/45.4.0
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
Content-Type: multipart/mixed; boundary="------------72C72892E4CD58068A1BDD5D"
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay01-mailcontrol.conova.com with 25686E0049
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.7411
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.161
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2017 22:08:52 -0000

This is a multi-part message in MIME format.
--------------72C72892E4CD58068A1BDD5D
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit



On 01/04/2017 02:56 AM, Fred Wright wrote:
> I just did in the interests of expediency, but as yet there's no evidence
> that anyone other than Bernd sees the problem that the extra 50 lines of
> code are trying to fix.

... right now it fails to build while including compiler.h.

Please, test stuff in Debian unstable.
Or maybe in the latest not-yet-released fedora.


I might be able to hack a script to mirror the repository on github so
I can use travis-ci to build it on every commit....
Sounds like its necessary :(

I won't touch scons anymore, I've wasted too much time of my life
to fix this mess.

scons: Reading SConscript files ...
Checking if compiler accepts -pthread... yes
Checking whether the C++ compiler works... yes
Checking pkg-config for ncurses... yes
Checking pkg-config for tinfo... yes
Checking pkg-config for libusb-1.0... yes
Checking for C library librt... yes
Checking pkg-config for dbus-1... yes
Checking pkg-config for bluez... yes
Checking for C type in_port_t... yes
Checking whether SUN_LEN is declared... yes
Checking for C header file linux/can.h... yes
You have kernel CANbus available.
Checking if compiler is C11... yes
Checking if compiler supplies __STDC_NO_ATOMICS__... no
Checking for C header file stdatomic.h... yes
Checking if compiler supplies __ORDER_BIG_ENDIAN__... yes
Checking if compiler supplies __ORDER_LITTLE_ENDIAN__... yes
Checking if compiler supplies __BYTE_ORDER__... yes
Your compiler has built-in endianness support.
Checking for C function daemon()... yes
Checking for C function strlcpy()... no
Checking for C function strlcat()... no
Checking for C function clock_gettime()... yes
Checking for C function strptime()... yes
Checking for C function gmtime_r()... yes
Checking for C header file sys/timepps.h... yes
Checking if sys/ioctl.h supplies TIOCMIWAIT... yes
Checking for C library libbluetooth... yes
Checking for C library libdbus-1... yes
Checking that xsltproc can make man pages... yes
Checking pkg-config for QtNetwork... yes
Checking if compiler accepts -Wextra... yes
Checking if compiler accepts -Wall... yes
Checking if compiler accepts -Wno-uninitialized... yes
Checking if compiler accepts -Wno-missing-field-initializers... yes
Checking if compiler accepts -Wcast-align... yes
Checking if compiler accepts -Wmissing-declarations... yes
Checking if compiler accepts -Wmissing-prototypes... yes
Checking if compiler accepts -Wstrict-prototypes... yes
Checking if compiler accepts -Wpointer-arith... yes
Checking if compiler accepts -Wreturn-type... yes
Checking whether python program exists.../usr/bin/python
Obtaining Python exe path... /usr/bin/python
Obtaining Python lib dir... /usr/lib/python2.7/dist-packages
Obtaining Python config vars... ok
All configuration flags are defaulted.
scons: done reading SConscript files.
scons: Building targets ...
rm -f ais_json.i && /usr/bin/python jsongen.py --ais --target=parser > ais_json.i && chmod a-w ais_json.i
Creating 'gpsd_config.h'
gcc -o ais_json.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include ais_json.c
gcc -o bits.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include bits.c
gcc -o clock_gettime.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include clock_gettime.c
gcc -o daemon.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include daemon.c
gcc -o gpsutils.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include gpsutils.c
gcc -o gpsdclient.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include gpsdclient.c
Creating 'gpsd.h'
rm -f gps_maskdump.c && /usr/bin/python maskaudit.py -c . > gps_maskdump.c && chmod a-w gps_maskdump.c
gcc -o gps_maskdump.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include gps_maskdump.c
gcc -o hex.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include hex.c
gcc -o json.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include json.c
gcc -o libgps_core.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include libgps_core.c
gcc -o libgps_dbus.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include libgps_dbus.c
gcc -o libgps_json.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include libgps_json.c
gcc -o libgps_shm.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include libgps_shm.c
gcc -o libgps_sock.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include libgps_sock.c
gcc -o netlib.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include netlib.c
gcc -o ntpshmread.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include ntpshmread.c
gcc -o rtcm2_json.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include rtcm2_json.c
gcc -o rtcm3_json.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include rtcm3_json.c
gcc -o shared_json.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include shared_json.c
gcc -o strl.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include strl.c
g++ -o libgpsmm.os -c -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include libgpsmm.cpp
g++ -o libgps.so.23.0.0 -pthread -shared -Wl,-Bsymbolic -Wl,-soname=libgps.so.23 ais_json.os bits.os clock_gettime.os daemon.os gpsutils.os gpsdclient.os gps_maskdump.os hex.os json.os libgps_core.os libgps_dbus.os libgps_json.os libgps_shm.os libgps_sock.os netlib.os ntpshmread.os rtcm2_json.os rtcm3_json.os shared_json.os strl.os libgpsmm.os -L. -lrt -ldbus-1 -lbluetooth -ldbus-1 -lrt
Create symlinks for: 'libgps.so.23.0.0': 'libgps.so.23'->'libgps.so.23.0.0', 'libgps.so'->'libgps.so.23.0.0'
gcc -o qt-ais_json.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -DUSE_QT -DQT_SHARED -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore ais_json.c
g++ -o qt-bits.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -DUSE_QT -DQT_SHARED -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore bits.c
g++ -o qt-clock_gettime.os -c -pthread -Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations -Wpointer-arith -Wreturn-type -O2 -pthread -fPIC -DHAVE_SYS_TIMEPPS_H=1 -DUSE_QT -DQT_SHARED -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore clock_gettime.c
In file included from clock_gettime.c:10:0:
compiler.h: In function 'void memory_barrier()':
compiler.h:93:25: error: 'memory_order_seq_cst' was not declared in this scope
     atomic_thread_fence(memory_order_seq_cst);
                         ^~~~~~~~~~~~~~~~~~~~
compiler.h:93:25: note: suggested alternative:
In file included from /usr/include/c++/6/atomic:41:0,
                 from compiler.h:75,
                 from clock_gettime.c:10:
/usr/include/c++/6/bits/atomic_base.h:62:7: note:   'memory_order_seq_cst'
       memory_order_seq_cst
       ^~~~~~~~~~~~~~~~~~~~
In file included from clock_gettime.c:10:0:
compiler.h:93:45: error: 'atomic_thread_fence' was not declared in this scope
     atomic_thread_fence(memory_order_seq_cst);
                                             ^
compiler.h:93:45: note: suggested alternative:
In file included from /usr/include/c++/6/atomic:41:0,
                 from compiler.h:75,
                 from clock_gettime.c:10:
/usr/include/c++/6/bits/atomic_base.h:101:3: note:   'std::atomic_thread_fence'
   atomic_thread_fence(memory_order __m) noexcept
   ^~~~~~~~~~~~~~~~~~~
scons: *** [qt-clock_gettime.os] Error 1
scons: building terminated because of errors.
scons  10.93s user 0.88s system 92% cpu 12.745 total




config.log is attached.



-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F

--------------72C72892E4CD58068A1BDD5D
Content-Type: text/x-log;
 name="config.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="config.log"

file /home/bzed/workspace/debian/gpsd/gpsd/SConstruct,line 614:
	Configure(confdir =3D .sconf_temp)
scons: Configure: Checking if compiler accepts -pthread...=20
=2Esconf_temp/conftest_0.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_0.o -c -pthread -O2 .sconf_temp/conftest_0.c
gcc -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -L.
scons: Configure: yes

scons: Configure: Checking whether the C++ compiler works...=20
=2Esconf_temp/conftest_1.cpp <-
  |
  |int main()
  |{
  |    return 0;
  |}
  |
g++ -o .sconf_temp/conftest_1.o -c -O2 -pthread .sconf_temp/conftest_1.cp=
p
scons: Configure: yes

scons: Configure: Checking pkg-config for ncurses...=20
pkg-config --exists 'ncurses'
scons: Configure: yes

scons: Configure: Checking pkg-config for tinfo...=20
pkg-config --exists 'tinfo'
scons: Configure: yes

scons: Configure: Checking pkg-config for libusb-1.0...=20
pkg-config --exists 'libusb-1.0'
scons: Configure: yes

scons: Configure: Checking for C library librt...=20
=2Esconf_temp/conftest_5.c <-
  |
  |
  |
  |int
  |main() {
  | =20
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_5.o -c -pthread -O2 -pthread .sconf_temp/conf=
test_5.c
gcc -o .sconf_temp/conftest_5 -pthread .sconf_temp/conftest_5.o -L. -lrt
scons: Configure: yes

scons: Configure: Checking pkg-config for dbus-1...=20
pkg-config --exists 'dbus-1'
scons: Configure: yes

scons: Configure: Checking pkg-config for bluez...=20
pkg-config --exists 'bluez'
scons: Configure: yes

scons: Configure: Checking for C type in_port_t...=20
=2Esconf_temp/conftest_8.c <-
  |
  |
  |#include <netinet/in.h>
  |
  |int main() {
  |  if ((in_port_t *) 0)
  |    return 0;
  |  if (sizeof (in_port_t))
  |    return 0;
  |}
  |
gcc -o .sconf_temp/conftest_8.o -c -pthread -O2 -pthread -I/usr/include/d=
bus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftest=
_8.c
gcc -o .sconf_temp/conftest_8 -pthread .sconf_temp/conftest_8.o -L. -lrt =
-ldbus-1
scons: Configure: yes

scons: Configure: Checking whether SUN_LEN is declared...=20
=2Esconf_temp/conftest_9.c <-
  |#include <sys/un.h>
  |int main()
  |{
  |#ifndef SUN_LEN
  |    (void) SUN_LEN;
  |#endif
  |    ;
  |    return 0;
  |}
  |
gcc -o .sconf_temp/conftest_9.o -c -pthread -O2 -pthread -I/usr/include/d=
bus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftest=
_9.c
scons: Configure: yes

scons: Configure: Checking for C header file linux/can.h...=20
=2Esconf_temp/conftest_10.c <-
  |#include <bits/sockaddr.h>
  |
  |#include <linux/can.h>
  |
  |
gcc -o .sconf_temp/conftest_10.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_10.c
scons: Configure: yes

scons: Configure: Checking if compiler is C11...=20
=2Esconf_temp/conftest_11.c <-
  |
  |        #if (__STDC_VERSION__ < 201112L)
  |        #error Not C11
  |        #endif
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_11.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_11.c
gcc -o .sconf_temp/conftest_11 -pthread .sconf_temp/conftest_11.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler supplies __STDC_NO_ATOMICS__...=20
=2Esconf_temp/conftest_12.c <-
  |
  |        #ifndef __STDC_NO_ATOMICS__
  |        #error __STDC_NO_ATOMICS__ is not defined
  |        #endif
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_12.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_12.c
=2Esconf_temp/conftest_12.c:3:10: error: #error __STDC_NO_ATOMICS__ is no=
t defined
         #error __STDC_NO_ATOMICS__ is not defined
          ^~~~~
scons: Configure: no

scons: Configure: Checking for C header file stdatomic.h...=20
=2Esconf_temp/conftest_13.c <-
  |
  |#include <stdatomic.h>
  |
  |
gcc -o .sconf_temp/conftest_13.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_13.c
scons: Configure: yes

scons: Configure: Checking if compiler supplies __ORDER_BIG_ENDIAN__...=20
=2Esconf_temp/conftest_14.c <-
  |
  |        #ifndef __ORDER_BIG_ENDIAN__
  |        #error __ORDER_BIG_ENDIAN__ is not defined
  |        #endif
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_14.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_14.c
gcc -o .sconf_temp/conftest_14 -pthread .sconf_temp/conftest_14.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler supplies __ORDER_LITTLE_ENDIAN__..=
=2E=20
=2Esconf_temp/conftest_15.c <-
  |
  |        #ifndef __ORDER_LITTLE_ENDIAN__
  |        #error __ORDER_LITTLE_ENDIAN__ is not defined
  |        #endif
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_15.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_15.c
gcc -o .sconf_temp/conftest_15 -pthread .sconf_temp/conftest_15.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler supplies __BYTE_ORDER__...=20
=2Esconf_temp/conftest_16.c <-
  |
  |        #ifndef __BYTE_ORDER__
  |        #error __BYTE_ORDER__ is not defined
  |        #endif
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_16.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_16.c
gcc -o .sconf_temp/conftest_16 -pthread .sconf_temp/conftest_16.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking for C function daemon()...=20
=2Esconf_temp/conftest_17.c <-
  |
  |
  |#include <assert.h>
  |
  |#ifdef __cplusplus
  |extern "C"
  |#endif
  |char daemon(void);
  |
  |int main(void) {
  |#if defined (__stub_daemon) || defined (__stub___daemon)
  |  fail fail fail
  |#else
  |  daemon();
  |#endif
  |
  |  return 0;
  |}
  |
gcc -o .sconf_temp/conftest_17.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_17.c
gcc -o .sconf_temp/conftest_17 -pthread .sconf_temp/conftest_17.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking for C function strlcpy()...=20
=2Esconf_temp/conftest_18.c <-
  |
  |
  |#include <assert.h>
  |
  |#ifdef __cplusplus
  |extern "C"
  |#endif
  |char strlcpy(void);
  |
  |int main(void) {
  |#if defined (__stub_strlcpy) || defined (__stub___strlcpy)
  |  fail fail fail
  |#else
  |  strlcpy();
  |#endif
  |
  |  return 0;
  |}
  |
gcc -o .sconf_temp/conftest_18.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_18.c
gcc -o .sconf_temp/conftest_18 -pthread .sconf_temp/conftest_18.o -L. -lr=
t -ldbus-1
=2Esconf_temp/conftest_18.o: In function `main':
conftest_18.c:(.text.startup+0x5): undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status
scons: Configure: no

scons: Configure: Checking for C function strlcat()...=20
=2Esconf_temp/conftest_19.c <-
  |
  |
  |#include <assert.h>
  |
  |#ifdef __cplusplus
  |extern "C"
  |#endif
  |char strlcat(void);
  |
  |int main(void) {
  |#if defined (__stub_strlcat) || defined (__stub___strlcat)
  |  fail fail fail
  |#else
  |  strlcat();
  |#endif
  |
  |  return 0;
  |}
  |
gcc -o .sconf_temp/conftest_19.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_19.c
gcc -o .sconf_temp/conftest_19 -pthread .sconf_temp/conftest_19.o -L. -lr=
t -ldbus-1
=2Esconf_temp/conftest_19.o: In function `main':
conftest_19.c:(.text.startup+0x5): undefined reference to `strlcat'
collect2: error: ld returned 1 exit status
scons: Configure: no

scons: Configure: Checking for C function clock_gettime()...=20
=2Esconf_temp/conftest_20.c <-
  |
  |
  |#include <assert.h>
  |
  |#ifdef __cplusplus
  |extern "C"
  |#endif
  |char clock_gettime(void);
  |
  |int main(void) {
  |#if defined (__stub_clock_gettime) || defined (__stub___clock_gettime)=

  |  fail fail fail
  |#else
  |  clock_gettime();
  |#endif
  |
  |  return 0;
  |}
  |
gcc -o .sconf_temp/conftest_20.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_20.c
gcc -o .sconf_temp/conftest_20 -pthread .sconf_temp/conftest_20.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking for C function strptime()...=20
=2Esconf_temp/conftest_21.c <-
  |
  |
  |#include <assert.h>
  |
  |#ifdef __cplusplus
  |extern "C"
  |#endif
  |char strptime(void);
  |
  |int main(void) {
  |#if defined (__stub_strptime) || defined (__stub___strptime)
  |  fail fail fail
  |#else
  |  strptime();
  |#endif
  |
  |  return 0;
  |}
  |
gcc -o .sconf_temp/conftest_21.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_21.c
gcc -o .sconf_temp/conftest_21 -pthread .sconf_temp/conftest_21.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking for C function gmtime_r()...=20
=2Esconf_temp/conftest_22.c <-
  |
  |
  |#include <assert.h>
  |
  |#ifdef __cplusplus
  |extern "C"
  |#endif
  |char gmtime_r(void);
  |
  |int main(void) {
  |#if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
  |  fail fail fail
  |#else
  |  gmtime_r();
  |#endif
  |
  |  return 0;
  |}
  |
gcc -o .sconf_temp/conftest_22.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_22.c
gcc -o .sconf_temp/conftest_22 -pthread .sconf_temp/conftest_22.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking for C header file sys/timepps.h...=20
=2Esconf_temp/conftest_23.c <-
  |#include <sys/types.h>
  |#include <sys/time.h>
  |
  |#include <sys/timepps.h>
  |
  |
gcc -o .sconf_temp/conftest_23.o -c -pthread -O2 -pthread -I/usr/include/=
dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftes=
t_23.c
scons: Configure: yes

scons: Configure: Checking if sys/ioctl.h supplies TIOCMIWAIT...=20
=2Esconf_temp/conftest_24.c <-
  |
  |        #include <sys/ioctl.h>
  |        #ifndef TIOCMIWAIT
  |        #error TIOCMIWAIT is not defined
  |        #endif
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_24.o -c -pthread -O2 -pthread -DHAVE_SYS_TIME=
PPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/in=
clude .sconf_temp/conftest_24.c
gcc -o .sconf_temp/conftest_24 -pthread .sconf_temp/conftest_24.o -L. -lr=
t -ldbus-1
scons: Configure: yes

scons: Configure: Checking for C library libbluetooth...=20
=2Esconf_temp/conftest_25.c <-
  |
  |
  |
  |int
  |main() {
  | =20
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_25.o -c -pthread -O2 -pthread -DHAVE_SYS_TIME=
PPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/in=
clude .sconf_temp/conftest_25.c
gcc -o .sconf_temp/conftest_25 -pthread .sconf_temp/conftest_25.o -L. -lr=
t -ldbus-1 -lbluetooth
scons: Configure: yes

scons: Configure: Checking for C library libdbus-1...=20
=2Esconf_temp/conftest_26.c <-
  |
  |
  |
  |int
  |main() {
  | =20
  |return 0;
  |}
  |
gcc -o .sconf_temp/conftest_26.o -c -pthread -O2 -pthread -DHAVE_SYS_TIME=
PPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/in=
clude .sconf_temp/conftest_26.c
gcc -o .sconf_temp/conftest_26 -pthread .sconf_temp/conftest_26.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking that xsltproc can make man pages...=20
xsltproc --nonet --noout 'http://docbook.sourceforge.net/release/xsl/curr=
ent/manpages/docbook.xsl' xmltest.xml
Note: meta source : no *info/productname or alternative            foo
Note: meta source : see http://docbook.sf.net/el/productname       foo
Note: meta source : no refentry/refmeta/refmiscinfo@class=3Dsource   foo
Note: meta source : see http://docbook.sf.net/el/refmiscinfo       foo
Note: meta version: no *info/productnumber or alternative          foo
Note: meta version: see http://docbook.sf.net/el/productnumber     foo
Note: meta version: no refentry/refmeta/refmiscinfo@class=3Dversion  foo
Note: meta version: see http://docbook.sf.net/el/refmiscinfo       foo
Warn: meta source : no fallback for source, so inserted a fixme    foo
Note: meta manual : no titled ancestor of refentry                 foo
Note: meta manual : no refentry/refmeta/refmiscinfo@class=3Dmanual   foo
Note: meta manual : see http://docbook.sf.net/el/refmiscinfo       foo
Warn: meta manual : no fallback for manual, so inserted a fixme    foo
Warn: meta author : no refentry/info/author                        foo
Note: meta author : see http://docbook.sf.net/el/author            foo
Warn: meta author : no author data, so inserted a fixme            foo
Note: Writing foo.1
scons: Configure: yes

scons: Configure: Checking pkg-config for QtNetwork...=20
pkg-config --exists 'QtNetwork'
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wextra...=20
=2Esconf_temp/conftest_29.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_29.o -c -pthread -Wextra -O2 -pthread -DHAVE_=
SYS_TIMEPPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbu=
s-1.0/include .sconf_temp/conftest_29.c
gcc -o .sconf_temp/conftest_29 -pthread .sconf_temp/conftest_29.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wall...=20
=2Esconf_temp/conftest_30.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_30.o -c -pthread -Wextra -Wall -O2 -pthread -=
DHAVE_SYS_TIMEPPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-g=
nu/dbus-1.0/include .sconf_temp/conftest_30.c
=2Esconf_temp/conftest_30.c: In function 'main':
=2Esconf_temp/conftest_30.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_30.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_30 -pthread .sconf_temp/conftest_30.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wno-uninitialized...=20
=2Esconf_temp/conftest_31.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_31.o -c -pthread -Wextra -Wall -Wno-uninitial=
ized -O2 -pthread -DHAVE_SYS_TIMEPPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr=
/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftest_31.c
=2Esconf_temp/conftest_31.c: In function 'main':
=2Esconf_temp/conftest_31.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_31.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_31 -pthread .sconf_temp/conftest_31.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wno-missing-field-initial=
izers...=20
=2Esconf_temp/conftest_32.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_32.o -c -pthread -Wextra -Wall -Wno-uninitial=
ized -Wno-missing-field-initializers -O2 -pthread -DHAVE_SYS_TIMEPPS_H=3D=
1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .s=
conf_temp/conftest_32.c
=2Esconf_temp/conftest_32.c: In function 'main':
=2Esconf_temp/conftest_32.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_32.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_32 -pthread .sconf_temp/conftest_32.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wcast-align...=20
=2Esconf_temp/conftest_33.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_33.o -c -pthread -Wextra -Wall -Wno-uninitial=
ized -Wno-missing-field-initializers -Wcast-align -O2 -pthread -DHAVE_SYS=
_TIMEPPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1=
=2E0/include .sconf_temp/conftest_33.c
=2Esconf_temp/conftest_33.c: In function 'main':
=2Esconf_temp/conftest_33.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_33.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_33 -pthread .sconf_temp/conftest_33.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wmissing-declarations... =

=2Esconf_temp/conftest_34.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_34.o -c -pthread -Wextra -Wall -Wno-uninitial=
ized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations =
-O2 -pthread -DHAVE_SYS_TIMEPPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/=
x86_64-linux-gnu/dbus-1.0/include .sconf_temp/conftest_34.c
=2Esconf_temp/conftest_34.c: In function 'main':
=2Esconf_temp/conftest_34.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_34.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_34 -pthread .sconf_temp/conftest_34.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wmissing-prototypes...=20
=2Esconf_temp/conftest_35.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_35.o -c -pthread -Wextra -Wall -Wno-uninitial=
ized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations =
-Wmissing-prototypes -O2 -pthread -DHAVE_SYS_TIMEPPS_H=3D1 -I/usr/include=
/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include .sconf_temp/confte=
st_35.c
=2Esconf_temp/conftest_35.c: In function 'main':
=2Esconf_temp/conftest_35.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_35.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_35 -pthread .sconf_temp/conftest_35.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wstrict-prototypes...=20
=2Esconf_temp/conftest_36.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_36.o -c -pthread -Wextra -Wall -Wno-uninitial=
ized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations =
-Wmissing-prototypes -Wstrict-prototypes -O2 -pthread -DHAVE_SYS_TIMEPPS_=
H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/includ=
e .sconf_temp/conftest_36.c
=2Esconf_temp/conftest_36.c: In function 'main':
=2Esconf_temp/conftest_36.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_36.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_36 -pthread .sconf_temp/conftest_36.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wpointer-arith...=20
=2Esconf_temp/conftest_37.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_37.o -c -pthread -Wextra -Wall -Wno-uninitial=
ized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations =
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -O2 -pthread -DH=
AVE_SYS_TIMEPPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu=
/dbus-1.0/include .sconf_temp/conftest_37.c
=2Esconf_temp/conftest_37.c: In function 'main':
=2Esconf_temp/conftest_37.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_37.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_37 -pthread .sconf_temp/conftest_37.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking if compiler accepts -Wreturn-type...=20
=2Esconf_temp/conftest_38.c <-
  |
  |        int main(int argc, char **argv) {
  |            return 0;
  |        }
  |   =20
gcc -o .sconf_temp/conftest_38.o -c -pthread -Wextra -Wall -Wno-uninitial=
ized -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations =
-Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type -O=
2 -pthread -DHAVE_SYS_TIMEPPS_H=3D1 -I/usr/include/dbus-1.0 -I/usr/lib/x8=
6_64-linux-gnu/dbus-1.0/include .sconf_temp/conftest_38.c
=2Esconf_temp/conftest_38.c: In function 'main':
=2Esconf_temp/conftest_38.c:2:22: warning: unused parameter 'argc' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                      ^~~~
=2Esconf_temp/conftest_38.c:2:35: warning: unused parameter 'argv' [-Wunu=
sed-parameter]
         int main(int argc, char **argv) {
                                   ^~~~
gcc -o .sconf_temp/conftest_38 -pthread .sconf_temp/conftest_38.o -L. -lr=
t -ldbus-1 -lbluetooth -ldbus-1
scons: Configure: yes

scons: Configure: Checking whether python program exists...
scons: Configure: /usr/bin/python

scons: Configure: Obtaining Python exe path...=20
scons: Configure: /usr/bin/python

scons: Configure: Obtaining Python lib dir...=20
scons: Configure: /usr/lib/python2.7/dist-packages

scons: Configure: Obtaining Python config vars...=20
scons: Configure: ok



--------------72C72892E4CD58068A1BDD5D--


From MAILER-DAEMON Fri Jan 06 17:54:10 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cPdOk-0005JX-8x
	for mharc-gpsd-dev@gnu.org; Fri, 06 Jan 2017 17:54:10 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52091)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1cPdOf-0005IP-8d
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 17:54:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1cPdOb-0004FG-By
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 17:54:05 -0500
Received: from blu004-omc2s3.hotmail.com ([65.55.111.78]:53156)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <rw_norris@hotmail.com>)
	id 1cPdOb-0004E5-3H
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 17:54:01 -0500
Received: from EUR02-AM5-obe.outbound.protection.outlook.com ([65.55.111.73])
	by BLU004-OMC2S3.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Fri, 6 Jan 2017 14:53:59 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=VH6u55G/3n3+Z8YIKXknvfR6pBH1hmWHoOEAtsfu96U=;
	b=BxURBXU3RKDnC4tB6K//KbDyDfM/KW5E41TrazVDOrDSaC9t/Wad8GuAY63rKLFxIkWFXs4C9LBeh5FQ/Xmdw1NOmNBZrYwlERasvm0mo1fTjrfap+YogKUyC9hrkOjg1ELFYUffLfIOZkD8Jk1JsZttVUZedAFw36HYn7ahUDtCpz6ErIl1y0U3CO8Zz7ai+1kJh7Euc4xoqfeXlpjx/pJE3eyRdf7ccDtxQd6yPUHaiLnCZ9hwWVamem3EhLHd2NP1Er0rhqJcMT1uAwJzjD5YedDDiVmBoVPHmdIEi5nQpqX+vQgkv3FQYII6vkQlyPrzyOdNDwFw/C/lPXEaRw==
Received: from AM5EUR02FT019.eop-EUR02.prod.protection.outlook.com
	(10.152.8.60) by AM5EUR02HT097.eop-EUR02.prod.protection.outlook.com
	(10.152.9.240) with Microsoft SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8;
	Fri, 6 Jan 2017 22:53:57 +0000
Received: from HE1PR08MB0876.eurprd08.prod.outlook.com (10.152.8.53) by
	AM5EUR02FT019.mail.protection.outlook.com (10.152.8.169) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.803.8 via Frontend Transport; Fri, 6 Jan 2017 22:53:57 +0000
Received: from HE1PR08MB0876.eurprd08.prod.outlook.com ([10.164.53.26]) by
	HE1PR08MB0876.eurprd08.prod.outlook.com ([10.164.53.26]) with mapi id
	15.01.0803.021; Fri, 6 Jan 2017 22:53:57 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [gpsd-dev] [PATCH] Fix compiling QT code with at least GCC 6.2.1
Thread-Index: AQHSYueBoSA7cAwnFU2w+IRvWUKLKKEhJYyAgAAr2XmAAWa4gIAE3zyAgAR5kTQ=
Date: Fri, 6 Jan 2017 22:53:57 +0000
Message-ID: <AM4PR08MB0865A8B2A25FD76DEFB0B21A8E630@AM4PR08MB0865.eurprd08.prod.outlook.com>
References: <AM4PR08MB08657F6F0E1D221B3BA7028E8E6A0@AM4PR08MB0865.eurprd08.prod.outlook.com>
	<Pine.LNX.4.58L1X.1612301521190.25310@bolt.sonic.net>
	<AM4PR08MB0865115FA818FC49EA3BC5018E6D0@AM4PR08MB0865.eurprd08.prod.outlook.com>
	<CAOSy7+_LpL2VxC9SAHp==284FMpxpVX_aZLPrhyVYFa4Kf5BpA@mail.gmail.com>,
	<Pine.LNX.4.58L1X.1701031719590.16526@bolt.sonic.net>
In-Reply-To: <Pine.LNX.4.58L1X.1701031719590.16526@bolt.sonic.net>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=none action=none header.from=hotmail.com; 
x-incomingtopheadermarker: OriginalChecksum:E31B2BAD0900CAE68586730B8E2DA88E9A67EED1D1D1C5AC0989BF36340EB69E;
	UpperCasedChecksum:2F13C76C6A20127B069E1E3DDB188D1A49C89343B457583C6FBACEB986D65E7C;
	SizeAsReceived:7985; Count:39
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [5vwpqO7y7yisYYqj3cOXOMzGASB/04cF]
x-incomingheadercount: 39
x-eopattributedmessage: 0
x-microsoft-exchange-diagnostics: 1; AM5EUR02HT097;
	7:20lWScmX613H/R+Ii5mUqalxR3YGqvXV9/+b9JBtcd9QkIuU+49m17mbik1zxkRc1sOJLXGw3fQklwp4UTwlyEmfHIWxH7Gtt7R7QfbGsWIlaDsLSH8Tdb6ONAfJ0dN5AXR3A3yqAKamdOSN+/cbh4IvbtG2I/gUl176KYj1KEV7FUWeeuN7ZUW+yh9HuNKmWhe2o5sI20/gkjVO3dtmwiyp/cYVjd1TiDVKsIEUHDLWzqs3G8+mROGuu1HhQ1Gaysa0P8ZCfUKIOhIzIDQwtYxLCzTYJKLSUqKzjMhV1pQ+YZ7WHIEdYlxoZjXOaG1mjSBwEee72Z2hTCgjRRyeegxNS0fwBheV4yVGNoz2CLRNFWni54dqiyuGAq2Rpv3mGK6YLCYbDLXSRnsMzD7KpVvs+1AZ38WBhxRDP1bXapQu/bPp7bVRHys/UztLZPkKniPhdDNBEb6ojQyz8DfE+w==
x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003);
	DIR:OUT; SFP:1102; SCL:1; SRVR:AM5EUR02HT097;
	H:HE1PR08MB0876.eurprd08.prod.outlook.com; FPR:; SPF:None;
	LANG:en; 
x-ms-office365-filtering-correlation-id: a1749f97-b7c3-4e9b-09a4-08d43686e5e8
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
	RULEID:(22001)(1601124038)(5061506293)(5061507293)(1603103113)(1601125047)(1701031023);
	SRVR:AM5EUR02HT097; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
	RULEID:(444111334)(444112120)(432015012)(82015046);
	SRVR:AM5EUR02HT097; BCL:0; PCL:0; RULEID:; SRVR:AM5EUR02HT097; 
x-forefront-prvs: 01792087B6
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2017 22:53:57.6164 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT097
X-OriginalArrivalTime: 06 Jan 2017 22:53:59.0735 (UTC)
	FILETIME=[C4AAC470:01D2686F]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.111.78
Subject: Re: [gpsd-dev] [PATCH] Fix compiling QT code with at least GCC 6.2.1
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2017 22:54:06 -0000

>> Use of #ifndef USE_QT in libgpsd_core.c now seems pointless as it will a=
lways be TRUE.

>Umm, no.=A0 The same sources are compiled twice - once for the "normal"
>library, and once for the Qt version.=A0 The former case has that off.

Yes the libgps sources are compiled twice, but libgps*d*_core.c is no longe=
r a dependency of it
Thus it won't be built for C++.

>> GPSD seems to have lost the build of a test_qgpsmm program from test_gps=
mm.c in the great scons build conversion.

test_qgpsmm was just built with different compiler options applied to test_=
gpsmm.c and linking with the libQgpsmm.
So it should be easy to resurrect...

--=20
Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.  =20


From MAILER-DAEMON Fri Jan 06 18:12:33 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cPdgX-0000m9-Bu
	for mharc-gpsd-dev@gnu.org; Fri, 06 Jan 2017 18:12:33 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55149)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1cPdgV-0000jE-Ho
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 18:12:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rw_norris@hotmail.com>) id 1cPdgQ-0002op-JX
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 18:12:31 -0500
Received: from col004-omc3s1.hotmail.com ([65.55.34.139]:58296)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <rw_norris@hotmail.com>)
	id 1cPdgQ-0002mb-48
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 18:12:26 -0500
Received: from EUR02-VE1-obe.outbound.protection.outlook.com ([65.55.34.136])
	by COL004-OMC3S1.hotmail.com over TLS secured channel with
	Microsoft SMTPSVC(7.5.7601.23008); Fri, 6 Jan 2017 15:12:24 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
	s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; 
	bh=E4wpMX8zUhToK4OlLDIBS5nwgVXbDW4WAIx7CvE2Ks4=;
	b=HFvC3Jov4j6sSn5BKKlJ8HQX/zF1QxUX6i+gns9juKX+UhpxdbTYbBFo1022udufWanNiUjzgz5yXzR4c+jbodtpRwzFq/KXDZLW/KiJKaRlHtWBpdb4C3iRQGZ7DBSNyOPkXIxDu7rmC3aM7hKcTbWmZyes837w9XAarygqgU1mdxlkki6KQuJm/Xe/OQBfL6Rspsfl8eoDjx8mfC1Otn5npXGEQNFKVULBFSPzgT8s3Jj0XCcotdPlfn6JLyvYo7t3SrxwfJ7d+jbhmJsZbrlq9FMFzGt2KYwuu9kcWcfts9uwxBCyOSeNzIF6oPJBMYkrDzB7TYqRRif6cn5elw==
Received: from VE1EUR02FT041.eop-EUR02.prod.protection.outlook.com
	(10.152.12.56) by VE1EUR02HT033.eop-EUR02.prod.protection.outlook.com
	(10.152.13.36) with Microsoft SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.10;
	Fri, 6 Jan 2017 23:12:22 +0000
Received: from AM4PR08MB0865.eurprd08.prod.outlook.com (10.152.12.54) by
	VE1EUR02FT041.mail.protection.outlook.com (10.152.13.33) with Microsoft
	SMTP Server (version=TLS1_2,
	cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
	15.1.803.8 via Frontend Transport; Fri, 6 Jan 2017 23:12:22 +0000
Received: from AM4PR08MB0865.eurprd08.prod.outlook.com ([10.164.83.23]) by
	AM4PR08MB0865.eurprd08.prod.outlook.com ([10.164.83.23]) with mapi id
	15.01.0817.013; Fri, 6 Jan 2017 23:12:21 +0000
From: Robert Norris <rw_norris@hotmail.com>
To: "gpsd-dev@nongnu.org" <gpsd-dev@nongnu.org>
Thread-Topic: [gpsd-dev] [PATCH] Fix compiling QT code with at least GCC 6.2.1
Thread-Index: AQHSYueBoSA7cAwnFU2w+IRvWUKLKKEhJYyAgAAr2XmAAWa4gIAE3zyAgAR5kTSAAAxXpg==
Date: Fri, 6 Jan 2017 23:12:21 +0000
Message-ID: <HE1PR08MB0876EBCA85C2B2D8D0EAA5888E630@HE1PR08MB0876.eurprd08.prod.outlook.com>
References: <AM4PR08MB08657F6F0E1D221B3BA7028E8E6A0@AM4PR08MB0865.eurprd08.prod.outlook.com>
	<Pine.LNX.4.58L1X.1612301521190.25310@bolt.sonic.net>
	<AM4PR08MB0865115FA818FC49EA3BC5018E6D0@AM4PR08MB0865.eurprd08.prod.outlook.com>
	<CAOSy7+_LpL2VxC9SAHp==284FMpxpVX_aZLPrhyVYFa4Kf5BpA@mail.gmail.com>,
	<Pine.LNX.4.58L1X.1701031719590.16526@bolt.sonic.net>,
	<AM4PR08MB0865A8B2A25FD76DEFB0B21A8E630@AM4PR08MB0865.eurprd08.prod.outlook.com>
In-Reply-To: <AM4PR08MB0865A8B2A25FD76DEFB0B21A8E630@AM4PR08MB0865.eurprd08.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: nongnu.org; dkim=none (message not signed)
	header.d=none; nongnu.org;
	dmarc=none action=none header.from=hotmail.com; 
x-incomingtopheadermarker: OriginalChecksum:F5816854EF15C2A87623B1AEE8B411381A4E697BCED6A0C984535DA5A0259612;
	UpperCasedChecksum:A79E4827A9FC143EA1B94F29C29B8F185D9F177439223AF987F6530AEBCDE7A0;
	SizeAsReceived:8095; Count:39
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [1otB+eGpEaJ0MZpINtTqiJpXSMNSClk9]
x-incomingheadercount: 39
x-eopattributedmessage: 0
x-microsoft-exchange-diagnostics: 1; VE1EUR02HT033;
	7:gz5yMH3GnXUvdAkFnMvNlY0C43Lqoa0jDfhBMNzV0yVNiID2oRan1pE/d53fbZsQ2R+dwtBD/t82MlFqHhyKclxAr2s9+gFdNyz7LpXDNd3txR1OKEjUGBNxJ4/wEccsfusH0sWFIpnLWBoHXORFIjNqlP+mPU5qKl54KJaREPn+VbrjPdRECqyi2V/iQ64qKMLt7c/PuJNhX482UCM5xLRkiUsFObVjsB+Eu0l5X2OcKYQ7I08RQHQcKoO5JACeXe3BSkucwmzJyJ/8P83JBD2/s/dRsA57zSEvPQA/nYVxYv28yBPjTCFkZkCFzs2Hy+6RWMxLl8zebeREMAcu/5qpQB27SQ12bWRY0+yd83wOaDT+28ImM960UcCndTB9QQ5EP5qr2wxasLb4GRr7KnPRz4MmPwxvbVSxTrblzKQQLIOUFUc2Kxv+mnDIh4ohJt55C4uNXunf5e4YOm9TdQ==
x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003);
	DIR:OUT; SFP:1102; SCL:1; SRVR:VE1EUR02HT033;
	H:AM4PR08MB0865.eurprd08.prod.outlook.com; FPR:; SPF:None;
	LANG:en; 
x-ms-office365-filtering-correlation-id: 3f5f51ef-36c6-4a7d-ce3e-08d4368977ab
x-microsoft-antispam: UriScan:; BCL:0; PCL:0;
	RULEID:(22001)(1601124038)(5061506293)(5061507293)(1603103113)(1601125047)(1701031023);
	SRVR:VE1EUR02HT033; 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
	RULEID:(444111334)(444112120)(432015012)(82015046);
	SRVR:VE1EUR02HT033; BCL:0; PCL:0; RULEID:; SRVR:VE1EUR02HT033; 
x-forefront-prvs: 01792087B6
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2017 23:12:21.1609 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR02HT033
X-OriginalArrivalTime: 06 Jan 2017 23:12:24.0618 (UTC)
	FILETIME=[573A88A0:01D26872]
X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy]
X-Received-From: 65.55.34.139
Subject: Re: [gpsd-dev] [PATCH] Fix compiling QT code with at least GCC 6.2.1
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2017 23:12:32 -0000

This seems to produce a test_qgpsmm program in the SConstruct:

if qt_env:
    test_qgpsmm =3D env.Program('test_qgpsmm', ['test_gpsmm.cpp'],
                              LIBPATH=3D['.'],
                              OBJPREFIX=3D'qt-',
                              LIBS=3D['Qgpsmm'])
    build_qt =3D qt_env.Alias('build', [compiled_qgpsmmlib,test_qgpsmm])
    qt_env.Default(*build_qt)
    testprogs.append(test_qgpsmm)


As the program is not statically linked, one has to set the ensure the LD_L=
IBRARY_PATH covers the location of the generated libQgpsmm.so before you ca=
n run test_qgpsmm.

Producing a statically built test_qgpsmm obviously requires more effort to =
create a static build version of the libQgpsmm.

Then of course using/confirming test_qgpsmm works effectively is another st=
ep beyond.

--
Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.

________________________________________
From: gpsd-dev <gpsd-dev-bounces+rw_norris=3Dhotmail.com@nongnu.org> on beh=
alf of Robert Norris <rw_norris@hotmail.com>
Sent: 06 January 2017 22:53:57
To: gpsd-dev@nongnu.org
Subject: Re: [gpsd-dev] [PATCH] Fix compiling QT code with at least GCC 6.2=
.1

>> Use of #ifndef USE_QT in libgpsd_core.c now seems pointless as it will a=
lways be TRUE.

>Umm, no.  The same sources are compiled twice - once for the "normal"
>library, and once for the Qt version.  The former case has that off.

Yes the libgps sources are compiled twice, but libgps*d*_core.c is no longe=
r a dependency of it
Thus it won't be built for C++.

>> GPSD seems to have lost the build of a test_qgpsmm program from test_gps=
mm.c in the great scons build conversion.

test_qgpsmm was just built with different compiler options applied to test_=
gpsmm.c and linking with the libQgpsmm.
So it should be easy to resurrect...

--
Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.



From MAILER-DAEMON Fri Jan 06 19:02:57 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cPeTJ-00042C-D2
	for mharc-gpsd-dev@gnu.org; Fri, 06 Jan 2017 19:02:57 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33107)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cPeTH-00041o-0N
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 19:02:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cPeTD-00014p-UR
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 19:02:55 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:40916)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cPeTD-00011u-KR
	for gpsd-dev@nongnu.org; Fri, 06 Jan 2017 19:02:51 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0702eXU017572
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
	Fri, 6 Jan 2017 16:02:41 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0702eN4031857;
	Fri, 6 Jan 2017 16:02:40 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0702NYH031735; 
	Fri, 6 Jan 2017 16:02:40 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Fri, 6 Jan 2017 16:02:23 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
Message-ID: <Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVaQOu+MQcrtACE4q5NZaSLK5Brj0v6qd7xx28ANKtkhxOFaYQqFChZRKerajPaWthc5nYV+2jh2FyCH7ShpoMmM
X-Sonic-ID: C;YtBYm2zU5hGf2RTn7CXqBA== M;QAeKm2zU5hGf2RTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jan 2017 00:02:55 -0000


On Fri, 6 Jan 2017, Bernd Zeimetz wrote:
> On 01/04/2017 02:56 AM, Fred Wright wrote:
> > I just did in the interests of expediency, but as yet there's no evidence
> > that anyone other than Bernd sees the problem that the extra 50 lines of
> > code are trying to fix.
>
> ... right now it fails to build while including compiler.h.

That's the known issue with the Qt build, which I've been ignoring since
Jon said he was going to look into it.  It has nothing to do with
CheckFunc.  What happens when you build with qt=no?

Fred Wright


From MAILER-DAEMON Sat Jan 07 05:20:32 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cPo6y-0001nG-EG
	for mharc-gpsd-dev@gnu.org; Sat, 07 Jan 2017 05:20:32 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43924)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jon.schlueter@gmail.com>) id 1cPo6w-0001n9-MV
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 05:20:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jon.schlueter@gmail.com>) id 1cPo6v-0003Vb-Rs
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 05:20:30 -0500
Received: from mail-io0-x233.google.com ([2607:f8b0:4001:c06::233]:33893)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <jon.schlueter@gmail.com>)
	id 1cPo6v-0003Us-Ni
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 05:20:29 -0500
Received: by mail-io0-x233.google.com with SMTP id f103so52045137ioi.1
	for <gpsd-dev@nongnu.org>; Sat, 07 Jan 2017 02:20:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc; bh=g9ldAKoo9aYGssMMnwpfNszV9Ip8LG27YjNMvSuosjM=;
	b=qjiehf9QLojLHAhtf98WIGuD1E0UsNEsDtPa189EfIvexcolDUTqyb3IOXW8rIAZUE
	FclepynfhX2z9j5pqbSKO0yQzOKqado87Ie8KYrh00YG0NYdzBZVCLuigSFrXIOVWMhK
	TBHD22tHsVGSqxgvFZq5CJV1MjhtdrjXTCC1wbnEvAcjWChxF+jFn4bvs+dxf7Yfv+3E
	TnZBB/0dJ9a7zXgH2BEDNQNxzIf+wQ2tC2jwMKDdY7NJIbP3+dyay8nNQNLLc/IN6CZs
	BCzb39aG3W+n2OA3FzKz9UIZ5NK7Ga9Hi6ClYvPvtdgHyCdF8Lv2451VsVlZ0VmrF3j2
	NPBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc;
	bh=g9ldAKoo9aYGssMMnwpfNszV9Ip8LG27YjNMvSuosjM=;
	b=HdUvILN2sZIGhrMKZ55ZGH7iTNDWVmLfsDCeLWzJmMTNX8x45RuxQUkJ73bHHmcf2g
	fVMvO5Ad8O5bY+ioIjxV9P7Zt2+ypDrUUp0BU3+MV8gM/J9c2NM6cZVT2ps5wsHmx1rV
	Y1nUJWzTWARXO3INf5vGTT8SOwVtYK5vCYp2tF/tYPPNqmy2/EGcFNRsi//0WyAKSRyu
	oHzTA8930wApuQNdtFEbqTaZmTPSfnjXxaDl95ofqTu81Hj4OSxT8LfhXuMetduMitDW
	WC6JWHSgPnhxY7q2LGK1ixYeUNafspzH7jgYTeTCwzQzYavUpzWUaaciNG6KxUA3kR2c
	hdtg==
X-Gm-Message-State: AIkVDXJvFGizSdxqegebbGmp2xi8Ez/BDOnPGIsqvMYozgM4BegNYLLR9IOFk523VjNlfg2ZTtmf3iPnFfbE4A==
X-Received: by 10.107.20.139 with SMTP id 133mr60314868iou.90.1483784426188;
	Sat, 07 Jan 2017 02:20:26 -0800 (PST)
MIME-Version: 1.0
Received: by 10.79.6.73 with HTTP; Sat, 7 Jan 2017 02:20:25 -0800 (PST)
In-Reply-To: <Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
From: Jon Schlueter <jon.schlueter@gmail.com>
Date: Sat, 7 Jan 2017 05:20:25 -0500
Message-ID: <CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4001:c06::233
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jan 2017 10:20:31 -0000

On Fri, Jan 6, 2017 at 7:02 PM, Fred Wright <fw@fwright.net> wrote:
>
> On Fri, 6 Jan 2017, Bernd Zeimetz wrote:
>> On 01/04/2017 02:56 AM, Fred Wright wrote:
>> > I just did in the interests of expediency, but as yet there's no evidence
>> > that anyone other than Bernd sees the problem that the extra 50 lines of
>> > code are trying to fix.
>>
>> ... right now it fails to build while including compiler.h.
>
> That's the known issue with the Qt build, which I've been ignoring since
> Jon said he was going to look into it.  It has nothing to do with
> CheckFunc.  What happens when you build with qt=no?


Looking closer at how the QT support was hacked in, I'm inclined to
either re-write
it and correctly extract the c++ isms that are scattered through the C
code, or drop the qt support all together if we don't have an active
developer to maintain it.

Follow up email to come in next couple of days with more details

Jon


From MAILER-DAEMON Sat Jan 07 21:26:38 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cQ3Bu-0000D0-D5
	for mharc-gpsd-dev@gnu.org; Sat, 07 Jan 2017 21:26:38 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54053)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cQ3Br-00008h-T1
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 21:26:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cQ3Bl-0005xO-A5
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 21:26:32 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:36642)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cQ3Bk-0005wk-WF
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 21:26:29 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v082QNrN018093
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sat, 7 Jan 2017 18:26:23 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v082QNoh015919
	for <gpsd-dev@nongnu.org>; Sat, 7 Jan 2017 18:26:23 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v082QM27015898
	for <gpsd-dev@nongnu.org>; Sat, 7 Jan 2017 18:26:23 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sat, 7 Jan 2017 18:26:22 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
Message-ID: <Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZ2g+ULuyu1cHfJZq9Y6n2E2NvrC9mVYPJ7j5T6erFnxXcESJU83OueB5FKJqzIB65T2FwjXAV8b0bq1IjRcmk3
X-Sonic-ID: C;6nUK2UnV5hGdVBTn7CXqBA== M;vq8u2UnV5hGdVBTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jan 2017 02:26:37 -0000


On Sat, 7 Jan 2017, Jon Schlueter wrote:
> On Fri, Jan 6, 2017 at 7:02 PM, Fred Wright <fw@fwright.net> wrote:
> > On Fri, 6 Jan 2017, Bernd Zeimetz wrote:
> >> On 01/04/2017 02:56 AM, Fred Wright wrote:
> >> > I just did in the interests of expediency, but as yet there's no evidence
> >> > that anyone other than Bernd sees the problem that the extra 50 lines of
> >> > code are trying to fix.
> >>
> >> ... right now it fails to build while including compiler.h.
> >
> > That's the known issue with the Qt build, which I've been ignoring since
> > Jon said he was going to look into it.  It has nothing to do with
> > CheckFunc.  What happens when you build with qt=no?
>
>
> Looking closer at how the QT support was hacked in, I'm inclined to
> either re-write
> it and correctly extract the c++ isms that are scattered through the C
> code, or drop the qt support all together if we don't have an active
> developer to maintain it.

Dropping it altogether seems overly heavy-handed.  If it's too broken to
leave enabled, then I'd suggest downgrading it to "experimental" and
making qt=no the default.  That way, anyone who wants to can still "use at
own risk", but the default build isn't broken.  Though just making it
build shouldn't be too hard.

My impression is that Rob would like to have it work, but that isn't the
same as volunteering to maintain it. :-)

Fred Wright


From MAILER-DAEMON Sat Jan 07 22:04:57 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cQ3mz-0005SB-JJ
	for mharc-gpsd-dev@gnu.org; Sat, 07 Jan 2017 22:04:57 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56983)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jon.schlueter@gmail.com>) id 1cQ3mx-0005S4-0R
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 22:04:56 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jon.schlueter@gmail.com>) id 1cQ3mv-0003th-RC
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 22:04:54 -0500
Received: from mail-it0-x234.google.com ([2607:f8b0:4001:c0b::234]:33501)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <jon.schlueter@gmail.com>)
	id 1cQ3mv-0003ss-ME
	for gpsd-dev@nongnu.org; Sat, 07 Jan 2017 22:04:53 -0500
Received: by mail-it0-x234.google.com with SMTP id c20so10692855itb.0
	for <gpsd-dev@nongnu.org>; Sat, 07 Jan 2017 19:04:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc; bh=kCPQMXK0n2MUCdqdOxvS56WmAYGMgLHCv6BsP8uHuaA=;
	b=fmXuHc8LNIwhkQxKspLRW23bJ+FYRX5FzTvNpwcSKxcEgh1oGNNN7Ybzsbad/Zid7k
	ztm5pvk5C+GJOE8xphCBcmDQkmmTZ9b8htsUWxAVZi1ykuqCqlHlDGR4lY2DSboLleQb
	2TRVLwtDqiYvj9zwQcKN1sBYK3RIGbNVhNM9GFuNPTvpBgRcRF7NsuB66oFgPJfwTbzy
	YColvWToRMhRFvCI7ajjFfgWEAjLSovAGZdUYH78f1xnUtYLRv520uGUJMOQXqWYuYTq
	A06D7/T2XOOKV5zGoWB0Wojy39NZj88gVMOkDJB0JAwwzUQIDyoreQ45Z6uCzU9vnZhk
	8KqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc;
	bh=kCPQMXK0n2MUCdqdOxvS56WmAYGMgLHCv6BsP8uHuaA=;
	b=SZ8st2ry7TO0+I0NTJ2goj0Gn3b+5xPM586aFNSF+TcsmZih7yqnlzGv3cYNxu1h+p
	rNxz1LhOey+KPsTpj3EgMweC4xE9GvTjMceSzWeH8PDAGS4Fhy/dJ9tcsHx+/LP8lDwV
	MxFJ5VVePydlcfU6sKcBd44vVdvR92j3G5PJjAHCXIecCGuElnyDo3cKkc1o+fIy6W4H
	MO+ijhEHlxpENJQ9EB/MDLvoy7GqOHR/ubftR185TO0Wosk6tOLk3yVwJtrNETMc0ey/
	VBix2xwtXVq1lDtirzwkya6x3YYFpDg9Yh45pVvrj7gQsI7GydMGcChBTGGR5G8Ycb1u
	LCZg==
X-Gm-Message-State: AIkVDXKxj8TizaDYsTxEx7Pz2X2YzbVMNM9bf0B51g6MM0e4z1lALuISFLD8XSWByS1zkjupGFONYZagqZWRkg==
X-Received: by 10.36.20.66 with SMTP id 63mr4418269itg.103.1483844692977; Sat,
	07 Jan 2017 19:04:52 -0800 (PST)
MIME-Version: 1.0
Received: by 10.79.6.73 with HTTP; Sat, 7 Jan 2017 19:04:52 -0800 (PST)
In-Reply-To: <Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
From: Jon Schlueter <jon.schlueter@gmail.com>
Date: Sat, 7 Jan 2017 22:04:52 -0500
Message-ID: <CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4001:c0b::234
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jan 2017 03:04:56 -0000

On Sat, Jan 7, 2017 at 9:26 PM, Fred Wright <fw@fwright.net> wrote:
>
> On Sat, 7 Jan 2017, Jon Schlueter wrote:
>> On Fri, Jan 6, 2017 at 7:02 PM, Fred Wright <fw@fwright.net> wrote:
>> > On Fri, 6 Jan 2017, Bernd Zeimetz wrote:
>> >> On 01/04/2017 02:56 AM, Fred Wright wrote:
>> >> > I just did in the interests of expediency, but as yet there's no evidence
>> >> > that anyone other than Bernd sees the problem that the extra 50 lines of
>> >> > code are trying to fix.
>> >>
>> >> ... right now it fails to build while including compiler.h.
>> >
>> > That's the known issue with the Qt build, which I've been ignoring since
>> > Jon said he was going to look into it.  It has nothing to do with
>> > CheckFunc.  What happens when you build with qt=no?
>>
>>
>> Looking closer at how the QT support was hacked in, I'm inclined to
>> either re-write
>> it and correctly extract the c++ isms that are scattered through the C
>> code, or drop the qt support all together if we don't have an active
>> developer to maintain it.
>
> Dropping it altogether seems overly heavy-handed.  If it's too broken to
> leave enabled, then I'd suggest downgrading it to "experimental" and
> making qt=no the default.  That way, anyone who wants to can still "use at
> own risk", but the default build isn't broken.  Though just making it
> build shouldn't be too hard.

Yea, I have a re-producer environment now for what Bernd was seeing,
I'll see if I can work any magic on it.

> My impression is that Rob would like to have it work, but that isn't the
> same as volunteering to maintain it. :-)
>
> Fred Wright
>


From MAILER-DAEMON Sun Jan 08 03:34:56 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cQ8wK-0003cd-Nd
	for mharc-gpsd-dev@gnu.org; Sun, 08 Jan 2017 03:34:56 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58568)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cQ8wI-0003cX-EJ
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 03:34:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cQ8wF-00083T-9a
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 03:34:54 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:51414)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cQ8wE-00082u-Vb
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 03:34:51 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v088YlXc029811
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sun, 8 Jan 2017 00:34:47 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v088Yk9n008706
	for <gpsd-dev@nongnu.org>; Sun, 8 Jan 2017 00:34:46 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v088YjbG008686
	for <gpsd-dev@nongnu.org>; Sun, 8 Jan 2017 00:34:46 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 8 Jan 2017 00:34:45 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
Message-ID: <Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZXMW6DH7LxY+U2hHAoXFllozNdUIt1qYtjstgx0t1mWBMN5Gbhr0g9ZO5EmIr6VyCUF9L3srYwp6lqROjy6foS
X-Sonic-ID: C;Qq/xT33V5hG7QxTn7CXqBA== M;pvgWUH3V5hG7QxTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jan 2017 08:34:55 -0000


On Sat, 7 Jan 2017, Jon Schlueter wrote:
> On Sat, Jan 7, 2017 at 9:26 PM, Fred Wright <fw@fwright.net> wrote:
> > On Sat, 7 Jan 2017, Jon Schlueter wrote:
> >> On Fri, Jan 6, 2017 at 7:02 PM, Fred Wright <fw@fwright.net> wrote:
> >> > On Fri, 6 Jan 2017, Bernd Zeimetz wrote:
> >> >> On 01/04/2017 02:56 AM, Fred Wright wrote:
> >> >> > I just did in the interests of expediency, but as yet there's no evidence
> >> >> > that anyone other than Bernd sees the problem that the extra 50 lines of
> >> >> > code are trying to fix.
> >> >>
> >> >> ... right now it fails to build while including compiler.h.
> >> >
> >> > That's the known issue with the Qt build, which I've been ignoring since
> >> > Jon said he was going to look into it.  It has nothing to do with
> >> > CheckFunc.  What happens when you build with qt=no?
> >>
> >>
> >> Looking closer at how the QT support was hacked in, I'm inclined to
> >> either re-write
> >> it and correctly extract the c++ isms that are scattered through the C
> >> code, or drop the qt support all together if we don't have an active
> >> developer to maintain it.
> >
> > Dropping it altogether seems overly heavy-handed.  If it's too broken to
> > leave enabled, then I'd suggest downgrading it to "experimental" and
> > making qt=no the default.  That way, anyone who wants to can still "use at
> > own risk", but the default build isn't broken.  Though just making it
> > build shouldn't be too hard.
>
> Yea, I have a re-producer environment now for what Bernd was seeing,
> I'll see if I can work any magic on it.

By "what Bernd was seeing" do you mean the Qt build problem mentioned
above?  I can reproduce it on at least one VM here, though not with the
native Mac build.  Adding "std::" as Rob suggested indeed makes that
problem go away, and then exposes the one related to C vs. C++ for the
compiler.h include.  I looked at that a bit, and my inclination would be
to move the compiler.h include to be before the conditional extern C
(i.e., in "head"  rather than "tail"), rather than closing and reopening
the latter.  This doesn't fix the more general "messy Qt C/C++" issues,
but may be enough to make it build, anyway.  It also leaves open the issue
of whether mixing different "atomic strategies" between C and C++ is
appropriate.

Unless we can come up with a reasonable way to test the Qt code, it might
be a good idea to provide an "as is" notification in the docs.

None of this has anything to do with CheckFunc, of course, or even SCons
for that matter.

Fred Wright


From MAILER-DAEMON Sun Jan 08 03:54:35 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cQ9FK-0001m2-Vp
	for mharc-gpsd-dev@gnu.org; Sun, 08 Jan 2017 03:54:35 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60061)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cQ9FI-0001lu-SW
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 03:54:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cQ9FF-00042m-R6
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 03:54:32 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:56026)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cQ9FF-00040H-Gl
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 03:54:29 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v088sPtc008471
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sun, 8 Jan 2017 00:54:25 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v088sPvc023903
	for <gpsd-dev@nongnu.org>; Sun, 8 Jan 2017 00:54:25 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v088sOKI023895
	for <gpsd-dev@nongnu.org>; Sun, 8 Jan 2017 00:54:25 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 8 Jan 2017 00:54:24 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
Message-ID: <Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVZ0psAhbHyk6wTUZrM72VnuPbvCxll7EiG4zJP0IP2b3tO9A0nIM3hLq9Kxo4adaA2Yk6RS79SUAXkH02+YfTQY
X-Sonic-ID: C;JItFDoDV5hGU2xTn7CXqBA== M;LFtjDoDV5hGU2xTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jan 2017 08:54:34 -0000


On Sun, 8 Jan 2017, Fred Wright wrote:

> compiler.h include.  I looked at that a bit, and my inclination would be
> to move the compiler.h include to be before the conditional extern C
> (i.e., in "head"  rather than "tail"), rather than closing and reopening
> the latter.

It's not as simple as that, since gpsd_config.h relies on time.h.  Oh,
well.

Fred Wright


From MAILER-DAEMON Sun Jan 08 13:14:54 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cQHza-00081m-Bz
	for mharc-gpsd-dev@gnu.org; Sun, 08 Jan 2017 13:14:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41323)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jon.schlueter@gmail.com>) id 1cQHzX-00081f-QD
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 13:14:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jon.schlueter@gmail.com>) id 1cQHzW-0000cC-Ia
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 13:14:51 -0500
Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]:38432)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <jon.schlueter@gmail.com>)
	id 1cQHzW-0000c0-DS
	for gpsd-dev@nongnu.org; Sun, 08 Jan 2017 13:14:50 -0500
Received: by mail-it0-x22d.google.com with SMTP id x2so49522073itf.1
	for <gpsd-dev@nongnu.org>; Sun, 08 Jan 2017 10:14:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc; bh=uV7aIId/f+oixeqwqiibfvfID8exNSYjRqrUtta5i9A=;
	b=HXFUCBYewUVr7JwDNAKVbXM3Y91AUgr0891dzmUDLjM+wHVlIqZ80np6U4JXstv5IE
	BWSTlLeH3ftgEilw97dsSO3g2Sdk6TN0oND9FgBSVpIbch8EBUHQeZ7j3c+DQFl8sHeR
	LO+o+GVj3FQlixnpfKbemK2Ssnn7FbrDkZoDC4aLiS2jIKmJR0l2ZsZ7WdVfZ8qjpqHB
	lLzjJVodxutCN6WmPzm9obYK23bKE2dIDCaNUamNXE0P+WtgJ8KN6UXz5AYkrZYtKjHh
	56Y5KrkPCZGk/pVJuVpycdAbf/7DcOtcqeKg6rgjNCIFEfIiNr+ex8J5wm7qb5ynJ17z
	uz4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc;
	bh=uV7aIId/f+oixeqwqiibfvfID8exNSYjRqrUtta5i9A=;
	b=If05fYRSbI9TSUcJwYaQyDVEGGcFfM5B2Q5jR9c5WOkNdf49m5BQUZix/dyJMxlQ12
	rWAGBkTTLy9OPbPTIA/XNlQoT1X7YrmX/tApOJHNTJ0x9FMTScSkzYlsC4IQiMWMzLFf
	jDI2VyApD8yK+mAoylUraZBTvNDNf9EM6+068z6lRVpurzxYp9tkp3ocZJtRen1ql6LQ
	sk0SO3hI9n2CRJ74IX65oxEjVnr10XDmP9lPAiGHl15nVzOhfBmDxgxJH+ZL3Jvr/EfN
	qWtK0U/lOrloFSgxTObPOqVjj4GFuGdzHtGlXUIM6JrqGJ70D0uhlCFUKNZX6eiYiLCK
	XCtQ==
X-Gm-Message-State: AIkVDXJN35JKY0Mh4Z4a590egI+V7NopPeUIsxRy21BLWZZuMP48p+K91oZh9BVL/HQUcp33exGwPaR47qpoog==
X-Received: by 10.36.120.5 with SMTP id p5mr6461642itc.5.1483899287961; Sun,
	08 Jan 2017 10:14:47 -0800 (PST)
MIME-Version: 1.0
Received: by 10.79.6.73 with HTTP; Sun, 8 Jan 2017 10:14:46 -0800 (PST)
Received: by 10.79.6.73 with HTTP; Sun, 8 Jan 2017 10:14:46 -0800 (PST)
In-Reply-To: <Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
From: Jon Schlueter <jon.schlueter@gmail.com>
Date: Sun, 8 Jan 2017 13:14:46 -0500
Message-ID: <CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
To: Fred Wright <fw@fwright.net>
Cc: gpsd-dev list <gpsd-dev@nongnu.org>
Content-Type: multipart/alternative; boundary=001a114ac424f107070545993969
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4001:c0b::22d
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jan 2017 18:14:53 -0000

--001a114ac424f107070545993969
Content-Type: text/plain; charset=UTF-8

On Jan 8, 2017 3:54 AM, "Fred Wright" <fw@fwright.net> wrote:


On Sun, 8 Jan 2017, Fred Wright wrote:

> compiler.h include.  I looked at that a bit, and my inclination would be
> to move the compiler.h include to be before the conditional extern C
> (i.e., in "head"  rather than "tail"), rather than closing and reopening
> the latter.

It's not as simple as that, since gpsd_config.h relies on time.h.  Oh,
well.


I'm thinking right way of fixing this is untangling the qt support so that
all of the at implementations are in one or two CPP files with c calling
function declarations.  That I might be able to refractor in s couple hours
tonight. Keeping code flow the same just moving the c++ isms from at out of
the c files, and adjusting scons to match.

That should clear up a lot of the compile variations. As compiling c code
as c++ across platforms is a dusty corner we want to avoid.

Jon

--001a114ac424f107070545993969
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></=
div><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Jan 8,=
 2017 3:54 AM, &quot;Fred Wright&quot; &lt;<a href=3D"mailto:fw@fwright.net=
">fw@fwright.net</a>&gt; wrote:<br type=3D"attribution"><blockquote class=
=3D"quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><div class=3D"quoted-text"><br>
On Sun, 8 Jan 2017, Fred Wright wrote:<br>
<br>
&gt; compiler.h include.=C2=A0 I looked at that a bit, and my inclination w=
ould be<br>
&gt; to move the compiler.h include to be before the conditional extern C<b=
r>
&gt; (i.e., in &quot;head&quot;=C2=A0 rather than &quot;tail&quot;), rather=
 than closing and reopening<br>
&gt; the latter.<br>
<br>
</div>It&#39;s not as simple as that, since gpsd_config.h relies on time.h.=
=C2=A0 Oh,<br>
well.</blockquote></div></div></div><div dir=3D"auto"><br></div><div dir=3D=
"auto"><span style=3D"font-family:sans-serif">I&#39;m thinking right way of=
 fixing this is untangling the qt support so that all of the at implementat=
ions are in one or two CPP files with c calling function declarations.=C2=
=A0 That I might be able to refractor in s couple hours tonight. Keeping co=
de flow the same just moving the c++ isms from at out of the c files, and a=
djusting scons to match.</span></div><div dir=3D"auto"><span style=3D"font-=
family:sans-serif"><br></span></div><div dir=3D"auto"><span style=3D"font-f=
amily:sans-serif">That should clear up a lot of the compile variations. As =
compiling c code as c++ across platforms is a dusty corner we want to avoid=
.</span></div><div dir=3D"auto"><span style=3D"font-family:sans-serif"><br>=
</span></div><div dir=3D"auto"><span style=3D"font-family:sans-serif">Jon</=
span></div><div dir=3D"auto"><span style=3D"font-family:sans-serif"><br></s=
pan></div><div dir=3D"auto"><span style=3D"font-family:sans-serif"><br></sp=
an></div></div>

--001a114ac424f107070545993969--


From MAILER-DAEMON Tue Jan 10 16:50:45 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cR4JZ-0001m5-1P
	for mharc-gpsd-dev@gnu.org; Tue, 10 Jan 2017 16:50:45 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39984)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cR4JW-0001kG-Cr
	for gpsd-dev@nongnu.org; Tue, 10 Jan 2017 16:50:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cR4JV-0007H6-Lb
	for gpsd-dev@nongnu.org; Tue, 10 Jan 2017 16:50:42 -0500
Received: from rellim.com ([2001:470:e815::19]:40783 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <gem@rellim.com>)
	id 1cR4JT-00079G-4i; Tue, 10 Jan 2017 16:50:39 -0500
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id v0ALoKI4020503
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Tue, 10 Jan 2017 13:50:26 -0800
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com v0ALoKI4020503
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1484085026; bh=wxSkpoLZe2nwvrqW/VIVsOrdvm/Ksh6FYz7Zi4tFE3Q=;
	h=Date:From:To:Subject;
	b=pZaD/KAT49KLIpC6wKYwkudcQ76sZf+//BLgwogZ2hHYMELmDRmBb+SIbSnrg+h9y
	oFIsKjvzyVQ57Wlp/HPKTCDwzDg+hkDIBOQ94P3qrtNFeUat3v0ITknXZ7XaUCq793
	/9Px4EGBMWyzG2z59VvrOyCRI2/uB9bUCw9oVh1M=
Date: Tue, 10 Jan 2017 13:50:20 -0800
From: "Gary E. Miller" <gem@rellim.com>
To: gpsd dev <gpsd-dev@nongnu.org>, gpsd users <gpsd-users@nongnu.org>
Message-ID: <20170110135020.1288eecc@spidey.rellim.com>
Organization: Rellim
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/Nu50ec.UjD3CdUbLoKzsPBq";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6rc1
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Tue, 10 Jan 2017 13:50:26 -0800 (PST)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: [gpsd-dev] =?utf-8?q?=E2=9C=98_Unchanging_lat/lon/alt/time_error_?=
 =?utf-8?q?estimates?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jan 2017 21:50:43 -0000

--Sig_/Nu50ec.UjD3CdUbLoKzsPBq
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo All!

On Monday I uploaded some changes to fix unchanging lat/lon/alt/time
error estimates in the NMEA 183, SiRF and UBX drivers

I suspect other PGS have the same issue, but I'm reluctant to change
anythong I can not test.  If anyone has noticed this problem, please
pull git head and see if I fixed it, or if you can help me test more
fixes.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can=E2=80=99t measure it, you can=E2=80=99t improve it." - Lord=
 Kelvin

--Sig_/Nu50ec.UjD3CdUbLoKzsPBq
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYdVccAAoJEA0O2UlB0XnYd5YH/RGXaHLKzBRMRR9htXHlspqx
GYMIqzW5FiVyNnP6xw9qmToUpfMKNIrK9fSL5ls5jjmRTugnGVaU2IisybSToU+s
tgp80BNBjoReTgsY7tKPrnhXRHq6tIjgwVeCLTq/ywvh0mKxPn/BMB30XhBp1VqU
YDPgOXa2p+mvujqN+oxwysmXkVxN+KRFjeWFMu3k5YNXZ4NQnNy/nfOZwDd1zAD2
R5SDYRAxTpUKGuYahaSX4jX5MKu9fTrW5SwQ0Rq1lSppX8NjWIZPnExAL7DLwrtD
j5zGWKyWHeL2wV7cpaNkVRSmQ0Fw9yLtok0vCAVs1NXd35izK8aiWE3V2+zPUd8=
=+ALJ
-----END PGP SIGNATURE-----

--Sig_/Nu50ec.UjD3CdUbLoKzsPBq--


From MAILER-DAEMON Wed Jan 11 10:32:09 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cRKsj-0002g5-9g
	for mharc-gpsd-dev@gnu.org; Wed, 11 Jan 2017 10:32:09 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38225)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <loughlinjd@gmail.com>) id 1cRJl6-0002hN-Q2
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 09:20:13 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <loughlinjd@gmail.com>) id 1cRJl3-00026c-LY
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 09:20:12 -0500
Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]:32953)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <loughlinjd@gmail.com>)
	id 1cRJl3-00021H-H6; Wed, 11 Jan 2017 09:20:09 -0500
Received: by mail-oi0-x241.google.com with SMTP id j15so22052610oih.0;
	Wed, 11 Jan 2017 06:20:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=U9kS9ltL+TXHQcc1HNLuduQjWq4AKr7VuKNSvsb/jz4=;
	b=EMU1XJDwE1aQBvjhsanzgfIs+91NscCBFo39cV8ThvMwqMpvdN+6CkO9jXPt+9RRrB
	lCoMnA7/xYyCJBe2M2+Ue7OkspOlhvCbOJa+e6VqBjJw/8TYMaJUo+g2mm6MakBELIEa
	54dVJz/Me2iXvTttTqIB9yrnR6/BM+4+OsaiG2y565GlErELuswXqyj5KgMSkPEmfBEG
	bIlfMMAKnqS7jR1clDub+CB5zbPaz8wqP43qKfKDaxptztMJ8iZdEQ9JO0F7HPVv4/ey
	yU15gI3WV/erijyIqQYcEOZTNp/R2OoXpSosx0A6MrOHrbPS0eOduT86EyYsGrbqu7UR
	sJqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=U9kS9ltL+TXHQcc1HNLuduQjWq4AKr7VuKNSvsb/jz4=;
	b=hEPQionOCAKj31F8JSyuxtsgCZSXc+4GLp87zmjXqVO/GAqPI+7Jyg6INPNOLtUoJa
	cSxXddGY57hGwFaV0TLsjK8jVrL//sJGbEKFN4g5CtsNfgSAQf9gbZL3s3cuRjtij5Fr
	yTs2QYZZxlHjHnrbmr7s2N3uvhKmsEIbQrw3mvVlo0oOpAmDxGbATb9Uk1v0f356p2El
	N/SW0kNRPD9A9p8QtDAji7AeRFU4z0ZRKkmwUYBXyp/8fI2uQsEZJFytpWwSEmE8xOmp
	tktXF5DXsvqqrYhWxG49Uou83+HawR4aRtmZg60FhJJ707L3/s/CeB8VrnYqjNEIKzNk
	dsRA==
X-Gm-Message-State: AIkVDXKoKMN49w5hxhkzrBduVE47zWGpPFeSIjRVgMvshcwUySEfI15hFBvArEiDbF5FFw==
X-Received: by 10.157.32.202 with SMTP id x68mr4142648ota.192.1484144406614;
	Wed, 11 Jan 2017 06:20:06 -0800 (PST)
Received: from [192.168.11.83]
	(209-23-229-210-ip-static.hfc.comcastbusiness.net. [209.23.229.210])
	by smtp.gmail.com with ESMTPSA id e69sm2474889ote.7.2017.01.11.06.20.05
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Wed, 11 Jan 2017 06:20:06 -0800 (PST)
Content-Type: multipart/alternative;
	boundary=Apple-Mail-779D226C-262D-446C-A9BB-B8A18DC09E0D
Mime-Version: 1.0 (1.0)
From: Jeff Loughlin <loughlinjd@gmail.com>
X-Mailer: iPhone Mail (14C92)
In-Reply-To: <20170110135020.1288eecc@spidey.rellim.com>
Date: Wed, 11 Jan 2017 09:20:05 -0500
Cc: gpsd dev <gpsd-dev@nongnu.org>, gpsd users <gpsd-users@nongnu.org>
Content-Transfer-Encoding: 7bit
Message-Id: <13E42F5E-AA1C-4BEA-9AF4-24F39210CF9A@gmail.com>
References: <20170110135020.1288eecc@spidey.rellim.com>
To: "Gary E. Miller" <gem@rellim.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4003:c06::241
X-Mailman-Approved-At: Wed, 11 Jan 2017 10:32:08 -0500
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=5Bgpsd-users=5D_=E2=9C=98_Unchanging_lat/l?=
 =?utf-8?q?on/alt/time_error_estimates?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2017 14:20:13 -0000


--Apple-Mail-779D226C-262D-446C-A9BB-B8A18DC09E0D
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

I had this problem (posted here about it a few months ago - http://lists.non=
gnu.org/archive/html/gpsd-users/2016-10/msg00010.html).=20

Your fix seems to have taken care of it. I'm using the NMEA 183 driver (Adaf=
ruit Ultimate GPS Module). =20


> On Jan 10, 2017, at 4:50 PM, Gary E. Miller <gem@rellim.com> wrote:
>=20
> Yo All!
>=20
> On Monday I uploaded some changes to fix unchanging lat/lon/alt/time
> error estimates in the NMEA 183, SiRF and UBX drivers
>=20
> I suspect other PGS have the same issue, but I'm reluctant to change
> anythong I can not test.  If anyone has noticed this problem, please
> pull git head and see if I fixed it, or if you can help me test more
> fixes.
>=20
> RGDS
> GARY
> --------------------------------------------------------------------------=
-
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>    gem@rellim.com  Tel:+1 541 382 8588
>=20
>        Veritas liberabit vos. -- Quid est veritas?
>    "If you can=E2=80=99t measure it, you can=E2=80=99t improve it." - Lord=
 Kelvin

--Apple-Mail-779D226C-262D-446C-A9BB-B8A18DC09E0D
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div></div><div>I had this problem (posted h=
ere about it a few months ago -&nbsp;<a href=3D"http://lists.nongnu.org/arch=
ive/html/gpsd-users/2016-10/msg00010.html">http://lists.nongnu.org/archive/h=
tml/gpsd-users/2016-10/msg00010.html</a>).&nbsp;</div><div><br></div><div>Yo=
ur fix seems to have taken care of it. I'm using the NMEA 183 driver (Adafru=
it Ultimate GPS Module). &nbsp;</div><div><br></div><div><br>On Jan 10, 2017=
, at 4:50 PM, Gary E. Miller &lt;<a href=3D"mailto:gem@rellim.com">gem@relli=
m.com</a>&gt; wrote:<br><br></div><blockquote type=3D"cite"><div><span>Yo Al=
l!</span><br><span></span><br><span>On Monday I uploaded some changes to fix=
 unchanging lat/lon/alt/time</span><br><span>error estimates in the NMEA 183=
, SiRF and UBX drivers</span><br><span></span><br><span>I suspect other PGS h=
ave the same issue, but I'm reluctant to change</span><br><span>anythong I c=
an not test. &nbsp;If anyone has noticed this problem, please</span><br><spa=
n>pull git head and see if I fixed it, or if you can help me test more</span=
><br><span>fixes.</span><br><span></span><br><span>RGDS</span><br><span>GARY=
</span><br><span>-----------------------------------------------------------=
----------------</span><br><span>Gary E. Miller Rellim 109 NW Wilmington Ave=
., Suite E, Bend, OR 97703</span><br><span> &nbsp; &nbsp;<a href=3D"mailto:g=
em@rellim.com">gem@rellim.com</a> &nbsp;Tel:+1 541 382 8588</span><br><span>=
</span><br><span> &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;Veritas liberabit vos. -- Q=
uid est veritas?</span><br><span> &nbsp;&nbsp;&nbsp;"If you can=E2=80=99t me=
asure it, you can=E2=80=99t improve it." - Lord Kelvin</span><br></div></blo=
ckquote></body></html>=

--Apple-Mail-779D226C-262D-446C-A9BB-B8A18DC09E0D--


From MAILER-DAEMON Wed Jan 11 14:48:16 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cROsa-0008Tw-4V
	for mharc-gpsd-dev@gnu.org; Wed, 11 Jan 2017 14:48:16 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48221)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cROsX-0008Re-Ms
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 14:48:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cROsW-0008P0-V3
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 14:48:13 -0500
Received: from rellim.com ([2001:470:e815::19]:40381 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <gem@rellim.com>)
	id 1cROsU-0008OQ-Iz; Wed, 11 Jan 2017 14:48:10 -0500
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id v0BJm3mb012144
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Wed, 11 Jan 2017 11:48:09 -0800
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com v0BJm3mb012144
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1484164089; bh=9Toj73vq1SHABil0Cjex9nSgpvXAMq7CdUBF3wNwlcw=;
	h=Date:From:Cc:Subject:In-Reply-To:References;
	b=YS7y0FUgujB/sQW5ci3RRDqGrkiu/HLTpcnKFfBp64AvtdLM/UYBrQz1cKjSIAIVw
	88I0XwMcRXuaKDfoQJz/8PoKexCPj2NRtpQzJj7bzk5Z3jvUV2cCnuLqIXwgiAoylE
	SwurVyspAY6AaJWwVsAD9/vagPH+N4e2at9R6Kgs=
Date: Wed, 11 Jan 2017 11:48:03 -0800
From: "Gary E. Miller" <gem@rellim.com>
Cc: gpsd dev <gpsd-dev@nongnu.org>, gpsd users <gpsd-users@nongnu.org>
Message-ID: <20170111114803.11df54dc@spidey.rellim.com>
In-Reply-To: <13E42F5E-AA1C-4BEA-9AF4-24F39210CF9A@gmail.com>
References: <20170110135020.1288eecc@spidey.rellim.com>
	<13E42F5E-AA1C-4BEA-9AF4-24F39210CF9A@gmail.com>
Organization: Rellim
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/Zy..dZ4LdtlPtE_1h2Gvnui";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6rc1
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Wed, 11 Jan 2017 11:48:09 -0800 (PST)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=5Bgpsd-users=5D_=E2=9C=98_Unchanging_lat/l?=
 =?utf-8?q?on/alt/time_error_estimates?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2017 19:48:14 -0000

--Sig_/Zy..dZ4LdtlPtE_1h2Gvnui
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Jeff!

On Wed, 11 Jan 2017 09:20:05 -0500
Jeff Loughlin <loughlinjd@gmail.com> wrote:

> I had this problem (posted here about it a few months ago -
> http://lists.nongnu.org/archive/html/gpsd-users/2016-10/msg00010.html).=20
>=20
> Your fix seems to have taken care of it. I'm using the NMEA 183
> driver (Adafruit Ultimate GPS Module). =20

Good.  Thanks for the report.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can=E2=80=99t measure it, you can=E2=80=99t improve it." - Lord=
 Kelvin

--Sig_/Zy..dZ4LdtlPtE_1h2Gvnui
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYdovzAAoJEA0O2UlB0XnYQBgIAJAAJbJHlMUeObEMkLOQTUJU
Y1bavvR2NAEMiJG5Y6LU+gRmNCpGL4jTlxWpLFfR029j9R9O/jzx/R0E51EJVHEA
+LSciYWhwJ8AFaEXEjiMpMAMyow3XO59C7bDbAp8WCU8cNxN5JuVcgaLx9Z4jUuF
ta4o+hAb62fVWFliWIaXvjwmMSCZ1G3ITsYSDlx9E0Y0JBVKqiFiYFd9R1gdlDF/
brZjYc65qYoB+Ug4deXKuizDPU+adA0tbhhMEaQBo7E0uSpqy7WLlLBc4wZCJllx
ZhlSVrjqZk6lwXllg8pTwLNn81sjiM/b2k/u+BQMZbbAGRnwCUcD17CYSWAKmFY=
=w2CD
-----END PGP SIGNATURE-----

--Sig_/Zy..dZ4LdtlPtE_1h2Gvnui--


From MAILER-DAEMON Wed Jan 11 15:34:43 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cRPbX-0004tK-GO
	for mharc-gpsd-dev@gnu.org; Wed, 11 Jan 2017 15:34:43 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58056)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cRPbU-0004r1-PX
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 15:34:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cRPbR-0006tO-Gc
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 15:34:40 -0500
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:49566)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cRPbQ-0006rh-K9
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 15:34:37 -0500
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 9D5A1406061; 
	Wed, 11 Jan 2017 12:34:25 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: gpsd dev <gpsd-dev@nongnu.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Wed,
	11 Jan 2017 11:48:03 PST." <20170111114803.11df54dc@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 11 Jan 2017 12:34:25 -0800
Message-Id: <20170111203425.9D5A1406061@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=5Bgpsd-users=5D_=E2=9C=98_Unchanging_lat/l?=
 =?utf-8?q?on/alt/time_error_estimates?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2017 20:34:41 -0000


>From Jeff's message a month ago:
  http://lists.nongnu.org/archive/html/gpsd-users/2016-10/msg00010.html

> I'm now setting up a new RPi 3 to replace it.  I installed gpsd version
> 3.16, built from source. Same GPS unit (Adafruit Ultimate GPS module).  My
> application uses libgps, and everything seems to work fine except that the
> values in gps_data->fix.epx and gps_data->fix.epy never change.  I use those
> values to display an accuracy ellipse on a map, which is important for my
> application.

How come the test stuff didn't catch that?


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Wed Jan 11 16:20:34 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cRQJu-0001kU-KZ
	for mharc-gpsd-dev@gnu.org; Wed, 11 Jan 2017 16:20:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40581)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cRQJs-0001ig-Ab
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:20:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cRQJr-0001E4-06
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:20:32 -0500
Received: from rellim.com ([2001:470:e815::19]:55631 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <gem@rellim.com>) id 1cRQJq-0001Da-OD
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:20:30 -0500
Received: from spidey.rellim.com (dave.rellim.com
	[IPv6:2001:470:e815:0:0:0:0:19] (may be forged))
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id v0BLK9qB015357
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Wed, 11 Jan 2017 13:20:15 -0800
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com v0BLK9qB015357
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1484169615; bh=GMc8l/+eAc4LUIbX6+n1OBKkCbIBkI+juG8XoPCwQzM=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=F+bUiOR0l+kckGvnhAiYH9o/lmb4ndwbnxNekn+FpvoTTZWaghN3YIHP2XOdHjKm8
	JNxjkwfl2gsrClEynBjD+7vsTNornjtyAqrpSZxsi89Wqv9Pmc8f3bcYtWhf1qfSe4
	ob6raHB41414KUulT4NEMnUHdHc6bZzbu/tsr3PU=
Date: Wed, 11 Jan 2017 13:20:09 -0800
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20170111132009.31154d66@spidey.rellim.com>
In-Reply-To: <20170111203425.9D5A1406061@ip-64-139-1-69.sjc.megapath.net>
References: <20170111114803.11df54dc@spidey.rellim.com>
	<20170111203425.9D5A1406061@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/DaH=./A9Q28xfCk1j2PfxvK";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6rc1
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Wed, 11 Jan 2017 13:20:15 -0800 (PST)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=5Bgpsd-users=5D_=E2=9C=98_Unchanging_lat/l?=
 =?utf-8?q?on/alt/time_error_estimates?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2017 21:20:33 -0000

--Sig_/DaH=./A9Q28xfCk1j2PfxvK
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Wed, 11 Jan 2017 12:34:25 -0800
Hal Murray <hmurray@megapathdsl.net> wrote:

> From Jeff's message a month ago:
>   http://lists.nongnu.org/archive/html/gpsd-users/2016-10/msg00010.html
>=20
> > I'm now setting up a new RPi 3 to replace it.  I installed gpsd
> > version 3.16, built from source. Same GPS unit (Adafruit Ultimate
> > GPS module).  My application uses libgps, and everything seems to
> > work fine except that the values in gps_data->fix.epx and
> > gps_data->fix.epy never change.  I use those values to display an
> > accuracy ellipse on a map, which is important for my application. =20
>=20
> How come the test stuff didn't catch that?

Because some people just rebuilt the regressions after a bad change and
do not go back and eyeball the changed results for correctness.

Also,,, most of the regressions are short snippets and to see this
problem you need maybe a few minutes of data with a changing skyview.

If you care a quick look in the git log will show who to blame.  I'm sure
you can find where I have made that mistake too.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can=E2=80=99t measure it, you can=E2=80=99t improve it." - Lord=
 Kelvin

--Sig_/DaH=./A9Q28xfCk1j2PfxvK
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYdqGJAAoJEA0O2UlB0XnYp2gH/iKADUIDVyxPXvVjkawkmjKt
9A350FZHCAl7FWRMeqXK7Sza3auLEcbxVu/4e5GU2is3kiD5XrEBOst/vtaMyNvL
FqG1mB9B/LevkKZD9YDYwvHuVPnCLk9D8B4qg43g2NTsbdkKbzr8/tzc6aYcf5Bk
TaUwRJEZG+9ZS9L59b5Owp9d4GZkrII2NojuyrjvXC7629Y8AQ788KZkmim67SvX
/mE5tknO2mYTjj60z72pNxKMPytsexmvgcKaqzuQD3UAWWf/c5TaaQfKBlw6n0pS
Nl0Ch8hZwWwkUOXY/uWCP9qhaxFk+Of6g3zL91wD+zKyS8QH8qe7wOT8pTE3XtE=
=vOFe
-----END PGP SIGNATURE-----

--Sig_/DaH=./A9Q28xfCk1j2PfxvK--


From MAILER-DAEMON Wed Jan 11 16:42:07 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cRQek-0005Wl-R6
	for mharc-gpsd-dev@gnu.org; Wed, 11 Jan 2017 16:42:06 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45840)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cRQei-0005V3-CV
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:42:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cRQef-00016P-5z
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:42:04 -0500
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:52278)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cRQee-00014V-85
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:42:01 -0500
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 590DD406061; 
	Wed, 11 Jan 2017 13:41:55 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: "Gary E. Miller" <gem@rellim.com>
cc: Hal Murray <hmurray@megapathdsl.net>, gpsd dev <gpsd-dev@nongnu.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Gary E. Miller" <gem@rellim.com> of "Wed,
	11 Jan 2017 13:20:09 PST." <20170111132009.31154d66@spidey.rellim.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 11 Jan 2017 13:41:55 -0800
Message-Id: <20170111214155.590DD406061@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=5Bgpsd-users=5D_=E2=9C=98_Unchanging_lat/l?=
 =?utf-8?q?on/alt/time_error_estimates?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2017 21:42:05 -0000


gem@rellim.com said:
> Also,,, most of the regressions are short snippets and to see this problem
> you need maybe a few minutes of data with a changing skyview. 

Should we collect one sample that is long enough to show things changing?

Do we need several minutes, or just a few seconds that straddles a change?


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Wed Jan 11 16:58:00 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cRQu8-0000x7-7o
	for mharc-gpsd-dev@gnu.org; Wed, 11 Jan 2017 16:58:00 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50133)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cRQu5-0000wy-VN
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:57:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gem@rellim.com>) id 1cRQu5-0007LM-5s
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:57:58 -0500
Received: from rellim.com ([2001:470:e815::19]:54505 helo=spidey.rellim.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <gem@rellim.com>) id 1cRQu4-0007DA-VM
	for gpsd-dev@nongnu.org; Wed, 11 Jan 2017 16:57:57 -0500
Received: from spidey.rellim.com (rellim.com [IPv6:2001:470:e815:0:0:0:0:19])
	(authenticated bits=0)
	by spidey.rellim.com (8.15.2/8.15.2) with ESMTPSA id v0BLvQAj006969
	(version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); 
	Wed, 11 Jan 2017 13:57:31 -0800
DKIM-Filter: OpenDKIM Filter v2.10.3 spidey.rellim.com v0BLvQAj006969
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rellim.com; s=kong;
	t=1484171853; bh=iskIJvQhf2OANoRnfQ7NKqbz89dq8+fQv91TunQpgtU=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=t/pzrnnzT+gMS0kl0KaFynE9lFT3rBrm/v89R27ItkGtD2bgeqe4qLf19vgdZCxaM
	dclQ8KboYk77vz2IoOxNAmuk8eiX4nG0beQu8vj5zgsJAPDCD8mBqwBjaEd0xvBr0y
	Eui+ISY5jziUaV713taOOYcUbOCbRhxGEvsq/HbY=
Date: Wed, 11 Jan 2017 13:57:26 -0800
From: "Gary E. Miller" <gem@rellim.com>
To: Hal Murray <hmurray@megapathdsl.net>
Cc: gpsd dev <gpsd-dev@nongnu.org>
Message-ID: <20170111135726.5268f29e@spidey.rellim.com>
In-Reply-To: <20170111214155.590DD406061@ip-64-139-1-69.sjc.megapath.net>
References: <20170111132009.31154d66@spidey.rellim.com>
	<20170111214155.590DD406061@ip-64-139-1-69.sjc.megapath.net>
Organization: Rellim
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	boundary="Sig_/eCJfql41BKzJdM1eVkWcA_z";
	protocol="application/pgp-signature"
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6rc1
	(spidey.rellim.com [IPv6:2001:470:e815:0:0:0:0:19]);
	Wed, 11 Jan 2017 13:57:33 -0800 (PST)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2001:470:e815::19
Subject: Re: [gpsd-dev] 
 =?utf-8?q?=5Bgpsd-users=5D_=E2=9C=98_Unchanging_lat/l?=
 =?utf-8?q?on/alt/time_error_estimates?=
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2017 21:57:58 -0000

--Sig_/eCJfql41BKzJdM1eVkWcA_z
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Yo Hal!

On Wed, 11 Jan 2017 13:41:55 -0800
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > Also,,, most of the regressions are short snippets and to see this
> > problem you need maybe a few minutes of data with a changing
> > skyview.  =20
>=20
> Should we collect one sample that is long enough to show things
> changing?

I added a UBX sample that is long enough.  All the others I could test
were long enough (NMEA 183, SiRF).  That still leaves a lot I can not
test.

> Do we need several minutes, or just a few seconds that straddles a
> change?

You just need two changes of a sentence with SATEELLITE_IS set.  That
may take 10 seconds, it may take a lot longer.

I guess I'll dig out an old Garmin to try.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem@rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can=E2=80=99t measure it, you can=E2=80=99t improve it." - Lord=
 Kelvin

--Sig_/eCJfql41BKzJdM1eVkWcA_z
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJYdqpGAAoJEA0O2UlB0XnYiCsH/3C9gIl+U9wCUo9Yow4DWZD1
XHQczF5m006puTddXsvtB0+PFYimoTRHlRy1ouBla474/TAlvNRywPZhgx9s1rYQ
2xQmbY/l/8kFOgGrwzX9gF6Lj0a1H6inWV5tCr3Lrpn0WBFyxm0lEI0N5evovMrE
Xy7zDBSEw7f2nsMWas4pLTpDm6KTmuRlO8jKnAiptGLMdv8lRQhv32RNG2f1D1f4
10lHR68nvlX2e+crq+xISTd9IGQJhfD2WPg0A1M87tkg3jYKe2zYDbltYSY8gOFd
GMWDkfdoVres+DF+ZXqYwQrBlUxxrk2a6H+ixcvAcLUW2+jURiQ4MyludszXepM=
=g98h
-----END PGP SIGNATURE-----

--Sig_/eCJfql41BKzJdM1eVkWcA_z--


From MAILER-DAEMON Thu Jan 12 22:07:56 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cRsDb-0002ft-UU
	for mharc-gpsd-dev@gnu.org; Thu, 12 Jan 2017 22:07:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51737)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cRsDZ-0002df-3f
	for gpsd-dev@nongnu.org; Thu, 12 Jan 2017 22:07:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cRsDW-0007dW-0I
	for gpsd-dev@nongnu.org; Thu, 12 Jan 2017 22:07:53 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:51958)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cRsDV-0007ci-Lu
	for gpsd-dev@nongnu.org; Thu, 12 Jan 2017 22:07:49 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0D37hNu003182
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Thu, 12 Jan 2017 19:07:43 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0D37h5j024160
	for <gpsd-dev@nongnu.org>; Thu, 12 Jan 2017 19:07:43 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0D37hfm024156
	for <gpsd-dev@nongnu.org>; Thu, 12 Jan 2017 19:07:43 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Thu, 12 Jan 2017 19:07:42 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <Pine.LNX.4.58L1X.1701121838360.4182@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVY6IeLrjLFK6V3OBGmceLojMGoMjmbKR9wKFjBOul6qYRWQmCPfYb36m5EDSLXLQO0w6r1WESMJ2FNpWmKMxZPH
X-Sonic-ID: C;3g5kcz3Z5hGD0xTn7CXqBA== M;8AuWcz3Z5hGD0xTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: [gpsd-dev] New gpsmon Problem
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jan 2017 03:07:54 -0000


Just a heads-up that I'm looking into a recently introduced problem with
gpsmon on some platforms.  I've tracked it down to a conspiracy among at
least two bugs in gpsmon itself and the *removal* of a bug in the
SConstruct script, as follows:

1) There's code in SConstruct to force pps=no when neither RFC2783 nor
TIOCMIWAIT support is available.  But, prior to 1b0eb63a, this code was
*after* PPS_ENABLE was written to gpsd_config.h, so it wasn't really
effective (which explains why I've seen varous pointless PPS-related log
messages on my PPS-incapable Mac).  Now that the code has been fixed to
have the intended effect, systems forcing pps=no no longer incorrectly
define PPS_ENABLE.

2) There's host vs. target confusion in gpsmon.  Since it can report data
from remote gpsds, the lack of PPS support on the *host* shouldn't prevent
it from reporting remote PPS info.  But currently, PPS_ENABLE is required
just to *report* PPS info, regardless of source.

3) When gpsmon's reporting of PPS info is disabled, the display handling
is screwed up, in a driver-dependent fashion.

At this point, #1 and #2 are fully understood, but #3 needs further
investigation.  I expect that fixing #2 would go back to sweeping #3 under
the rug, but it's probably worth at least some effort to track it down.

This isn't observable in the default Linux build, but it is if you build
with pps=no.

Fred Wright


From MAILER-DAEMON Fri Jan 13 11:07:06 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cS4Nd-00006E-VI
	for mharc-gpsd-dev@gnu.org; Fri, 13 Jan 2017 11:07:06 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39882)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gregory.0xf0@gmail.com>) id 1cRzJL-0007hJ-Gy
	for gpsd-dev@nongnu.org; Fri, 13 Jan 2017 05:42:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gregory.0xf0@gmail.com>) id 1cRzJK-0001KJ-Mg
	for gpsd-dev@nongnu.org; Fri, 13 Jan 2017 05:42:19 -0500
Received: from mail-qt0-x22a.google.com ([2607:f8b0:400d:c0d::22a]:33447)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <gregory.0xf0@gmail.com>)
	id 1cRzJK-0001Jk-HX
	for gpsd-dev@nongnu.org; Fri, 13 Jan 2017 05:42:18 -0500
Received: by mail-qt0-x22a.google.com with SMTP id v23so43722129qtb.0
	for <gpsd-dev@nongnu.org>; Fri, 13 Jan 2017 02:42:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:from:date:message-id:subject:to;
	bh=MaPqPhMZgQRaMkvLR/dwUU0lL9oOM9VlLFkC/+Bv5JI=;
	b=oUk2epS0y5otNjn7AKSyjfNDC5RBAUJ8UcIv0DF7acHDxfkyspC6a+R08CFhNGOcs1
	PJgb420kDu32PRx6aYyfoIIotQgxxi3dYZf1nV7/0B41qzB5wkIwhGl4eRyADy4q4djL
	slAzB+HKKegiAOPhGR2T6rAjdT+q8+KZuBoakth5E4MPUHne7j1FcMMUoNUKJP7IuagD
	EQAfbKFSIwZhJuCTA2FQ8SA1ERGXry0FwRan6RDxakAgv4aJjgOrvu7UttnkuEy58N8a
	rlmDr4rAHD0imF9DvDwfhZIt8DxivRy+AKtRQiiwvXGKMqdANYD63bptHdk665tS/GNv
	o1aw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
	bh=MaPqPhMZgQRaMkvLR/dwUU0lL9oOM9VlLFkC/+Bv5JI=;
	b=oyTKy1gEyfNKST6oX38q3zMLefRsRBzrXXdLBe2XoELmgxp0a9OH//ZFQWWr2DGELx
	ec/TB5ny4TOmjl0Ly6Y7SmVWUxoC7tbcPYaF8XqZaGwD6jkoEPPoV6QRJcPCXJm2/MHE
	dc8yhljX462k9ylIQZEC4Tvox+13ZczxGHoU8Q7ACEIT9gWybqs9m07O58pr5kIoNcBT
	cQS3LQlEPulUKSs3N59TcGuyOynGwIfa9PyORatpukiDtgK+gxn1LnCoiU56EOIWYQTG
	ZZzP/dxOMlvlEOQ+551y08OVrgc/bXsuAqwLs2dn0XDeMz+S19KhiKRfzhHhKEUMuFcK
	8c3w==
X-Gm-Message-State: AIkVDXLIYFM/dAFx/1OobHfJyXrqMUhCD34PhU+XmJyACqwuigBYKY2vpAGDgYgJYpIUSgwYMS24naFtOaz6SQ==
X-Received: by 10.237.39.5 with SMTP id n5mr9476315qtd.38.1484304137698; Fri,
	13 Jan 2017 02:42:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.131.164 with HTTP; Fri, 13 Jan 2017 02:41:47 -0800 (PST)
From: Gregory Fong <gregory.0xf0@gmail.com>
Date: Fri, 13 Jan 2017 02:41:47 -0800
Message-ID: <CADtm3G50t85yMuhOUUYXH3t0eVO2tkeri3zcpVWOpcug52W7WA@mail.gmail.com>
To: gpsd-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:400d:c0d::22a
X-Mailman-Approved-At: Fri, 13 Jan 2017 11:07:04 -0500
Subject: [gpsd-dev] gpsd_config.h in release tarballs can break rebuild
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jan 2017 10:42:23 -0000

Hello,

The following commit had a side-effect of adding gpsd_config.h to the
release tarball by adding gpsd_config.h to generated_sources in
SConstruct:

  commit eafd2ee908832f18b56f2ba986fde17a378e4791
  Author: Sanjeev Gupta <ghane0@gmail.com>
  Date:   Fri Apr 3 23:26:03 2015 +0800

      Remove generated source file gpsd_config.h when cleaning scons

This leads to a subtle build issue if the following steps are taken on
a machine that will end up generating a different gpsd_config.h than
the shipped version:

1. unpack gpsd 3.15+ release tarball
2. build gpsd
3. unpack tarball to the same location again
4. try to build gpsd, but it will fail---despite having an old
timestamp (from time of release), gpsd_config.h will not be recreated
because all of the results for the cached configuration tests in
.sconf_test are unchanged from the previous run, so SConf thinks the
file is up to date.

I've encountered the issue when using OpenEmbedded's bitbake tool---if
the gpsd recipe is updated, the build directory is not wiped and
replaced, but instead repopulated with files from the tarball.  Other
build systems may do the same thing.  What makes this extremely
misleading is that all of the cached results are printed to the
console, suggesting that scons happily probed the system configuration
and generated the config when it did not!

A simple solution to this is to do the same thing that's currently
done for timebase.h and mark it as AlwaysBuild in SConstruct, i.e.

  gpsd_config = env.Textfile(target="gpsd_config.h", source=confdefs)
  env.AlwaysBuild(gpsd_config)

Another would be to remove this from the release tarball, since it has
to be generated anyway.  Thoughts on what would be better?

Thanks and regards,
Gregory


From MAILER-DAEMON Sun Jan 15 21:18:47 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cSwsh-0005lK-8U
	for mharc-gpsd-dev@gnu.org; Sun, 15 Jan 2017 21:18:47 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43010)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cSwse-0005kH-RV
	for gpsd-dev@nongnu.org; Sun, 15 Jan 2017 21:18:45 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cSwsb-00066N-M8
	for gpsd-dev@nongnu.org; Sun, 15 Jan 2017 21:18:44 -0500
Received: from d.mail.sonic.net ([64.142.111.50]:39522)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cSwsb-00065q-C6
	for gpsd-dev@nongnu.org; Sun, 15 Jan 2017 21:18:41 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0G2IZ0f024162
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sun, 15 Jan 2017 18:18:35 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0G2IZU9012435
	for <gpsd-dev@nongnu.org>; Sun, 15 Jan 2017 18:18:35 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0G2IYqD012404
	for <gpsd-dev@nongnu.org>; Sun, 15 Jan 2017 18:18:35 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 15 Jan 2017 18:18:33 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <CADtm3G50t85yMuhOUUYXH3t0eVO2tkeri3zcpVWOpcug52W7WA@mail.gmail.com>
Message-ID: <Pine.LNX.4.58L1X.1701151807460.4534@bolt.sonic.net>
References: <CADtm3G50t85yMuhOUUYXH3t0eVO2tkeri3zcpVWOpcug52W7WA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbUK1yCeKu9sdADdO1OzEUZiXZiATECNh9Mh8tj9uUuV04jBeXpvDOT7BXIMoJd/LDMBEmT68SOlzMn1QsALIMe
X-Sonic-ID: C;Ls2dFZLb5hG4PPIb5pbgmg== M;0pS+FZLb5hG4PPIb5pbgmg==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.50
Subject: Re: [gpsd-dev] gpsd_config.h in release tarballs can break rebuild
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jan 2017 02:18:45 -0000


On Fri, 13 Jan 2017, Gregory Fong wrote:

> The following commit had a side-effect of adding gpsd_config.h to the
> release tarball by adding gpsd_config.h to generated_sources in
> SConstruct:
>
>   commit eafd2ee908832f18b56f2ba986fde17a378e4791
>   Author: Sanjeev Gupta <ghane0@gmail.com>
>   Date:   Fri Apr 3 23:26:03 2015 +0800
>
>       Remove generated source file gpsd_config.h when cleaning scons
>
> This leads to a subtle build issue if the following steps are taken on
[...]
> build systems may do the same thing.  What makes this extremely
> misleading is that all of the cached results are printed to the
> console, suggesting that scons happily probed the system configuration
> and generated the config when it did not!

Actually, it *obtained* the correct configuration, it just didn't *use* it
properly. :-)

> A simple solution to this is to do the same thing that's currently
> done for timebase.h and mark it as AlwaysBuild in SConstruct, i.e.
>
>   gpsd_config = env.Textfile(target="gpsd_config.h", source=confdefs)
>   env.AlwaysBuild(gpsd_config)

In general I'd be inclined to us AlwaysBuild sparingly, though admittedly
in this case it wouldn't be very expensive.

> Another would be to remove this from the release tarball, since it has
> to be generated anyway.  Thoughts on what would be better?

This seems to me to be the better approach, but the larger question is why
*anything* in generated_sources is being included in the tarball.  The
commit referenced here seems perfectly reasonable; the more questionable
line is:

2283:    distfiles += generated_sources

Anyone know why it's doing this?

Also note that the following line is doing something similar for the
generated manpages, though that might be intentional as a fallback for
cases where the man-building tools aren't available.

Fred Wright


From MAILER-DAEMON Sun Jan 15 22:04:08 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cSxaa-0008DX-9V
	for mharc-gpsd-dev@gnu.org; Sun, 15 Jan 2017 22:04:08 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49177)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cSxaY-0008DR-7Y
	for gpsd-dev@nongnu.org; Sun, 15 Jan 2017 22:04:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cSxaV-0000kQ-4t
	for gpsd-dev@nongnu.org; Sun, 15 Jan 2017 22:04:06 -0500
Received: from ip-64-139-1-69.sjc.megapath.net ([64.139.1.69]:54085)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <hmurray@megapathdsl.net>) id 1cSxaU-0000gE-SQ
	for gpsd-dev@nongnu.org; Sun, 15 Jan 2017 22:04:03 -0500
Received: from shuksan (localhost [127.0.0.1])
	by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 85079406076; 
	Sun, 15 Jan 2017 19:03:58 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Fred Wright <fw@fwright.net>
cc: GPSD Developers List <gpsd-dev@nongnu.org>,
	hmurray@megapathdsl.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Fred Wright <fw@fwright.net> of "Sun,
	15 Jan 2017 18:18:33 PST."
	<Pine.LNX.4.58L1X.1701151807460.4534@bolt.sonic.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 15 Jan 2017 19:03:58 -0800
Message-Id: <20170116030358.85079406076@ip-64-139-1-69.sjc.megapath.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.139.1.69
Subject: Re: [gpsd-dev] gpsd_config.h in release tarballs can break rebuild
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jan 2017 03:04:07 -0000


fw@fwright.net said:
> 2283:    distfiles += generated_sources
> Anyone know why it's doing this? 

I don't know anything about this example, but there is a class of files that 
get built from source but don't change with options or environment.  If the 
tools to do that are not common, it might make sense to include those files 
in the tarball so the end user doesn't have to install those tools.

One example is bison/yacc.


-- 
These are my opinions.  I hate spam.





From MAILER-DAEMON Tue Jan 17 00:09:34 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cTM1W-0005Qx-Jj
	for mharc-gpsd-dev@gnu.org; Tue, 17 Jan 2017 00:09:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34354)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gregory.0xf0@gmail.com>) id 1cTM1U-0005QD-A0
	for gpsd-dev@nongnu.org; Tue, 17 Jan 2017 00:09:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gregory.0xf0@gmail.com>) id 1cTM1P-00005x-Ci
	for gpsd-dev@nongnu.org; Tue, 17 Jan 2017 00:09:32 -0500
Received: from mail-it0-x243.google.com ([2607:f8b0:4001:c0b::243]:35930)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <gregory.0xf0@gmail.com>)
	id 1cTM1P-0008WB-7q
	for gpsd-dev@nongnu.org; Tue, 17 Jan 2017 00:09:27 -0500
Received: by mail-it0-x243.google.com with SMTP id o138so14440972ito.3
	for <gpsd-dev@nongnu.org>; Mon, 16 Jan 2017 21:09:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=from:date:to:cc:subject:message-id:references:mime-version
	:content-disposition:in-reply-to:user-agent;
	bh=B+OLepBsV/AeoLwjmQJEA18H7BP4yoTBi0AhiXd89yk=;
	b=Xmw0mQmvHuS/jjZc3otmtVJ9d9/Sb8Zix/rLiO5xhmwyfcSTuhRe2mdBO8dqqK6yIC
	oqrE8qkO1QJapGSd3Wp/GE/+GbdWW/fQr/f0fQsS5Ep35z1/IPnDHLXrDs0aWKTHUfwC
	MwyG/i9u1QrhFABuhhksj8xgJeymPD6k0S5IMqKCgt9NC5jPLxlONRooWy93R9Xj6Tzc
	sYGGxGYi+cD+ja36Rc5TFpPTRQkWkN2HIxdEoLhwF5nB4lCqLs6pcr48HAjfS1HOmeNP
	sehKZoJZ4j5HBC71sAYRdvm5CBZ0WjWY5YB6KSI6SFsCTOKXx4QSy071hhjlXOF5rM8c
	IoHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:from:date:to:cc:subject:message-id:references
	:mime-version:content-disposition:in-reply-to:user-agent;
	bh=B+OLepBsV/AeoLwjmQJEA18H7BP4yoTBi0AhiXd89yk=;
	b=QJ8FBqHYOE0y5WsJ9U07QaeYmA+yRZYIa1b2JjdjVgHzsDAadiCM6v1uq1kC/xkYx1
	jkL6UTvib5fkVdch95HatVaSs8dhEmfDm/gyqrrEMeMH0FTyIPcnfDE1zOr0m6cFeWaX
	PqKPPUjmU+TNSh5BdbQhUrX12r9JAN65wCVdcBsoutxEPd3PzBzJlMDVEUG6ywkofBsN
	Btdw1bPP4GZ4ZzL3p0YO4wCikLSvM9ePHieaJEtr2orRPMhDGwtNY9RE2BfPsAZoZQTK
	2ffIfK53RpNOA6FcG/IkhbBL22R2wYq7SyOW5Yng9ZQfxEOsv1jranv9ik7i5pu/N4nj
	iPaw==
X-Gm-Message-State: AIkVDXJHI+OHhIjK0NcNy85MQTCukP+AR5a1lQbPCaVxo3DuRNOpirai2aVMe/Pp5VkTQg==
X-Received: by 10.36.61.136 with SMTP id n130mr7089877itn.107.1484629765063;
	Mon, 16 Jan 2017 21:09:25 -0800 (PST)
Received: from test-ubuntu (24-107-158-6.dhcp.stls.mo.charter.com.
	[24.107.158.6]) by smtp.gmail.com with ESMTPSA id
	o138sm6805104itc.18.2017.01.16.21.09.24
	(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Mon, 16 Jan 2017 21:09:24 -0800 (PST)
From: Gregory <gregory.0xf0@gmail.com>
X-Google-Original-From: Gregory <gregory@test-ubuntu>
Date: Mon, 16 Jan 2017 23:09:22 -0600
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20170117050922.GA14019@test-ubuntu>
References: <CADtm3G50t85yMuhOUUYXH3t0eVO2tkeri3zcpVWOpcug52W7WA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701151807460.4534@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.58L1X.1701151807460.4534@bolt.sonic.net>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2607:f8b0:4001:c0b::243
Subject: Re: [gpsd-dev] gpsd_config.h in release tarballs can break rebuild
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jan 2017 05:09:33 -0000

On Sun, Jan 15, 2017 at 06:18:33PM -0800, Fred Wright wrote:
> On Fri, 13 Jan 2017, Gregory Fong wrote:
> > Another would be to remove this from the release tarball, since it has
> > to be generated anyway.  Thoughts on what would be better?
> 
> This seems to me to be the better approach, but the larger question is why
> *anything* in generated_sources is being included in the tarball.  The
> commit referenced here seems perfectly reasonable; the more questionable
> line is:
> 
> 2283:    distfiles += generated_sources
> 
> Anyone know why it's doing this?
> 
> Also note that the following line is doing something similar for the
> generated manpages, though that might be intentional as a fallback for
> cases where the man-building tools aren't available.

Let's look at each other item in generated_sources:

    generated_sources = ['packet_names.h', 'timebase.h', 'gpsd.h', "ais_json.i",
                         'gps_maskdump.c', 'revision.h', 'gpsd.php',
                         'gpsd_config.h']


- packet_names.h: created from packet_states.h using sed
- timebase.h: uses AlwaysBuild
- gpsd.h: created from gpsd.h-head, gpsd_config.h, and gpsd.h-tail
- ais_json.i: created using `python jsongen.py`
- gps_maskdump.c: created using `python maskgen.py`
- revision.h: for releases, use `git describe --tags`
- gpsd.php: created uses substituter (defined in SConstruct)

Of these, revision.h seems to be the only one that makes sense in the
release tarball, it's safe to assume that the tools required to make all
of the other files are available.

Considering that, how about the following change?

------------------------------8<------------------------------
diff --git a/SConstruct b/SConstruct
index b6606f5..09fbdd3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -2280,9 +2280,8 @@ if os.path.exists("gpsd.c") and
os.path.exists(".gitignore"):
     distfiles = _getoutput(r"git ls-files | grep -v '^www/'").split()
     if ".gitignore" in distfiles:
         distfiles.remove(".gitignore")
-    distfiles += generated_sources
+    distfiles += ['revision.h']
     distfiles += base_manpages.keys() + python_manpages.keys()
-    distfiles.remove("gpsd.h")
     if "packaging/rpm/gpsd.spec" not in distfiles:
         distfiles.append("packaging/rpm/gpsd.spec")
 
------------------------------>8------------------------------

Thanks,
Gregory


From MAILER-DAEMON Wed Jan 18 23:08:19 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cU41L-0001MJ-CL
	for mharc-gpsd-dev@gnu.org; Wed, 18 Jan 2017 23:08:19 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47493)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cU41J-0001MC-K6
	for gpsd-dev@nongnu.org; Wed, 18 Jan 2017 23:08:18 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cU41G-0005ge-Cm
	for gpsd-dev@nongnu.org; Wed, 18 Jan 2017 23:08:17 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:36350)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cU41G-0005fi-2H
	for gpsd-dev@nongnu.org; Wed, 18 Jan 2017 23:08:14 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0J485Xh029897
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Wed, 18 Jan 2017 20:08:05 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0J4841b025342
	for <gpsd-dev@nongnu.org>; Wed, 18 Jan 2017 20:08:04 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0J484ji025335
	for <gpsd-dev@nongnu.org>; Wed, 18 Jan 2017 20:08:04 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Wed, 18 Jan 2017 20:08:04 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <20170117050922.GA14019@test-ubuntu>
Message-ID: <Pine.LNX.4.58L1X.1701181849340.7228@bolt.sonic.net>
References: <CADtm3G50t85yMuhOUUYXH3t0eVO2tkeri3zcpVWOpcug52W7WA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701151807460.4534@bolt.sonic.net>
	<20170117050922.GA14019@test-ubuntu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVYxSSd8Z8KymHHqmfY5p8AMYLLtEcmlT/vqa1zrHvQLcduoQrM3W2Yq5CqlWJgqjV2lTjOLzZGJz5kzCwxI8MJ/
X-Sonic-ID: C;ENaO4Pzd5hGAhxTn7CXqBA== M;ipjA4Pzd5hGAhxTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] gpsd_config.h in release tarballs can break rebuild
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jan 2017 04:08:19 -0000


On Sun, 15 Jan 2017, Hal Murray wrote:
> fw@fwright.net said:
> > 2283:    distfiles += generated_sources
> > Anyone know why it's doing this?
>
> I don't know anything about this example, but there is a class of files that
> get built from source but don't change with options or environment.  If the
> tools to do that are not common, it might make sense to include those files
> in the tarball so the end user doesn't have to install those tools.

Indeed, for files in that class, it's *acceptable* to include them in the
tarball, though whether it's necessary or desirable is another matter.
That depends mainly on what tools are needed to recreate them.

On Mon, 16 Jan 2017, Gregory wrote:
> Let's look at each other item in generated_sources:
>
>     generated_sources = ['packet_names.h', 'timebase.h', 'gpsd.h', "ais_json.i",
>                          'gps_maskdump.c', 'revision.h', 'gpsd.php',
>                          'gpsd_config.h']
>
>
> - packet_names.h: created from packet_states.h using sed
> - timebase.h: uses AlwaysBuild

Yes.  This one is potentially special since it's derived from leap-second
information which may or may not be downloadable at the time of the build.
But that's already handled by including leapseconds.cache in the tarball.
Personally, I think it would have been cleaner just to keep a copy of
tai-utc.dat in the repo/tarball, but that's another story.

> - gpsd.h: created from gpsd.h-head, gpsd_config.h, and gpsd.h-tail
> - ais_json.i: created using `python jsongen.py`
> - gps_maskdump.c: created using `python maskgen.py`
> - revision.h: for releases, use `git describe --tags`

Actually, no.  For releases, it's derived purely from the version number
in SConstruct.  It's *non*-releases (where the version number contains
"dev") that expand the version via "git describe", or fall back to using
a date/time when run outside a git repo.

There is some logic that seems to be worrying about possible
inconsistencies between the included revision.h and the version number
used for the tarball name and/or the tag, but it's not clear to me why
that would even be relevant if revision.h weren't included in the tarball
in the first place.

> - gpsd.php: created uses substituter (defined in SConstruct)
>
> Of these, revision.h seems to be the only one that makes sense in the
> release tarball, it's safe to assume that the tools required to make all
> of the other files are available.

Based on the above, I don't see why *anything* in generated_sources should
be in the tarball, though it might be safer to leave revision.h for now,
pending further analysis.

There is something a bit fishy here, however.  It's not clear to me why it
was ever necessary to include gpsd_config.h in generated_sources just for
cleaning purposes.  While it is true that SCons's autogenerated cleaning
list can be fragile with respect to files whose creation can depend on
options, I don't see why that ever would have been a problem for the
unconditionally generated gpsd_config.h.  And indeed, if I check out the
code immediately before Sanjeev's fix, then build and clean, I don't see a
leftover gpsd_config.h (though I do see a leftover libQgpsmm.dylib).
Meanwhile, generated_sources is no longer added to the explicit clean list
in recent versions, anyway (I think as part of some cleanup of the clean
stuff I did a while back).

Then again, reloading sources without cleaning is probably asking for
trouble, anyway, so we're really talking about competing corner cases in
terms of actual behavior. :-)

That being said, I'm inclined to accept the proposed change (and perhaps
revisit the revision.h question later), unless someone sees a reason not
to.  It's still used to exclude them from the "true source" list for
timestamp purposes, as well as to use them in "deheader".  The manpages
can stay, due to the tool dependencies.

However, I'd have to sort out a couple of issues here that prevent testing
the prerelease steps.

Fred Wright


From MAILER-DAEMON Thu Jan 19 02:20:08 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cU70y-0001p7-1y
	for mharc-gpsd-dev@gnu.org; Thu, 19 Jan 2017 02:20:08 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:48338)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ghane0@gmail.com>) id 1cU70s-0001ne-Jq
	for gpsd-dev@nongnu.org; Thu, 19 Jan 2017 02:20:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ghane0@gmail.com>) id 1cU70r-0003MV-GD
	for gpsd-dev@nongnu.org; Thu, 19 Jan 2017 02:20:02 -0500
Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:35922)
	by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <ghane0@gmail.com>) id 1cU70r-0003LM-9g
	for gpsd-dev@nongnu.org; Thu, 19 Jan 2017 02:20:01 -0500
Received: by mail-qt0-x244.google.com with SMTP id l7so7022774qtd.3
	for <gpsd-dev@nongnu.org>; Wed, 18 Jan 2017 23:19:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc; bh=wPY+X6IwKz9Cm/ZSWEuJVmIVDClTnfNGkRtZl4p5HP0=;
	b=t3hWQj2xpNpgHU1PI0OCl6g2YFq3fniM4MwWA6RwjXXorcOr7EebiO9e7C2woigofu
	0+FwS/bHEM3Gyv5iRkiFFXUmLMFpgkYNlvqGkXlqPxm5KHIO7eCK8yMpFfPUPJpGa4CW
	gBrnQmxwH/uQfo8QggWQJ9+mOPYfeaCDt43pJ5TikROfcTfHylaQZhndeF7kNHvkq4TO
	71jb3DXJdsvKnw3damB/Q1WAs2CfG7HonepYIxH6xqmRHfFREDrxARonmnyBksfOxxeD
	P0/mKbtGyKBw8bWifOAOnNscNFUQyjdwCbmo6ST2/yzG0hmi427Y6+IUgK4GLPimckSW
	6alQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20161025;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc;
	bh=wPY+X6IwKz9Cm/ZSWEuJVmIVDClTnfNGkRtZl4p5HP0=;
	b=t5xzWl5KSWYJyuz1BPeu5XUw4EvhgBjyKVoCGk2rTUWGQWknhRZwUjSpDJIYHd7TP+
	4/VTzl1ZLFvYV6dimHwwQqXdmxQMH95ZGQnzvd78SVdJPyb8kAeOfP8HSET/2QtZJBh3
	cPr3+dn4Sjeq726rbtRCnKsyjaASsx5By4w6hE7WCryV7jVK4G3/XfH1+Er21Ka+V58y
	hrAqj/eviJUmOW/9hoHDE2G/MP38a+sKeTAor25pdVdLC7FrzFiU7cq/+ZNQHYOEhXx+
	K/94kR5WzJijJ9Shp51jXfWw1p8qeHJEedGCUSXZNtHonTh1QLGnGSnKGF8MTorfM0OA
	nALQ==
X-Gm-Message-State: AIkVDXLKpETnZWO5OkqqFR1pkllvPFB0WX5TPUdWQs+jyc4ST1UUgMWR4UuZ1MF8y+66W5rgMN1AltGsSjCQjw==
X-Received: by 10.55.151.199 with SMTP id z190mr7089653qkd.166.1484810399297; 
	Wed, 18 Jan 2017 23:19:59 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.88.36 with HTTP; Wed, 18 Jan 2017 23:19:38 -0800 (PST)
In-Reply-To: <Pine.LNX.4.58L1X.1701181849340.7228@bolt.sonic.net>
References: <CADtm3G50t85yMuhOUUYXH3t0eVO2tkeri3zcpVWOpcug52W7WA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701151807460.4534@bolt.sonic.net>
	<20170117050922.GA14019@test-ubuntu>
	<Pine.LNX.4.58L1X.1701181849340.7228@bolt.sonic.net>
From: Sanjeev Gupta <ghane0@gmail.com>
Date: Thu, 19 Jan 2017 15:19:38 +0800
Message-ID: <CAHZk5WeYT-f=OtyujUvRJMghiEq+v+krekSvJ=3osrHu5YT8FA@mail.gmail.com>
To: Fred Wright <fw@fwright.net>, Jason Azze <jason@azze.org>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Content-Type: multipart/alternative; boundary=94eb2c07d4f268b54605466d5c7d
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 2607:f8b0:400d:c0d::244
Subject: Re: [gpsd-dev] gpsd_config.h in release tarballs can break rebuild
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jan 2017 07:20:06 -0000

--94eb2c07d4f268b54605466d5c7d
Content-Type: text/plain; charset=UTF-8

On Thu, Jan 19, 2017 at 12:08 PM, Fred Wright <fw@fwright.net> wrote:

> There is something a bit fishy here, however.  It's not clear to me why it
> was ever necessary to include gpsd_config.h in generated_sources just for
> cleaning purposes.  While it is true that SCons's autogenerated cleaning
> list can be fragile with respect to files whose creation can depend on
> options, I don't see why that ever would have been a problem for the
> unconditionally generated gpsd_config.h.  And indeed, if I check out the
> code immediately before Sanjeev's fix, then build and clean, I don't see a
> leftover gpsd_config.h (though I do see a leftover libQgpsmm.dylib).
> Meanwhile, generated_sources is no longer added to the explicit clean list
> in recent versions, anyway (I think as part of some cleanup of the clean
> stuff I did a while back).
>

I confess, I am the Sanjeev here :-)

Please see:
http://lists.nongnu.org/archive/html/gpsd-dev/2015-04/msg00015.html
I identified a problem wrongly, thinking that scons was not cleaning well.

Later in the thread, after others had reproduced the error, and the patch
was in, I reported that the real problem may be different:
http://lists.nongnu.org/archive/html/gpsd-dev/2015-04/msg00022.html

This is to give context to why it was patched.


-- 
Sanjeev Gupta
+65 98551208     http://www.linkedin.com/in/ghane

--94eb2c07d4f268b54605466d5c7d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Thu, Jan 19, 2017 at 12:08 PM, Fred Wright <span dir=3D"ltr">&lt;<a href=
=3D"mailto:fw@fwright.net" target=3D"_blank">fw@fwright.net</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=3D"gmai=
l-:1x7" class=3D"gmail-a3s gmail-aXjCH gmail-m159b4e95dcbf8151">There is so=
mething a bit fishy here, however.=C2=A0 It&#39;s not clear to me why it<br=
>
was ever necessary to include gpsd_config.h in generated_sources just for<b=
r>
cleaning purposes.=C2=A0 While it is true that SCons&#39;s autogenerated cl=
eaning<br>
list can be fragile with respect to files whose creation can depend on<br>
options, I don&#39;t see why that ever would have been a problem for the<br=
>
unconditionally generated gpsd_config.h.=C2=A0 And indeed, if I check out t=
he<br>
code immediately before Sanjeev&#39;s fix, then build and clean, I don&#39;=
t see a<br>
leftover gpsd_config.h (though I do see a leftover libQgpsmm.dylib).<br>
Meanwhile, generated_sources is no longer added to the explicit clean list<=
br>
in recent versions, anyway (I think as part of some cleanup of the clean<br=
>
stuff I did a while back).</div></blockquote></div><br></div><div class=3D"=
gmail_extra">I confess, I am the Sanjeev here :-)<br><br></div><div class=
=3D"gmail_extra">Please see: <br><a href=3D"http://lists.nongnu.org/archive=
/html/gpsd-dev/2015-04/msg00015.html">http://lists.nongnu.org/archive/html/=
gpsd-dev/2015-04/msg00015.html</a><br></div><div class=3D"gmail_extra">I id=
entified a problem wrongly, thinking that scons was not cleaning well.<br><=
br></div><div class=3D"gmail_extra">Later in the thread, after others had r=
eproduced the error, and the patch was in, I reported that the real problem=
 may be different: <br><a href=3D"http://lists.nongnu.org/archive/html/gpsd=
-dev/2015-04/msg00022.html">http://lists.nongnu.org/archive/html/gpsd-dev/2=
015-04/msg00022.html</a><br><br></div><div class=3D"gmail_extra">This is to=
 give context to why it was patched.<br><br></div><div class=3D"gmail_extra=
"><br clear=3D"all"><div><div class=3D"gmail_signature">-- <br>Sanjeev Gupt=
a<br>+65 98551208=C2=A0 =C2=A0=C2=A0 <a href=3D"http://www.linkedin.com/in/=
ghane" target=3D"_blank">http://www.linkedin.com/in/ghane</a></div></div>
</div></div>

--94eb2c07d4f268b54605466d5c7d--


From MAILER-DAEMON Thu Jan 19 02:57:04 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cU7ah-0008W6-SA
	for mharc-gpsd-dev@gnu.org; Thu, 19 Jan 2017 02:57:03 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50382)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cU7af-0008Ud-Of
	for gpsd-dev@nongnu.org; Thu, 19 Jan 2017 02:57:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cU7ab-0002e8-Th
	for gpsd-dev@nongnu.org; Thu, 19 Jan 2017 02:57:01 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:59824)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cU7ab-0002df-JJ
	for gpsd-dev@nongnu.org; Thu, 19 Jan 2017 02:56:57 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0J7urDn017996
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Wed, 18 Jan 2017 23:56:53 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0J7ur5a004338
	for <gpsd-dev@nongnu.org>; Wed, 18 Jan 2017 23:56:53 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0J7urON004332
	for <gpsd-dev@nongnu.org>; Wed, 18 Jan 2017 23:56:53 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Wed, 18 Jan 2017 23:56:53 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
In-Reply-To: <CAHZk5WeYT-f=OtyujUvRJMghiEq+v+krekSvJ=3osrHu5YT8FA@mail.gmail.com>
Message-ID: <Pine.LNX.4.58L1X.1701182343020.23873@bolt.sonic.net>
References: <CADtm3G50t85yMuhOUUYXH3t0eVO2tkeri3zcpVWOpcug52W7WA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701151807460.4534@bolt.sonic.net>
	<20170117050922.GA14019@test-ubuntu>
	<Pine.LNX.4.58L1X.1701181849340.7228@bolt.sonic.net>
	<CAHZk5WeYT-f=OtyujUvRJMghiEq+v+krekSvJ=3osrHu5YT8FA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVYHkZ+VZHgG5nJybXoWddxNV1zUTmY2/LotuJeI51SzUw+vhk+jpAS2IbvJT9iv+P501KvbKFpBRjDtSIeqtz2B
X-Sonic-ID: C;Nmlu1xze5hGmDBTn7CXqBA== M;ojOh1xze5hGmDBTn7CXqBA==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] gpsd_config.h in release tarballs can break rebuild
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jan 2017 07:57:03 -0000


On Thu, 19 Jan 2017, Sanjeev Gupta wrote:
> On Thu, Jan 19, 2017 at 12:08 PM, Fred Wright <fw@fwright.net> wrote:
>
> > There is something a bit fishy here, however.  It's not clear to me why it
> > was ever necessary to include gpsd_config.h in generated_sources just for
> > cleaning purposes.  While it is true that SCons's autogenerated cleaning
> > list can be fragile with respect to files whose creation can depend on
> > options, I don't see why that ever would have been a problem for the
> > unconditionally generated gpsd_config.h.  And indeed, if I check out the
> > code immediately before Sanjeev's fix, then build and clean, I don't see a
> > leftover gpsd_config.h (though I do see a leftover libQgpsmm.dylib).
> > Meanwhile, generated_sources is no longer added to the explicit clean list
> > in recent versions, anyway (I think as part of some cleanup of the clean
> > stuff I did a while back).
> >
>
> I confess, I am the Sanjeev here :-)

Yes, I was hoping you'd chime in. :-)

> Please see:
> http://lists.nongnu.org/archive/html/gpsd-dev/2015-04/msg00015.html
> I identified a problem wrongly, thinking that scons was not cleaning well.
>
> Later in the thread, after others had reproduced the error, and the patch
> was in, I reported that the real problem may be different:
> http://lists.nongnu.org/archive/html/gpsd-dev/2015-04/msg00022.html
>
> This is to give context to why it was patched.

Ah, yes, the corrupted SCons database problem - I've been burned by it
before, but it's not something that can be fixed in SConstruct. :-)

In my case, I needed a patched version of SConstruct for testing, so I'd
put one in another directory, and used "scons -f" to reference it.  What I
hadn't realized at the time is that SCons keeps its temporaries in the
same directory as the SConstruct file, *not* necessarily the current
directory.  So the corrupted database survived the usual "rm -rf .scon*"
and had me tearing my hair out over the weird build failures.

BTW, I think the "sconsclean" target is rather pointless, since it's
impossible to fully remove all SCons temporaries from within SCons itself.
It would be better to make it a shell script.  Though if you're working in
a git repo, then "git clean -dxf" works quite nicely. :-)

Fred Wright


From MAILER-DAEMON Sun Jan 22 06:43:02 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cVGY2-0006HX-Bm
	for mharc-gpsd-dev@gnu.org; Sun, 22 Jan 2017 06:43:02 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42261)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cVGXz-0006GA-Ru
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 06:43:00 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cVGXv-0001uN-1N
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 06:42:59 -0500
Received: from relay02-mailcontrol.conova.com ([217.196.144.162]:49055)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cVGXu-0001rx-NI
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 06:42:54 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay02-mailcontrol.conova.com; Sun, 22 Jan 2017 12:42:48 +0100
Received: from [IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa] (unknown
	[IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa])
	by mail.recluse.de (Postfix) with ESMTPSA id 33689ED;
	Sun, 22 Jan 2017 12:41:56 +0100 (CET)
To: Jon Schlueter <jon.schlueter@gmail.com>, Fred Wright <fw@fwright.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
Cc: gpsd-dev list <gpsd-dev@nongnu.org>
From: Bernd Zeimetz <bernd@bzed.de>
Message-ID: <07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
Date: Sun, 22 Jan 2017 12:42:36 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Icedove/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay02-mailcontrol.conova.com with 33140B001FE
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.3924
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.162
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jan 2017 11:43:00 -0000

Hi,

just fyi: I'm working on having gpsd automatically built in a clean
Debian unstable environment on travis-ci. Will take a bit to finish, though.

Bernd


-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


From MAILER-DAEMON Sun Jan 22 08:49:37 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cVIWX-0006Ib-Dg
	for mharc-gpsd-dev@gnu.org; Sun, 22 Jan 2017 08:49:37 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56293)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cVIWU-0006IU-Hj
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 08:49:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cVIWR-0003QF-EQ
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 08:49:34 -0500
Received: from relay01-mailcontrol.conova.com ([217.196.144.161]:36343)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cVIWR-0003PH-3F
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 08:49:31 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay01-mailcontrol.conova.com; Sun, 22 Jan 2017 14:49:26 +0100
Received: from [IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa] (unknown
	[IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa])
	by mail.recluse.de (Postfix) with ESMTPSA id 4D1F4ED;
	Sun, 22 Jan 2017 14:48:38 +0100 (CET)
To: Jon Schlueter <jon.schlueter@gmail.com>, Fred Wright <fw@fwright.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
Cc: gpsd-dev list <gpsd-dev@nongnu.org>
From: Bernd Zeimetz <bernd@bzed.de>
Message-ID: <fe649b54-b7eb-34b7-1a06-d4f5124b6b90@bzed.de>
Date: Sun, 22 Jan 2017 14:49:23 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Icedove/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay01-mailcontrol.conova.com with C8938E001C
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.5376
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.161
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jan 2017 13:49:35 -0000

hi,

On 01/08/2017 07:14 PM, Jon Schlueter wrote:
> I'm thinking right way of fixing this is untangling the qt support so
> that all of the at implementations are in one or two CPP files with c
> calling function declarations.  That I might be able to refractor in s
> couple hours tonight. Keeping code flow the same just moving the c++
> isms from at out of the c files, and adjusting scons to match.
> 
> That should clear up a lot of the compile variations. As compiling c
> code as c++ across platforms is a dusty corner we want to avoid.


To make gpsd build with QT you'll have to use
-std=gnu++98
(or maybe something else will work, too).

And regarding the scons issues: I'd guess I had the issues with scons
2.4, but we have 2.5 in unstable since some months. Guess that explains
why I can't reproduce them in unstable anymore. I'd guess they've fixed
such issues as I'm sure not only gpsd was affected.

cheers,

bernd


-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


From MAILER-DAEMON Sun Jan 22 08:50:43 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cVIXb-0006U3-LA
	for mharc-gpsd-dev@gnu.org; Sun, 22 Jan 2017 08:50:43 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56367)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cVIXZ-0006T4-0Y
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 08:50:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cVIXV-0003p1-TU
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 08:50:41 -0500
Received: from relay01-mailcontrol.conova.com ([217.196.144.161]:44809)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cVIXV-0003oe-IC
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 08:50:37 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay01-mailcontrol.conova.com; Sun, 22 Jan 2017 14:50:35 +0100
Received: from [IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa] (unknown
	[IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa])
	by mail.recluse.de (Postfix) with ESMTPSA id 98CDDED;
	Sun, 22 Jan 2017 14:49:47 +0100 (CET)
To: Jon Schlueter <jon.schlueter@gmail.com>, Fred Wright <fw@fwright.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
	<07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
Cc: gpsd-dev list <gpsd-dev@nongnu.org>
From: Bernd Zeimetz <bernd@bzed.de>
Message-ID: <eaa76fbd-5f77-3908-7676-ed6988ddaa37@bzed.de>
Date: Sun, 22 Jan 2017 14:50:33 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Icedove/45.4.0
MIME-Version: 1.0
In-Reply-To: <07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay01-mailcontrol.conova.com with D4705E0055
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.4784
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.161
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jan 2017 13:50:42 -0000



On 01/22/2017 12:42 PM, Bernd Zeimetz wrote:
> Hi,
> 
> just fyi: I'm working on having gpsd automatically built in a clean
> Debian unstable environment on travis-ci. Will take a bit to finish, though.

running at
https://travis-ci.org/bzed/gpsd-mirror

build script is .travis.build

currently building in debian stable + unstable



-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


From MAILER-DAEMON Sun Jan 22 16:53:21 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cVQ4f-0006Nn-HE
	for mharc-gpsd-dev@gnu.org; Sun, 22 Jan 2017 16:53:21 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37432)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cVQ4d-0006Nf-61
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 16:53:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cVQ4a-0006OB-3W
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 16:53:19 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:44248)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cVQ4Z-0006MO-Pc
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 16:53:16 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0MLr5bk001528
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
	Sun, 22 Jan 2017 13:53:05 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0MLr5qE006958;
	Sun, 22 Jan 2017 13:53:05 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0MLr4Al006954; 
	Sun, 22 Jan 2017 13:53:04 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 22 Jan 2017 13:53:04 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: gpsd-dev list <gpsd-dev@nongnu.org>
In-Reply-To: <eaa76fbd-5f77-3908-7676-ed6988ddaa37@bzed.de>
Message-ID: <Pine.LNX.4.58L1X.1701221344100.29928@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
	<07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
	<eaa76fbd-5f77-3908-7676-ed6988ddaa37@bzed.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVaQ2GlM+L2o8IlDaSpWrJDF6gUY4jGR6bYYgT/KzdkpzX3X/84IvlzbOFo/r0SGrGluY6KqCc4M7pikykRahpPs
X-Sonic-ID: C;/thZJ+3g5hGeC5XQQiug7g== M;bHp8J+3g5hGeC5XQQiug7g==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jan 2017 21:53:20 -0000


On Sun, 22 Jan 2017, Bernd Zeimetz wrote:
> On 01/08/2017 07:14 PM, Jon Schlueter wrote:
> > I'm thinking right way of fixing this is untangling the qt support so
> > that all of the at implementations are in one or two CPP files with c
> > calling function declarations.  That I might be able to refractor in s
> > couple hours tonight. Keeping code flow the same just moving the c++
> > isms from at out of the c files, and adjusting scons to match.
> >
> > That should clear up a lot of the compile variations. As compiling c
> > code as c++ across platforms is a dusty corner we want to avoid.
>
>
> To make gpsd build with QT you'll have to use
> -std=gnu++98
> (or maybe something else will work, too).

That doesn't seem to be necessary on OSX, where it builds successfully
with either Qt4 or Qt5, but I'm mostly ignoring Qt issues until I see what
Jon does.

> And regarding the scons issues: I'd guess I had the issues with scons
> 2.4, but we have 2.5 in unstable since some months. Guess that explains
> why I can't reproduce them in unstable anymore. I'd guess they've fixed
> such issues as I'm sure not only gpsd was affected.

Does that include testing with a patch to use the standard CheckFunc?
Since Gary insisted that I unrevert your change in spite of the lack of
evidence that it's needed, testing with the normal sources doesn't
currently prove anything with respect to the CheckFunc issue.

CheckFunc in SCons 2.5 still emits code with the same issues, so if it
relates to the SCons version that can only mean that there's a difference
with regard to whether warnings are treated as errors.  But it seems a bit
far-fetched to suppose that some versions of SCons supply -Werror on their
own.  Is it possible that the original problem was just a "misleading
observation", similar to the recently discussed issue where a build
failure that appeared to be a cleaning problem was actually unrelated to
cleaning?

Fred Wright


From MAILER-DAEMON Sun Jan 22 20:05:33 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cVT4f-0002za-1b
	for mharc-gpsd-dev@gnu.org; Sun, 22 Jan 2017 20:05:33 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36624)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cVT4d-0002zU-35
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 20:05:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cVT4W-00065l-BP
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 20:05:29 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:50372)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cVT4W-00065S-2E
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 20:05:24 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0N15JZk023400
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Sun, 22 Jan 2017 17:05:19 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0N15JsL024931
	for <gpsd-dev@nongnu.org>; Sun, 22 Jan 2017 17:05:19 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0N15JSX024928
	for <gpsd-dev@nongnu.org>; Sun, 22 Jan 2017 17:05:19 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 22 Jan 2017 17:05:18 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <Pine.LNX.4.58L1X.1701221657550.20006@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVaAiPqg0tBl7LOsQaXo7WdY/L+HhxvnQVdIQX9/7j+fa4wc0DzsBfbBZof5V+fjlqyQ/2FAf381rLCwYhyOGefQ
X-Sonic-ID: C;dBgdAgjh5hG3SpXQQiug7g== M;llhMAgjh5hG3SpXQQiug7g==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: [gpsd-dev] Generated gpsd.h
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jan 2017 01:05:31 -0000


Does anyone remember why gpsd.h is generated by concatenating head and
tail portions with a verbatim copy of gpsd_config.h in the middle, instead
of having it be an ordinary header with '#include "gpsd_config.h"'?  This
is especially bizarre given that it already implicitly includes
gpsd_config.h via compiler.h, anyway.  And it's getting in the way of
cleaning up some of the C vs. C++ mess.

It seems to date back to the make/automake days, so maybe the reason for
it is long gone.

Fred Wright


From MAILER-DAEMON Sun Jan 22 20:43:36 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cVTfU-00083e-FT
	for mharc-gpsd-dev@gnu.org; Sun, 22 Jan 2017 20:43:36 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40604)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1cVTfR-00083Y-Kr
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 20:43:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <esr@thyrsus.com>) id 1cVTfO-0005Jp-ID
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 20:43:33 -0500
Received: from static-71-162-243-5.phlapa.fios.verizon.net
	([71.162.243.5]:33496 helo=snark.thyrsus.com)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <esr@thyrsus.com>) id 1cVTfO-0005Jd-EG
	for gpsd-dev@nongnu.org; Sun, 22 Jan 2017 20:43:30 -0500
Received: by snark.thyrsus.com (Postfix, from userid 1000)
	id 404E513A033C; Sun, 22 Jan 2017 20:42:58 -0500 (EST)
Date: Sun, 22 Jan 2017 20:42:58 -0500
From: "Eric S. Raymond" <esr@thyrsus.com>
To: Fred Wright <fw@fwright.net>
Cc: GPSD Developers List <gpsd-dev@nongnu.org>
Message-ID: <20170123014258.GB27697@thyrsus.com>
Reply-To: esr@thyrsus.com
References: <Pine.LNX.4.58L1X.1701221657550.20006@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.LNX.4.58L1X.1701221657550.20006@bolt.sonic.net>
Organization: Eric Conspiracy Secret Labs
X-Eric-Conspiracy: There is no conspiracy
User-Agent: Mutt/1.5.24 (2015-08-30)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 71.162.243.5
Subject: Re: [gpsd-dev] Generated gpsd.h
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jan 2017 01:43:35 -0000

Fred Wright <fw@fwright.net>:
> 
> Does anyone remember why gpsd.h is generated by concatenating head and
> tail portions with a verbatim copy of gpsd_config.h in the middle, instead
> of having it be an ordinary header with '#include "gpsd_config.h"'?  This
> is especially bizarre given that it already implicitly includes
> gpsd_config.h via compiler.h, anyway.  And it's getting in the way of
> cleaning up some of the C vs. C++ mess.
> 
> It seems to date back to the make/automake days, so maybe the reason for
> it is long gone.
> 
> Fred Wright

I originally did it that way so that in a binary-package installation, the
gpsd.h file would be one unit with no inclusiuons other than gps.h (which
we could presume to also be installed).

That constraint is gone now, gpsd.h has not been a public interface for
a long time.  Feel free to clean it up.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


From MAILER-DAEMON Mon Jan 23 04:34:25 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cVb16-0002Hd-V8
	for mharc-gpsd-dev@gnu.org; Mon, 23 Jan 2017 04:34:25 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34777)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cVb11-0002EO-2n
	for gpsd-dev@nongnu.org; Mon, 23 Jan 2017 04:34:21 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cVb0x-0000DN-2G
	for gpsd-dev@nongnu.org; Mon, 23 Jan 2017 04:34:18 -0500
Received: from relay01-mailcontrol.conova.com ([217.196.144.161]:52376)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cVb0w-0000Ck-JR
	for gpsd-dev@nongnu.org; Mon, 23 Jan 2017 04:34:15 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay01-mailcontrol.conova.com; Mon, 23 Jan 2017 10:34:08 +0100
Received: from mail.recluse.de (unknown [10.121.2.21])
	by mail.recluse.de (Postfix) with ESMTPSA id 052C5ED;
	Mon, 23 Jan 2017 10:33:19 +0100 (CET)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 23 Jan 2017 10:34:06 +0100
From: Bernd Zeimetz <bernd@bzed.de>
To: Fred Wright <fw@fwright.net>
Cc: gpsd-dev list <gpsd-dev@nongnu.org>
In-Reply-To: <Pine.LNX.4.58L1X.1701221344100.29928@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
	<07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
	<eaa76fbd-5f77-3908-7676-ed6988ddaa37@bzed.de>
	<Pine.LNX.4.58L1X.1701221344100.29928@bolt.sonic.net>
Message-ID: <745961d64d3c715f670ea75875af1f2e@mail.recluse.de>
X-Sender: bernd@bzed.de
User-Agent: Roundcube Webmail/1.1.5
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay01-mailcontrol.conova.com with 525E5E0074
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.5781
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.161
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jan 2017 09:34:21 -0000

On 2017-01-22 22:53, Fred Wright wrote:
> On Sun, 22 Jan 2017, Bernd Zeimetz wrote:
>> On 01/08/2017 07:14 PM, Jon Schlueter wrote:
>> > I'm thinking right way of fixing this is untangling the qt support so
>> > that all of the at implementations are in one or two CPP files with c
>> > calling function declarations.  That I might be able to refractor in s
>> > couple hours tonight. Keeping code flow the same just moving the c++
>> > isms from at out of the c files, and adjusting scons to match.
>> >
>> > That should clear up a lot of the compile variations. As compiling c
>> > code as c++ across platforms is a dusty corner we want to avoid.
>> 
>> 
>> To make gpsd build with QT you'll have to use
>> -std=gnu++98
>> (or maybe something else will work, too).
> 
> That doesn't seem to be necessary on OSX, where it builds successfully
> with either Qt4 or Qt5, but I'm mostly ignoring Qt issues until I see 
> what
> Jon does.

Wild guess: qt was compiled with the option on linux.

>> And regarding the scons issues: I'd guess I had the issues with scons
>> 2.4, but we have 2.5 in unstable since some months. Guess that 
>> explains
>> why I can't reproduce them in unstable anymore. I'd guess they've 
>> fixed
>> such issues as I'm sure not only gpsd was affected.
> 
> Does that include testing with a patch to use the standard CheckFunc?

no. Easy thing to test would be to revert it and wait like 10 minutes,
then a build should show up.

> Since Gary insisted that I unrevert your change in spite of the lack of
> evidence that it's needed, testing with the normal sources doesn't
> currently prove anything with respect to the CheckFunc issue.

I'd say: revert it and see what happens.

> CheckFunc in SCons 2.5 still emits code with the same issues, so if it
> relates to the SCons version that can only mean that there's a 
> difference
> with regard to whether warnings are treated as errors.  But it seems a 
> bit
> far-fetched to suppose that some versions of SCons supply -Werror on 
> their
> own.  Is it possible that the original problem was just a "misleading
> observation", similar to the recently discussed issue where a build
> failure that appeared to be a cleaning problem was actually unrelated 
> to
> cleaning?

Defnitely not, I straced it down to what scons executes / compiles.

-- 
  Bernd Zeimetz                            Debian GNU/Linux Developer
  http://bzed.de                                http://www.debian.org
  GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


From MAILER-DAEMON Tue Jan 24 17:01:09 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cW99J-0006zM-Es
	for mharc-gpsd-dev@gnu.org; Tue, 24 Jan 2017 17:01:09 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34030)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cW99H-0006yh-2A
	for gpsd-dev@nongnu.org; Tue, 24 Jan 2017 17:01:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cW99D-0004i4-9h
	for gpsd-dev@nongnu.org; Tue, 24 Jan 2017 17:01:07 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:47630)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cW99D-0004h5-06
	for gpsd-dev@nongnu.org; Tue, 24 Jan 2017 17:01:03 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0OM0p2l020959
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
	Tue, 24 Jan 2017 14:00:51 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0OM0oia006162;
	Tue, 24 Jan 2017 14:00:51 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0OM0o5p006147; 
	Tue, 24 Jan 2017 14:00:50 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Tue, 24 Jan 2017 14:00:50 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: gpsd-dev list <gpsd-dev@nongnu.org>
In-Reply-To: <745961d64d3c715f670ea75875af1f2e@mail.recluse.de>
Message-ID: <Pine.LNX.4.58L1X.1701241355180.950@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<fff287c6-282a-1710-613e-ae10527ca5d3@bzed.de>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
	<07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
	<eaa76fbd-5f77-3908-7676-ed6988ddaa37@bzed.de>
	<Pine.LNX.4.58L1X.1701221344100.29928@bolt.sonic.net>
	<745961d64d3c715f670ea75875af1f2e@mail.recluse.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVa3uU0zjVujjIggCck0UU/V1De6Wm2Pt4TWSQW8//8xy8h1J6fuOx3BsaT0fDOauQDZRI/XtgeFFFXikzTQYyEV
X-Sonic-ID: C;iNDJkYDi5hGdZpXQQiug7g== M;Hh4YkoDi5hGdZpXQQiug7g==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jan 2017 22:01:08 -0000


On Mon, 23 Jan 2017, Bernd Zeimetz wrote:
> On 2017-01-22 22:53, Fred Wright wrote:
> > On Sun, 22 Jan 2017, Bernd Zeimetz wrote:
[...]
> >> To make gpsd build with QT you'll have to use
> >> -std=gnu++98
> >> (or maybe something else will work, too).
> >
> > That doesn't seem to be necessary on OSX, where it builds successfully
> > with either Qt4 or Qt5, but I'm mostly ignoring Qt issues until I see
> > what
> > Jon does.
>
> Wild guess: qt was compiled with the option on linux.

Not-so-wild guess:  The change to compiler.h to make it use the C++11
version of atomics rendered it incapable of building for C++11 within an
'extern "C"'.  At present, that only happens in the Qt build.  Forcing
C++98 helps by making it *not* C++11.

[...]
> > own.  Is it possible that the original problem was just a "misleading
> > observation", similar to the recently discussed issue where a build
> > failure that appeared to be a cleaning problem was actually unrelated
> > to
> > cleaning?
>
> Defnitely not, I straced it down to what scons executes / compiles.

But did you determine how a warning became an error?  That's the only
missing piece of the puzzle.

Fred Wright


From MAILER-DAEMON Wed Jan 25 01:50:48 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cWHPr-0003jz-VL
	for mharc-gpsd-dev@gnu.org; Wed, 25 Jan 2017 01:50:47 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36575)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cWHPq-0003jl-5m
	for gpsd-dev@nongnu.org; Wed, 25 Jan 2017 01:50:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cWHPn-0004de-4H
	for gpsd-dev@nongnu.org; Wed, 25 Jan 2017 01:50:46 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:50096)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cWHPm-0004dT-Qp
	for gpsd-dev@nongnu.org; Wed, 25 Jan 2017 01:50:43 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0P6ockd024290
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
	for <gpsd-dev@nongnu.org>; Tue, 24 Jan 2017 22:50:38 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0P6ocHb001234
	for <gpsd-dev@nongnu.org>; Tue, 24 Jan 2017 22:50:38 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0P6ocJK001230
	for <gpsd-dev@nongnu.org>; Tue, 24 Jan 2017 22:50:38 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Tue, 24 Jan 2017 22:50:38 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: gpsd-dev list <gpsd-dev@nongnu.org>
In-Reply-To: <Pine.LNX.4.58L1X.1701241355180.950@bolt.sonic.net>
Message-ID: <Pine.LNX.4.58L1X.1701242245370.30816@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
	<07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
	<eaa76fbd-5f77-3908-7676-ed6988ddaa37@bzed.de>
	<Pine.LNX.4.58L1X.1701221344100.29928@bolt.sonic.net>
	<745961d64d3c715f670ea75875af1f2e@mail.recluse.de>
	<Pine.LNX.4.58L1X.1701241355180.950@bolt.sonic.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbDPsOFemMmJm87ysTFCIhxesLSVftwzr5I6UVzc7KnSdvsb9jHMbbSJwW65/UrZ9Ye6G0TxA2vICrjlw79XNSi
X-Sonic-ID: C;CMiMlMri5hGzrZXQQiug7g== M;yK/GlMri5hGzrZXQQiug7g==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jan 2017 06:50:47 -0000


On Tue, 24 Jan 2017, Fred Wright wrote:
> On Mon, 23 Jan 2017, Bernd Zeimetz wrote:
[...]
> > Wild guess: qt was compiled with the option on linux.
>
> Not-so-wild guess:  The change to compiler.h to make it use the C++11
> version of atomics rendered it incapable of building for C++11 within an
> 'extern "C"'.  At present, that only happens in the Qt build.  Forcing
> C++98 helps by making it *not* C++11.

Interestingly enough, on Fedora 25, forcing C++98 just traded one set of
problems for another, creating a whole bunch of errors compiling some
Qt-related headers.  However, after fixing the C++11 issues, it builds
fine with Qt using the default C++11 mode.

It still builds on Travis in the current C++98 mode, but I don't know if
there would be similar issues with the Qt headers in C++11 mode.

Fred Wright


From MAILER-DAEMON Fri Jan 27 16:51:17 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cXEQP-0001U6-5m
	for mharc-gpsd-dev@gnu.org; Fri, 27 Jan 2017 16:51:17 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38062)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cXEQM-0001Ty-FQ
	for gpsd-dev@nongnu.org; Fri, 27 Jan 2017 16:51:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bernd@bzed.de>) id 1cXEQJ-0007R5-DH
	for gpsd-dev@nongnu.org; Fri, 27 Jan 2017 16:51:14 -0500
Received: from relay01-mailcontrol.conova.com ([217.196.144.161]:33071)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bernd@bzed.de>) id 1cXEQJ-0007QS-2O
	for gpsd-dev@nongnu.org; Fri, 27 Jan 2017 16:51:11 -0500
Received: from mail.recluse.de ([217.196.148.212]) by
	relay01-mailcontrol.conova.com; Fri, 27 Jan 2017 22:51:05 +0100
Received: from [IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa] (unknown
	[IPv6:2a02:16a8:dc4:af4:1108:3ee2:6f05:81fa])
	by mail.recluse.de (Postfix) with ESMTPSA id 3C63C88;
	Fri, 27 Jan 2017 22:50:15 +0100 (CET)
To: Fred Wright <fw@fwright.net>, gpsd-dev list <gpsd-dev@nongnu.org>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701031650010.16526@bolt.sonic.net>
	<20170103172555.44a83a17@spidey.rellim.com>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
	<07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
	<eaa76fbd-5f77-3908-7676-ed6988ddaa37@bzed.de>
	<Pine.LNX.4.58L1X.1701221344100.29928@bolt.sonic.net>
	<745961d64d3c715f670ea75875af1f2e@mail.recluse.de>
	<Pine.LNX.4.58L1X.1701241355180.950@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701242245370.30816@bolt.sonic.net>
From: Bernd Zeimetz <bernd@bzed.de>
Message-ID: <d2d4d511-569f-df16-a591-2105a1674952@bzed.de>
Date: Fri, 27 Jan 2017 22:51:04 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
	Icedove/45.4.0
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.4.58L1X.1701242245370.30816@bolt.sonic.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-cloud-security-sender: bernd@bzed.de
X-cloud-security-recipient: gpsd-dev@nongnu.org
X-cloud-security-Virusscan: CLEAN
X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on
	relay01-mailcontrol.conova.com with 288E9E0049
X-cloud-security-connect: mail.recluse.de[217.196.148.212], TLS=1,
	IP=217.196.148.212
X-cloud-security: scantime:.3556
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 217.196.144.161
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2017 21:51:15 -0000



On 01/25/2017 07:50 AM, Fred Wright wrote:
> Interestingly enough, on Fedora 25, forcing C++98 just traded one set of
> problems for another, creating a whole bunch of errors compiling some
> Qt-related headers.  However, after fixing the C++11 issues, it builds
> fine with Qt using the default C++11 mode.
> 
> It still builds on Travis in the current C++98 mode, but I don't know if
> there would be similar issues with the Qt headers in C++11 mode.

If you want to know such things, just modify .travis.build.
You could also push your own gpsd repo to github and enable travis-ci
for it, then you can play around as much as you want.

I've removed the C++98 stuff from .travis.build, if you check travivis
in a few minutes, you'll see the result.


-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F


From MAILER-DAEMON Sun Jan 29 20:54:29 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1cY1Ar-0004nf-Lg
	for mharc-gpsd-dev@gnu.org; Sun, 29 Jan 2017 20:54:29 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60505)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cY1Ap-0004mI-FB
	for gpsd-dev@nongnu.org; Sun, 29 Jan 2017 20:54:28 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <fw@fwright.net>) id 1cY1Am-0005K6-D2
	for gpsd-dev@nongnu.org; Sun, 29 Jan 2017 20:54:27 -0500
Received: from c.mail.sonic.net ([64.142.111.80]:40138)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <fw@fwright.net>) id 1cY1Am-0005IO-3W
	for gpsd-dev@nongnu.org; Sun, 29 Jan 2017 20:54:24 -0500
Received: from newshell.sonic.net (bolt.sonic.net [208.201.242.19])
	by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPS id v0U1sB9A006377
	(version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
	Sun, 29 Jan 2017 17:54:11 -0800
Received: from bolt.sonic.net (localhost.localdomain [127.0.0.1])
	by newshell.sonic.net (8.13.6/8.12.1) with ESMTP id v0U1sBAt021284;
	Sun, 29 Jan 2017 17:54:11 -0800
Received: from localhost (fw@localhost)
	by bolt.sonic.net (8.13.6/8.12.1/Submit) with ESMTP id v0U1sAD2021279; 
	Sun, 29 Jan 2017 17:54:10 -0800
X-Authentication-Warning: bolt.sonic.net: fw owned process doing -bs
Date: Sun, 29 Jan 2017 17:54:10 -0800 (PST)
From: Fred Wright <fw@fwright.net>
X-X-Sender: fw@bolt.sonic.net
To: gpsd-dev list <gpsd-dev@nongnu.org>
In-Reply-To: <d2d4d511-569f-df16-a591-2105a1674952@bzed.de>
Message-ID: <Pine.LNX.4.58L1X.1701291749340.18666@bolt.sonic.net>
References: <Pine.LNX.4.58L1X.1612191519040.12925@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701031749290.16526@bolt.sonic.net>
	<8c1c3f73-96b0-0d6e-28d6-f58dd9e4e45b@bzed.de>
	<Pine.LNX.4.58L1X.1701061559430.27069@bolt.sonic.net>
	<CAOSy7+9=7VFVq_DmgNqUYt1F7FFy397Da7UP1U_EpCWDi1JagA@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701071821510.14427@bolt.sonic.net>
	<CAOSy7+_1Y0nyvFJMJ7Ny3nSfSrzeEH0-BpF9RnuKfreFmp4_gg@mail.gmail.com>
	<Pine.LNX.4.58L1X.1701080021190.31387@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701080052500.22691@bolt.sonic.net>
	<CAOSy7+_BWAC3Df9PQrYhYFR7Thnc0H_ELwDsvdZXOR0wbQk9ZQ@mail.gmail.com>
	<07376948-429a-324a-4b1c-8e0558869b40@bzed.de>
	<eaa76fbd-5f77-3908-7676-ed6988ddaa37@bzed.de>
	<Pine.LNX.4.58L1X.1701221344100.29928@bolt.sonic.net>
	<745961d64d3c715f670ea75875af1f2e@mail.recluse.de>
	<Pine.LNX.4.58L1X.1701241355180.950@bolt.sonic.net>
	<Pine.LNX.4.58L1X.1701242245370.30816@bolt.sonic.net>
	<d2d4d511-569f-df16-a591-2105a1674952@bzed.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sonic-CAuth: UmFuZG9tSVbiiPamm+owTXXGzxNtS6tf7am/f3cjzlIrPBLR+j7TfQ9iRldr/Y9fFLLM+sQDbGebfS+wps9yNre0R1j4vldt
X-Sonic-ID: C;UhqW/o7m5hGfvZXQQiug7g== M;iqjj/o7m5hGfvZXQQiug7g==
X-Sonic-Spam-Details: -1.5/5.0 by cerberusd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 64.142.111.80
Subject: Re: [gpsd-dev] Bernd's CheckFunc Fix
X-BeenThere: gpsd-dev@nongnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: <gpsd-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/gpsd-dev/>
List-Post: <mailto:gpsd-dev@nongnu.org>
List-Help: <mailto:gpsd-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/gpsd-dev>,
	<mailto:gpsd-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2017 01:54:28 -0000


On Fri, 27 Jan 2017, Bernd Zeimetz wrote:
> On 01/25/2017 07:50 AM, Fred Wright wrote:
> > Interestingly enough, on Fedora 25, forcing C++98 just traded one set of
> > problems for another, creating a whole bunch of errors compiling some
> > Qt-related headers.  However, after fixing the C++11 issues, it builds
> > fine with Qt using the default C++11 mode.
> >
> > It still builds on Travis in the current C++98 mode, but I don't know if
> > there would be similar issues with the Qt headers in C++11 mode.
>
> If you want to know such things, just modify .travis.build.
> You could also push your own gpsd repo to github and enable travis-ci
> for it, then you can play around as much as you want.

I might look into that at some point.  A more generally useful setup would
be to have a testing branch in the main repo.  That would provide a place
to push questionable changes, without screwing up master.  It might also
be declared fair game for force pushing.

> I've removed the C++98 stuff from .travis.build, if you check travivis
> in a few minutes, you'll see the result.

Yeah, that worked.  I considered trying that myself, but wanted to wait
for your comment.

Getting back to the original subject of this thread, I rereverted the
CheckFunc patch, and Travis is still happy.

Fred Wright


