Skip to content

Build failure: baresip, migrate to cmake #220762

@ghost

Description

Baresip fails to build after 5a65a41 because the baresip ./configure no longer finds librem through pkg-config.

Building baresip with Cmake resolves this, but then there is a new build failure:

CMake Error at cmake_install.cmake:75 (file):
  file RPATH_CHANGE could not write new RPATH:

    

  to the file:

    /nix/store/r3ycf5gqivja9krbrypbvh915vw6h3qg-baresip-2.9.0/bin/baresip

  The current RUNPATH is:

    /nix/store/r3ycf5gqivja9krbrypbvh915vw6h3qg-baresip-2.9.0/lib64:/nix/store/r3ycf5gqivja9krbrypbvh915vw6h3qg-baresip-2.9.0/lib:/nix/store/mg9l7phyhvi16p9g8g3g8fbyj4mr79gq-zlib-1.2.13/lib:/nix/store/5438qhyypn1kbdnm4312v8db4mkapwhl-openssl-3.0.8/lib:/nix/store/fnvyx1xa7hkah730bps4f9qm097wjms5-libre-2.9.0/lib:/nix/store/dkax2c0d6zjjkm4bwv52lsi8cgxg5n29-librem-2.10.0/lib:/nix/store/76l4v99sk83ylfwkz8wmwrm4s8h73rhd-glibc-2.35-224/lib:/nix/store/2w4k8nvdyiggz717ygbbxchpnxrqc6y9-gcc-12.2.0-lib/lib

  which does not contain:

    /var/empty/local/lib:/build/source/build:

  as was expected.

Steps To Reproduce

Steps to reproduce the behavior:

  1. build baresip

Notify maintainers

@elohmeier @raskin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions