this is correct behavior. The headers are searched in /usr/include/python3.8
** Package changed: gcc-defaults (Ubuntu) => python3-defaults (Ubuntu) ** Changed in: python3-defaults (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python3-defaults in Ubuntu. https://bugs.launchpad.net/bugs/1899088 Title: Python.h library referencing problem Status in python3-defaults package in Ubuntu: Invalid Bug description: In the file /usrinclude/python3.8/cpython/pystate.h, on line 9, it is trying to reference the initconfig file but is using the path "cpython/initconfig" even though initconfig is in the same directory as pystate.h and gcc thinks that it means another directory called cpython inside the cpython directory. Please change pystate.h so that it references the correct path, modified it on my machine: previous: #include "cpython/initconfig.h" new: #include /*cpython/*/"initconfig.h" please change from previous to new ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: gcc 4:7.4.0-1ubuntu2.3 ProcVersionSignature: Ubuntu 5.4.0-48.52~18.04.1-generic 5.4.60 Uname: Linux 5.4.0-48-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.17 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Thu Oct 8 17:50:12 2020 InstallationDate: Installed on 2020-03-31 (191 days ago) InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1) SourcePackage: gcc-defaults UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1899088/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp