Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1266181

Bug#1118100: linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting')

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1118100: linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting')
Date 2025-10-15 08:30 +0200
Message-ID <LG3bj-5jXa-5@gated-at.bofh.it> (permalink)
References <LFUKJ-5e8H-1@gated-at.bofh.it> <LFUKJ-5e8H-1@gated-at.bofh.it> <LFVx7-5eJD-3@gated-at.bofh.it> <LFUKJ-5e8H-1@gated-at.bofh.it> <LFVx7-5eJD-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi,

On Wed, Oct 15, 2025 at 01:09:29AM +0300, Adrian Bunk wrote:
> Control: forwarded -1 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=00d95fcc4dee66dfb6980de6f2973b32f973a1eb
> 
> On Tue, Oct 14, 2025 at 10:24:49PM +0100, Simon McVittie wrote:
> > Source: linux
> > Version: 6.16.12-1
> > Severity: serious
> > Tags: ftbfs
> > Justification: fails to build from source (but built successfully in the past)
> > X-Debbugs-Cc: python3-docutils@packages.debian.org, python3-sphinx@packages.debian.org
> > 
> > The linux source package didn't successfully build its Architecture: all
> > binary packages (notably linux-libc-dev, which is build-essential) on 
> > the official buildds:
> > 
> > >Running Sphinx v8.2.3
> > >Using alabaster theme
> > >loading translations [en]... done
> > >
> > >Extension error!
> > ...
> > >      File "/usr/lib/python3/dist-packages/sphinx/registry.py", line 544, in load_extension
> > >        raise ExtensionError(
> > >            __('Could not import extension %s') % extname, err
> > >        ) from err
> > >    sphinx.errors.ExtensionError: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting')
> > 
> > (Is this perhaps an incompatible change in the recent python-docutils 
> > upload?)
> 
> Seems so:
>     The ErrorString() and SafeString() docutils functions were helpers meant to
>     ease the handling of encodings during the Python 3 transition.  There is no
>     real need for them after Python 3.6, and docutils 0.22 removes them,
>     breaking the docs build
> 
> That's from the commit I'm linking above (untested).

Yes thank you to both. This affects the linux upload as well as done
in experimental

I'm looking if we can cherry-pick changes from 6.18-rc1 containing the
fix down to unstable asap.

Regards,
Salvatore

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1118100: linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting') Simon McVittie <smcv@debian.org> - 2025-10-14 23:30 +0200
  Bug#1118100: linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting') Salvatore Bonaccorso <carnil@debian.org> - 2025-10-15 08:30 +0200

csiph-web