all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#64803: python-shiboken-6 fails
@ 2023-07-23 11:26 Formbi via Bug reports for GNU Guix
  2023-07-25  0:21 ` Hilton Chain via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: Formbi via Bug reports for GNU Guix @ 2023-07-23 11:26 UTC (permalink / raw)
  To: 64803

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-26 15:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-23 11:26 bug#64803: python-shiboken-6 fails Formbi via Bug reports for GNU Guix
2023-07-25  0:21 ` Hilton Chain via Bug reports for GNU Guix
2023-07-26 15:06   ` bug#64803: Close: " Hilton Chain via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.