Skip to content

make DESTDIR install fails when setting the rpath #4229

@heirecka

Description

@heirecka

When trying to install fontforge 20200314 to a DESTDIR it fails with:

Install the project...
/usr/x86_64-pc-linux-gnu/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /var/tmp/paludis/build/media-gfx-fontforge-20200314/image/usr/x86_64-pc-linux-gnu/lib/libfontforge.so.4
CMake Error at fontforge/cmake_install.cmake:50 (file):
  file RPATH_CHANGE could not write new RPATH:

    /usr/x86_64-pc-linux-gnu/lib:/usr/x86_64-pc-linux-gnu/lib

  to the file:

    /var/tmp/paludis/build/media-gfx-fontforge-20200314/image//usr/x86_64-pc-linux-gnu/lib/libfontforge.so.4

  The replacement path is too long for the RUNPATH entry.
Call Stack (most recent call first):
  cmake_install.cmake:45 (include)

To be honest, I'm rather clueless about the cause, pretty sure I've never seen an error like that (nor do I see it for any other package).

FontForge version: 20200314
OS: Exherbo Linux, cmake 3.16.5, binutils 2.34

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