Public bug reported: 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) ** Affects: gcc-defaults (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899088 Title: Python.h library referencing problem To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1899088/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs