gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] scons audit fails on unbuntu 12.04


From: Bernd Zeimetz
Subject: Re: [gpsd-dev] scons audit fails on unbuntu 12.04
Date: Tue, 29 May 2012 13:28:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

Hi,

> is there a simple way to get scons audit running on my system again?

I think what you are seeing here is a bug in the packaging of splint
which doesn't seem to be multiarch-capable (multiarch is more or less
broken in Ubuntu for various reasons anyway).

/usr/include/x86_64-linux-gnu (or whatever your architecture is)
is missing in the include path splint looks at.

As a workaround please apply the attached patch (ESR: please commit it,
I don't have my keys here).

I'll report a bug in Debian, so it might be fixed in Ubuntu one day.

Cheers,

Bernd

> 
> Thank you
> 
> Reinhard
> 
> Here is a log of the output...
> 
> address@hidden:~/gpsd/gpsd$ scons audit
> scons: Reading SConscript files ...
> Checking if compiler accepts -Wextra ...(cached) yes
> Checking if compiler accepts -Wall ...(cached) yes
> .......
> scons: Building targets ...
> Running splint on daemon...
> splint -I/usr/include/libusb-1.0 +quiet -exportlocal -redef gpsd.c ntpshm.c 
> shmexport.c dbusexport.c
> gpsd.c:9:22: Cannot find include file sys/stat.h on search path:
>                 .;/usr/include/libusb-1.0;/usr/include;/usr/include
>   Preprocessing error. (Use -preproc to inhibit warning)
> gpsd.c:10:23: Cannot find include file sys/types.h on search path:
>                  .;/usr/include/libusb-1.0;/usr/include;/usr/include
> gpsd.c:12:24: Cannot find include file sys/select.h on search path:
>                  .;/usr/include/libusb-1.0;/usr/include;/usr/include
> gpsd_config.h:269:40: #error "unable to determine endianess!"
>    In file included from gpsd.c:45
> gps.h:21:23: Cannot find include file sys/types.h on search path:
>                 .;/usr/include/libusb-1.0;/usr/include;/usr/include
>    In file included from gpsd.h:320,
>                  from gpsd.c:52
> Preprocessing error for file: /home/ar/gpsd/gpsd/gpsd.c
> *** Cannot continue.
> Running splint on libgpsd...
> 
> and so on...
> 
> 
> 


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

Attachment: 0001-Work-around-splint-not-knowing-about-multiarch.patch
Description: Text Data


reply via email to

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