pkgsrc-Users archive

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

Re: Error trying to compile databases/mysql57-client



Am 18.08.2019 um 23:11 schrieb Christopher Pinon:
> I guess that the lesson is that WRKOBJDIR should *not* be set to a
> symbolic link. (Is this the lesson?)

Yes, that's exactly it. To prevent this bad experience,
bootstrap/bootstrap prevents several directories from containing a
symlink in their path (see checkarg_sane_absolute_path).

Unfortunately, WRKOBJDIR is not in that list since it is usually
configured later and manually, therefore bootstrap cannot do anything
about it.

To fix this for all times and for everyone, I just added the same check
to mk/bsd.pkg.mk. This would have saved you the time to search for this bug.

> Sorry for the false alarm -- I should have set WRKOBJDIR directly to
> /mnt/usr/work to begin with!

No, not really. Your setup could have worked. Therefore it was a good alarm.

Roland


Home | Main Index | Thread Index | Old Index