pkgsrc-Users archive

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

Re: /bin/pwd defaults (Re: devel/gobject-introspection build can't find 'glib/gmacros.h')



On Thu, May 21, 2015 at 04:04:50PM -0400, Chuck Cranor wrote:
> On Thu, May 21, 2015 at 02:39:27PM -0400, Chuck Cranor wrote:
> > On Wed, May 20, 2015 at 10:38:12PM -0400, Chuck Cranor wrote:
> > >   GISCAN   GLib-2.0.gir
> > > In file included from <stdin>:4:
> > > /private/tmp/ptest/lib/glib-2.0/include/glibconfig.h:9:10: fatal error: 
> > >       'glib/gmacros.h' file not found
> > > #include <glib/gmacros.h>
> > >          ^
> > > 1 error generated.
> > > Error while processing the source.
> > > gnumake[2]: *** [GLib-2.0.gir] Error 1
> > 
> > 
> > 
> > I figured out the cause of this error.  The pkgsrc wrapper scripts 
> > are getting confused by /tmp being a symbolic link (on MacOSX /tmp 
> > points to /private/tmp).
> 
> 
> 
> Here's the root of the problem.  It looks like buildlink3 et al. assume 
> that the "pwd" command returns the real physical path:

Correct. Don't do that.

Joerg


Home | Main Index | Thread Index | Old Index