Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629156 - kde-apps/step-17.04.3: CMake Error at CMakeLists.txt:90
Summary: kde-apps/step-17.04.3: CMake Error at CMakeLists.txt:90
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-28 09:33 UTC by Vladimir Varlamov
Modified: 2017-09-09 11:56 UTC (History)
0 users

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


Attachments
emerge --info (file_629156.txt,5.98 KB, text/plain)
2017-08-28 09:33 UTC, Vladimir Varlamov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Varlamov 2017-08-28 09:33:18 UTC
Created attachment 490960 [details]
emerge --info

[ebuild     U ] kde-apps/step-17.04.3 [16.12.3] USE="gsl handbook qalculate -debug -nls% {-test}"
>>> Emerging (1 of 1) kde-apps/step-17.04.3::gentoo
 * step-17.04.3.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking step-17.04.3.tar.xz to /var/tmp/portage/kde-apps/step-17.04.3/work
>>> Source unpacked in /var/tmp/portage/kde-apps/step-17.04.3/work
>>> Preparing source in /var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3_build"
cmake -C /var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_DISABLE_FIND_PACKAGE_GSL=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Qalculate=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3_build/gentoo_toolchain.cmake  /var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3
loading initial cache file /var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- 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/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.34.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found PythonInterp: /usr/bin/python (found version "2.7.12") 
-- Found KF5KHtml: /usr/lib64/cmake/KF5KHtml/KF5KHtmlConfig.cmake (found version "5.34.0") 
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.34.0") 
-- Found KF5KDELibs4Support: /usr/lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake (found version "5.34.0") 
-- Found KF5NewStuff: /usr/lib64/cmake/KF5NewStuff/KF5NewStuffConfig.cmake (found version "5.34.0") 
-- Found KF5Plotting: /usr/lib64/cmake/KF5Plotting/KF5PlottingConfig.cmake (found version "5.34.0") 
-- Found KF5: success (found version "5.34.0") found components:  Crash KHtml Config KDELibs4Support NewStuff Plotting 
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "3.2.2") 
-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.28") 
-- Checking for module 'gsl'
--   Found gsl, version 1.16
-- Found GSL: /usr/lib64/libgsl.so  
-- Checking for module 'libqalculate'
--   Found libqalculate, version 0.9.9
-- Checking for module 'cln'
--   Found cln, version 1.3.3
-- Found Qalculate: /usr/lib64/libqalculate.so  
-- 
-- The following OPTIONAL packages have been found:

 * KF5DocTools
 * GSL , GSL , <http://eigen.tuxfamily.org>
   Provides a GSL-powered solver for Step
 * Qalculate

-- The following REQUIRED packages have been found:

 * ECM (required version >= 1.7.0)
 * Qt5Network (required version >= 5.7.1)
 * Qt5Qml
 * Qt5Gui (required version >= 5.7.1)
 * Qt5Quick
 * Qt5Xml
 * Qt5Widgets (required version >= 5.7.1)
 * Qt5Svg
 * Qt5OpenGL
 * Qt5PrintSupport
 * Qt5 (required version >= 5.2)
 * KF5Crash
 * Gettext
 * PythonInterp
 * KF5KHtml
 * KF5Config
 * KF5KDELibs4Support
 * KF5NewStuff
 * KF5Plotting
 * KF5
 * Eigen3 (required version >= 3.2.2)

CMake Error at CMakeLists.txt:90 (add_subdirectory):
  add_subdirectory given source "po" which is not an existing directory.


-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -march=native -pipe -fomit-frame-pointer -std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration
C++             -O2 -march=native -pipe -fomit-frame-pointer -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wno-unused-local-typedefs -Wno-unused-parameter
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module          -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Shared          -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3_build/CMakeFiles/CMakeOutput.log".
 * ERROR: kde-apps/step-17.04.3::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_configure
 *   environment, line 4042:  Called kde5_src_configure
 *   environment, line 2898:  Called cmake-utils_src_configure
 *   environment, line 1271:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=kde-apps/step-17.04.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/step-17.04.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-apps/step-17.04.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/step-17.04.3/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3_build'
 * S: '/var/tmp/portage/kde-apps/step-17.04.3/work/step-17.04.3'
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-08-28 11:46:58 UTC
I wonder if this will be OK:
        # drop translations when nls is not wanted
        if in_iuse nls && ! use nls ; then
                if [[ -d po ]] ; then
-                        rm -r po || die
+                        rm -r po/* || die
                fi
Comment 2 Jaak Ristioja 2017-09-08 10:43:50 UTC
Probably duplicate of https://bugs.gentoo.org/show_bug.cgi?id=618556
Comment 3 Andreas Sturmlechner gentoo-dev 2017-09-09 11:56:22 UTC
We need to lobby upstream to use ecm_optional_add_subdirectory instead of add_subdirectory for the translations. After all ki18n_install and kdoctools_install are non-fatal on the same missing dir.

Fixed in git commit 69173d11883245ad583d05d72dc78791a30642ab