Project

General

Profile

Support #42300

Unable to build python binding in CentOS 8

Added by Clément Oudot over 4 years ago. Updated over 4 years ago.

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

0%

Estimated time:
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.


Files

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

History

#1

Updated by Frédéric Péters (de retour le 4/11) over 4 years 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 over 4 years 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 over 4 years 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 (de retour le 4/11) over 4 years ago

  • Status changed from Nouveau to Fermé

Excellent.

Also available in: Atom PDF