2.26-0ubuntu1 breaks compliation of several KDE sources

Bug #1715599 reported by Rik Mills on 2017-09-07
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libxslt (Debian)
Fix Released
Unknown
libxslt (Ubuntu)
Undecided
Unassigned

Bug Description

gblic 2.26-0ubuntu1 which removed xlocale.h: breaks compliation of several KDE sources, but libxslt still requires that header.

Including so far, but maybe not limited to is autotests:

kde4libs
kio
kopete

with the error

In file included from /usr/include/libxslt/xsltInternals.h:24:0,
                 from /usr/include/libxslt/xsltutils.h:23,
                 from /tmp/autopkgtest.U99BLh/build.W2l/kde4libs-4.14.34/kdoctools/kio_help.cpp:61:
/usr/include/libxslt/xsltlocale.h:20:10: fatal error: xlocale.h: No such file or directory
 #include <xlocale.h>
          ^~~~~~~~~~~
compilation terminated.

Confirmed also in kio package rebuild in our staging ppa

https://launchpad.net/~kubuntu-ppa/+archive/ubuntu/staging-frameworks/+sourcepub/8240685/+listing-archive-extra

Rik Mills (rikmills) wrote :

Trying to build without kio for example, without libxslt results in a build fail with:

-- The following REQUIRED packages have not been found:

 * LibXslt, <http://xmlsoft.org/XSLT>
   Required by the KDE help system to process DocBook XML

CMake Error at /usr/share/cmake-3.9/Modules/FeatureSummary.cmake:459 (message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
  run.

Even in the latest libxslt git revision,

https://git.gnome.org/browse/libxslt/tree/libxslt/xsltlocale.h

#include <xlocale.h>

is required.

Dimitri John Ledkov (xnox) wrote :

xlocale.h is no longer shipped or required; use locale.h instead.

affects: glibc (Ubuntu) → libxslt (Ubuntu)
Rik Mills (rikmills) on 2017-09-07
description: updated
Changed in libxslt (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libxslt - 1.1.29-2.1ubuntu1

---------------
libxslt (1.1.29-2.1ubuntu1) artful; urgency=medium

  * Add rename build-dependency.
  * Stop unconditionally including xlocale.h header in xsltlocale.h as it
    is no longer shipped by glibc2.26. Ideally existing autoconf checks
    should be used to generate xsltlocale.h with or without xlocale.h
    include. LP: #1715599

 -- Dimitri John Ledkov <email address hidden> Thu, 07 Sep 2017 11:43:06 +0100

Changed in libxslt (Ubuntu):
status: Fix Committed → Fix Released
Changed in libxslt (Debian):
status: Unknown → Fix Committed
Changed in libxslt (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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