Your message dated Mon, 01 Jun 2009 16:32:04 +0000
with message-id <[email protected]>
and subject line Bug#530631: fixed in deb-gview 0.2.4
has caused the Debian Bug report #530631,
regarding deb-gview fails to build in ubuntu karmic
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
530631: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530631
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: deb-gview
Version: 0.2.3
Severity: normal

Hi,
deb-gview in ubuntu karmic fails to build, due to a missing string format 
in calling g_warning inside a couple of files.
A log of what happens is here:
http://launchpadlibrarian.net/26977688/buildlog_ubuntu-karmic-i386.deb-
gview_0.2.3_FAILEDTOBUILD.txt.gz

Differences in ubuntu that IMHO could lead to that fail are:
- using gcc4.4, with -Werror in CFLAGS
- different versions of libglib2.0-0, we're using 2.21.0-0ubuntu1

I wrote a simple patch that fixes the build, but I'd like to have it 
reviewed by you.
( the attacched patch is stripped from ubuntu specific changes )

This bug is reported in launchpad as well:
 https://bugs.edge.launchpad.net/ubuntu/+source/deb-gview/+bug/380497
( where you can find the complete debdiff for ubuntu... )

-- System Information:
Debian Release: 5.0
  APT prefers karmic
  APT policy: (500, 'karmic'), (500, 'jaunty-updates'), (500, 'jaunty-
security'), (500, 'jaunty-proposed'), (500, 'jaunty')
Architecture: i386 (i686)
        
-- 
-gaspa-
-----------------------------------------------
-------- https://launchpad.net/~gaspa ---------
------ HomePage: iogaspa.altervista.org -------
-Il lunedi'dell'arrampicatore: www.lunedi.org -
diff -Nru deb-gview-0.2.3/src/dvarchive.c deb-gview-0.2.3ubuntu1/src/dvarchive.c
--- deb-gview-0.2.3/src/dvarchive.c	2009-03-09 08:39:37.000000000 +0100
+++ deb-gview-0.2.3ubuntu1/src/dvarchive.c	2009-05-25 17:44:28.000000000 +0200
@@ -491,7 +491,7 @@
 	bytesread = g_input_stream_read (deb->stream, versionbuf, strlen(ARMAG), NULL, &result);
 	if (result)
 	{
-		g_warning (result->message);
+		g_warning ("%s",result->message);
 		g_clear_error (&result);
 		return FALSE;
 	}
@@ -503,7 +503,7 @@
 		g_input_stream_close (deb->stream, NULL, &result);
 		if (result)
 		{
-			g_warning (result->message);
+			g_warning ("%s",result->message);
 			g_clear_error (&result);
 		}
 		return FALSE;
@@ -519,14 +519,14 @@
 		g_input_stream_close (deb->stream, NULL, &result);
 		if (result)
 		{
-			g_warning (result->message);
+			g_warning ("%s",result->message);
 			g_clear_error (&result);
 		}
 		return FALSE;
 	}
 	if (result)
 	{
-		g_warning (result->message);
+		g_warning ("%s",result->message);
 		g_clear_error (&result);
 	}
 	memberlen = parseheaderlength (debian_binary.ar_size, 
@@ -538,7 +538,7 @@
 	bytesread = g_input_stream_read (deb->stream, infobuf, memberlen + (memberlen & 1), NULL, &result);
 	if (result)
 	{
-		g_warning (result->message);
+		g_warning ("%s",result->message);
 		g_clear_error (&result);
 	}
 	g_free (infobuf);
@@ -546,7 +546,7 @@
 	bytesread = g_input_stream_read (deb->stream, &controlgz, sizeof (struct ar_hdr), NULL, &result);
 	if (result)
 	{
-		g_warning (result->message);
+		g_warning ("%s",result->message);
 		g_clear_error (&result);
 	}
 	deb->current = &controlgz;
@@ -563,7 +563,7 @@
 		g_input_stream_close (deb->stream, NULL, &result);
 		if (result)
 		{
-			g_warning (result->message);
+			g_warning ("%s",result->message);
 			g_clear_error (&result);
 		}
 		return FALSE;
@@ -616,7 +616,7 @@
 			dv_show_error (DV_ERR_CORRUPT_FILE, deb->parent);
 			deb->ar_message = archive_error_string (deb->control_tar);
 			g_input_stream_close (deb->stream, NULL, &result);
-			g_warning (result->message);
+			g_warning ("%s",result->message);
 			g_clear_error (&result);
 			return FALSE;
 		}
@@ -642,7 +642,7 @@
 		g_input_stream_close (deb->stream, NULL, &result);
 		if (result)
 		{
-			g_warning (result->message);
+			g_warning ("%s",result->message);
 			g_clear_error (&result);
 		}
 	}
@@ -701,7 +701,7 @@
 	g_input_stream_close (deb->stream, NULL, &result);
 	if (result)
 	{
-		g_warning (result->message);
+		g_warning ("%s",result->message);
 		g_clear_error (&result);
 	}
 	return TRUE;
@@ -851,7 +851,7 @@
 			G_FILE_QUERY_INFO_NONE, NULL, &result);
 		if (result)
 		{
-			g_warning (result->message);
+			g_warning ("%s",result->message);
 			g_clear_error (&result);
 		}
 		if (0 == g_file_info_get_attribute_uint64 (ginfo,
diff -Nru deb-gview-0.2.3/src/dvpreview.c deb-gview-0.2.3ubuntu1/src/dvpreview.c
--- deb-gview-0.2.3/src/dvpreview.c	2008-03-21 09:52:24.000000000 +0100
+++ deb-gview-0.2.3ubuntu1/src/dvpreview.c	2009-05-25 22:13:33.000000000 +0200
@@ -159,14 +159,14 @@
 	kfdata = g_key_file_to_data(kf, &len, &gerr);
 	if (gerr != NULL)
 	{
-		g_warning (gerr->message);
+		g_warning ("%s",gerr->message);
 		g_clear_error (&gerr);
 		return NULL;
 	}
 	g_file_set_contents (keyfile, kfdata, len, &gerr);
 	if (gerr != NULL)
 	{
-		g_warning (gerr->message);
+		g_warning ("%s",gerr->message);
 		g_clear_error (&gerr);
 		return NULL;
 	}
@@ -196,13 +196,13 @@
 	terminal = g_key_file_get_string (kf, PACKAGE, DVCOMMAND, &gerr);
 	if (gerr != NULL)
 	{
-		g_warning (gerr->message);
+		g_warning ("%s",gerr->message);
 		g_clear_error (&gerr);
 	}
 	execute  = g_key_file_get_string (kf, PACKAGE, DVXCOMMAND, &gerr);
 	if (gerr != NULL)
 	{
-		g_warning (gerr->message);
+		g_warning ("%s",gerr->message);
 		g_clear_error (&gerr);
 	}
 	for (c = 0;c < num; c++)
@@ -212,21 +212,21 @@
 		file_glob = g_key_file_get_string (kf, groups[c], DVKEYGLOB, &gerr);
 		if (!file_glob)
 		{
-			g_warning (gerr->message);
+			g_warning ("%s",gerr->message);
 			g_clear_error (&gerr);
 			continue;
 		}
 		use_term = g_key_file_get_boolean (kf, groups[c], DVKEYTERM, &gerr);
 		if (gerr != NULL)
 		{
-			g_warning (gerr->message);
+			g_warning ("%s",gerr->message);
 			g_clear_error (&gerr);
 			continue;
 		}
 		prog = g_key_file_get_string (kf, groups[c], DVKEYPROG, &gerr);
 		if (!prog)
 		{
-			g_warning (gerr->message);
+			g_warning ("%s",gerr->message);
 			g_clear_error (&gerr);
 			continue;
 		}

Attachment: failingbuildlog-karmic-i386.deb-gview_0.2.3.txt.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: deb-gview
Source-Version: 0.2.4

We believe that the bug you reported is fixed in the latest version of
deb-gview, which is due to be installed in the Debian FTP archive:

deb-gview_0.2.4.dsc
  to pool/main/d/deb-gview/deb-gview_0.2.4.dsc
deb-gview_0.2.4.tar.gz
  to pool/main/d/deb-gview/deb-gview_0.2.4.tar.gz
deb-gview_0.2.4_amd64.deb
  to pool/main/d/deb-gview/deb-gview_0.2.4_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Neil Williams <[email protected]> (supplier of updated deb-gview package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 01 Jun 2009 14:43:08 +0100
Source: deb-gview
Binary: deb-gview
Architecture: source amd64
Version: 0.2.4
Distribution: unstable
Urgency: low
Maintainer: Neil Williams <[email protected]>
Changed-By: Neil Williams <[email protected]>
Description: 
 deb-gview  - GNOME viewer for .deb package files and contents
Closes: 528296 530631
Changes: 
 deb-gview (0.2.4) unstable; urgency=low
 .
   * New release.
   * Add format specifier for all calls to g_warning. (Closes: #530631)
   * Migrate Vcs-Browser to new alioth URL (Closes: #528296)
Checksums-Sha1: 
 3d825d1d47a47f50f941f5f218b00a62a407c643 1043 deb-gview_0.2.4.dsc
 3627784481811f99fdaf2afb3aeae2ab3566b78e 371244 deb-gview_0.2.4.tar.gz
 f70864e3847ac1130aff265d24369d21fb6c0212 61690 deb-gview_0.2.4_amd64.deb
Checksums-Sha256: 
 bb75ae2405d1321784756e0b1cc5589c4f58d65fb6120a10bb867ef0c58039c5 1043 
deb-gview_0.2.4.dsc
 88d44cdbbeb6374357cea35c54264c8a7bf651040b7bd93d1489570d406d4435 371244 
deb-gview_0.2.4.tar.gz
 ec2ce5a5dd120c90e9068d33fd22cba3877ebeed6cba4583cfa586eceadff1e0 61690 
deb-gview_0.2.4_amd64.deb
Files: 
 05fd1ca63fa33cb2f2db0c0e439f0ac2 1043 utils optional deb-gview_0.2.4.dsc
 1bf4d63c0e2c026294961b3548732e56 371244 utils optional deb-gview_0.2.4.tar.gz
 293782515925151a28af85109441f95f 61690 utils optional deb-gview_0.2.4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoj+GMACgkQiAEJSii8s+PGHQCghxm/h74Zhks9tQqBzDUBIJ85
pEAAoO0DRbcsA3Mjq8ZFwWJJtHCz8zhC
=1+Hd
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to