Project

General

Profile

Support #42300

Unable to build python binding in CentOS 8

Added by Clément Oudot 3 months ago. Updated 3 months ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
29 Apr 2020
Due date:
% Done:

0%

Patch proposed:
No
Planning:
No

Description

I tried to build packages for CentOS 8 but I did not manage to have the python binding files, so it fails at the end with:

Erreur de construction de RPM :
    Fichier non trouvé : /home/ow2/build/BUILDROOT/lasso-2.6.1-1.el8.x86_64/usr/lib64/python2.7/site-packages/lasso.py*
    Fichier non trouvé : /home/ow2/build/BUILDROOT/lasso-2.6.1-1.el8.x86_64/usr/lib64/python2.7/site-packages/_lasso.so

I join a full log it this can help.

lasso.log View - rpmbuild output (100 KB) Clément Oudot, 29 Apr 2020 09:59 PM

History

#1 Updated by Frédéric Péters 3 months ago

checking for Python development files... no

Probably just that; python3-devel (I guess) should be added to build-depends.

#2 Updated by Clément Oudot 3 months ago

Thanks a lot, I was trying to build with python2, but this does not seems to work on CentOS 8. I had no issue with this on CentOS 7.

I'm trying with python3 now.

#3 Updated by Clément Oudot 3 months ago

It works with python3 and these adaptations in spec file: https://github.com/LemonLDAPNG/lasso-rpm/commit/a34e89993f0a65ca6376dc11edca44660ab595d4

Thanks for the quick support and good night ;)

#4 Updated by Frédéric Péters 3 months ago

  • Status changed from Nouveau to Fermé

Excellent.

Also available in: Atom PDF