Source: gpsdrive
Severity: minor
Tags: patch
User: pkg-llvm-t...@lists.alioth.debian.org
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).

We detected this kinf of error:
http://clang.debian.net/status.php?version=3.5.0rc1&key=NOT_ALLOWED_HERE

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/gpsdrive_2.10~pre4-6.dfsg-5.2_unstable_clang.log

Thanks,
Alexander

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- ./src/gpsdrive.c	2007-09-15 05:24:15.000000000 +0400
+++ ../gpsdrive-2.10~pre4-6.dfsg-my/./src/gpsdrive.c	2014-08-17 01:51:39.183514745 +0400
@@ -2738,27 +2738,24 @@
 	     _("-D X      set debug Level to X\n"),
 	     _("-T        do some internal unit Tests(don't start gpsdrive)\n"),
 	     _("-e        use Festival-Lite (flite) for speech output\n"),
-	     _("-o        serial device, pty master, or file for NMEA *output*\n"),
-	     _("-f X      Select friends server, X is i.e. friendsd.gpsdrive.de\n"),
+	     _("-o thing  serial device, pty master, or file for NMEA *output*\n"),
+	     _("-f server Select friends server, X is i.e. friendsd.gpsdrive.de\n"),
 #ifdef DBUS_ENABLE
 	     _("-X        Use DBUS for communication with gpsd. This disables serial and socket communication\n"),
 #endif
-	     _("-l LANG   Select language of the voice,\n"
-	       "          LANG may be english, spanish or german\n"),
-	     _("-s HEIGHT set height of the screen, if autodetection\n"
-	       "          don't satisfy you, X is i.e. 768,600,480,200\n"),
-	     _("-r WIDTH  set width of the screen, only with -s\n"),
+	     _("-l lang.  Select language of the voice,\n"
+	       "          language may be 'english', 'spanish' or 'german'\n"),
+         _("-g geom.  set window geometry, e.g. 800x600\n"),
 	     _("-1        have only 1 button mouse, for example using touchscreen\n"),
 	     _("-a        display APM Stuff ( battery status, Temperature)\n"),
 	     _("-b Server Servername for NMEA server (if gpsd runs on another host)\n"),
 	     _("-c WP     set start position in simulation mode to waypoint name WP\n"),
-	     _("-x        create separate window for menu\n"),
-	     _("-M mode   set guimode to desktop, pda or car\n"),
+	     _("-M mode   set GUI mode; mode may be 'desktop' (default), 'pda' or 'car'\n"),
 	     _("-i        ignore NMEA checksum (risky, only for broken GPS receivers\n"),
 	     _("-q        disable SQL support\n"),
 	     _("-F        force display of position even it is invalid\n"),
 	     _("-S        don't show splash screen\n"),
-	     _("-P        start in Pos Mode\n"),
+	     _("-P        start in Position Mode\n"),
 	     _("-W x      set x to 1 to switch WAAS/EGNOS on, set to 0 to switch off\n"),
 	     _("-H ALT    correct altitude, adding this value (ALT) to altitude\n"),
 	     _("-C file   set config file (--config-file)\n"));
@@ -2975,6 +2972,10 @@
     return 0;
 }
 
+static void termhandler (int sig)
+{
+    gtk_main_quit ();
+}
 
 /*******************************************************************************
  *                                                                             *
@@ -2985,6 +2986,10 @@
 main (int argc, char *argv[])
 {
 
+    bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+    bind_textdomain_codeset (PACKAGE, "utf8");
+    textdomain (GETTEXT_PACKAGE);
+
     gchar buf[500];
 
     current.needtosave = FALSE;
@@ -3086,9 +3091,6 @@
     /*  all default values must be set BEFORE readconfig! */
     g_strlcpy (setpositionname, "", sizeof (setpositionname));
 
-    /* setup signal handler */
-    signal (SIGUSR1, signalposreq);
-
     sql_load_lib();
     /*  I18l */
 
@@ -3167,14 +3169,6 @@
      */
     loadmapconfig ();
 
-    /* PORTING */
-    {
-	gchar *p;
-	p = bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
-	bind_textdomain_codeset (PACKAGE, "utf8");
-	p = textdomain (GETTEXT_PACKAGE);
-	p = textdomain (NULL);
-    }
 
     /*    Setting locale for correct Umlauts */
     gtk_set_locale ();
@@ -3390,10 +3384,6 @@
      * setup TERM signal handler so that we can save evrything nicely when the
      * machine is shutdown.
      */
-    void termhandler (int sig)
-	{
-	    gtk_main_quit ();
-	}
     signal (SIGTERM, termhandler);
 
 
@@ -3426,9 +3416,6 @@
     gdk_pixbuf_unref (friendspixbuf);
 
 
-    unlink ("/tmp/cammain.pid");
-    unlink ("/tmp/gpsdrivetext.out");
-    unlink ("/tmp/gpsdrivepos");
     if (local_config.savetrack)
 	savetrackfile (2);
     sqlend ();
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to