tech-pkg archive

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

Re: OS X: error: 'gitypes.h' file not found with <angled> include; use "quotes" instead



On Mon, Oct 31, 2016 at 07:03:34PM -0400, Greg Troxel wrote:
> 
> David Holland <dholland-pkgtech%netbsd.org@localhost> writes:
> 
> > On Mon, Oct 31, 2016 at 12:02:41PM -0400, Todd M. Kover wrote:
> >  >  > > OBJDIR is set to /p/pkg/obj in this case, which through a myriad of
> >  >  > > symlinks ends up being /private/var/pkg/obj.
> >  >  >
> >  >  > If you mean WRKOBJDIR: it must not reference symlinks.
> >  > 
> >  > Sorry, I was working from memory; I meant WRKOBJDIR.  It is a directory,
> >  > but /p and /p/pkg are both symlinks.  I've generally used this config
> >  > since 2011 across a few macs with varying size disks, and never had an
> >  > issue with symlinks.
> >
> > You can't do that; it breaks the wrappers. Set it directly to
> > /private/var/pkg/obj and with 99% probability the problem will go away.
> 
> If that's a rule, then the wrapper system should detect it and fail hard
> with a good message, not quietly do the wrong thing.

*sigh* For some reason this topic comes up every few month. If you want
the situation to improve, provide a patch that covers all the
interesting edge cases. The wrappers are the wrong place for that
though.

Joerg


Home | Main Index | Thread Index | Old Index