lirios / shell

:shell: Convergent shell for desktops, phones and tables built with QtQuick, Wayland and Material Design
GNU General Public License v3.0
232 stars 15 forks source link

liri-shell fails to configue, with a cmake error #201

Closed n3rdopolis closed 3 years ago

n3rdopolis commented 3 years ago

Hi

Using cmake release branch, Qt 5.12, and the develop branch for cmake-shared and shell, it seems that something translation related fails in cmake.

This is the error output I get

-- The CXX compiler identification is GNU 10.2.1
-- The C compiler identification is GNU 10.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The following REQUIRED packages have been found:

 * LiriCMakeShared (required version >= 1.0.0)
 * ECM (required version >= 5.48.0)

-- The following features have been disabled:

 * Coverage, Code coverage (gcc only)

-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Found Wayland_Client: /opt/lib/i386-linux-gnu/libwayland-client.so (found version "1.19.90") 
-- Found Wayland_Server: /opt/lib/i386-linux-gnu/libwayland-server.so (found version "1.19.90") 
-- Found Wayland: /opt/lib/i386-linux-gnu/libwayland-client.so;/opt/lib/i386-linux-gnu/libwayland-server.so (found suitable version "1.19.90", minimum required is "1.15") found components: Client Server 
-- Looking for sys/prctl.h
-- Looking for sys/prctl.h - found
-- Checking for module 'libsystemd'
--   Found libsystemd, version 247
-- Performing Test PAM_MESSAGE_CONST
-- Performing Test PAM_MESSAGE_CONST - Success
-- Found PAM: /usr/lib/i386-linux-gnu/libpam.so;/usr/lib/i386-linux-gnu/libdl.so
-- Adding Qt5::DBus target to mpris2plugin
-- Found Wayland_Cursor: /opt/lib/i386-linux-gnu/libwayland-cursor.so (found version "1.19.90") 
-- Found Wayland_Egl: /opt/lib/i386-linux-gnu/libwayland-egl.so (found version "18.1.0") 
-- Found Wayland: /opt/lib/i386-linux-gnu/libwayland-client.so;/opt/lib/i386-linux-gnu/libwayland-server.so;/opt/lib/i386-linux-gnu/libwayland-cursor.so;/opt/lib/i386-linux-gnu/libwayland-egl.so (found version "1.19.90")  
CMake Error at /opt/lib/i386-linux-gnu/cmake/Qt5LinguistTools/Qt5LinguistToolsMacros.cmake:136 (add_custom_command):
  add_custom_command called with OUTPUT containing a "<".  This character is
  not allowed.
Call Stack (most recent call first):
  /opt/share/LiriCMakeShared/modules/LiriAddStatusAreaExtension.cmake:63 (qt5_add_translation)
  src/plugins/statusarea/storage/CMakeLists.txt:1 (liri_add_statusareaextension)

-- Configuring incomplete, errors occurred!
See also "/srcbuild/lirios-shell/build/CMakeFiles/CMakeOutput.log".
PackagePrepareBuild finished in 0 seconds
prcups commented 3 years ago

There are two wrong translation files and I have deleted them.You can clone my fork to continue installing before the author modify.

plfiorini commented 3 years ago

Merged, thanks @prcups