tech-pkg archive

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

Re: gcc wrapper silently dropping -L



On Sun, Oct 27, 2013 at 02:42:40AM +0200, Hubert Feyrer wrote:
 > My /usr/pkgsrc is a symlink, and apparently that causes problems:

That's not allowed -- it would be better if it failed clearly.

The problem is that in order to make the buildlinking work right the
wrappers need to be able to recognize which paths lead to both the
pkgsrc tree and the installed pkg tree; if there are symlinks and
therefore multiple names, it misses some forms and then does the wrong
things.

Probably it could be taught to recognize both the canonical path (in
this case /usr/pkgsrc) and the realpath'd form, as it's unlikely to
encounter any others no matter how many symlinks are involved. But as
this requires changes to the wrappers, it's unlikely anyone's going to
get to it anytime soon. :-|

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index