After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796781 - libxml2: fails to build in latest Ubuntu 18.04 LTS, due to a Python 2.7 development dependency
libxml2: fails to build in latest Ubuntu 18.04 LTS, due to a Python 2.7 devel...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Linux
: Normal normal
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-07-10 17:34 UTC by vincenzo.bono
Modified: 2018-07-10 18:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Added for all Linux platforms the same Python exclusion of other platforms. (1.00 KB, patch)
2018-07-10 17:51 UTC, vincenzo.bono
committed Details | Review

Description vincenzo.bono 2018-07-10 17:34:23 UTC
In the latest Ubuntu 18.04 LTS Cerbero fails to build gstreamer-1.0, since libxml2 looks for Python 2.7 developer headers, but only Python 3 developer headers are installed during the bootstrap.

In the recipe, it looks like libxml2 is build without Python in all platforms except Linux. Will send a patch for this.
Comment 1 vincenzo.bono 2018-07-10 17:51:18 UTC
Created attachment 372990 [details] [review]
Added for all Linux platforms the same Python exclusion of other platforms.
Comment 2 Nicolas Dufresne (ndufresne) 2018-07-10 18:12:05 UTC
Note that I rewrote the commit message, thanks!

Author: Vincenzo Bono <vincenzo.bono@gmail.com>
Date:   Tue Jul 10 10:35:59 2018 -0700

    libxml2: Don't build Python support, even Linux
    
    libxml2 Python support requires Python 2 develpment headers which we no
    longer install in bootstrap. This fixed build failure on latest Ubuntu
    18.04 LTS. All other platforms already has this support disable.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=796781