Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917527 - kde-frameworks/kdoctools-5.112.0 fails to build with dev-libs/libxml-2.12.0
Summary: kde-frameworks/kdoctools-5.112.0 fails to build with dev-libs/libxml-2.12.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2023-11-17 20:57 UTC by Kostadin Shishmanov
Modified: 2023-11-18 13:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (kdoctools.log,47.13 KB, text/x-log)
2023-11-17 20:57 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2023-11-17 20:57:18 UTC
Created attachment 875013 [details]
build log

FAILED: src/CMakeFiles/meinproc5.dir/xslt.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DKDOCTOOLS_EXPORT="" -DKF_DEPRECATED_WARNINGS_SINCE=0x60000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x56100 -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x60000 -DQT_DISABLE_DEPRECATED_BEFORE=0x50f02 -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kdoctools5\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0_build/src -I/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src -I/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0_build/src/meinproc5_autogen/include -I/usr/include/libxml2 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5  -DQT_NO_DEBUG -march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -std=c++17 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DSIMPLE_XSLT -MD -MT src/CMakeFiles/meinproc5.dir/xslt.cpp.o -MF src/CMakeFiles/meinproc5.dir/xslt.cpp.o.d -o src/CMakeFiles/meinproc5.dir/xslt.cpp.o -c /var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src/xslt.cpp
/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src/xslt.cpp: In function ‘QString KDocTools::transform(const QString&, const QString&, const QVector<const char*>&)’:
/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src/xslt.cpp:158:9: error: ‘xmlIndentTreeOutput’ was not declared in this scope
  158 |         xmlIndentTreeOutput = 1;
      |         ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src/xslt.cpp:160:9: error: ‘xmlIndentTreeOutput’ was not declared in this scope
  160 |         xmlIndentTreeOutput = 0;
      |         ^~~~~~~~~~~~~~~~~~~

FAILED: src/CMakeFiles/KF5DocTools.dir/xslt.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DKF5DocTools_EXPORTS -DKF_DEPRECATED_WARNINGS_SINCE=0x60000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x56100 -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x60000 -DQT_DISABLE_DEPRECATED_BEFORE=0x50f02 -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kdoctools5\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0_build/src -I/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src -I/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0_build/src/KF5DocTools_autogen/include -I/usr/include/libxml2 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5  -DQT_NO_DEBUG -march=raptorlake -O2 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DSIMPLE_XSLT -MD -MT src/CMakeFiles/KF5DocTools.dir/xslt.cpp.o -MF src/CMakeFiles/KF5DocTools.dir/xslt.cpp.o.d -o src/CMakeFiles/KF5DocTools.dir/xslt.cpp.o -c /var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src/xslt.cpp
/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src/xslt.cpp: In function ‘QString KDocTools::transform(const QString&, const QString&, const QVector<const char*>&)’:
/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src/xslt.cpp:158:9: error: ‘xmlIndentTreeOutput’ was not declared in this scope
  158 |         xmlIndentTreeOutput = 1;
      |         ^~~~~~~~~~~~~~~~~~~
/var/tmp/portage/kde-frameworks/kdoctools-5.112.0/work/kdoctools-5.112.0/src/xslt.cpp:160:9: error: ‘xmlIndentTreeOutput’ was not declared in this scope
  160 |         xmlIndentTreeOutput = 0;
      |         ^~~~~~~~~~~~~~~~~~~
Comment 2 Larry the Git Cow gentoo-dev 2023-11-18 13:20:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6746ba0521ba0d7d8a00fc0b087e9fb08ffae648

commit 6746ba0521ba0d7d8a00fc0b087e9fb08ffae648
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-11-18 13:18:15 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-11-18 13:20:20 +0000

    kde-frameworks/kdoctools: Fix build with dev-libs/libxml2-2.12.0
    
    Closes: https://bugs.gentoo.org/917527
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/kdoctools-5.112.0-libxml2-2.12.patch     | 25 ++++++++++++++++++++++
 kde-frameworks/kdoctools/kdoctools-5.112.0.ebuild  | 15 +++++++------
 2 files changed, 34 insertions(+), 6 deletions(-)