FS#50924 - [yaml-cpp] *.cmake files contain local build references
Attached to Project:
Community Packages
Opened by Matteo De Carlo (Portaloffreedom) - Tuesday, 27 September 2016, 13:10 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 10 April 2017, 22:20 GMT
Opened by Matteo De Carlo (Portaloffreedom) - Tuesday, 27 September 2016, 13:10 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 10 April 2017, 22:20 GMT
|
Details
Description:
The built package contain references to the "build" folder. This is a problem when trying to include this library in my project's PKGBUILD file. The problem is in the `/usr/lib/cmake/yaml-cpp/yaml-cpp-targets.cmake` file, it includes a reference to the build folder, which is `/build/yaml-cpp/src/yaml-cpp-release-0.5.3/libyaml-cpp.so.0.5.3` I tried to build this package locally and the reference changed to `/home/username/aur/yaml-cpp/src/yaml-cpp-release-0.5.3/libyaml-cpp.so.0.5.3` which is where I built the package. I tried to look at the package to fix it myself, but is a bit out of my knowledge how to do it, so I don't have the solution. But fixing directly the installed file reference from `/build/yaml-cpp/src/yaml-cpp-release-0.5.3/libyaml-cpp.so.0.5.3` to `/usr/lib/libyaml-cpp.so.0.5.3` fixed the compilation error for me. Additional info: package yaml-cpp 0.5.3-1 also `/usr/lib/cmake/yaml-cpp/yaml-cpp-config.cmake` has the same problem |
This task depends upon
Comment by Sergiu Deitsch (sd) -
Monday, 06 February 2017, 09:26 GMT
Any progress on this?