Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Autoconfigure for compilation plasma-workspace-5.5.95 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
msst
Apprentice
Apprentice


Joined: 07 Jun 2011
Posts: 226

PostPosted: Fri Mar 04, 2016 7:21 pm    Post subject: Autoconfigure for compilation plasma-workspace-5.5.95 fails Reply with quote

Trying to compile it fails with:

Code:
-- Performing Test HAVE_MMMX
-- Performing Test HAVE_MMMX - Success
-- Warning: Property DESCRIPTION for package XCB already set to "X protocol C-language Binding", overriding it with "Xcb libraries"
-- Warning: Property URL already set to "http://xcb.freedesktop.org", overriding it with "http://www.x.org"
-- checking for module 'iso-codes'
--   found iso-codes, version 3.65
CMake Error at cmake/FindIsoCodes.cmake:41 (pkg_get_variable):
  Unknown CMake command "pkg_get_variable".
Call Stack (most recent call first):
  applets/digital-clock/plugin/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-plasma/plasma-workspace-5.5.95/work/plasma-workspace-5.5.95_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/kde-plasma/plasma-workspace-5.5.95/work/plasma-workspace-5.5.95_build/CMakeFiles/CMakeError.log".


The build error log says:
Code:
Determining if the function getpassphrase exists failed with the following output:
Change Dir: /var/tmp/portage/kde-plasma/plasma-workspace-5.5.95/work/plasma-workspace-5.5.95_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_b37ee/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_b37ee.dir/build.make CMakeFiles/cmTC_b37ee.dir/build
gmake[1]: Entering directory '/var/tmp/portage/kde-plasma/plasma-workspace-5.5.95/work/plasma-workspace-5.5.95_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b37ee.dir/CheckFunctionExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc  -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -DQT_NO_DEBUG -DNDEBUG -O2 -march=native -fomit-frame-pointer -pipe  -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 -DCHECK_FUNCTION_EXISTS=getpassphrase   -o CMakeFiles/cmTC_b37ee.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_b37ee
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b37ee.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc  -O2 -march=native -fomit-frame-pointer -pipe  -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 -DCHECK_FUNCTION_EXISTS=getpassphrase   -Wl,-O1 -Wl,--as-needed  CMakeFiles/cmTC_b37ee.dir/CheckFunctionExists.c.o  -o cmTC_b37ee -rdynamic
CMakeFiles/cmTC_b37ee.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `getpassphrase'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_b37ee.dir/build.make:97: recipe for target 'cmTC_b37ee' failed
gmake[1]: Leaving directory '/var/tmp/portage/kde-plasma/plasma-workspace-5.5.95/work/plasma-workspace-5.5.95_build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTC_b37ee] Error 1
Makefile:126: recipe for target 'cmTC_b37ee/fast' failed
gmake: *** [cmTC_b37ee/fast] Error 2


Determining if the function getpeereid exists failed with the following output:
Change Dir: /var/tmp/portage/kde-plasma/plasma-workspace-5.5.95/work/plasma-workspace-5.5.95_build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/gmake" "cmTC_51ed0/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_51ed0.dir/build.make CMakeFiles/cmTC_51ed0.dir/build
gmake[1]: Entering directory '/var/tmp/portage/kde-plasma/plasma-workspace-5.5.95/work/plasma-workspace-5.5.95_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_51ed0.dir/CheckFunctionExists.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc  -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -DQT_NO_DEBUG -DNDEBUG -O2 -march=native -fomit-frame-pointer -pipe  -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 -DCHECK_FUNCTION_EXISTS=getpeereid   -o CMakeFiles/cmTC_51ed0.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_51ed0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_51ed0.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-gcc  -O2 -march=native -fomit-frame-pointer -pipe  -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 -DCHECK_FUNCTION_EXISTS=getpeereid   -Wl,-O1 -Wl,--as-needed  CMakeFiles/cmTC_51ed0.dir/CheckFunctionExists.c.o  -o cmTC_51ed0 -rdynamic
CMakeFiles/cmTC_51ed0.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `getpeereid'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_51ed0.dir/build.make:97: recipe for target 'cmTC_51ed0' failed
gmake[1]: Leaving directory '/var/tmp/portage/kde-plasma/plasma-workspace-5.5.95/work/plasma-workspace-5.5.95_build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTC_51ed0] Error 1
Makefile:126: recipe for target 'cmTC_51ed0/fast' failed
gmake: *** [cmTC_51ed0/fast] Error 2


That was working ok for plasma-workspace-5.5.5. System is using kde-framework 5.19.0 and qt-5.5.1. Anyone knows what it again bogged up?
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 739
Location: S.O. France

PostPosted: Sat Mar 05, 2016 11:54 am    Post subject: Reply with quote

According to this bug, you need cmake >= 3.4
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7133
Location: Austria

PostPosted: Sat Mar 05, 2016 12:06 pm    Post subject: Reply with quote

There's a fix in git master that you could use with epatch_user to circumvent the problem.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
msst
Apprentice
Apprentice


Joined: 07 Jun 2011
Posts: 226

PostPosted: Sat Mar 05, 2016 8:47 pm    Post subject: Reply with quote

You guys are great! I also googled for the error message, but did not find the bug. Guess I put in the wrong catchwords. But it is spot on the cmake version:

Installed versions: 3.3.1-r1(02:18:47 05.01.2016)(ncurses qt5 -doc -emacs -qt4 -system-jsoncpp -test)
Homepage: http://www.cmake.org/
Description: Cross platform Make

Indeed I have the cmake on stable which is 3.3.1-r1. I am not squeamish to try out unstable or sometimes even masked versions for individual programs or such, but for the compiler / toolchain / authentication stuff I like to stay on stable.

Well, for the moment I have removed the unmask for kde-plasma/* and only keep the unmask for kde-apps. That seems less critical and seems to work "mixed". When kde-plasma-5.5.95 has migrated down from the kde-overlay to "normal unstable gentoo" this bug should be either patched out or cmake is beeing promoted in the meantime.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7133
Location: Austria

PostPosted: Sat Mar 05, 2016 10:09 pm    Post subject: Reply with quote

Didn't I just mention it was fixed in git master already? ;)

https://quickgit.kde.org/?p=plasma-workspace.git&a=commit&h=09e58f7f33658fec6291213636989c715b32b7e2
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum