#4016 sssd fails to build with Python 3.8
Closed: Fixed by jhrozek. Opened by sbose.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1713644

Created attachment 1572865
Full log from Copr
sssd 2.1.0-4.fc31 fails to build with Python 3.8.0a4:
make  check-TESTS
make[3]: Entering directory '/builddir/build/BUILD/sssd-2.1.0'
make[3]: git: Command not found
make[4]: Entering directory '/builddir/build/BUILD/sssd-2.1.0'
make[4]: git: Command not found
...
FAIL: dlopen-tests
...
==================================
   sssd 2.1.0: ./test-suite.log
==================================
# TOTAL: 93
# PASS:  90
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: dlopen-tests
==================
Running suite(s): dlopen
0%: Checks: 1, Failures: 1, Errors: 0
src/tests/dlopen-tests.c:232:F:dlopen:test_dlopen_base:0: Error opening
_py3hbac.so: [dlopen() failed:
/builddir/build/BUILD/sssd-2.1.0/.libs/_py3hbac.so: undefined symbol:
PyExc_RuntimeError]
FAIL dlopen-tests (exit status: 1)
SKIP: src/tests/whitespace_test
===============================
Git repository is required for this test!
SKIP src/tests/whitespace_test (exit status: 77)
SKIP: src/tests/double_semicolon_test
=====================================
Git repository is required for this test!
SKIP src/tests/double_semicolon_test (exit status: 77)
============================================================================
Testsuite summary for sssd 2.1.0
============================================================================
# TOTAL: 93
# PASS:  90
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to sssd-devel@lists.fedorahosted.org
============================================================================
Full log attached.
A Python 3.8 change that I suspect: https://docs.python.org/dev/whatsnew/3.8.ht
ml#debug-build-uses-the-same-abi-as-release-build
It seems that _py3hbac.so is not linked against -lpython3.8.

Metadata Update from @sbose:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1713644

Metadata Update from @sbose:
- Issue assigned to sbose

PR: https://github.com/SSSD/sssd/pull/819

Metadata Update from @sbose:
- Custom field patch adjusted to on

Commit 80fdef5f relates to this ticket

  • master: 80fdef5
  • sssd-1-16: 8f45a02

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.2

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4987

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata