Package: pastescript Severity: serious Tags: patch ftbfs Justification: fails to build from source (but built successfully in the past) User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu mantic ubuntu-patch X-Debbugs-Cc: scho...@ubuntu.com
Hi, In Ubuntu, the attached patch was applied to work around dh-python removing the test FakePlugin.egg-info directory in the clean step, which is needed for some tests. This is fairly ugly, since Ubuntu has a fairly tight schedule and release is looming, but I'm hoping we'll come up with a better solve in bug 1051837 -- System Information: Debian Release: trixie/sid APT prefers mantic APT policy: (500, 'mantic') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.3.0-7-generic (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER, TAINT_OOT_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru pastescript-3.2.1/debian/rules pastescript-3.2.1/debian/rules --- pastescript-3.2.1/debian/rules 2022-11-20 12:38:22.000000000 +0100 +++ pastescript-3.2.1/debian/rules 2023-09-13 12:18:46.000000000 +0200 @@ -27,3 +27,9 @@ override_dh_installchangelogs: dh_installchangelogs docs/news.txt + +override_dh_auto_clean: + # Work around LP: #2035337 + mv tests/fake_packages/FakePlugin.egg/FakePlugin.egg-info/ fakeplugin.back + dh_auto_clean + mv fakeplugin.back tests/fake_packages/FakePlugin.egg/FakePlugin.egg-info/