Processed: Re: Bug#815469: jessie-pu: package osmo/0.2.12-1+deb8u1
Processing control commands: > tags -1 + pending Bug #815469 [release.debian.org] jessie-pu: package osmo/0.2.12-1+deb8u1 Added tag(s) pending. -- 815469: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815469 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#815469: jessie-pu: package osmo/0.2.12-1+deb8u1
Control: tags -1 + pending On 2016-02-21 20:03, Markus Koschany wrote: Am 21.02.2016 um 20:22 schrieb Adam D. Barratt: Control: tags -1 + confirmed On Sun, 2016-02-21 at 19:46 +0100, Markus Koschany wrote: 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 Please go ahead. Regards, Adam Uploaded. Thanks. Flagged for acceptance. Regards, Adam
Bug#815469: jessie-pu: package osmo/0.2.12-1+deb8u1
Am 21.02.2016 um 20:22 schrieb Adam D. Barratt: > Control: tags -1 + confirmed > > On Sun, 2016-02-21 at 19:46 +0100, Markus Koschany wrote: >> 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 > > Please go ahead. > > Regards, > > Adam Uploaded. Thanks. signature.asc Description: OpenPGP digital signature
Processed: Re: Bug#815469: jessie-pu: package osmo/0.2.12-1+deb8u1
Processing control commands: > tags -1 + confirmed Bug #815469 [release.debian.org] jessie-pu: package osmo/0.2.12-1+deb8u1 Added tag(s) confirmed. -- 815469: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815469 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#815469: jessie-pu: package osmo/0.2.12-1+deb8u1
Control: tags -1 + confirmed On Sun, 2016-02-21 at 19:46 +0100, Markus Koschany wrote: > 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 Please go ahead. Regards, Adam
Bug#815469: jessie-pu: package osmo/0.2.12-1+deb8u1
Package: release.debian.org Severity: normal Tags: jessie User: release.debian@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.0 +0200 +++ osmo-0.2.12/debian/changelog 2016-02-21 19:36:29.0 +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 KoschanySun, 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.0 +0100 +++ osmo-0.2.12/debian/patches/libarchive-i386.patch 2016-02-21 19:36:29.0 +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, ); + entry = archive_entry_new (); + archive_entry_copy_stat (entry, ); ++ 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.0 +0100 +++ osmo-0.2.12/debian/patches/series 2016-02-21 19:36:29.0 +0100 @@ -0,0 +1 @@ +libarchive-i386.patch