FTBFS with python 3.8

Bug #1861050 reported by Andreas Hasenack
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sssd (Ubuntu)
Fix Released
High
Andreas Hasenack

Bug Description

Remains to be investigated. Found an upstream issue, but doesn't look like it's the same, at first glance: https://pagure.io/SSSD/sssd/issue/4016

Related branches

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Error seems to be this extra newline:

| #define PYTHON_DLOPEN_LIB "/usr/lib/python3.8/config-3.8-x86_64-linux-gnu
| /usr/lib/libpython3.8.so"

conftest.c:170:27: warning: missing terminating " character
  170 | #define PYTHON_DLOPEN_LIB "/usr/lib/python3.8/config-3.8-x86_64-linux-gnu
      | ^
conftest.c:171:25: warning: missing terminating " character
  171 | /usr/lib/libpython3.8.so"
      | ^
configure:23091: $? = 0

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

It's a somewhat incorrect sed being applied in configure:
python_lib_path="` $PYTHON_CONFIG --ldflags | grep -o -- '-L/[^ ]*' | sed -e 's/^-L//'`"

That is what generates the two lines, on purpose apparently:
$ python3.8-config --ldflags | grep -o -- '-L/[^ ]*' | sed -e 's/^-L//'
/usr/lib/python3.8/config-3.8-x86_64-linux-gnu
/usr/lib

tags: added: ftbfs
Changed in sssd (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sssd - 2.2.2-1ubuntu1

---------------
sssd (2.2.2-1ubuntu1) focal; urgency=medium

  * d/p/fix-py38-ftbfs.patch: loop over the -L values from
    python3.8-config instead of assuming there is only one.
    (LP: #1861050)

 -- Andreas Hasenack <email address hidden> Tue, 28 Jan 2020 16:46:27 -0300

Changed in sssd (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.