gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] scons check - gpsd:ERROR: SER: error setting port attribu


From: Gary E. Miller
Subject: Re: [gpsd-dev] scons check - gpsd:ERROR: SER: error setting port attributes: Invalid argument
Date: Mon, 23 May 2016 13:38:20 -0700

Yo Jason!

On Mon, 23 May 2016 12:43:07 -0400
Jason Azze <address@hidden> wrote:

> Since the changes* to serial.c about 7 days ago, scons check has been
> giving me lots of:
> 
> gpsd:ERROR: SER: error setting port attributes: Invalid argument

Odd, that means gpsd is failing on a tcsetattr() call.  In the
gpsd_set_speed() function.  That call is setting the speed and parity of
a tty device, but the scons checks are not run over ttys.  But why is
scons check doing anything with a serial port??

Can you send a little more context, like where in the 'scons check'
process that you see that.

> My test machines are CentOS 7.2, CentOS 6.7, and Fedora 23.

And they all fail?  It all works for me.  What glibc version?  All 32 bit or
mice 32/64 hosts?

> http://git.savannah.gnu.org/cgit/gpsd.git/commit/?id=0435464b5d5e8954cb820db84418aee8df5306e0

That is the commit is where the tcsetattr() failure test was added.
That failure was never tested before, but having that call fail is bad.



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

Attachment: pgpJbXhSuS7F2.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]