Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing sources for target kconfigelektra #22

Open
dominicjaeger opened this issue Nov 28, 2019 · 2 comments
Open

Missing sources for target kconfigelektra #22

dominicjaeger opened this issue Nov 28, 2019 · 2 comments

Comments

@dominicjaeger
Copy link

Did I miss a step from the new tutorial or is this really a bug? cmake reports an error when I try to compile our kconfig master branch

root@debian:/home/dominic/mount/kconfig/build# rm -rf *; cmake ..
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 

Installing in /usr/local. Run /home/dominic/mount/kconfig/build/prefix.sh to set the environment for KConfig.
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Elektra 0.9.1 found
-- At least one python version must be available to use PythonModuleGeneration.
-- At least one python version must be available to use PythonModuleGeneration.
-- Elektra 0.9.1 found
-- The following OPTIONAL packages have been found:

 * Elektra

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.63.0), Extra CMake Modules., <https://projects.kde.org/projects/kdesupport/extra-cmake-modules>
 * Qt5Xml
 * Qt5Gui
 * Qt5DBus
 * Qt5 (required version >= 5.11.0)
 * Qt5Core

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- The following OPTIONAL packages have not been found:

 * PythonModuleGeneration

-- Configuring done
CMake Error at /usr/local/share/ECM/modules/ECMAddTests.cmake:110 (add_executable):
  No SOURCES given to target: kconfigelektra
Call Stack (most recent call first):
  autotests/CMakeLists.txt:61 (ecm_add_test)


-- Build files have been written to: /home/dominic/mount/kconfig/build

According to git bisect this error has been introduced in b49010b.

  • cmake version 3.13.4
  • Debian GNU/Linux bullseye/sid
  • Elektra compiled and installed from tag 0.9.1
@markus2330
Copy link
Contributor

Thank you for reporting this problem! This we should definitely fix before making a PR 🥀

@mpranj
Copy link
Member

mpranj commented Feb 4, 2020

@Chemin1 I think the related CMake has been changed to require a newer version of ECM. (judging by your output) According to the debian sid packages there is unfortunately no ECM package in the required version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants