gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD


From: Greg Troxel
Subject: Re: [gpsd-dev] [gpsd-users] Warnings from 32 bit FreeBSD
Date: Wed, 19 Jun 2019 20:25:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix)

"Gary E. Miller" <address@hidden> writes:

>> tar: unknown option -- transform
>> usage: tar [-]{crtux}[-befhjklmopqvwzHJOPSXZ014578] [archive]
>> [blocksize] [-C directory] [-T file] [-s replstr] [file ...]
>> scons: *** [dist] Error 1
>> scons: building terminated because of errors.
>
> scons knows about gtar.  I just pushed a fix that should work.

So I have to put TAR=gtar in the environment, which isn't a big deal
(but is a regression from auto* :-).  That made gpsd-3.19-dev.tar.gz.

I took the pkgsrc package, changed the version, dropped the distfile in
place, and it built.

tests are running and will probably take a while.  I'll send a followup
if there are any issues.

I didn't see these warnings earlier, but noticed them in the pkgsrc
build.  I grepped for warning: and this seems to be all of them.  I have
not tried to understand them yet.

gcc -o monitor_oncore.o -c -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/python3.7 -I/usr/X11R7/include 
-I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -pthread -Wall 
-Wcast-align -Wextra -Wmissing-declarations -Wmissing-prototypes 
-Wno-missing-field-initializers -Wno-uninitialized -Wpointer-arith 
-Wreturn-type -Wstrict-prototypes -Wvla -O2 -pthread 
-I/usr/pkg/include/libusb-1.0 monitor_oncore.c
monitor_oncore.c: In function 'oncore_update':
monitor_oncore.c:378:35: warning: too many arguments for format 
[-Wformat-extra-args]
      (void)mvwprintw(Bowin, 2, 2, "unknown", utc_offset);
                                   ^
gcc -o monitor_sirf.o -c -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/python3.7 -I/usr/X11R7/include 
-I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -pthread -Wall 
-Wcast-align -Wextra -Wmissing-declarations -Wmissing-prototypes 
-Wno-missing-field-initializers -Wno-uninitialized -Wpointer-arith 
-Wreturn-type -Wstrict-prototypes -Wvla -O2 -pthread 
-I/usr/pkg/include/libusb-1.0 monitor_sirf.c
monitor_sirf.c: In function 'sirf_update':
monitor_sirf.c:378:26: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
  display(mid7win, 1, 16, "%lu", getbeu32(buf, 8)); /* Clock ppstimes */
                          ^
monitor_sirf.c:379:26: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
  display(mid7win, 1, 29, "%lu", getbeu32(buf, 12)); /* Clock Bias */
                          ^
monitor_sirf.c:380:26: warning: format '%lu' expects argument of type 'long 
unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
  display(mid7win, 2, 11, "%lu", getbeu32(buf, 16)); /* Estimated Time */
                          ^



reply via email to

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