Skip to content

Instantly share code, notes, and snippets.

@TylerBrock
Created April 23, 2014 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TylerBrock/11232337 to your computer and use it in GitHub Desktop.
Save TylerBrock/11232337 to your computer and use it in GitHub Desktop.
yaourt trucov
1 aur/trucov 10.1-1 (1)
trucov coverage analysis tool a developer tool to analyze coverage information generated by gcc --coverage
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1
==> Downloading trucov PKGBUILD from AUR...
x PKGBUILD
trucov 10.1-1 (Thu Sep 23 08:38:34 EDT 2010)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> trucov dependencies:
- boost (already installed)
- cmake (already installed)
==> Continue building trucov ? [Y/n]
==> --------------------------------
==>
==> Building and installing package
==> Making package: trucov 10.1-1 (Wed Apr 23 16:57:12 EDT 2014)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading trucov_10.1.tgz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1899k 100 1899k 0 0 3846k 0 --:--:-- --:--:-- --:--:-- 3844k
==> Validating source files with md5sums...
trucov_10.1.tgz ... Passed
==> Extracting sources...
-> Extracting trucov_10.1.tgz with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/lib/colorgcc/bin/cc
-- Check for working C compiler: /usr/lib/colorgcc/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/colorgcc/bin/c++
-- Check for working CXX compiler: /usr/lib/colorgcc/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Welcome to Trucov 10.1
Compiling with Build Type = Release
1) To compile in Release mode: cmake -DCMAKE_BUILD_TYPE=Release
2) To compile in Debug mode: cmake -DCMAKE_BUILD_TYPE=Debug
Coverage Profiling = Enabled
1) To compile with coverage profiling: cmake -DCOVERAGE=On
2) To compile without coverage profiling: cmake -DCOVERAGE=Off
Compiling with debug option enabled.
1) To compile with debug option enabled: cmake -DDEBUGFLAG=On
2) To compile with debug option disabled: cmake -DDEBUGFLAG=Off
Assuming newer version of boost.
1) To compile with newer versions of boost: cmake -DBOOST_VERSION=New
2) To compile with older versions of boost: cmake -DBOOST_VERSION=Old
If boost fails to link, attempt to compile with the older version of boost.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/yaourt-tmp-tbrock/aur-trucov/build
Scanning dependencies of target trucov_lib
[ 9%] Building CXX object CMakeFiles/trucov_lib.dir/src/config.cpp.o
[ 18%] Building CXX object CMakeFiles/trucov_lib.dir/src/coverage_creator.cpp.o
[ 27%] Building CXX object CMakeFiles/trucov_lib.dir/src/parser.cpp.o
[ 36%] Building CXX object CMakeFiles/trucov_lib.dir/src/record.cpp.o
[ 45%] Building CXX object CMakeFiles/trucov_lib.dir/src/tru_utility.cpp.o
/tmp/yaourt-tmp-tbrock/aur-trucov/src/trucov_10.1/src/tru_utility.cpp: In constructor ‘Tru_utility::Tru_utility()’:
/tmp/yaourt-tmp-tbrock/aur-trucov/src/trucov_10.1/src/tru_utility.cpp:45:45: error: expected primary-expression before ‘>’ token
m_curr_dir = fs::current_path<fs::path>();
^
/tmp/yaourt-tmp-tbrock/aur-trucov/src/trucov_10.1/src/tru_utility.cpp:45:47: error: expected primary-expression before ‘)’ token
m_curr_dir = fs::current_path<fs::path>();
^
/tmp/yaourt-tmp-tbrock/aur-trucov/src/trucov_10.1/src/tru_utility.cpp: In member function ‘bool Tru_utility::change_dir(std::string)’:
/tmp/yaourt-tmp-tbrock/aur-trucov/src/trucov_10.1/src/tru_utility.cpp:69:43: error: ‘class boost::filesystem::path’ has no member named ‘directory_string’
string s = fs::system_complete(".").directory_string();
^
/tmp/yaourt-tmp-tbrock/aur-trucov/src/trucov_10.1/src/tru_utility.cpp: In member function ‘std::vector<std::basic_string<char> > Tru_utility::read_dir(std::string)’:
/tmp/yaourt-tmp-tbrock/aur-trucov/src/trucov_10.1/src/tru_utility.cpp:127:41: error: ‘const class boost::filesystem::path’ has no member named ‘file_string’
result.push_back( dir_itr->path().file_string() );
^
CMakeFiles/trucov_lib.dir/build.make:149: recipe for target 'CMakeFiles/trucov_lib.dir/src/tru_utility.cpp.o' failed
make[2]: *** [CMakeFiles/trucov_lib.dir/src/tru_utility.cpp.o] Error 1
CMakeFiles/Makefile2:1178: recipe for target 'CMakeFiles/trucov_lib.dir/all' failed
make[1]: *** [CMakeFiles/trucov_lib.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment