Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#4638 closed task (fixed)

ICA: Several files in the Python dir differ between 1st and 2nd pass

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 10.0
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Namely: /usr/lib/python3.8/pyconfig.h has new defines related to UUID and /usr/lib/python3.8/_sysconfigdata__linux_x86_64-linux-gnu.py has two more entries related to UUID too. Furthermore there is a new file on 2nd pass: /usr/lib/python3.8/lib-dynload/_uuid.cpython-38-x86_64-linux-gnu.so.

Solution (in progress) Looks like configure checks for the header file (and then setup.py when building the associated module) <uuid/uuid.h>. Since I now have util-linux in chapter 5, I'll just try to symlink /tools/include/uuid to /usr/include during python build (removing at the end). But maybe it also needs libuuid.h in /usr/lib, don't know.

Change History (4)

comment:1 by Bruce Dubbs, 5 years ago

From pierre.labastie:

Yes, the library (libuuid.so*, not libuuid.h) is needed, otherwise the module is built but withdrawn, because it cannot be imported.

comment:2 by Pierre Labastie, 5 years ago

Can be solved by creating links to util-linux libraires and headers, and copying sed'ed .pc files in "Creating essential files and symlinks", which solves also #4637 and #4642.

comment:3 by Pierre Labastie, 5 years ago

Resolution: fixed
Status: newclosed

Fixed at r11817

comment:4 by Bruce Dubbs, 4 years ago

Milestone: 9.210.0

Milestone renamed

Note: See TracTickets for help on using tickets.