emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64803: closed (python-shiboken-6 fails)


From: GNU bug Tracking System
Subject: bug#64803: closed (python-shiboken-6 fails)
Date: Wed, 26 Jul 2023 15:07:02 +0000

Your message dated Wed, 26 Jul 2023 23:06:17 +0800
with message-id <87wmymww46.wl-hako@ultrarare.space>
and subject line Close: bug#64803: python-shiboken-6 fails
has caused the debbugs.gnu.org bug report #64803,
regarding python-shiboken-6 fails
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
64803: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64803
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: python-shiboken-6 fails Date: Sun, 23 Jul 2023 11:26:11 +0000
Hi!

The package python-shiboken-6 fails with this error:

*** Error compiling 'signature_bootstrap.py'...
Sorry: IndentationError: unexpected indent (signature_bootstrap.py, line 64)

The line in question (and the neighboring ones for context) looks like this:

import base64
import importlib
        import importlib.machinery as imachi
import io
import sys
import traceback
import zipfile

I tried adding this to the package definition, but it didn't help:
(add-before 'build 'remove-indent
            (lambda _
              (substitute* 
"sources/shiboken6/libshiboken/embed/signature_bootstrap.py"
                           (("        import importlib.machinery as imachi")
                            "import importlib.machinery as imachi"))))

Someone on IRC suggested to use this, but it didn't work either:
(add-before 'build 'remove-indent
                        (lambda _
                          (substitute* 
"libshiboken/embed/signature_bootstrap.py"
                                       (("[ \t]*(import
               importlib\\.machinery.*)" _ suffix) suffix))))

How should I go about fixing this?

Kind regards



--- End Message ---
--- Begin Message --- Subject: Close: bug#64803: python-shiboken-6 fails Date: Wed, 26 Jul 2023 23:06:17 +0800
Fixed in e05dcecd0df49a397aba49585a626cae16a6306c.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]