error running slackbuild scripts
Hello guys,
After last upgrade on my system (Slackware x64 Current), now when I try to run any slackbuild script, I got this error: Example: Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/CODE_OF_CONDUCT.md -- The C compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: /tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_6a6f2/fast" /usr/bin/gmake -f CMakeFiles/cmTC_6a6f2.dir/build.make Does someone could help me with this error? Thanks ----------- Slackware Current x64 up to date! |
Please give us more output from build.
Tell us if you are using any CC or CXX environmental variables. Maybe your gcc is b0rked(tm), try full system upgrade or reinstall gcc and glibc stuff? |
Can you post the relevant portion of /tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/CMakeError.log?
|
Hello guys,
I'm not in the Office now (my laptop is there), but I'll do it as soon as I can. Thank you. Rafael |
Morning,
I've tried to reinstall GCC/GLIBC but it didn't work. /tmp/SBo/conky-1.10.8/build/CMakeFiles/CMakeError.log : Compilation of the C compiler identification source "CMakeCCompilerId.c" did not produce an executable in "/tmp/SBo/conky-1.10.8/build/CMakeFiles/3.13.4/CompilerIdC". Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler": cc: fatal error: no input files compilation terminated. Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler": cc: fatal error: no input files compilation terminated. Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" did not produce an executable in "/tmp/SBo/conky-1.10.8/build/CMakeFiles/3.13.4/CompilerIdCXX". Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" did not produce an executable in "/tmp/SBo/conky-1.10.8/build/CMakeFiles/3.13.4/CompilerIdCXX". Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed. Compiler: /usr/bin/c++ Build flags: -O2;-fPIC Id flags: --c++ ------------------------------------ Any Slackbuild package that I try to compile, I get this error: -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: /tmp/SBo/conky-1.10.8/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_6b800/fast" /usr/bin/gmake -f CMakeFiles/cmTC_6b800.dir/build.make CMakeFiles/cmTC_6b800.dir/build gmake[1]: Entering directory '/tmp/SBo/conky-1.10.8/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6b800.dir/testCCompiler.c.o /usr/bin/cc -O2 -fPIC -o CMakeFiles/cmTC_6b800.dir/testCCompiler.c.o -c /tmp/SBo/conky-1.10.8/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_6b800 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6b800.dir/link.txt --verbose=1 /usr/bin/cc -O2 -fPIC CMakeFiles/cmTC_6b800.dir/testCCompiler.c.o -o cmTC_6b800 cc: error: CMakeFiles/cmTC_6b800.dir/testCCompiler.c.o: Arquivo ou diretório inexistente cc: fatal error: no input files compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_6b800.dir/build.make:87: cmTC_6b800] Error 1 gmake[1]: Leaving directory '/tmp/SBo/conky-1.10.8/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_6b800/fast] Error 2 |
Quote:
|
Ponce git, He (Ponce) keeps the current slackbuilds, or Slackbuilds for current
http://slackware.ponce.cc/blog/ http://cgit.ponce.cc/slackbuilds/ https://github.com/Ponce/slackbuilds |
Hi,
I did as you told me (I've downloaded SlackBuild's package file for current: slackbuilds-14.2-20190302.1) e tried again with some packages, but they didn't work! Exactly the same error happens. I have 2 laptops with the same Slackware Current version. This one where the error happens I took a bit more time to upgrade it than another one. That's the difference between them. My another laptop I can still compile every SlackBuild's packages (from SlackBuilds.org) without any errors. Thanks. |
it might qualify for Ponce thread
https://www.linuxquestions.org/quest...ls-4175561999/ what packages are not working? |
I tried with: conky ->
conky-1.10.8/src/weather.cc conky-1.10.8/src/weather.h conky-1.10.8/src/x11.cc conky-1.10.8/src/x11.h conky-1.10.8/src/xmms2.cc conky-1.10.8/src/xmms2.h conky-1.10.8/text2c.sh -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. --------------------------------------------------------------------------- I tried with Remmina: Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/.github/ Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/.github/ISSUE_TEMPLATE.md Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/COPYING Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/README.md Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/CODE_OF_CONDUCT.md -- The C compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. Tks. |
Quote:
|
Here's a full LOG from CMakeError:
Compilation of the C compiler identification source "CMakeCCompilerId.c" did not produce an executable in "/tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/3.13.4/CompilerIdC". Compilation of the C compiler identification source "CMakeCCompilerId.c" did not produce an executable in "/tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/3.13.4/CompilerIdC". Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: /usr/bin/cc Build flags: -O2;-fPIC;-lz;-lssl;-lcrypto Id flags: -Aa The output was: 1 Compilation of the C compiler identification source "CMakeCCompilerId.c" did not produce an executable in "/tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/3.13.4/CompilerIdC". Compilation of the C compiler identification source "CMakeCCompilerId.c" did not produce an executable in "/tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/3.13.4/CompilerIdC". Compilation of the C compiler identification source "CMakeCCompilerId.c" did not produce an executable in "/tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/3.13.4/CompilerIdC". Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: /usr/bin/cc Build flags: Id flags: -Aa The output was: 1 <command-line>: error: Compilation of the C compiler identification source "CMakeCCompilerId.c" did not produce an executable in "/tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/3.13.4/CompilerIdC". Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler": Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler": cc: fatal error: no input files compilation terminated. Determining if the C compiler works failed with the following output: Change Dir: /tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_0faaf/fast" /usr/bin/gmake -f CMakeFiles/cmTC_0faaf.dir/build.make CMakeFiles/cmTC_0faaf.dir/build gmake[1]: Entering directory '/tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_0faaf.dir/testCCompiler.c.o /usr/bin/cc -O2 -fPIC -lz -lssl -lcrypto -o CMakeFiles/cmTC_0faaf.dir/testCCompiler.c.o -c /tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTC_0faaf /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0faaf.dir/link.txt --verbose=1 /usr/bin/cc -O2 -fPIC -lz -lssl -lcrypto CMakeFiles/cmTC_0faaf.dir/testCCompiler.c.o -o cmTC_0faaf cc: error: CMakeFiles/cmTC_0faaf.dir/testCCompiler.c.o: Arquivo ou diretório inexistente gmake[1]: *** [CMakeFiles/cmTC_0faaf.dir/build.make:87: cmTC_0faaf] Error 1 gmake[1]: Leaving directory '/tmp/SBo/Remmina-b0114e06a54d7cc4112fb39a3a219a498a56451b/build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_0faaf/fast] Error 2 |
You compiler is broken, I would guess something went very wrong during installation or maybe during an update. Please make sure this is full Slackware install that is fully up to date. Likely some vital package is missing or incorrectly installed. Also please use code tags in the future, it makes it easier to read. :)
Quote:
|
you could do a download alien bob slackware current iso http://bear.alienbase.nl/mirrors/sla...4-current-iso/
then mount it or untar it into a directory then reinstall what you think you need to see if that fixes it, after you've ran your update, install new, upgrade all Code:
"upgradepkg --install-new --reinstall ..." |
Hi,
I couldn't fix this error ... So for now, I will keep it this way and when I need to compile something I will do it on my another laptop (that works fine). On this laptop, except build packages I can do everything else. Anyway, thank you guys for help me !! |
All times are GMT -5. The time now is 06:34 AM. |