All of lore.kernel.org
 help / color / mirror / Atom feed
* kcrash package compile issue
@ 2021-08-30  4:10 sateesh m
  2021-08-30  4:46 ` [yocto] " Zoran
  0 siblings, 1 reply; 4+ messages in thread
From: sateesh m @ 2021-08-30  4:10 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 6199 bytes --]

Hi Team,

I am trying to build kcrash package. I got below error.Can anybody know how to fix this please guide me.

ERROR: kcrash-5.85.0-r0 do_configure: Execution of '/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/temp/run.do_configure.12650' failed with exit code 1:

-- The C compiler identification is GNU 10.2.0

-- The CXX compiler identification is GNU 10.2.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-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: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-g++ - skipped

-- Detecting CXX compile features

-- Detecting CXX compile features - done

--

Installing in /usr. Run /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/build/prefix.sh to set the environment for KCrash.

-- 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 BSYMBOLICFUNCTIONS_AVAILABLE

-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success

fatal: not a git repository (or any of the parent directories): .git

-- Found X11: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/include

-- Looking for XOpenDisplay in /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libX11.so;/home/sateesh/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libXext.so

-- Looking for XOpenDisplay in /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libX11.so;/home/sateesh/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libXext.so - found

-- Looking for gethostbyname

-- Looking for gethostbyname - found

-- Looking for connect

-- Looking for connect - found

-- Looking for remove

-- Looking for remove - found

-- Looking for shmat

-- Looking for shmat - found

-- Looking for IceConnectionNumber in ICE

-- Looking for IceConnectionNumber in ICE - found

-- 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

-- The following features have been enabled:

* Core Pattern Raising, Raising signals to kernel core patterns (iff the pattern is a process). You may wish to not install drkonqi if this can cause a UI conflict.

-- The following OPTIONAL packages have been found:

* X11

-- The following REQUIRED packages have been found:

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

* Qt5 (required version >= 5.15.0)

* Qt5Core (required version >= 5.15.0)

* KF5CoreAddons (required version >= 5.85.0)

* Qt5Gui (required version >= 5.15.0)

* KF5WindowSystem (required version >= 5.85.0)

* Qt5X11Extras (required version >= 5.15.0)

-- The following features have been disabled:

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

-- Configuring done

CMake Error in src/CMakeLists.txt:

Imported target "KF5::WindowSystem" includes non-existent path

"/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and references files it does not

provide.

CMake Error in src/CMakeLists.txt:

Imported target "KF5::WindowSystem" includes non-existent path

"/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

* The path was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and references files it does not

provide.

-- Generating done

CMake Warning:

Manually-specified variables were not used by the project:

BUILD_DESIGNERPLUGIN

LIB_SUFFIX

OE_KF5_PATH_HOST_ROOT

OE_QMAKE_PATH_ARCHDATA

OE_QMAKE_PATH_BINS

OE_QMAKE_PATH_DATA

OE_QMAKE_PATH_DOCS

OE_QMAKE_PATH_EXAMPLES

OE_QMAKE_PATH_HEADERS

OE_QMAKE_PATH_HOST_BINS

OE_QMAKE_PATH_HOST_DATA

OE_QMAKE_PATH_HOST_LIBS

OE_QMAKE_PATH_HOST_PREFIX

OE_QMAKE_PATH_LIBEXECS

OE_QMAKE_PATH_LIBS

OE_QMAKE_PATH_PLUGINS

OE_QMAKE_PATH_PREFIX

OE_QMAKE_PATH_QML

OE_QMAKE_PATH_QT_ARCHDATA

OE_QMAKE_PATH_QT_BINS

OE_QMAKE_PATH_QT_DATA

OE_QMAKE_PATH_QT_DOCS

OE_QMAKE_PATH_QT_EXAMPLES

OE_QMAKE_PATH_QT_HEADERS

OE_QMAKE_PATH_QT_SETTINGS

OE_QMAKE_PATH_QT_TESTS

OE_QMAKE_PATH_QT_TRANSLATIONS

OE_QMAKE_PATH_SETTINGS

OE_QMAKE_PATH_TESTS

OE_QMAKE_PATH_TRANSLATIONS

PYTHON_EXECUTABLE

Python3_EXECUTABLE

Python_EXECUTABLE

CMake Generate step failed. Build files cannot be regenerated correctly.

WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/temp/log.do_configure.12650

--
Regards,
Sateesh

[-- Attachment #2: Type: text/html, Size: 18807 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] kcrash package compile issue
  2021-08-30  4:10 kcrash package compile issue sateesh m
@ 2021-08-30  4:46 ` Zoran
  2021-08-30 12:19   ` Andreas Müller
  0 siblings, 1 reply; 4+ messages in thread
From: Zoran @ 2021-08-30  4:46 UTC (permalink / raw)
  To: sateesh m; +Cc: Yocto-mailing-list

> CMake Error in src/CMakeLists.txt:
>
> Imported target "KF5::WindowSystem" includes non-existent path

You somehow mixed Windows and Linux Cmake build systems. Not sure how...

Solution 1: fix on the fly current problem:
You should inspect the file: src/CMakeLists.txt and try to fix Windows
paths to match Linux paths.

Solution 2: delete the current Cmake setup and execute it from scratch:
Error should not happen, since you need to delete the Cmake setup and
do the whole thing from scratch.
    1) configure <<===== This step causes you problems!
    2) make
    3) make install

Zee
_______


On Mon, Aug 30, 2021 at 6:10 AM sateesh m <sateesh0457@gmail.com> wrote:
>
> Hi Team,
>
>              I am trying to build kcrash package. I got below error.Can anybody know how to fix this please guide me.
>
> ERROR: kcrash-5.85.0-r0 do_configure: Execution of '/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/temp/run.do_configure.12650' failed with exit code 1:
>
> -- The C compiler identification is GNU 10.2.0
>
> -- The CXX compiler identification is GNU 10.2.0
>
> -- Detecting C compiler ABI info
>
> -- Detecting C compiler ABI info - done
>
> -- Check for working C compiler: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-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: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-g++ - skipped
>
> -- Detecting CXX compile features
>
> -- Detecting CXX compile features - done
>
> --
>
>
>
> Installing in /usr. Run /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/build/prefix.sh to set the environment for KCrash.
>
> -- 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 BSYMBOLICFUNCTIONS_AVAILABLE
>
> -- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success
>
> fatal: not a git repository (or any of the parent directories): .git
>
> -- Found X11: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/include
>
> -- Looking for XOpenDisplay in /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libX11.so;/home/sateesh/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libXext.so
>
> -- Looking for XOpenDisplay in /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libX11.so;/home/sateesh/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libXext.so - found
>
> -- Looking for gethostbyname
>
> -- Looking for gethostbyname - found
>
> -- Looking for connect
>
> -- Looking for connect - found
>
> -- Looking for remove
>
> -- Looking for remove - found
>
> -- Looking for shmat
>
> -- Looking for shmat - found
>
> -- Looking for IceConnectionNumber in ICE
>
> -- Looking for IceConnectionNumber in ICE - found
>
> -- 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
>
> -- The following features have been enabled:
>
>
>
> * Core Pattern Raising, Raising signals to kernel core patterns (iff the pattern is a process). You may wish to not install drkonqi if this can cause a UI conflict.
>
>
>
> -- The following OPTIONAL packages have been found:
>
>
>
> * X11
>
>
>
> -- The following REQUIRED packages have been found:
>
>
>
> * ECM (required version >= 5.85.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
>
> * Qt5 (required version >= 5.15.0)
>
> * Qt5Core (required version >= 5.15.0)
>
> * KF5CoreAddons (required version >= 5.85.0)
>
> * Qt5Gui (required version >= 5.15.0)
>
> * KF5WindowSystem (required version >= 5.85.0)
>
> * Qt5X11Extras (required version >= 5.15.0)
>
>
>
> -- The following features have been disabled:
>
>
>
> * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
>
>
>
> -- Configuring done
>
> CMake Error in src/CMakeLists.txt:
>
> Imported target "KF5::WindowSystem" includes non-existent path
>
>
>
> "/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"
>
>
>
> in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
>
>
>
> * The path was deleted, renamed, or moved to another location.
>
>
>
> * An install or uninstall procedure did not complete successfully.
>
>
>
> * The installation package was faulty and references files it does not
>
> provide.
>
>
>
>
>
>
>
> CMake Error in src/CMakeLists.txt:
>
> Imported target "KF5::WindowSystem" includes non-existent path
>
>
>
> "/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"
>
>
>
> in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
>
>
>
> * The path was deleted, renamed, or moved to another location.
>
>
>
> * An install or uninstall procedure did not complete successfully.
>
>
>
> * The installation package was faulty and references files it does not
>
> provide.
>
>
>
>
>
>
>
> -- Generating done
>
> CMake Warning:
>
> Manually-specified variables were not used by the project:
>
>
>
> BUILD_DESIGNERPLUGIN
>
> LIB_SUFFIX
>
> OE_KF5_PATH_HOST_ROOT
>
> OE_QMAKE_PATH_ARCHDATA
>
> OE_QMAKE_PATH_BINS
>
> OE_QMAKE_PATH_DATA
>
> OE_QMAKE_PATH_DOCS
>
> OE_QMAKE_PATH_EXAMPLES
>
> OE_QMAKE_PATH_HEADERS
>
> OE_QMAKE_PATH_HOST_BINS
>
> OE_QMAKE_PATH_HOST_DATA
>
> OE_QMAKE_PATH_HOST_LIBS
>
> OE_QMAKE_PATH_HOST_PREFIX
>
> OE_QMAKE_PATH_LIBEXECS
>
> OE_QMAKE_PATH_LIBS
>
> OE_QMAKE_PATH_PLUGINS
>
> OE_QMAKE_PATH_PREFIX
>
> OE_QMAKE_PATH_QML
>
> OE_QMAKE_PATH_QT_ARCHDATA
>
> OE_QMAKE_PATH_QT_BINS
>
> OE_QMAKE_PATH_QT_DATA
>
> OE_QMAKE_PATH_QT_DOCS
>
> OE_QMAKE_PATH_QT_EXAMPLES
>
> OE_QMAKE_PATH_QT_HEADERS
>
> OE_QMAKE_PATH_QT_SETTINGS
>
> OE_QMAKE_PATH_QT_TESTS
>
> OE_QMAKE_PATH_QT_TRANSLATIONS
>
> OE_QMAKE_PATH_SETTINGS
>
> OE_QMAKE_PATH_TESTS
>
> OE_QMAKE_PATH_TRANSLATIONS
>
> PYTHON_EXECUTABLE
>
> Python3_EXECUTABLE
>
> Python_EXECUTABLE
>
>
>
>
>
> CMake Generate step failed. Build files cannot be regenerated correctly.
>
> WARNING: exit code 1 from a shell command.
>
>
>
> ERROR: Logfile of failure stored in: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/temp/log.do_configure.12650
>
> --
> Regards,
> Sateesh
> 
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] kcrash package compile issue
  2021-08-30  4:46 ` [yocto] " Zoran
@ 2021-08-30 12:19   ` Andreas Müller
  2021-08-30 12:52     ` Zoran
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2021-08-30 12:19 UTC (permalink / raw)
  To: Zoran; +Cc: sateesh m, Yocto-mailing-list

On Mon, Aug 30, 2021 at 6:46 AM Zoran <zoran.stojsavljevic@gmail.com> wrote:
>
> > CMake Error in src/CMakeLists.txt:
> >
> > Imported target "KF5::WindowSystem" includes non-existent path
>
> You somehow mixed Windows and Linux Cmake build systems. Not sure how...
>
> Solution 1: fix on the fly current problem:
> You should inspect the file: src/CMakeLists.txt and try to fix Windows
> paths to match Linux paths.
>
> Solution 2: delete the current Cmake setup and execute it from scratch:
> Error should not happen, since you need to delete the Cmake setup and
> do the whole thing from scratch.
>     1) configure <<===== This step causes you problems!
>     2) make
>     3) make install
>
> Zee
> _______
>
>
> On Mon, Aug 30, 2021 at 6:10 AM sateesh m <sateesh0457@gmail.com> wrote:
> >
> > Hi Team,
> >
> >              I am trying to build kcrash package. I got below error.Can anybody know how to fix this please guide me.
> >
> > ERROR: kcrash-5.85.0-r0 do_configure: Execution of '/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/temp/run.do_configure.12650' failed with exit code 1:
> >
> > -- The C compiler identification is GNU 10.2.0
> >
> > -- The CXX compiler identification is GNU 10.2.0
> >
> > -- Detecting C compiler ABI info
> >
> > -- Detecting C compiler ABI info - done
> >
> > -- Check for working C compiler: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-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: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-g++ - skipped
> >
> > -- Detecting CXX compile features
> >
> > -- Detecting CXX compile features - done
> >
> > --
> >
> >
> >
> > Installing in /usr. Run /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/build/prefix.sh to set the environment for KCrash.
> >
> > -- 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 BSYMBOLICFUNCTIONS_AVAILABLE
> >
> > -- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success
> >
> > fatal: not a git repository (or any of the parent directories): .git
> >
> > -- Found X11: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/include
> >
> > -- Looking for XOpenDisplay in /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libX11.so;/home/sateesh/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libXext.so
> >
> > -- Looking for XOpenDisplay in /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libX11.so;/home/sateesh/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libXext.so - found
> >
> > -- Looking for gethostbyname
> >
> > -- Looking for gethostbyname - found
> >
> > -- Looking for connect
> >
> > -- Looking for connect - found
> >
> > -- Looking for remove
> >
> > -- Looking for remove - found
> >
> > -- Looking for shmat
> >
> > -- Looking for shmat - found
> >
> > -- Looking for IceConnectionNumber in ICE
> >
> > -- Looking for IceConnectionNumber in ICE - found
> >
> > -- 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
> >
> > -- The following features have been enabled:
> >
> >
> >
> > * Core Pattern Raising, Raising signals to kernel core patterns (iff the pattern is a process). You may wish to not install drkonqi if this can cause a UI conflict.
> >
> >
> >
> > -- The following OPTIONAL packages have been found:
> >
> >
> >
> > * X11
> >
> >
> >
> > -- The following REQUIRED packages have been found:
> >
> >
> >
> > * ECM (required version >= 5.85.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
> >
> > * Qt5 (required version >= 5.15.0)
> >
> > * Qt5Core (required version >= 5.15.0)
> >
> > * KF5CoreAddons (required version >= 5.85.0)
> >
> > * Qt5Gui (required version >= 5.15.0)
> >
> > * KF5WindowSystem (required version >= 5.85.0)
> >
> > * Qt5X11Extras (required version >= 5.15.0)
> >
> >
> >
> > -- The following features have been disabled:
> >
> >
> >
> > * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
> >
> >
> >
> > -- Configuring done
> >
> > CMake Error in src/CMakeLists.txt:
> >
> > Imported target "KF5::WindowSystem" includes non-existent path
> >
> >
> >
> > "/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"
> >
> >
> >
> > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
> >
> >
> >
> > * The path was deleted, renamed, or moved to another location.
> >
> >
> >
> > * An install or uninstall procedure did not complete successfully.
> >
> >
> >
> > * The installation package was faulty and references files it does not
> >
> > provide.
> >
> >
> >
> >
> >
> >
> >
> > CMake Error in src/CMakeLists.txt:
> >
> > Imported target "KF5::WindowSystem" includes non-existent path
> >
> >
> >
> > "/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"
> >
> >
> >
> > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
> >
> >
> >
> > * The path was deleted, renamed, or moved to another location.
> >
> >
> >
> > * An install or uninstall procedure did not complete successfully.
> >
> >
> >
> > * The installation package was faulty and references files it does not
> >
> > provide.
> >
> >
> >
> >
> >
> >
> >
> > -- Generating done
> >
> > CMake Warning:
> >
> > Manually-specified variables were not used by the project:
> >
> >
> >
> > BUILD_DESIGNERPLUGIN
> >
> > LIB_SUFFIX
> >
> > OE_KF5_PATH_HOST_ROOT
> >
> > OE_QMAKE_PATH_ARCHDATA
> >
> > OE_QMAKE_PATH_BINS
> >
> > OE_QMAKE_PATH_DATA
> >
> > OE_QMAKE_PATH_DOCS
> >
> > OE_QMAKE_PATH_EXAMPLES
> >
> > OE_QMAKE_PATH_HEADERS
> >
> > OE_QMAKE_PATH_HOST_BINS
> >
> > OE_QMAKE_PATH_HOST_DATA
> >
> > OE_QMAKE_PATH_HOST_LIBS
> >
> > OE_QMAKE_PATH_HOST_PREFIX
> >
> > OE_QMAKE_PATH_LIBEXECS
> >
> > OE_QMAKE_PATH_LIBS
> >
> > OE_QMAKE_PATH_PLUGINS
> >
> > OE_QMAKE_PATH_PREFIX
> >
> > OE_QMAKE_PATH_QML
> >
> > OE_QMAKE_PATH_QT_ARCHDATA
> >
> > OE_QMAKE_PATH_QT_BINS
> >
> > OE_QMAKE_PATH_QT_DATA
> >
> > OE_QMAKE_PATH_QT_DOCS
> >
> > OE_QMAKE_PATH_QT_EXAMPLES
> >
> > OE_QMAKE_PATH_QT_HEADERS
> >
> > OE_QMAKE_PATH_QT_SETTINGS
> >
> > OE_QMAKE_PATH_QT_TESTS
> >
> > OE_QMAKE_PATH_QT_TRANSLATIONS
> >
> > OE_QMAKE_PATH_SETTINGS
> >
> > OE_QMAKE_PATH_TESTS
> >
> > OE_QMAKE_PATH_TRANSLATIONS
> >
> > PYTHON_EXECUTABLE
> >
> > Python3_EXECUTABLE
> >
> > Python_EXECUTABLE
> >
> >
> >
> >
> >
> > CMake Generate step failed. Build files cannot be regenerated correctly.
> >
> > WARNING: exit code 1 from a shell command.
> >
> >
> >
> > ERROR: Logfile of failure stored in: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/temp/log.do_configure.12650
> >
> > --
1. From version 5.85 I assume you use meta-qt5-extra (not meta-kf5) - right?
2. the important part of the log is:

| CMake Error in src/CMakeLists.txt:
| Imported target "KF5::WindowSystem" includes non-existent path
| "/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"

That means that kwindowsystem did not install all necessary bits. Do
you have x11 in your DISTRO_FEATURES? If not you should add that.

Hope that helps

Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [yocto] kcrash package compile issue
  2021-08-30 12:19   ` Andreas Müller
@ 2021-08-30 12:52     ` Zoran
  0 siblings, 0 replies; 4+ messages in thread
From: Zoran @ 2021-08-30 12:52 UTC (permalink / raw)
  To: Andreas Müller; +Cc: sateesh m, Yocto-mailing-list

> That means that kwindowsystem did not install all necessary bits.

Oh, I see... It has everything to do with Xwindows systems in X11
Client/Server domain.

kwindoes => KDE desktop.

Apology for the confusion!

Zee
_______



On Mon, Aug 30, 2021 at 2:19 PM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> On Mon, Aug 30, 2021 at 6:46 AM Zoran <zoran.stojsavljevic@gmail.com> wrote:
> >
> > > CMake Error in src/CMakeLists.txt:
> > >
> > > Imported target "KF5::WindowSystem" includes non-existent path
> >
> > You somehow mixed Windows and Linux Cmake build systems. Not sure how...
> >
> > Solution 1: fix on the fly current problem:
> > You should inspect the file: src/CMakeLists.txt and try to fix Windows
> > paths to match Linux paths.
> >
> > Solution 2: delete the current Cmake setup and execute it from scratch:
> > Error should not happen, since you need to delete the Cmake setup and
> > do the whole thing from scratch.
> >     1) configure <<===== This step causes you problems!
> >     2) make
> >     3) make install
> >
> > Zee
> > _______
> >
> >
> > On Mon, Aug 30, 2021 at 6:10 AM sateesh m <sateesh0457@gmail.com> wrote:
> > >
> > > Hi Team,
> > >
> > >              I am trying to build kcrash package. I got below error.Can anybody know how to fix this please guide me.
> > >
> > > ERROR: kcrash-5.85.0-r0 do_configure: Execution of '/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/temp/run.do_configure.12650' failed with exit code 1:
> > >
> > > -- The C compiler identification is GNU 10.2.0
> > >
> > > -- The CXX compiler identification is GNU 10.2.0
> > >
> > > -- Detecting C compiler ABI info
> > >
> > > -- Detecting C compiler ABI info - done
> > >
> > > -- Check for working C compiler: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-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: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/riscv64-oe-linux-g++ - skipped
> > >
> > > -- Detecting CXX compile features
> > >
> > > -- Detecting CXX compile features - done
> > >
> > > --
> > >
> > >
> > >
> > > Installing in /usr. Run /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/build/prefix.sh to set the environment for KCrash.
> > >
> > > -- 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 BSYMBOLICFUNCTIONS_AVAILABLE
> > >
> > > -- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success
> > >
> > > fatal: not a git repository (or any of the parent directories): .git
> > >
> > > -- Found X11: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/include
> > >
> > > -- Looking for XOpenDisplay in /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libX11.so;/home/sateesh/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libXext.so
> > >
> > > -- Looking for XOpenDisplay in /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libX11.so;/home/sateesh/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/recipe-sysroot/usr/lib/libXext.so - found
> > >
> > > -- Looking for gethostbyname
> > >
> > > -- Looking for gethostbyname - found
> > >
> > > -- Looking for connect
> > >
> > > -- Looking for connect - found
> > >
> > > -- Looking for remove
> > >
> > > -- Looking for remove - found
> > >
> > > -- Looking for shmat
> > >
> > > -- Looking for shmat - found
> > >
> > > -- Looking for IceConnectionNumber in ICE
> > >
> > > -- Looking for IceConnectionNumber in ICE - found
> > >
> > > -- 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
> > >
> > > -- The following features have been enabled:
> > >
> > >
> > >
> > > * Core Pattern Raising, Raising signals to kernel core patterns (iff the pattern is a process). You may wish to not install drkonqi if this can cause a UI conflict.
> > >
> > >
> > >
> > > -- The following OPTIONAL packages have been found:
> > >
> > >
> > >
> > > * X11
> > >
> > >
> > >
> > > -- The following REQUIRED packages have been found:
> > >
> > >
> > >
> > > * ECM (required version >= 5.85.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
> > >
> > > * Qt5 (required version >= 5.15.0)
> > >
> > > * Qt5Core (required version >= 5.15.0)
> > >
> > > * KF5CoreAddons (required version >= 5.85.0)
> > >
> > > * Qt5Gui (required version >= 5.15.0)
> > >
> > > * KF5WindowSystem (required version >= 5.85.0)
> > >
> > > * Qt5X11Extras (required version >= 5.15.0)
> > >
> > >
> > >
> > > -- The following features have been disabled:
> > >
> > >
> > >
> > > * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)
> > >
> > >
> > >
> > > -- Configuring done
> > >
> > > CMake Error in src/CMakeLists.txt:
> > >
> > > Imported target "KF5::WindowSystem" includes non-existent path
> > >
> > >
> > >
> > > "/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"
> > >
> > >
> > >
> > > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
> > >
> > >
> > >
> > > * The path was deleted, renamed, or moved to another location.
> > >
> > >
> > >
> > > * An install or uninstall procedure did not complete successfully.
> > >
> > >
> > >
> > > * The installation package was faulty and references files it does not
> > >
> > > provide.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > CMake Error in src/CMakeLists.txt:
> > >
> > > Imported target "KF5::WindowSystem" includes non-existent path
> > >
> > >
> > >
> > > "/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"
> > >
> > >
> > >
> > > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
> > >
> > >
> > >
> > > * The path was deleted, renamed, or moved to another location.
> > >
> > >
> > >
> > > * An install or uninstall procedure did not complete successfully.
> > >
> > >
> > >
> > > * The installation package was faulty and references files it does not
> > >
> > > provide.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > -- Generating done
> > >
> > > CMake Warning:
> > >
> > > Manually-specified variables were not used by the project:
> > >
> > >
> > >
> > > BUILD_DESIGNERPLUGIN
> > >
> > > LIB_SUFFIX
> > >
> > > OE_KF5_PATH_HOST_ROOT
> > >
> > > OE_QMAKE_PATH_ARCHDATA
> > >
> > > OE_QMAKE_PATH_BINS
> > >
> > > OE_QMAKE_PATH_DATA
> > >
> > > OE_QMAKE_PATH_DOCS
> > >
> > > OE_QMAKE_PATH_EXAMPLES
> > >
> > > OE_QMAKE_PATH_HEADERS
> > >
> > > OE_QMAKE_PATH_HOST_BINS
> > >
> > > OE_QMAKE_PATH_HOST_DATA
> > >
> > > OE_QMAKE_PATH_HOST_LIBS
> > >
> > > OE_QMAKE_PATH_HOST_PREFIX
> > >
> > > OE_QMAKE_PATH_LIBEXECS
> > >
> > > OE_QMAKE_PATH_LIBS
> > >
> > > OE_QMAKE_PATH_PLUGINS
> > >
> > > OE_QMAKE_PATH_PREFIX
> > >
> > > OE_QMAKE_PATH_QML
> > >
> > > OE_QMAKE_PATH_QT_ARCHDATA
> > >
> > > OE_QMAKE_PATH_QT_BINS
> > >
> > > OE_QMAKE_PATH_QT_DATA
> > >
> > > OE_QMAKE_PATH_QT_DOCS
> > >
> > > OE_QMAKE_PATH_QT_EXAMPLES
> > >
> > > OE_QMAKE_PATH_QT_HEADERS
> > >
> > > OE_QMAKE_PATH_QT_SETTINGS
> > >
> > > OE_QMAKE_PATH_QT_TESTS
> > >
> > > OE_QMAKE_PATH_QT_TRANSLATIONS
> > >
> > > OE_QMAKE_PATH_SETTINGS
> > >
> > > OE_QMAKE_PATH_TESTS
> > >
> > > OE_QMAKE_PATH_TRANSLATIONS
> > >
> > > PYTHON_EXECUTABLE
> > >
> > > Python3_EXECUTABLE
> > >
> > > Python_EXECUTABLE
> > >
> > >
> > >
> > >
> > >
> > > CMake Generate step failed. Build files cannot be regenerated correctly.
> > >
> > > WARNING: exit code 1 from a shell command.
> > >
> > >
> > >
> > > ERROR: Logfile of failure stored in: /home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kcrash/5.85.0-r0/temp/log.do_configure.12650
> > >
> > > --
> 1. From version 5.85 I assume you use meta-qt5-extra (not meta-kf5) - right?
> 2. the important part of the log is:
>
> | CMake Error in src/CMakeLists.txt:
> | Imported target "KF5::WindowSystem" includes non-existent path
> | "/home/yocto/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/kwindowsystem/5.85.0-r0/recipe-sysroot/usr/include"
>
> That means that kwindowsystem did not install all necessary bits. Do
> you have x11 in your DISTRO_FEATURES? If not you should add that.
>
> Hope that helps
>
> Andreas

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-30 12:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30  4:10 kcrash package compile issue sateesh m
2021-08-30  4:46 ` [yocto] " Zoran
2021-08-30 12:19   ` Andreas Müller
2021-08-30 12:52     ` Zoran

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.