GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Libmpec-dev not available on debian 12 when building Python · Issue #119114 · python/cpython

Libmpec-dev not available on debian 12 when building Python #119114

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Libmpec-dev not available on debian 12 when building Python#119114
Copy link
Labels
buildThe build process and cross-buildThe build process and cross-builddocsDocumentation in the Doc dirDocumentation in the Doc dir

Description

@neochine
neochine
opened on May 17, 2024
Issue body actions

Feature or enhancement

Proposal:

In this guide
https://devguide.python.org/getting-started/setup-building/#build-dependencies
it suggests lib-mpdec but its not available in debian 12? Perhaps its outdated package?

root@v18606:~/cpython# sudo apt-get install build-essential gdb lcov pkg-config \
      libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev \
      libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \
      lzma lzma-dev tk-dev uuid-dev zlib1g-dev libmpdec-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libreadline-dev' instead of 'libreadline6-dev'
E: Unable to locate package libmpdec-dev

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Reacted by Erlend E. Aasland

Activity

  1. neochine
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on May 17, 2024
  2. we-are-all-individuals commented on May 17, 2024

    @we-are-all-individuals
    we-are-all-individuals
    on May 17, 2024
    More actions

    I encountered the same issue. It looks like mpdecimal has been removed solely because dh-sphinxdoc was not happy with the pre-built HTML docs ...

    https://groups.google.com/g/linux.debian.bugs.dist/c/IhDtdjrk7mE

    The upstream mpdecimal changelog states that the Sphinx documentation is now in a separate package:

    https://www.bytereef.org/mpdecimal/changelog.html

    Debian should not have any reason not to reinstate the package, it should be trivial. I suggest to ask nicely on the Debian mailing lists and mention that mpdecimal will be assumed to be present in the CPython build process in the future.

    Reacted by Erlend E. Aasland and Mike
  3. aisk
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    and removed
    type-featureA feature request or enhancementA feature request or enhancement
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on May 17, 2024
  4. neochine commented on May 17, 2024

    @neochine
    neochine
    on May 17, 2024
    Author
    More actions

    Alright. Given I could build python3.12 even without installing that package, it looks not much necessary. I think issue can be closed

  5. aisk commented on May 17, 2024

    @aisk
    aisk
    on May 17, 2024
    Member
    More actions

    The devguide said that mpdecimal is just an optional package for building with optional packages, so it is not required for building Python.

    But I think this is still an issue that needs to be fixed.

    Reacted by Erlend E. Aasland and Mike
  6. aisk
    changed the title [-]Libmpec-dev not available[/-] [+]Libmpec-dev not available on debian 12 when building Python[/+] on May 17, 2024
  7. devdanzin commented on May 17, 2024

    @devdanzin
    devdanzin
    on May 17, 2024
    Member
    More actions

    Here's the Debian bug report log for the removal: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056785

    Reacted by Erlend E. Aasland
  8. we-are-all-individuals commented on May 17, 2024

    @we-are-all-individuals
    we-are-all-individuals
    on May 17, 2024
    More actions

    Here's the Debian bug report log for the removal: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056785

    Reading that issue, it looks like the Debian developers are not going to respond there. Perhaps opening an issue against the Debian CPython package will get more attention.

    Reacted by Erlend E. Aasland
  9. aisk
    added
    buildThe build process and cross-buildThe build process and cross-build
    on May 17, 2024
  10. erlend-aasland commented on May 17, 2024

    @erlend-aasland
    erlend-aasland
    on May 17, 2024
    Contributor
    More actions

    Note that it is still possible to use the bundled copy using --without-system-libmpdec (IIRC; I'm on mobile). Perhaps we should mention that in the devguide. I'll open an issue on the devguide tracker. Moreover, opening an issue on the Debian tracker to get the libmpdecimal package reinstated sounds like a good idea; I also commented on their tracker, but I received no reply so far.

  11. erlend-aasland
    closed this as not plannedon May 17, 2024
  12. erlend-aasland commented on May 20, 2024

    @erlend-aasland
    erlend-aasland
    on May 20, 2024
    Contributor
    More actions

    FTR, a fallback to the bundled version is added in #119196.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildThe build process and cross-builddocsDocumentation in the Doc dirDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.