Hello,
Unfortunately I am having trouble with x11/kde4 building from ports and 10.0-RELEASE on amd64. The first issue was that it failed to find and build strigi and instead just dies saying that it cannot find the required strigi. That seems wrong. Then while building strigi, it dies because it cannot find the required gnutls. Why not then build it? Annoying, but easy enough fixes.
Now however, x11/kde4 dies with the following error from the CMakeError.log from which I cannot understand the problem and do not understand how to work around. Any suggestions would be greatly appreciated. Tried Mate in desperation, but I can't stand Gnome any longer.
Unfortunately I am having trouble with x11/kde4 building from ports and 10.0-RELEASE on amd64. The first issue was that it failed to find and build strigi and instead just dies saying that it cannot find the required strigi. That seems wrong. Then while building strigi, it dies because it cannot find the required gnutls. Why not then build it? Annoying, but easy enough fixes.
Now however, x11/kde4 dies with the following error from the CMakeError.log from which I cannot understand the problem and do not understand how to work around. Any suggestions would be greatly appreciated. Tried Mate in desperation, but I can't stand Gnome any longer.
Code:
Run Build Command:/usr/local/bin/gmake "cmTryCompileExec2708725234/fast"
gmake[2]: Entering directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
/usr/local/bin/gmake -f CMakeFiles/cmTryCompileExec2708725234.dir/build.make CMakeFiles/cmTryCompileExec2708725234.dir/build
gmake[3]: Entering directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2708725234.dir/src.cxx.o
/usr/bin/c++ -D_LARGEFILE64_SOURCE -O2 -pipe -fstack-protector -fno-strict-aliasing -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage -DHAVE_PPC_ALTIVEC -o CMakeFiles/cmTryCompileExec2708725234.dir/src.cxx.o -c /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/src.cxx
/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/src.cxx:4:26: error: invalid instruction mnemonic 'mtspr'
int main() { __asm__("mtspr 256, %0; vand %%v0, %%v0, %%v0" : : "r"(-1) ); }
^
<inline asm>:1:2: note: instantiated into assembly here
mtspr 256, %eax; vand %v0, %v0, %v0
^~~~~
/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/src.cxx:4:26: error: invalid register name
int main() { __asm__("mtspr 256, %0; vand %%v0, %%v0, %%v0" : : "r"(-1) ); }
^
<inline asm>:1:24: note: instantiated into assembly here
mtspr 256, %eax; vand %v0, %v0, %v0
^~~~
2 errors generated.
gmake[3]: *** [CMakeFiles/cmTryCompileExec2708725234.dir/src.cxx.o] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
gmake[2]: *** [cmTryCompileExec2708725234/fast] Error 2
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
Source file was:
#ifdef __SUNPRO_CC
#define __asm__ asm
#endif
int main() { __asm__("mtspr 256, %0; vand %%v0, %%v0, %%v0" : : "r"(-1) ); }
Determining if the variable __progname_full exists failed with the following output:
Change Dir: /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp
Run Build Command:/usr/local/bin/gmake "cmTryCompileExec3252058265/fast"
gmake[2]: Entering directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
/usr/local/bin/gmake -f CMakeFiles/cmTryCompileExec3252058265.dir/build.make CMakeFiles/cmTryCompileExec3252058265.dir/build
gmake[3]: Entering directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3252058265.dir/CheckVariableExists.c.o
/usr/bin/cc -D_LARGEFILE64_SOURCE -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_VARIABLE_EXISTS=__progname_full -o CMakeFiles/cmTryCompileExec3252058265.dir/CheckVariableExists.c.o -c /usr/local/share/cmake/Modules/CheckVariableExists.c
Linking C executable cmTryCompileExec3252058265
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3252058265.dir/link.txt --verbose=1
/usr/bin/cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_VARIABLE_EXISTS=__progname_full CMakeFiles/cmTryCompileExec3252058265.dir/CheckVariableExists.c.o -o cmTryCompileExec3252058265
CMakeFiles/cmTryCompileExec3252058265.dir/CheckVariableExists.c.o: In function `main':
/usr/local/share/cmake/Modules/CheckVariableExists.c:(.text+0x16): undefined reference to `__progname_full'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [cmTryCompileExec3252058265] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
gmake[2]: *** [cmTryCompileExec3252058265/fast] Error 2
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
Determining if files sys/pstat.h exist failed with the following output:
Change Dir: /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp
Run Build Command:/usr/local/bin/gmake "cmTryCompileExec53743549/fast"
gmake[2]: Entering directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
/usr/local/bin/gmake -f CMakeFiles/cmTryCompileExec53743549.dir/build.make CMakeFiles/cmTryCompileExec53743549.dir/build
gmake[3]: Entering directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec53743549.dir/CheckIncludeFiles.c.o
/usr/bin/cc -D_LARGEFILE64_SOURCE -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -o CMakeFiles/cmTryCompileExec53743549.dir/CheckIncludeFiles.c.o -c /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:2:10: fatal error: 'sys/pstat.h' file not found
#include <sys/pstat.h>
^
1 error generated.
gmake[3]: *** [CMakeFiles/cmTryCompileExec53743549.dir/CheckIncludeFiles.c.o] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
gmake[2]: *** [cmTryCompileExec53743549/fast] Error 2
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
Source:
/* */
#include <sys/pstat.h>
int main(){return 0;}
Determining if the function pstat exists failed with the following output:
Change Dir: /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp
Run Build Command:/usr/local/bin/gmake "cmTryCompileExec977325697/fast"
gmake[2]: Entering directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
/usr/local/bin/gmake -f CMakeFiles/cmTryCompileExec977325697.dir/build.make CMakeFiles/cmTryCompileExec977325697.dir/build
gmake[3]: Entering directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec977325697.dir/CheckFunctionExists.c.o
/usr/bin/cc -D_LARGEFILE64_SOURCE -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_FUNCTION_EXISTS=pstat -o CMakeFiles/cmTryCompileExec977325697.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec977325697
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec977325697.dir/link.txt --verbose=1
/usr/bin/cc -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -DCHECK_FUNCTION_EXISTS=pstat CMakeFiles/cmTryCompileExec977325697.dir/CheckFunctionExists.c.o -o cmTryCompileExec977325697
CMakeFiles/cmTryCompileExec977325697.dir/CheckFunctionExists.c.o: In function `main':
/usr/local/share/cmake/Modules/CheckFunctionExists.c:(.text+0xf): undefined reference to `pstat'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [cmTryCompileExec977325697] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'
gmake[2]: *** [cmTryCompileExec977325697/fast] Error 2
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs4/work/.build/CMakeFiles/CMakeTmp'