Package: release.debian.org Severity: normal User: [email protected] Usertags: unblock
Please unblock package swift 2.10.1-3. This new version fixies FTBFS on i386 (#860638). Debdiff attached. Thanks. unblock swift/2.10.1-3 -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru swift-2.10.1/debian/changelog swift-2.10.1/debian/changelog --- swift-2.10.1/debian/changelog 2017-01-13 10:05:12.000000000 +0100 +++ swift-2.10.1/debian/changelog 2017-04-20 22:51:28.000000000 +0200 @@ -1,3 +1,9 @@ +swift (2.10.1-3) unstable; urgency=medium + + * d/patches/FTBFS_i386.patch: Fix FTBFS on i386 (Closes: #860638) + + -- Ondřej Nový <[email protected]> Thu, 20 Apr 2017 22:51:28 +0200 + swift (2.10.1-2) unstable; urgency=medium * Don't start rsyslog during postinst/postrm if it's stopped diff -Nru swift-2.10.1/debian/patches/FTBFS_i386.patch swift-2.10.1/debian/patches/FTBFS_i386.patch --- swift-2.10.1/debian/patches/FTBFS_i386.patch 1970-01-01 01:00:00.000000000 +0100 +++ swift-2.10.1/debian/patches/FTBFS_i386.patch 2017-04-20 22:51:28.000000000 +0200 @@ -0,0 +1,26 @@ +From cc8ddf97b666ab91d48f6bc382f6bbdde52cc931 Mon Sep 17 00:00:00 2001 +From: Ondřej Nový <[email protected]> +Date: Thu, 20 Apr 2017 16:57:15 +0200 +Subject: [PATCH] Fix unit tests on i386 and other archs +Forwarded: https://review.openstack.org/#/c/458539/ + +Change-Id: I4f84b725e220e28919570fd7f296b63b34d0375d +--- + +diff --git a/test/unit/common/test_utils.py b/test/unit/common/test_utils.py +index c412b95..a00faf9 100644 +--- a/test/unit/common/test_utils.py ++++ b/test/unit/common/test_utils.py +@@ -3591,6 +3591,12 @@ + def _fake_syscall(*args): + called['syscall'] = args + ++ # Test if current architecture supports changing of priority ++ try: ++ utils.NR_ioprio_set() ++ except OSError as e: ++ return unittest.skip(e) ++ + with patch('swift.common.utils._libc_setpriority', + _fake_setpriority), \ + patch('swift.common.utils._posix_syscall', _fake_syscall): diff -Nru swift-2.10.1/debian/patches/series swift-2.10.1/debian/patches/series --- swift-2.10.1/debian/patches/series 2017-01-13 10:05:12.000000000 +0100 +++ swift-2.10.1/debian/patches/series 2017-04-20 22:51:28.000000000 +0200 @@ -2,3 +2,4 @@ syslog_log_name.patch Quarantine_malformed_database_schema_SQLite_errors.patch For_any_part_only_one_replica_can_move_in_a_rebalance.patch +FTBFS_i386.patch

