Bug 434960 - Libksane impossible to cross-compile for Windows
Summary: Libksane impossible to cross-compile for Windows
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (other bugs)
Version First Reported In: 7.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-26 10:11 UTC by t20210330
Modified: 2021-03-28 20:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description t20210330 2021-03-26 10:11:34 UTC
digiKam use libksane from KF5 framework (KDE), and
code to compile and use under Windows take age. Somebody maintaining
libksane must review and fix this code
Comment 1 Kåre Särs 2021-03-26 10:33:16 UTC
Hi,

Am I missing something? There was a temporary build failure on build.kde.org, but that was a CI problem. The last success was just a couple of days ago...

https://build.kde.org/view/Failing/job/Applications/job/libksane/job/kf5-qt5%20WindowsMSVCQt5.15/

Can you provide some build log of the failure/problem you have?
Comment 2 t20210330 2021-03-26 11:07:29 UTC
Hi,
I posted this message because caulier.gilles@gmail.com asked me to do so.

It would be more efficient to ask him the problem he encountered.


(In reply to Kåre Särs from comment #1)
> Hi,
> 
> Am I missing something? There was a temporary build failure on
> build.kde.org, but that was a CI problem. The last success was just a couple
> of days ago...
> 
> https://build.kde.org/view/Failing/job/Applications/job/libksane/job/kf5-
> qt5%20WindowsMSVCQt5.15/
> 
> Can you provide some build log of the failure/problem you have?
Comment 3 caulier.gilles 2021-03-28 20:24:03 UTC
I just tested with MinGW/Gcc version 9 and libksane cross compile fine for Windows target for digiKam bundle:

== Using MXE wrapper: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.shared-cmake
== Skip using MXE toolchain: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/share/cmake/mxe-conf.cmake
Scanning dependencies of target ext_libksane
[  0%] Creating directories for 'ext_libksane'
[  0%] Performing download step (download, verify and extract) for 'ext_libksane'
-- Downloading...
   dst='/mnt/data/7.x/project/bundles/mxe/temp.dwnld/libksane-20.12.1.tar.xz'
   timeout='none'
   inactivity timeout='none'
-- Using src='http://download.kde.org/stable/release-service/20.12.1/src/libksane-20.12.1.tar.xz'
-- [download 100% complete]
-- [download 5% complete]
-- [download 11% complete]
-- [download 16% complete]
-- [download 22% complete]
-- [download 27% complete]
-- [download 33% complete]
-- [download 38% complete]
-- [download 44% complete]
-- [download 49% complete]
-- [download 55% complete]
-- [download 60% complete]
-- [download 66% complete]
-- [download 71% complete]
-- [download 77% complete]
-- [download 83% complete]
-- [download 88% complete]
-- [download 94% complete]
-- [download 99% complete]
-- [download 100% complete]
-- Downloading... done
-- extracting...
     src='/mnt/data/7.x/project/bundles/mxe/temp.dwnld/libksane-20.12.1.tar.xz'
     dst='/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[  0%] No update step for 'ext_libksane'
[  0%] Performing patch step for 'ext_libksane'
patching file CMakeLists.txt
Hunk #1 succeeded at 45 (offset 1 line).
patching file src/CMakeLists.txt
Hunk #1 succeeded at 62 (offset 6 lines).
patching file src/widgets/labeledslider.cpp
patching file src/widgets/labeledslider.h
[ 50%] Performing configure step for 'ext_libksane'
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-pc-linux-gnu/bin/x86_64-w64-mingw32.shared-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-pc-linux-gnu/bin/x86_64-w64-mingw32.shared-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- -------------------------------------------
-- Starting CMake configuration for: libksane
Installing in /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared. Run /mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane-build/prefix.sh to set the environment for KSane.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.55.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
 * Qt5Core
 * Qt5Gui (required version >= 5.15.2)
 * Qt5Widgets
 * Qt5 (required version >= 5.7.0)
 * Gettext
 * KF5I18n (required version >= 5.55.0)

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_FIND_PREFIX_PATH
    CMAKE_INCLUDE_PATH
    CMAKE_LIBRARY_PATH
    CMAKE_SYSTEM_INCLUDE_PATH
    MXE_TOOLCHAIN
    WITH_DESIGNER_PLUGIN
    ZLIB_ROOT


-- Build files have been written to: /mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane-build
[ 50%] Performing build step for 'ext_libksane'
Scanning dependencies of target tsfiles-697a5fbf4281a8d2ff1b9b084ce05dc4
Scanning dependencies of target pofiles-697a5fbf4281a8d2ff1b9b084ce05dc4
Scanning dependencies of target KF5Sane_autogen
[ 14%] Generating mo...
[ 28%] Generating ts...
[ 42%] Automatic MOC for target KF5Sane
[ 42%] Built target tsfiles-697a5fbf4281a8d2ff1b9b084ce05dc4
[ 42%] Built target pofiles-697a5fbf4281a8d2ff1b9b084ce05dc4
[ 42%] Built target KF5Sane_autogen
Scanning dependencies of target KF5Sane
[ 71%] Building CXX object ksanetwain/CMakeFiles/KF5Sane.dir/twainiface.cpp.obj
[ 71%] Building CXX object ksanetwain/CMakeFiles/KF5Sane.dir/KF5Sane_autogen/mocs_compilation.cpp.obj
[ 85%] Building CXX object ksanetwain/CMakeFiles/KF5Sane.dir/ktwain_widget.cpp.obj
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp: In constructor 'KSaneIface::KSaneWidgetPrivate::KSaneWidgetPrivate()':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp:52:51: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
   52 | KSaneWidgetPrivate::KSaneWidgetPrivate(): QWidget(0)
      |                                                   ^
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp:57:25: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
   57 |     m_hMessageWnd     = 0;
      |                         ^
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp: In member function 'virtual bool KSaneIface::KSaneWidgetPrivate::nativeEvent(const QByteArray&, void*, long int*)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp:74:88: warning: unused parameter 'result' [-Wunused-parameter]
   74 | bool KSaneWidgetPrivate::nativeEvent(const QByteArray &eventType, void *message, long *result)
      |                                                                                  ~~~~~~^~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp: In member function 'bool KSaneIface::KSaneWidgetPrivate::InitTwain()':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp:107:96: warning: cast between incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'DSMENTRYPROC' {aka 'short unsigned int (*)(TW_IDENTITY*, TW_IDENTITY*, long unsigned int, short unsigned int, short unsigned int, void*)'} [-Wcast-function-type]
  107 |         if (!(m_pDSMProc = (DSMENTRYPROC)GetProcAddress(m_hTwainDLL, (LPCSTR)MAKEINTRESOURCE(1)))) {
      |                                                                                                ^
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp: In member function 'bool KSaneIface::KSaneWidgetPrivate::ProcessMessage(MSG)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/twainiface.cpp:320:26: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
  320 |     if (m_hMessageWnd == 0) {
      |                          ^
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp: In member function 'QString KSaneIface::KSaneWidget::selectDevice(QWidget*)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:70:44: warning: unused parameter 'parent' [-Wunused-parameter]
   70 | QString KSaneWidget::selectDevice(QWidget *parent)
      |                                   ~~~~~~~~~^~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp: In static member function 'static QImage KSaneIface::KSaneWidget::toQImageSilent(const QByteArray&, int, int, int, int, KSaneIface::KSaneWidget::ImageFormat)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:122:40: warning: unused parameter 'width' [-Wunused-parameter]
  122 |                                    int width,
      |                                    ~~~~^~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:123:40: warning: unused parameter 'height' [-Wunused-parameter]
  123 |                                    int height,
      |                                    ~~~~^~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:124:40: warning: unused parameter 'bytes_per_line' [-Wunused-parameter]
  124 |                                    int bytes_per_line,
      |                                    ~~~~^~~~~~~~~~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:125:40: warning: unused parameter 'dpi' [-Wunused-parameter]
  125 |                                    int dpi,
      |                                    ~~~~^~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:126:48: warning: unused parameter 'format' [-Wunused-parameter]
  126 |                                    ImageFormat format)
      |                                    ~~~~~~~~~~~~^~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp: In member function 'bool KSaneIface::KSaneWidget::getOptVal(const QString&, QString&)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:162:44: warning: unused parameter 'optname' [-Wunused-parameter]
  162 | bool KSaneWidget::getOptVal(const QString &optname, QString &value)
      |                             ~~~~~~~~~~~~~~~^~~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:162:62: warning: unused parameter 'value' [-Wunused-parameter]
  162 | bool KSaneWidget::getOptVal(const QString &optname, QString &value)
      |                                                     ~~~~~~~~~^~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp: In member function 'int KSaneIface::KSaneWidget::setOptVals(const QMap<QString, QString>&)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:166:60: warning: unused parameter 'opts' [-Wunused-parameter]
  166 | int KSaneWidget::setOptVals(const QMap <QString, QString> &opts)
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp: In member function 'bool KSaneIface::KSaneWidget::setOptVal(const QString&, const QString&)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:170:44: warning: unused parameter 'option' [-Wunused-parameter]
  170 | bool KSaneWidget::setOptVal(const QString &option, const QString &value)
      |                             ~~~~~~~~~~~~~~~^~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:170:67: warning: unused parameter 'value' [-Wunused-parameter]
  170 | bool KSaneWidget::setOptVal(const QString &option, const QString &value)
      |                                                    ~~~~~~~~~~~~~~~^~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp: In member function 'void KSaneIface::KSaneWidget::setScanButtonText(const QString&)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:174:52: warning: unused parameter 'scanLabel' [-Wunused-parameter]
  174 | void KSaneWidget::setScanButtonText(const QString &scanLabel) {}
      |                                     ~~~~~~~~~~~~~~~^~~~~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp: In member function 'void KSaneIface::KSaneWidget::setPreviewButtonText(const QString&)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:175:55: warning: unused parameter 'previewLabel' [-Wunused-parameter]
  175 | void KSaneWidget::setPreviewButtonText(const QString &previewLabel) {}
      |                                        ~~~~~~~~~~~~~~~^~~~~~~~~~~~
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp: In member function 'void KSaneIface::KSaneWidget::enableAutoSelect(bool)':
/mnt/data/7.x/project/bundles/mxe/temp.build/ext_libksane/ext_libksane-prefix/src/ext_libksane/ksanetwain/ktwain_widget.cpp:176:41: warning: unused parameter 'enable' [-Wunused-parameter]
  176 | void KSaneWidget::enableAutoSelect(bool enable) {}
      |                                    ~~~~~^~~~~~
[100%] Linking CXX shared library ../bin/libKF5Sane.dll
[100%] Built target KF5Sane
[100%] Performing install step for 'ext_libksane'
[ 14%] Generating ts...
[ 28%] Generating mo...
[ 42%] Automatic MOC for target KF5Sane
[ 42%] Built target tsfiles-697a5fbf4281a8d2ff1b9b084ce05dc4
[ 42%] Built target KF5Sane_autogen
[100%] Built target KF5Sane
[100%] Built target pofiles-697a5fbf4281a8d2ff1b9b084ce05dc4
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/lib/cmake/KF5Sane/KF5SaneConfig.cmake
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/lib/cmake/KF5Sane/KF5SaneConfigVersion.cmake
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/lib/cmake/KF5Sane/KF5SaneTargets.cmake
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/lib/cmake/KF5Sane/KF5SaneTargets-relwithdebinfo.cmake
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/include/KF5/ksane_version.h
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ia
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ia/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ia/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/es
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/es/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/es/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/en_GB
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/en_GB/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/en_GB/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ru
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ru/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ru/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/fr
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/fr/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/fr/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/gl
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/gl/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/gl/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nds
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nds/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nds/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nn
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nn/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nn/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pa
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pa/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pa/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ml
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ml/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ml/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/zh_TW
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/zh_TW/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/zh_TW/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ca
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ca/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ca/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/el
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/el/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/el/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/km
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/km/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/km/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/fi
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/fi/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/fi/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hi
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hi/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hi/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ja
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ja/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ja/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ro
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ro/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ro/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/de
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/de/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/de/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ar
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ar/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ar/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/bs
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/bs/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/bs/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ga
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ga/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ga/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/eu
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/eu/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/eu/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/uk
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/uk/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/uk/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/wa
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/wa/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/wa/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/it
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/it/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/it/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/bg
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/bg/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/bg/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sk
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sk/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sk/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ug
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ug/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ug/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/is
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/is/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/is/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nl
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nl/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nl/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/cs
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/cs/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/cs/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/tr
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/tr/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/tr/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sv
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sv/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sv/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/kk
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/kk/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/kk/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ko
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ko/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ko/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hu
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hu/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hu/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/et
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/et/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/et/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hr
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hr/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/hr/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/zh_CN
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/zh_CN/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/zh_CN/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/mr
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/mr/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/mr/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sl
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sl/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/sl/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pl
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pl/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pl/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ca@valencia
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ca@valencia/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/ca@valencia/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/id
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/id/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/id/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/lt
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/lt/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/lt/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/lv
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/lv/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/lv/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/eo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/eo/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/eo/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/da
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/da/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/da/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nb
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nb/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/nb/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pt
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pt/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pt/LC_MESSAGES/libksane.mo
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pt_BR
-- Up-to-date: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pt_BR/LC_MESSAGES
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/data/locale/pt_BR/LC_MESSAGES/libksane.mo
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/lib/libKF5Sane.dll.a
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/bin/libKF5Sane.dll
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/include/KF5/KSane/ksane_export.h
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/include/KF5/KSane/KSaneWidget
-- Installing: /mnt/data/7.x/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.shared/include/KF5/KSane/ksanewidget.h
[100%] Completed 'ext_libksane'
[100%] Built target ext_libksane

As this problem was only relevant of digiKam windows packging, i reroute this file at the right place

Gilles Caulier
Comment 4 caulier.gilles 2021-03-28 20:26:30 UTC
Git commit d022ccec7c3e8ad78029eb3a7137c34a248a2c9c by Gilles Caulier.
Committed on 28/03/2021 at 20:20.
Pushed by cgilles into branch 'master'.

enable cross-compiling of libksane for Windows packaging
FIXED-IN: 7.3.0

M  +1    -0    project/bundles/mxe/02-build-extralibs.sh

https://invent.kde.org/graphics/digikam/commit/d022ccec7c3e8ad78029eb3a7137c34a248a2c9c