• Bug#1059671: ropgadget: autopkgtest failure with Python 3.12

    From Graham Inggs@21:1/5 to All on Fri Dec 29 22:30:02 2023
    Source: ropgadget
    Version: 7.4+dfsg-1
    Severity: serious
    User: debian-python@lists.debian.org
    Usertags: python3.12

    Hi Maintainer

    ropgadget's autopkgtests fail with Python 3.12 [1]. I've copied what
    I hope is the relevant part of the log below.

    Regards
    Graham


    [1] https://ci.debian.net/packages/r/ropgadget/testing/amd64/


    36s autopkgtest [20:09:35]: test autodep8-python3: [-----------------------
    36s Testing with python3.12:
    36s Traceback (most recent call last):
    36s File "<string>", line 1, in <module>
    36s File "/usr/lib/python3/dist-packages/ropgadget/__init__.py",
    line 10, in <module>
    36s import ropgadget.binary
    36s File "/usr/lib/python3/dist-packages/ropgadget/binary.py", line
    11, in <module>
    36s from ropgadget.loaders.elf import *
    36s File "/usr/lib/python3/dist-packages/ropgadget/loaders/__init__.py", line 9, in <module>
    36s import ropgadget.loaders.elf
    36s File "/usr/lib/python3/dist-packages/ropgadget/loaders/elf.py",
    line 11, in <module>
    36s from capstone import *
    36s File "/usr/lib/python3/dist-packages/capstone/__init__.py",
    line 266, in <module>
    36s import distutils.sysconfig
    36s ModuleNotFoundError: No module named 'distutils'
    37s autopkgtest [20:09:36]: test autodep8-python3: -----------------------]
    37s autodep8-python3 FAIL non-zero exit status 1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Jan 3 13:40:02 2024
    Processing control commands:

    reassign -1 python3-capstone
    Bug #1059671 [src:ropgadget] ropgadget: autopkgtest failure with Python 3.12 Bug reassigned from package 'src:ropgadget' to 'python3-capstone'.
    No longer marked as found in versions ropgadget/7.4+dfsg-1.
    Ignoring request to alter fixed versions of bug #1059671 to the same values previously set
    retitle -1 python3-capstone: Python 3.12 has no module named 'distutils'
    Bug #1059671 [python3-capstone] ropgadget: autopkgtest failure with Python 3.12 Changed Bug title to 'python3-capstone: Python 3.12 has no module named 'distutils'' from 'ropgadget: autopkgtest failure with Python 3.12'.

    --
    1059671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059671
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Timo =?UTF-8?Q?R=C3=B6hling?=@21:1/5 to All on Wed Jan 3 13:40:01 2024
    Control: reassign -1 python3-capstone
    Control: retitle -1 python3-capstone: Python 3.12 has no module named 'distutils'

    On Fri, 29 Dec 2023 23:25:28 +0200 Graham Inggs <ginggs@debian.org>
    wrote:
    36s from capstone import *
    36s File "/usr/lib/python3/dist-packages/capstone/__init__.py",
    line 266, in <module>
    36s import distutils.sysconfig
    36s ModuleNotFoundError: No module named 'distutils'
    37s autopkgtest [20:09:36]: test autodep8-python3: -----------------------]
    37s autodep8-python3 FAIL non-zero exit status 1

    The distutils import happens in python3-capstone, reassigning.


    Cheers
    Timo

    --
    ⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
    ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
    ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
    ⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯

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

    iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmWVUukACgkQ+C8H+466 LVnl8Qv9HUDSE3yGVxSsPrQJsO7ROIT/s1nO6nrasKXURGGeoAQenuS1fGLySFTo wLWmMN/IN1R7N9/NYOdP04gH0M32EaeQ+GrSrkbiqRQqUQXn51occzkRPCGYUaxF JmHZh5fJjQB4OYAYxUQV3tzqUtNpM0VP15off+7kwzOqMVJ7ReKHUx4FcP3aPqTE rCm0maSJqOnX11LWXF/N4cRrZvX40/tIjNAQ5i/h+0+d7KHXD46tFrZmrIqKE1u4 WXO1BJeSyUsP7QiaKEmm9HaZCNji6jZ7sKbMQT7nrc5e9vbI0LLOiHZl671q8pXn 4Q8gONu41Yd3RL+KPnLMSZCpWNM6nIc8NUJCXyqqfoR
  • From Debian Bug Tracking System@21:1/5 to All on Fri Feb 2 08:00:01 2024
    Processing control commands:

    tags -1 + patch
    Bug #1059671 [python3-capstone] python3-capstone: Python 3.12 has no module named 'distutils'
    Added tag(s) patch.

    --
    1059671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059671
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Feb 2 08:10:02 2024
    Processing commands for control@bugs.debian.org:

    affects 1059671 + src:backdoor-factory
    Bug #1059671 [python3-capstone] python3-capstone: Python 3.12 has no module named 'distutils'
    Added indication that 1059671 affects src:backdoor-factory
    thanks
    Stopping processing here.

    Please contact me if you need assistance.
    --
    1059671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059671
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Feb 20 22:30:02 2024
    This is a multi-part message in MIME format...

    Your message dated Tue, 20 Feb 2024 21:19:27 +0000
    with message-id <E1rcXWR-002Oof-9b@fasolo.debian.org>
    and subject line Bug#1059671: fixed in capstone 4.0.2-5.1
    has caused the Debian Bug report #1059671,
    regarding python3-capstone: Python 3.12 has no module named 'distutils'
    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 owner@bugs.debian.org
    immediately.)


    --
    1059671: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059671
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 29 Dec 2023 21:25:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-5.7 required=4.0 tests=BAYES_00,FOURLA,FROMDEVELOPER,
    RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,
    SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 143; neutral, 30; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--autopkgtest,
    0.000-+--H*RU:198.252.153.129,
    0.000-+--Hx-spam-relays-external:mx1.riseup.net,
    0.000-+--Hx-spam-relays-external:198.252.153.129
    Return-path: <ginggs@debian.org>
    Received: from mx1.riseup.net ([198.252.153.129]:37398)
    by buxtehude.debian.org with esmtps (TLS1.3:E