Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

3.11 build reports missing _tkinter on Ubuntu 18.04 #98973

Copy link
Copy link
@vient

Description

@vient
Issue body actions

Bug report

Python 3.11 build on Ubuntu 18.04 reports checking for stdlib extension module _tkinter... missing even if all necessary packages are installed. This does not happen on Ubuntu 20.04, the difference that I noticed is that 20.04 packages include .pc files for pkg-config while on 18.04 they are not.

Installed packages on 18.04:

ii  libtcl8.6:amd64                  8.6.8+dfsg-3                        amd64        Tcl (the Tool Command Language) v8.6 - run-time library files
ii  tcl                              8.6.0+9                             amd64        Tool Command Language (default version) - shell
ii  tcl-dev:amd64                    8.6.0+9                             amd64        Tool Command Language (default version) - development files
ii  tcl8.6                           8.6.8+dfsg-3                        amd64        Tcl (the Tool Command Language) v8.6 - shell
ii  tcl8.6-dev:amd64                 8.6.8+dfsg-3                        amd64        Tcl (the Tool Command Language) v8.6 - development files

# dpkg -l | grep tk
ii  libtk8.6:amd64                   8.6.8-4                             amd64        Tk toolkit for Tcl and X11 v8.6 - run-time files
ii  tk                               8.6.0+9                             amd64        Toolkit for Tcl and X11 (default version) - windowing shell
ii  tk-dev:amd64                     8.6.0+9                             amd64        Toolkit for Tcl and X11 (default version) - development files
ii  tk8.6                            8.6.8-4                             amd64        Tk toolkit for Tcl and X11 v8.6 - windowing shell
ii  tk8.6-blt2.5                     2.5.3+dfsg-4                        amd64        graphics extension library for Tcl/Tk - library
ii  tk8.6-dev:amd64                  8.6.8-4                             amd64        Tk toolkit for Tcl and X11 v8.6 - development files

Dockerfile, RUN ./configure eventually prints that _tkinter and _uuid are missing

FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive

WORKDIR /python
RUN apt update
RUN apt install --yes software-properties-common wget tar
RUN add-apt-repository --yes --update --enable-source ppa:deadsnakes
RUN apt-get build-dep --yes python3.11
RUN wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz
RUN tar xvf Python-3.11.0.tar.xz

WORKDIR /python/Python-3.11.0
RUN ./configure
ENTRYPOINT /bin/bash

Your environment

  • CPython versions tested on: 3.11.0
  • Operating system and architecture: Ubuntu 18.04.6 amd64
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.