Package: onboard Version: 1.4.1-6 Severity: important Tags: ftbfs patch User: debian-riscv@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-riscv@lists.debian.org Dear Maintainer, Onboard has a FTBFS issue on riscv64: ``` task-0: self._get_model_files(), "test " + str(i)) task-0: E AssertionError: Lists differ: [['en_US.lm', 1]] != [['user.lm', 1]] task-0: E task-0: E First differing element 0: task-0: E ['en_US.lm', 1] task-0: E ['user.lm', 1] task-0: E task-0: E - [['en_US.lm', 1]] task-0: E ? ^^^^ task-0: E task-0: E + [['user.lm', 1]] task-0: E ? ++ ^ task-0: E : test 0 ``` The full build log is here: https://buildd.debian.org/status/fetch.php?pkg=onboard&arch=riscv64&ver=1.4.1-6&stamp=1715586733&raw=0 In fact, this is not a specially riscv64 issue, it has the same FTBFS on alpha, hppa, sparc64 also. But unfortunately, I was failed to fix the root cause for the issue. So I am appreciated if you can hint me how to fix it. I thought maybe there is one config was missing on these architectures. Instead of finding a perfect solution, I propose one patch to skip the test on riscv64 to get the package will be built. If this is okay, i think we should keep the reportbug opening until it is completely resolved. Any helps would be great! alpha: https://buildd.debian.org/status/fetch.php?pkg=onboard&arch=alpha&ver=1.4.1-6&stamp=1712238333&raw=0 hppa: https://buildd.debian.org/status/fetch.php?pkg=onboard&arch=hppa&ver=1.4.1-6&stamp=1712271520&raw=0 sparc64: https://buildd.debian.org/status/fetch.php?pkg=onboard&arch=sparc64&ver=1.4.1-6&stamp=1715474713&raw=0 -- Regards, -- Bo YU
diff -Nru onboard-1.4.1/debian/patches/2003_skip_testmigration_on_riscv64.patch onboard-1.4.1/debian/patches/2003_skip_testmigration_on_riscv64.patch --- onboard-1.4.1/debian/patches/2003_skip_testmigration_on_riscv64.patch 1970-01-01 08:00:00.000000000 +0800 +++ onboard-1.4.1/debian/patches/2003_skip_testmigration_on_riscv64.patch 2024-04-04 00:11:22.000000000 +0800 @@ -0,0 +1,26 @@ +Description: skip the test on riscv64 +Author: tsu.yubo@gmail.com +Last-Update: 2024-05-14 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: onboard-1.4.1/Onboard/test/test_migration.py +=================================================================== +--- onboard-1.4.1.orig/Onboard/test/test_migration.py ++++ onboard-1.4.1/Onboard/test/test_migration.py +@@ -18,6 +18,7 @@ + # along with this program. If not, see <http://www.gnu.org/licenses/>. + + import os ++import platform + import time + import glob + import tempfile +@@ -39,7 +40,7 @@ class TestMigration(unittest.TestCase): + with self._run_onboard() as p: + self.assertEqual([], + self._get_model_files()) +- ++ @unittest.skipIf(platform.machine() == 'riscv64', "skip the test due to failed") + def test_migrate_user_model(self): + tests = [ + [ diff -Nru onboard-1.4.1/debian/patches/series onboard-1.4.1/debian/patches/series --- onboard-1.4.1/debian/patches/series 2024-04-04 00:07:08.000000000 +0800 +++ onboard-1.4.1/debian/patches/series 2024-04-04 00:11:22.000000000 +0800 @@ -12,3 +12,4 @@ 2001_drop-gui-test.patch 2002_drop-dbus-test.patch 1011_python-distutils-byebye.patch +2003_skip_testmigration_on_riscv64.patch
Attachment:
signature.asc
Description: PGP signature