When pkg-config returns paths with multiples of .../include the function _symlinks attempts (and fails via java.io.IOException) to create multiple symbolic links of the same path.
To replicate this issue run pkg-config gtkmm-4.0 --cflags --libs
The simplest solution is to modify the name of the final directory that is created. An attempt to create sub-directories to hold these include directories may, in turn, create cyclical symbolic links inside the system directory.
When
pkg-configreturns paths with multiples of.../includethe function_symlinksattempts (and fails viajava.io.IOException) to create multiple symbolic links of the same path.The simplest solution is to modify the name of the final directory that is created. An attempt to create sub-directories to hold these
includedirectories may, in turn, create cyclical symbolic links inside the system directory.