Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887355 - kde-apps/libkdcraw: fails to compile media-libs/libraw-0.21.0 (error: struct libraw_output_params_t has no member named ‘shot_select')
Summary: kde-apps/libkdcraw: fails to compile media-libs/libraw-0.21.0 (error: struct ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Loong Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: libraw-0.21
  Show dependency tree
 
Reported: 2022-12-20 09:06 UTC by HougeLangley
Modified: 2023-01-05 18:03 UTC (History)
3 users (show)

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


Attachments
full build log (full-build-log.log,19.34 KB, text/x-log)
2022-12-20 09:06 UTC, HougeLangley
Details
emerge --info (emerge --info.log,6.49 KB, text/plain)
2022-12-20 09:07 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2022-12-20 09:06:32 UTC
Created attachment 843977 [details]
full build log

[4/9] /usr/bin/loongarch64-unknown-linux-gnu-g++ -DKDcraw_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050F00 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -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_USE_QSTRINGBUILDER -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0_build/src -I/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src -I/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0_build/src/KDcraw_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/libraw  -DQT_NO_DEBUG -O2 -pipe -fno-operator-names -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 -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fexceptions -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/KDcraw.dir/kdcraw.cpp.o -MF src/CMakeFiles/KDcraw.dir/kdcraw.cpp.o.d -o src/CMakeFiles/KDcraw.dir/kdcraw.cpp.o -c /var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/kdcraw.cpp
[31mFAILED: [0msrc/CMakeFiles/KDcraw.dir/kdcraw.cpp.o 
/usr/bin/loongarch64-unknown-linux-gnu-g++ -DKDcraw_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050F00 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -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_USE_QSTRINGBUILDER -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0_build/src -I/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src -I/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0_build/src/KDcraw_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem /usr/include/libraw  -DQT_NO_DEBUG -O2 -pipe -fno-operator-names -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 -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fexceptions -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/KDcraw.dir/kdcraw.cpp.o -MF src/CMakeFiles/KDcraw.dir/kdcraw.cpp.o.d -o src/CMakeFiles/KDcraw.dir/kdcraw.cpp.o -c /var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/kdcraw.cpp
[01m[K/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/kdcraw.cpp:[m[K In static member function ‘[01m[Kstatic bool KDcrawIface::KDcraw::[01;32m[KloadFullImage[m[K(QImage&, const QString&, const KDcrawIface::RawDecodingSettings&)[m[K’:
[01m[K/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/kdcraw.cpp:242:31:[m[K [01;35m[Kwarning: [m[Kimplicitly-declared ‘[01m[KKDcrawIface::RawDecodingSettings::[01;32m[KRawDecodingSettings[m[K(const KDcrawIface::RawDecodingSettings&)[m[K’ is deprecated [[01;35m[K-Wdeprecated-copy[m[K]
  242 |     RawDecodingSettings prm = [01;35m[Ksettings[m[K;
      |                               [01;35m[K^~~~~~~~[m[K
In file included from [01m[K/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/kdcraw.h:27[m[K,
                 from [01m[K/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/kdcraw.cpp:9[m[K:
[01m[K/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/rawdecodingsettings.h:151:26:[m[K [01;36m[Knote: [m[Kbecause ‘[01m[KKDcrawIface::RawDecodingSettings[m[K’ has user-provided ‘[01m[KKDcrawIface::RawDecodingSettings& KDcrawIface::RawDecodingSettings::[01;32m[Koperator=[m[K(const KDcrawIface::RawDecodingSettings&)[m[K’
  151 |     RawDecodingSettings& [01;36m[Koperator[m[K=(const RawDecodingSettings& prm);
      |                          [01;36m[K^~~~~~~~[m[K
[01m[K/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/kdcraw.cpp:[m[K In member function ‘[01m[Kbool KDcrawIface::KDcraw::[01;32m[KextractRAWData[m[K(const QString&, QByteArray&, KDcrawIface::DcrawInfoContainer&, unsigned int)[m[K’:
[01m[K/var/tmp/portage/kde-apps/libkdcraw-22.12.0/work/libkdcraw-22.12.0/src/kdcraw.cpp:360:24:[m[K [01;31m[Kerror: [m[K‘[01m[Kstruct libraw_output_params_t[m[K’ has no member named ‘[01m[Kshot_select[m[K’
  360 |     raw.imgdata.params.[01;31m[Kshot_select[m[K = shotSelect;
      |                        [01;31m[K^~~~~~~~~~~[m[K
Comment 1 HougeLangley 2022-12-20 09:07:59 UTC
Created attachment 843979 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-20 09:08:49 UTC
Could you consider installing ansifilter and using this in make.conf:
PORTAGE_LOG_FILTER_FILE_CMD="bash -c \"ansifilter; exec cat\""
Comment 3 Larry the Git Cow gentoo-dev 2022-12-20 19:00:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78098dcdcada83ae1d861e02a7cb230de3e6c670

commit 78098dcdcada83ae1d861e02a7cb230de3e6c670
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-12-20 18:49:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-12-20 18:59:38 +0000

    kde-apps/libkdcraw: Fix build against >=media-libs/libraw-0.21.0
    
    Closes: https://bugs.gentoo.org/887355
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/libkdcraw-22.12.0-libraw-0.21.patch      | 28 ++++++++++++++++++++++
 kde-apps/libkdcraw/libkdcraw-22.12.0.ebuild        |  2 ++
 2 files changed, 30 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2023-01-05 18:03:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18e99aba64e7825215c62557e363c72975da3350

commit 18e99aba64e7825215c62557e363c72975da3350
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-01-03 15:54:19 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-01-05 18:02:24 +0000

    kde-apps/libkdcraw: Backport buildfix against >=media-libs/libraw-0.21.0
    
    Bug: https://bugs.gentoo.org/887355
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/libkdcraw/libkdcraw-22.08.3-r1.ebuild | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)