https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/python-3.9.7_p1 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: If you think this is a GCC-11 related issue, please block bug 732706.
Created attachment 745896 [details] build.log build log and emerge --info
Possible context of error(s): /usr/include/tk.h:96:13: fatal error: X11/Xlib.h: No such file or directory /usr/include/tk.h:96:13: fatal error: X11/Xlib.h: No such file or directory
I'm confused as to why libX11 is not emerged here dev-lang/tk-8.6.11.1:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug -test threads -truetype -xscreensaver !aqua? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
In my case, Python was failing to build because crypt.h was missing. (Actually, a bunch of packages were failing to build; Python was one of them.) I checked another host and found that sys-libs/libxcrypt provides /usr/include/crypt.h, but this wasn't installed on the host that was having issues. After installing libxcrypt, Python built without further complaint. I then continued with emerge -uNDv @world, and the first thing it pulled in was virtual/libcrypt. Are there some undeclared dependencies somewhere that could be causing this problem?
(In reply to Scott Alfter from comment #4) > In my case, Python was failing to build because crypt.h was missing. > (Actually, a bunch of packages were failing to build; Python was one of > them.) I checked another host and found that sys-libs/libxcrypt provides > /usr/include/crypt.h, but this wasn't installed on the host that was having > issues. After installing libxcrypt, Python built without further complaint. > I then continued with emerge -uNDv @world, and the first thing it pulled in > was virtual/libcrypt. Are there some undeclared dependencies somewhere that > could be causing this problem? This is bug 802210 but mitigated by recent changes (see the bottom of the bug) if Python is upgraded first.