[Bug 2141579] Re: libstdc++-15-dev needs to fix libstdc++.modules.json contents

Matthias Klose 2141579 at bugs.launchpad.net
Fri Feb 13 09:37:20 UTC 2026


fixed for 26.04 LTS

** Changed in: gcc-15 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-15 in Ubuntu.
https://bugs.launchpad.net/bugs/2141579

Title:
  libstdc++-15-dev needs to fix libstdc++.modules.json contents

Status in gcc-15 package in Ubuntu:
  Fix Released

Bug description:
  The /usr/lib/gcc/x86_64-linux-gnu/15/libstdc++.modules.json file
  contains the following contents:

  ```
  {
    "version": 1,
    "revision": 1,
    "modules": [
      {
        "logical-name": "std",
        "source-path": "../include/c++/15/bits/std.cc",
        "is-std-library": true
      },
      {
        "logical-name": "std.compat",
        "source-path": "../include/c++/15/bits/std.compat.cc",
        "is-std-library": true
      }
    ]
  }
  ```

  This is incorrect because `std.cc` actually lives at
  /usr/include/c++/15/bits/std.cc. I suspect packaging is relocating
  files manually rather than informing the `install` process of their
  ultimate distinations. Whatever is relocating either `std.cc` or the
  `libstdc++.modules.json` file needs to update the contents to be
  consistent with their final locations.

  Also likely applies to other `libstdc++.modules.json`-shipping gcc
  versions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-15/+bug/2141579/+subscriptions




More information about the foundations-bugs mailing list