Mailinglist Archive: opensuse-bugs (2150 mails)

< Previous Next >
[Bug 873649] New: devel:tools:building/cmake: Bug
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 15 Apr 2014 10:10:47 +0000
  • Message-id: <bug-873649-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=873649

https://bugzilla.novell.com/show_bug.cgi?id=873649#c0


Summary: devel:tools:building/cmake: Bug
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: 3rd party software
AssignedTo: vcizek@xxxxxxxx
ReportedBy: asn@xxxxxxxxxxxxxx
QAContact: opensuse-communityscreening@xxxxxxxxxxxxxxxxxxxxxx
CC: pth@xxxxxxxx, sbrabec@xxxxxxxx
Found By: ---
Blocker: ---


cmake doesn't check /usr/lib64/cmake for module config files:


find_package(socket_wrapper REQUIRED)

results in:


Could not find a package configuration file provided by "socket_wrapper"
with any of the following names:

socket_wrapperConfig.cmake
socket_wrapper-config.cmake

Add the installation prefix of "socket_wrapper" to CMAKE_PREFIX_PATH or set
"socket_wrapper_DIR" to a directory containing one of the above files. If
"socket_wrapper" provides a separate development package or SDK, be sure it
has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/asn/workspace/projects/libssh/obj/CMakeFiles/CMakeOutput.log".
See also "/home/asn/workspace/projects/libssh/obj/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1


But the files are there.

asn@magrathea:~/workspace/projects/libssh/obj> ll /usr/lib64/cmake/
total 40
drwxr-xr-x 1 root root 226 Apr 3 14:42 Akonadi
drwxr-xr-x 1 root root 246 Apr 3 14:44 KActivities
drwxr-xr-x 1 root root 298 Apr 3 14:44 KActivities-Models
drwxr-xr-x 1 root root 254 Apr 8 08:47 KDeclarative
drwxr-xr-x 1 root root 278 Apr 8 08:47 KdepimLibs
drwxr-xr-x 1 root root 54 Apr 11 19:50 LibSearchClient
drwxr-xr-x 1 root root 130 Apr 11 19:50 LibStreamAnalyzer
drwxr-xr-x 1 root root 210 Apr 11 19:50 LibStreams
drwxr-xr-x 1 root root 322 Apr 8 08:47 NepomukCore
drwxr-xr-x 1 root root 102 Jan 9 10:03 PolkitQt-1
drwxr-xr-x 1 root root 36 Apr 3 14:42 Prison
drwxr-xr-x 1 root root 86 Apr 11 19:50 Strigi
-rw-r--r-- 1 root root 377 Jan 21 12:26 cmocka-config-version.cmake
-rw-r--r-- 1 root root 352 Jan 21 12:26 cmocka-config.cmake
-rw-r--r-- 1 root root 377 Mar 4 18:27 libssh-config-version.cmake
-rw-r--r-- 1 root root 352 Mar 4 18:27 libssh-config.cmake
-rw-r--r-- 1 root root 377 Apr 8 09:59 nss_wrapper-config-version.cmake
-rw-r--r-- 1 root root 54 Apr 7 12:14 nss_wrapper-config.cmake
drwxr-xr-x 1 root root 178 Jan 28 19:45 phonon
drwxr-xr-x 1 root root 172 Jan 9 10:07 qjson
-rw-r--r-- 1 root root 377 Feb 4 17:02 socket_wrapper-config-version.cmake
-rw-r--r-- 1 root root 60 Apr 7 14:47 socket_wrapper-config.cmake
-rw-r--r-- 1 root root 377 Feb 4 16:33 uid_wrapper-config-version.cmake
-rw-r--r-- 1 root root 54 Feb 4 16:33 uid_wrapper-config.cmake


If I do a strace on cmake. It tries to find the file in

/usr/lib64/mpi/gcc/openmpi


19189 stat("/usr/lib64/mpi/gcc/openmpi", {st_mode=S_IFDIR|0755, st_size=26,
..}) = 0
19189 access("/usr/lib64/mpi/gcc/openmpi/socket_wrapperConfig.cmake", R_OK) =
-1 ENOENT (No such file or directory)
19189 access("/usr/lib64/mpi/gcc/openmpi/socket_wrapper-config.cmake", R_OK) =
-1 ENOENT (No such file or directory)

..

19189 openat(AT_FDCWD, "/usr/lib64/mpi/gcc/openmpi/lib64/cmake/",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
19189 openat(AT_FDCWD, "/usr/lib64/mpi/gcc/openmpi/lib/cmake/",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
19189 openat(AT_FDCWD, "/usr/lib64/mpi/gcc/openmpi/share/cmake/",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or
directory)
19189 openat(AT_FDCWD, "/usr/lib64/mpi/gcc/openmpi/lib64/",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3

This doesn't seem to be correct.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >