Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725418 - app-emulation/xen-4.13.1: fails with "Python.h: No such file or directory"
Summary: app-emulation/xen-4.13.1: fails with "Python.h: No such file or directory"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-26 05:17 UTC by Sven
Modified: 2020-05-26 08:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,845.60 KB, text/x-log)
2020-05-26 05:18 UTC, Sven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2020-05-26 05:17:21 UTC
xen-tools 4.13.1 fails to build. It doesn't find Python.h. The reason is obvious: the include path is -I/usr/include/python3.7 when it should be -I/usr/include/python3.7m.

I cannot tell where the -I/usr/include/python3.7 is coming from. python3.7-config works correctly:

# python3.7-config --cflags
-I/usr/include/python3.7m -I/usr/include/python3.7m  -Wno-unused-result -Wsign-compare -O2 -pipe -march=corei7 -mtune=native -fwrapv -DNDEBUG 



Reproducible: Always
Comment 1 Sven 2020-05-26 05:18:09 UTC
Created attachment 641804 [details]
build.log
Comment 2 Sven 2020-05-26 05:19:01 UTC
Please provide a workaround. I'd really like to kick python 3.6 off my system and upgrade to 4.13.1
Comment 3 Tomáš Mózes 2020-05-26 08:11:47 UTC
Please resync portage, it should work fine.

I accidentally forgot to update the patchset when moving to 4.13.1.