[Bug 2141579] [NEW] libstdc++-15-dev needs to fix libstdc++.modules.json contents
Ben Boeckel
2141579 at bugs.launchpad.net
Wed Feb 11 17:08:19 UTC 2026
Public bug reported:
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.
** Affects: gcc-15 (Ubuntu)
Importance: Undecided
Status: New
--
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:
New
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