Your message dated Mon, 24 Mar 2025 13:06:45 +0000
with message-id <[email protected]>
and subject line Bug#1099498: fixed in python-ppmd 0.5.0-2
has caused the Debian Bug report #1099498,
regarding python-ppmd FTBFS on sid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1099498: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099498
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-ppmd
Version: 0.5.0-1
Severity: important
Tags: patch ftbfs
User: [email protected]
Usertags: origin-ubuntu plucky ubuntu-patch

Dear Maintainer,

python-ppmd fails to build on Debian sid for ppc64el and mips64r2el:

build/temp.linux-ppc64le-cpython-312/_ppmd.c: In function 
‘_cffi_checkfld__CPpmd7_Context’:
build/temp.linux-ppc64le-cpython-312/_ppmd.c:2187:21: error: invalid operands 
to binary | (have ‘CPpmd_State_Ref’ {aka ‘CPpmd_State *’} and ‘int’)
 2187 |   (void)((p->Stats) | 0);  /* check that 'CPpmd7_Context.Stats' is an 
integer */
      |          ~~~~~~~~~~ ^
      |            |
      |            CPpmd_State_Ref {aka CPpmd_State *}
build/temp.linux-ppc64le-cpython-312/_ppmd.c:2188:22: error: invalid operands 
to binary | (have ‘CPpmd7_Context_Ref’ {aka ‘struct CPpmd7_Context_ *’} and 
‘int’)
 2188 |   (void)((p->Suffix) | 0);  /* check that 'CPpmd7_Context.Suffix' is an 
integer */
      |          ~~~~~~~~~~~ ^
      |            |
      |            CPpmd7_Context_Ref {aka struct CPpmd7_Context_ *}
build/temp.linux-ppc64le-cpython-312/_ppmd.c: In function 
‘_cffi_checkfld__CPpmd8_Context’:
build/temp.linux-ppc64le-cpython-312/_ppmd.c:2200:21: error: invalid operands 
to binary | (have ‘CPpmd_State_Ref’ {aka ‘CPpmd_State *’} and ‘int’)
 2200 |   (void)((p->Stats) | 0);  /* check that 'CPpmd8_Context.Stats' is an 
integer */
      |          ~~~~~~~~~~ ^
      |            |
      |            CPpmd_State_Ref {aka CPpmd_State *}
build/temp.linux-ppc64le-cpython-312/_ppmd.c:2201:22: error: invalid operands 
to binary | (have ‘CPpmd8_Context_Ref’ {aka ‘struct CPpmd8_Context_ *’} and 
‘int’)
 2201 |   (void)((p->Suffix) | 0);  /* check that 'CPpmd8_Context.Suffix' is an 
integer */
      |          ~~~~~~~~~~~ ^
      |            |
      |            CPpmd8_Context_Ref {aka struct CPpmd8_Context_ *}
error: command '/usr/bin/powerpc64le-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.12 setup.py build 
I: pybuild base:305: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.

In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/fix-64bit-platform-detection.patch: add a patch to fix.
    64-bit platform detection on PowerPC and MIPS


Thanks for considering the patch.


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

Kernel: Linux 6.11.0-18-generic (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru python-ppmd-0.5.0/debian/patches/fix-64bit-platform-detection.patch 
python-ppmd-0.5.0/debian/patches/fix-64bit-platform-detection.patch
--- python-ppmd-0.5.0/debian/patches/fix-64bit-platform-detection.patch 
1969-12-31 17:00:00.000000000 -0700
+++ python-ppmd-0.5.0/debian/patches/fix-64bit-platform-detection.patch 
2025-03-03 22:26:38.000000000 -0700
@@ -0,0 +1,23 @@
+Description: Fix 64-bit platform detection
+ MIPS and PowerPC 64-bit platform detection is not adequate
+Author: Zixing Liu <[email protected]>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-ppmd/+bug/2100831
+Forwarded: not-needed
+Last-Update: 2025-03-03
+---
+Index: python-ppmd/src/ext/PpmdArch.h
+===================================================================
+--- python-ppmd.orig/src/ext/PpmdArch.h
++++ python-ppmd/src/ext/PpmdArch.h
+@@ -83,9 +83,8 @@ struct ISzAlloc
+   || defined(__ARMEB__) \
+   || defined(__THUMBEL__) \
+   || defined(__THUMBEB__) \
+-  || defined(__mips__) \
+-  || defined(__ppc__) \
+-  || defined(__powerpc__) \
++  || (defined(__mips__) && !defined(__mips64__)) \
++  || ((defined(__ppc__) || defined(__powerpc__)) && !defined(__powerpc64__)) \
+   || defined(__sparc__)
+   #define PPMD_32BIT
+ #endif
diff -Nru python-ppmd-0.5.0/debian/patches/series 
python-ppmd-0.5.0/debian/patches/series
--- python-ppmd-0.5.0/debian/patches/series     2024-03-27 08:29:15.000000000 
-0600
+++ python-ppmd-0.5.0/debian/patches/series     2025-03-03 22:21:29.000000000 
-0700
@@ -1 +1,2 @@
 dont-use-setuptools_scm.patch
+fix-64bit-platform-detection.patch

--- End Message ---
--- Begin Message ---
Source: python-ppmd
Source-Version: 0.5.0-2
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-ppmd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated python-ppmd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 24 Mar 2025 12:50:36 +0000
Source: python-ppmd
Architecture: source
Version: 0.5.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1099498
Changes:
 python-ppmd (0.5.0-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Zixing Liu ]
   * Fix MIPS and PowerPC 64-bit platform detection (closes: #1099498,
     LP: #2100831).
 .
   [ Colin Watson ]
   * Fix test for argparse changes in Python 3.10.
   * Run tests during build.
   * Switch to autopkgtest-pkg-pybuild.
Checksums-Sha1:
 0622d4c0233e193c2f54d8238ee84da756c06a07 2317 python-ppmd_0.5.0-2.dsc
 4e184b80a71159d8bb8f45028b5dd637cccbbf81 3460 python-ppmd_0.5.0-2.debian.tar.xz
Checksums-Sha256:
 d11138b843b04f7860e81932b7067b78b6ec745775c92a5989b65b82d07f6fef 2317 
python-ppmd_0.5.0-2.dsc
 b554184bb5a6087e18c138f8cbab6b7706748dddea81c4b5912241b24728f966 3460 
python-ppmd_0.5.0-2.debian.tar.xz
Files:
 8ad49ebe269f38b3d7d1899c83216fce 2317 python optional python-ppmd_0.5.0-2.dsc
 67e271dad2828b09b2836914e47caaa5 3460 python optional 
python-ppmd_0.5.0-2.debian.tar.xz


-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmfhVV4ACgkQOTWH2X2G
UAsm7g/+I3ziKyQUlLm0RZh3G+7thO2ixTvZ9NGnmRISLH62qmaW0uXJ1Jffh/66
GfoRWZB/FB6ZclWx7B21pp6zzowOeyo2y4ec+LtoIIKIlCb/8KEDLq6IrFfyNhEB
Q299HL0ryU+PcY0GaOBd2j0uyommhzRJnSRM2VbRMuJzHha81XGCnzBqnbv8XJZo
egF10xq74mPBq8swNdscm5DGxXjQBDj2z2vtYZ53/tVBSpN6Az6r58l9Q8Evhzsu
mPDpC2EiZTNTjw+0G1UmihkfCC6RW3QsHLgmP1KWdeRVUd5XKssGMgqYdltPB+kc
RKzj8vxSw/6yYaEI3uWHDjBTa62WXN6YT9VON89vTu0hkopXSs7dDMmQ+5j2Nib0
r7we2eTK+b3husO2iwrp8PTnFBKeIzk7n8VRhdwSXwD0ZneLgpb/9VAUpVgitP5h
N3mdJb3nJghVex4PMrcdX0z73GnmKxEnosYGwqJ45wcJ2oeUtuq0fYAtX80sHmnq
WUVCYoAqBoRX8LMR96MV/tv5fIkUIpm+qSAwa8mTRakBklp4k6Ka3fQDuSMp+P4G
FiYmAWi/H6micemin6jFiAspV+ioMnyYTQiqXc/KEvS/lLp2iA0P21L9P2k4OiRk
CV8+QnQ3nRvRmDZQcAwcq2S/pPXpXxNgbJ2bQyrinHYV/CfYtRY=
=bO/n
-----END PGP SIGNATURE-----

Attachment: pgplXF05PmjU6.pgp
Description: PGP signature


--- End Message ---

Reply via email to