https://bugs.kde.org/show_bug.cgi?id=419024

            Bug ID: 419024
           Summary: Breeze Icons fails to build on Android cross-compile
           Product: Breeze
           Version: 5.18.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Icons
          Assignee: visual-des...@kde.org
          Reporter: mt...@outlook.com
                CC: kain...@gmail.com
  Target Milestone: ---

Created attachment 126894
  --> https://bugs.kde.org/attachment.cgi?id=126894&action=edit
Error log of build

SUMMARY
When cross-compiling breeze-icons to Android on Windows host the build fails.
It succeeded in version 5.67.0.

STEPS TO REPRODUCE
git clone https://anongit.kde.org/extra-cmake-modules.git
git -C extra-cmake-modules checkout tags/v5.68.0 -b v5.68.0
mkdir build\extra-cmake-modules
pushd build\extra-cmake-modules
cmake -DCMAKE_INSTALL_PREFIX=C:/Users/mtmcp/Temp
-DCMAKE_PREFIX_PATH=D:/Qt/5.12.6/android_x86;C:/Users/mtmcp/Temp
-DCMAKE_TOOLCHAIN_FILE=D:/Android/android-ndk-r19c/build/cmake/android.toolchain.cmake
-DCMAKE_FIND_ROOT_PATH=D:/Qt/5.12.6/android_x86;C:/Users/mtmcp/Temp
-DANDROID_ABI=x86 -DANDROID_PLATFORM=android-16 -DBUILD_SHARED_LIBS=OFF -G
Ninja C:/Users/mtmcp/Temp/extra-cmake-modules
cmake --build . --target install
popd

git clone https://anongit.kde.org/breeze-icons.git
git -C breeze-icons checkout tags/v5.68.0 -b v5.68.0
mkdir build\breeze-icons
pushd build\breeze-icons
cmake -DCMAKE_INSTALL_PREFIX=C:/Users/mtmcp/Temp
-DCMAKE_PREFIX_PATH=D:/Qt/5.12.6/android_x86;C:/Users/mtmcp/Temp
-DCMAKE_TOOLCHAIN_FILE=D:/Android/android-ndk-r19c/build/cmake/android.toolchain.cmake
-DCMAKE_FIND_ROOT_PATH=D:/Qt/5.12.6/android_x86;C:/Users/mtmcp/Temp
-DANDROID_ABI=x86 -DANDROID_PLATFORM=android-16 -DBUILD_SHARED_LIBS=OFF -G
Ninja C:/Users/mtmcp/Temp/breeze-icons

OBSERVED RESULT
-- Check for working C compiler:
D:/Android/android-ndk-r19c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-- Check for working C compiler:
D:/Android/android-ndk-r19c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
-- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler:
D:/Android/android-ndk-r19c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
-- Check for working CXX compiler:
D:/Android/android-ndk-r19c/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe
-- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--

Installing in C:/Users/mtmcp/Temp. Run
C:/Users/mtmcp/Temp/build/breeze-icons/prefix.sh to set the environment for
BreezeIcons.
-- Could not set up the appstream test. appstreamcli is missing.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Error at icons/CMakeLists.txt:20 (add_dependencies):
  Cannot add target-level dependencies to non-existent target
  "breeze-validate-svg".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.


CMake Error at icons-dark/CMakeLists.txt:20 (add_dependencies):
  Cannot add target-level dependencies to non-existent target
  "breeze-validate-svg".

  The add_dependencies works for top-level logical targets created by the
  add_executable, add_library, or add_custom_target commands.  If you want to
  add file-level dependencies see the DEPENDS option of the add_custom_target
  and add_custom_command commands.


-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.68.0), Extra CMake Modules.,
<https://commits.kde.org/extra-cmake-modules>
 * Qt5Core
 * Qt5Test
 * Qt5 (required version >= 5.12.0)

-- The following features have been disabled:

 * 24x24 generation, 'bash' is required to generate 24x24 variants

-- Configuring incomplete, errors occurred!
See also "C:/Users/mtmcp/Temp/build/breeze-icons/CMakeFiles/CMakeOutput.log".
See also "C:/Users/mtmcp/Temp/build/breeze-icons/CMakeFiles/CMakeError.log".

EXPECTED RESULT
Expected build should succeed like version 5.67.0

SOFTWARE/OS VERSIONS
Windows: 10
Android: android-ndk-r19c
Qt Version: 5.12.6

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to