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

Bug#815469: marked as done (jessie-pu: package osmo/0.2.12-1+deb8u1)



Your message dated Sat, 02 Apr 2016 14:20:04 +0100
with message-id <1459603204.2441.216.camel@adam-barratt.org.uk>
and subject line Fix included in stable
has caused the Debian Bug report #815469,
regarding jessie-pu: package osmo/0.2.12-1+deb8u1
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 owner@bugs.debian.org
immediately.)


-- 
815469: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815469
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu

Hello,

I would like to update Osmo in Jessie because the internal data backup
function on i386 is broken and it produces only a 50 bytes empty file.
This will lead to invalid data when user's try to restore the backup.

This is Debian bug https://bugs.debian.org/813414

The debdiff is attached.

Regards,

Markus
diff -Nru osmo-0.2.12/debian/changelog osmo-0.2.12/debian/changelog
--- osmo-0.2.12/debian/changelog	2014-10-15 14:20:21.000000000 +0200
+++ osmo-0.2.12/debian/changelog	2016-02-21 19:36:29.000000000 +0100
@@ -1,3 +1,12 @@
+osmo (0.2.12-1+deb8u1) jessie; urgency=medium
+
+  * Add libarchive-i386.patch.
+    Fix corrupt data backup on i386.
+    Thanks to Christian Buchmüller for the report and Maxim Gordienko for the
+    patch. (Closes: #813414)
+
+ -- Markus Koschany <apo@debian.org>  Sun, 21 Feb 2016 19:35:43 +0100
+
 osmo (0.2.12-1) unstable; urgency=medium
 
   * Imported Upstream version 0.2.12.
diff -Nru osmo-0.2.12/debian/patches/libarchive-i386.patch osmo-0.2.12/debian/patches/libarchive-i386.patch
--- osmo-0.2.12/debian/patches/libarchive-i386.patch	1970-01-01 01:00:00.000000000 +0100
+++ osmo-0.2.12/debian/patches/libarchive-i386.patch	2016-02-21 19:36:29.000000000 +0100
@@ -0,0 +1,25 @@
+From: Maxim Gordienko
+Date: Thu, 4 Feb 2016 22:38:37 +0100
+Subject: libarchive i386
+
+On i386 platforms libarchive does not write the file content if
+the archived file content is set only with archive_entry_copy_stat().
+
+Forwarded: http://sourceforge.net/p/osmo-pim/code/1051/
+Debian-Bug: https://bugs.debian.org/813414
+---
+ src/backup.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/backup.c b/src/backup.c
+index 3ece5f5..ee99236 100644
+--- a/src/backup.c
++++ b/src/backup.c
+@@ -68,6 +68,7 @@ tar_archive (const gchar *outname, GUI *appGUI)
+ 		stat (filename, &st);
+ 		entry = archive_entry_new ();
+ 		archive_entry_copy_stat (entry, &st);
++		archive_entry_set_size(entry, st.st_size);
+ 		archive_entry_set_pathname (entry, filename);
+ 		archive_write_header (archive, entry);
+ 		fd = open (filename, O_RDONLY);
diff -Nru osmo-0.2.12/debian/patches/series osmo-0.2.12/debian/patches/series
--- osmo-0.2.12/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ osmo-0.2.12/debian/patches/series	2016-02-21 19:36:29.000000000 +0100
@@ -0,0 +1 @@
+libarchive-i386.patch

--- End Message ---
--- Begin Message ---
Version: 8.4

Hi,

The packages referenced by these bugs were included in today's stable
point release.

Regards,

Adam

--- End Message ---

Reply to: