Package Details: gccdiag 0.2.4-1

Git Clone URL: https://aur.archlinux.org/gccdiag.git (read-only, click to copy)
Package Base: gccdiag
Description: Utility to get GCC diagnostics for a file, with flags from compilation database.
Upstream URL: https://gitlab.com/andrejr/gccdiag
Licenses: GPL3
Conflicts: gccdiag-git
Provides: gccdiag
Submitter: andrejr
Maintainer: andrejr
Last Packager: andrejr
Votes: 0
Popularity: 0.000000
First Submitted: 2021-11-17 21:40 (UTC)
Last Updated: 2021-12-15 16:16 (UTC)

Latest Comments

salimp commented on 2023-12-10 12:07 (UTC) (edited on 2023-12-10 12:10 (UTC) by salimp)

i just tried to install this and it gives this error during build . I am on Manjaro gcc version 13.2 , cmake versşon 3.27.9

-- Found Boost: /usr/lib/cmake/Boost-1.83.0/BoostConfig.cmake (found suitable version "1.83.0", minimum required is "1.74") found components: headers filesystem json regex 
-- Found args: /usr/include  
-- Successfully added all dependencies and linked against them.
-- Project is now aliased as gccdiag::gccdiag.

-- Install targets succesfully build. Install with `cmake --build <build_directory> --target install --config <build_config>`.
-- Finished building requirements for installing the package.

-- Generating SourceDist.cmake file.
-- Generating SourceInstallScript.cmake file.
-- Configuring done (2.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/build
make: Entering directory '/home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/build'
[ 16%] Building CXX object CMakeFiles/gccdiag.dir/src/main.cpp.o
[ 33%] Building CXX object CMakeFiles/gccdiag.dir/src/compilation_database.cpp.o
In file included from /home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/src/compilation_database.cpp:1:
/home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/include/gccdiag/compilation_database.hpp:17:8: error: redefinition of ‘struct std::hash<std::filesystem::__cxx11::path>’
   17 | struct hash<path> {
      |        ^~~~~~~~~~
In file included from /usr/include/c++/13.2.1/filesystem:49,
                 from /home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/include/gccdiag/compilation_database.hpp:3:
/usr/include/c++/13.2.1/bits/fs_path.h:1447:10: note: previous definition of ‘struct std::hash<std::filesystem::__cxx11::path>’
 1447 |   struct hash<filesystem::path>
      |          ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/gccdiag.dir/build.make:90: CMakeFiles/gccdiag.dir/src/compilation_database.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/src/main.cpp:1:
/home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/include/gccdiag/compilation_database.hpp:17:8: error: redefinition of ‘struct std::hash<std::filesystem::__cxx11::path>’
   17 | struct hash<path> {
      |        ^~~~~~~~~~
In file included from /usr/include/c++/13.2.1/filesystem:49,
                 from /home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/include/gccdiag/compilation_database.hpp:3:
/usr/include/c++/13.2.1/bits/fs_path.h:1447:10: note: previous definition of ‘struct std::hash<std::filesystem::__cxx11::path>’
 1447 |   struct hash<filesystem::path>
      |          ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/gccdiag.dir/build.make:76: CMakeFiles/gccdiag.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/gccdiag.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/home/salim/.cache/yay/gccdiag/src/gccdiag-0.2.4/build'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gccdiag-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
gccdiag - exit status 4