kevinwortman / tuffix

TUffy's lInuX
MIT License
37 stars 20 forks source link

Google Test Library Build - Failed (Ubuntu 20.04.1) #31

Closed puhfessorp closed 4 years ago

puhfessorp commented 4 years ago

Hello, I don't personally need this but thought you'd like to know. It seems the "Google Test Library Build" fails on my installation:

TASK [Google Test Library Build] ***********************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "BUILDDIR=\"/tmp/gtestbuild.$$\"\nDESTROOT=\"/usr/local/\"\nmkdir -p ${BUILDDIR}\ncd ${BUILDDIR}\ncmake -DCMAKE_BUILD_TYPE=RELEASE /usr/src/gtest/\nmake\ninstall -o root -g root -m 644 libgtest.a ${DESTROOT}/lib\ninstall -o root -g root -m 644 libgtest_main.a ${DESTROOT}/lib\n", "delta": "0:00:17.356882", "end": "2020-08-08 05:32:14.465000", "msg": "non-zero return code", "rc": 1, "start": "2020-08-08 05:31:57.108118", "stderr": "CMake Warning at CMakeLists.txt:54 (project):\n  VERSION keyword not followed by a value or was followed by a value that\n  expanded to nothing.\n\n\ninstall: cannot stat 'libgtest.a': No such file or directory\ninstall: cannot stat 'libgtest_main.a': No such file or directory", "stderr_lines": ["CMake Warning at CMakeLists.txt:54 (project):", "  VERSION keyword not followed by a value or was followed by a value that", "  expanded to nothing.", "", "", "install: cannot stat 'libgtest.a': No such file or directory", "install: cannot stat 'libgtest_main.a': No such file or directory"], "stdout": "-- The CXX compiler identification is GNU 9.3.0\n-- The C compiler identification is GNU 9.3.0\n-- Check for working CXX compiler: /usr/bin/c++\n-- Check for working CXX compiler: /usr/bin/c++ -- works\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Check for working C compiler: /usr/bin/cc\n-- Check for working C compiler: /usr/bin/cc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Found PythonInterp: /usr/bin/python (found version \"2.7.18\") \n-- Looking for pthread.h\n-- Looking for pthread.h - found\n-- Performing Test CMAKE_HAVE_LIBC_PTHREAD\n-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed\n-- Looking for pthread_create in pthreads\n-- Looking for pthread_create in pthreads - not found\n-- Looking for pthread_create in pthread\n-- Looking for pthread_create in pthread - found\n-- Found Threads: TRUE  \n-- Configuring done\n-- Generating done\n-- Build files have been written to: /tmp/gtestbuild.25434\nScanning dependencies of target gtest\n[ 25%] Building CXX object CMakeFiles/gtest.dir/src/gtest-all.cc.o\n[ 50%] Linking CXX static library lib/libgtest.a\n[ 50%] Built target gtest\nScanning dependencies of target gtest_main\n[ 75%] Building CXX object CMakeFiles/gtest_main.dir/src/gtest_main.cc.o\n[100%] Linking CXX static library lib/libgtest_main.a\n[100%] Built target gtest_main", "stdout_lines": ["-- The CXX compiler identification is GNU 9.3.0", "-- The C compiler identification is GNU 9.3.0", "-- Check for working CXX compiler: /usr/bin/c++", "-- Check for working CXX compiler: /usr/bin/c++ -- works", "-- Detecting CXX compiler ABI info", "-- Detecting CXX compiler ABI info - done", "-- Detecting CXX compile features", "-- Detecting CXX compile features - done", "-- Check for working C compiler: /usr/bin/cc", "-- Check for working C compiler: /usr/bin/cc -- works", "-- Detecting C compiler ABI info", "-- Detecting C compiler ABI info - done", "-- Detecting C compile features", "-- Detecting C compile features - done", "-- Found PythonInterp: /usr/bin/python (found version \"2.7.18\") ", "-- Looking for pthread.h", "-- Looking for pthread.h - found", "-- Performing Test CMAKE_HAVE_LIBC_PTHREAD", "-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed", "-- Looking for pthread_create in pthreads", "-- Looking for pthread_create in pthreads - not found", "-- Looking for pthread_create in pthread", "-- Looking for pthread_create in pthread - found", "-- Found Threads: TRUE  ", "-- Configuring done", "-- Generating done", "-- Build files have been written to: /tmp/gtestbuild.25434", "Scanning dependencies of target gtest", "[ 25%] Building CXX object CMakeFiles/gtest.dir/src/gtest-all.cc.o", "[ 50%] Linking CXX static library lib/libgtest.a", "[ 50%] Built target gtest", "Scanning dependencies of target gtest_main", "[ 75%] Building CXX object CMakeFiles/gtest_main.dir/src/gtest_main.cc.o", "[100%] Linking CXX static library lib/libgtest_main.a", "[100%] Built target gtest_main"]}

OS: Ubuntu 20.04.1 (fresh installation) Uname: Linux mike-KVM 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Virtualization: Qemu/KVM Used command: wget https://csufcs.com/tuffixize -O - | bash DE: Gnome

Before installation I updated, installed xfce4 and terminator, and rebooted (did not switch to xfce4 yet).

kevinwortman commented 4 years ago

Thanks for this report. This issue was fixed in fd0c0b082d0bffa758091330ff9580a5e5015116.