Package: mescc-tools
Version: 1.5.2-1
Severity: normal
Tags: patch
X-Debbugs-Cc: michael.hud...@ubuntu.com
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oracular ubuntu-patch

Dear Maintainer,

This package fails to build in Ubuntu currently but not Debian.
Investigation seemed to reveal assumptions in the test suite that are
not valid, so it is possible it will start failing in Debian with kernel
changes or similar. 

I filed an upstream bug https://github.com/oriansj/mescc-tools/issues/47
and applied a simple fix in Ubuntu:

  * d/patches/issue47.diff: Do not assume R0 is 0 at process start up on
    in the ppc64el test.

Thanks for considering the patch.

Cheers,
mwh

-- System Information:
Debian Release: trixie/sid
  APT prefers noble-updates
  APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), 
(100, 'noble-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.0-38-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 mescc-tools-1.5.2/debian/patches/issue47.patch 
mescc-tools-1.5.2/debian/patches/issue47.patch
--- mescc-tools-1.5.2/debian/patches/issue47.patch      1970-01-01 
12:00:00.000000000 +1200
+++ mescc-tools-1.5.2/debian/patches/issue47.patch      2024-07-12 
17:47:41.000000000 +1200
@@ -0,0 +1,25 @@
+Index: mescc-tools-1.5.2/test/test13/hello.M1
+===================================================================
+--- mescc-tools-1.5.2.orig/test/test13/hello.M1
++++ mescc-tools-1.5.2/test/test13/hello.M1
+@@ -28,6 +28,7 @@ DEFINE SC 02000044
+ DEFINE MFLR_R4 A602887C
+ 
+ :_start
++      @0 LI_R0                 # li r0, 0
+       @1 CMPDI_R0              # cmpdi   r0,1
+       ^@overrr BNE             # blne overrr
+ :backkk
+Index: mescc-tools-1.5.2/test/test.answers
+===================================================================
+--- mescc-tools-1.5.2.orig/test/test.answers
++++ mescc-tools-1.5.2/test/test.answers
+@@ -3,7 +3,7 @@
+ 2027e0c8d6295f041d338a430c5a3d3aae042294e5ba4ad1eb08bed16b147671  
test/results/test10-binary
+ bd0fba222284869f35b1ddcc3469d579d862e844122bcacc9b5d673e8bfe2aaf  
test/results/test11-binary
+ 611c702f74f931cff6f010023b0ff5da48dc262167e79e3de31eea2ea5ba20ce  
test/results/test12-binary
+-71bd38e9d077dd339046fe44f47b277981e768902491baeeb97199a86101a320  
test/results/test13-binary
++c9974cf68ebd10f2b8f3e5599f445f75eb8fdf1b57ee5ddd89a7c1439d3bb644  
test/results/test13-binary
+ 793e619fa6ec1adb99c7b65f92f0e713370d56cf503a10d967a9494ce7ef40a9  
test/results/test2-binary
+ 96ade767f30e3d9037a6c597cefb103942c8ec104264a3551017f091b10646e1  
test/results/test3-binary
+ 310bea3129335b2cbda70fd591b2cf079b6f7fc19b22f12061a5379ba96dbdae  
test/results/test4-binary
diff -Nru mescc-tools-1.5.2/debian/patches/series 
mescc-tools-1.5.2/debian/patches/series
--- mescc-tools-1.5.2/debian/patches/series     2023-11-13 11:34:04.000000000 
+1300
+++ mescc-tools-1.5.2/debian/patches/series     2024-07-12 17:47:41.000000000 
+1200
@@ -1 +1,2 @@
 0001-makefile-Call-cleanup.sh-for-test12-and-test13.patch
+issue47.patch

Reply via email to