tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake + WRKOBJDIR

> On Aug 14, 2020, at 7:57 PM, Roland Illig <> wrote:
> On 14.08.2020 17:43, Brook Milligan wrote:
>> Building cmake failed for me with WRKOBJDIR=/private/tmp/pkgsrc on a Mac (Catalina).
>> Even though WRKOBJDIR points to a directory, cmake reports the following during the bootstrap/configure step:
>> -- Check for working C compiler: /tmp/pkgsrc/devel/cmake/work/.cwrapper/bin/clang - skipped
>> On this system /tmp is a symlink for /private/tmp, so cmake seems to be somehow reverting to the symlink.  I do not understand the cmake magic enough to see where this is happening.  Any ideas?
> pkgsrc does not support symlinks for PREFIX, WRKOBJDIR and a few other
> directories, exactly because of problems like these.

But none of those are symlinks in this case.  WRKOBJDIR is the full path to a directory (/private/tmp/pkgsrc) but the cmake magic reverts to using /tmp/pkgsrc instead, where tmp -> /private/tmp.

The question is, why does it do that and how can it be fixed.

Suggestions are welcome.  Thanks a lot.


Home | Main Index | Thread Index | Old Index