Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 804142

Summary: dev-libs/gobject-introspection-1.68.0 - meson.build:161:3: ERROR: C header 'Python.h' not usable - fatal error: crypt.h: No such file or directory
Product: Gentoo Linux Reporter: Nick <ka.nick>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: floppym, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nick 2021-07-25 12:54:15 UTC
Otherwise it fails to build with 

meson.build:161:3: ERROR: C header 'Python.h' not usable

Checking meson.log shows

fatal error: crypt.h: No such file or directory

Installing sys-libs/libxcrypt fixes this.

Reproducible: Always

Steps to Reproduce:
1. Update @world on ~amd64
2. Fail
Comment 1 Mike Gilbert gentoo-dev 2021-07-26 16:08:52 UTC
Please attach a build log and meson-log.txt from the build directory.
Comment 2 Mike Gilbert gentoo-dev 2021-07-26 16:12:45 UTC
Python.h from dev-lang/python has this:

#include <crypt.h>

All versions of dev-lang/python currently in Gentoo have virtual/libcrypt in RDEPEND.
Comment 3 Mike Gilbert gentoo-dev 2021-07-26 19:45:05 UTC
I assume this is just a portage merge order problem.

*** This bug has been marked as a duplicate of bug 802210 ***