Closed gim closed 3 months ago
Hi @gim thanks a lot for taking the time to report this issue. Are you planning on opening a PR to address this issue? It seems to me that your fix is valid :) Else we can pick it up :)
I'm still trying to wrap my head around a lot of Conan stuff; so, while it looks like a trivial fix, it might be more straightforward if someone else implemented it.
However, I'm happy to take a crack at it if people are short of time, or think it's a decent first issue to investigate.
Solved in #24755m thanks a lot for taking the time to report the issue :)
Thanks for the fix. I can confirm it resolved the issues I was having locally. :)
Description
When building libpq/15.5 (and presumably other versions) the package does not include the
catalog
headers (eg,catalog/pg_type_d.h
).I suspect this is a result of a copy-paste error in the
package
method. Specifically, this statement:Other references to the
src
subdir above this statement are all referring toself.source_folder
rather thanself.build_folder
as thesrc
argument.Running
conan install
with-vtrace
shows 0 files copied.But, as a workaround, if I manually change
build_folder
tosource_folder
locally the headers are available.Package and Environment Details
Conan profile
[settings] os=Linux arch=x86_64
compiler=clang compiler.version=18 compiler.libcxx=libc++
build_type=Debug
[options]
[buildenv] CC=clang-18 CXX=clang++-18
[conf] tools.build:compiler_executables={"c": "clang-18","cpp": "clang++-18"} tools.build:cxxflags=[]
Steps to reproduce
conan install /home/danny/src/cruft/root -pr:h /home/danny/src/cruft/root/build/conan/profile/x86_64-clang-linux-debug -pr:b /home/danny/src/cruft/root/build/conan/profile/x86_64-clang-linux-debug --build=missing --output-folder=.
Logs