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


Groups > linux.debian.kernel > #89621 > unrolled thread

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

Started bySimon McVittie <smcv@debian.org>
First post2025-10-14 23:30 +0200
Last post2025-10-16 17:10 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  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
    Processed: Re: Bug#1118100: linux: FTBFS on 'all' buildd: Could  not import extension kernel_include (exception: No module named  'docutils.utils.error_reporting') "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-10-15 00:20 +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
    Bug#1118100: marked as done (linux: FTBFS on 'all' buildd: Could  not import extension kernel_include (exception: No module named  'docutils.utils.error_reporting')) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-10-16 17:10 +0200

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

FromSimon McVittie <smcv@debian.org>
Date2025-10-14 23:30 +0200
SubjectBug#1118100: linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting')
Message-ID<LFUKJ-5e8H-1@gated-at.bofh.it>
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?)

    smcv

[toc] | [next] | [standalone]


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

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-10-15 00:20 +0200
SubjectProcessed: Re: Bug#1118100: linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting')
Message-ID<LFVx7-5eJD-5@gated-at.bofh.it>
In reply to#89621
Processing control commands:

> forwarded -1 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=00d95fcc4dee66dfb6980de6f2973b32f973a1eb
Bug #1118100 [src:linux] linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting')
Set Bug forwarded-to-address to 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=00d95fcc4dee66dfb6980de6f2973b32f973a1eb'.

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

[toc] | [prev] | [next] | [standalone]


#89624

FromSalvatore Bonaccorso <carnil@debian.org>
Date2025-10-15 08:30 +0200
Message-ID<LG3bj-5jXa-5@gated-at.bofh.it>
In reply to#89621
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

[toc] | [prev] | [next] | [standalone]


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

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-10-16 17:10 +0200
SubjectBug#1118100: marked as done (linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting'))
Message-ID<LGxM6-5EOR-23@gated-at.bofh.it>
In reply to#89621

[Multipart message — attachments visible in raw view] — view raw

Your message dated Thu, 16 Oct 2025 15:00:11 +0000
with message-id <E1v9PSd-001qLI-2Z@fasolo.debian.org>
and subject line Bug#1118100: fixed in linux 6.16.12-2
has caused the Debian Bug report #1118100,
regarding linux: FTBFS on 'all' buildd: Could not import extension kernel_include (exception: No module named 'docutils.utils.error_reporting')
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.)


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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web