Skip to content

Imported target "libtommath" includes non-existent path "include/libtommath" #593

@apteryks

Description

@apteryks

Hi,

I was trying to modernize the packaging of libtommath and libtomcrypt in Guix, but when attempting to build libtomcrypt with libtommath, the later having been built with CMake, I get:

-- CPack: packages will be generated under /tmp/guix-build-libtomcrypt-1.18.2-0.563f0fb.drv-0/build/packages/Linux/
-- Configuring done (0.1s)
CMake Error in CMakeLists.txt:
  Imported target "libtommath" includes non-existent path

    "/gnu/store/jh2pdcflmd6v2qb1h4f0ls7smmk5yc80-libtommath-1.3.0/include/libtommath"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: "cmake" arguments: ("../source" "-C /tmp/guix-build-libtomcrypt-1.18.2-0.563f0fb.drv-0/guix-file.OhalQL" "-GUnix Makefiles") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `configure' failed after 0.2 seconds

It looks like a bug in the CMake installed files of libtommath?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions