pkgsrc-Bugs archive

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

Re: pkg/52190: building graphics/cairo doesn't find ft2build.h



The following reply was made to PR pkg/52190; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/52190: building graphics/cairo doesn't find ft2build.h
Date: Sat, 28 Apr 2018 07:42:27 +0000

 On Wed, Feb 21, 2018 at 10:55:01AM +0000, Frank Wille wrote:
  >  >  You ought to get
  >  >  /usr/pkg/share/x11-links/include/freetype2/ft2build.h, a link that
  >  >  points to /usr/X11R7/include/freetype2/ft2build.h.
  >  
  >  It's still missing on my 7.1-stable macppc system.
  >  
  >  But... surprisingly it works as you say on a 6.1.5 amd64 system! I
  >  made some tests today, using the same pkgsrc-2017Q1. The freetype2
  >  directory and also the library links do exist there.
  >  
  >  >  If the x11-links build fails to find freetype2, or thinks it shouldn't
  >  >  be used, that's the problem and we should debug why...
  >  
  >  I made a comparison between the output of both systems, building x11-links.
  >  You find the output attached.
  >  
  >  Here is the difference. On the amd64 there are two additional lines, which
  >  probably fix something:
  >  
  >  => Fixes wrong module version in freetype2.pc
  >  WARNING: [subst.mk:fx-ft2-pc-version] Ignoring non-existent file
  >  "/usr/pkgsrc/pkgtools/x11-links/work/.x11-buildlink/lib/pkgconfig/freetype2.pc".
 
 So, that apparently comes from freetype2's builtin.mk.
 
 When some builtin.mk fails to do its thing, the first thing to check is:
    % make show-var VARNAME=IS_BUILTIN.freetype2
    % make show-var VARNAME=USE_BUILTIN.freetype2
 
 (from pkgtools/x11-links, after making clean if necessary)
 
 If IS_BUILTIN is no, then the question is why it's not finding it; if
 USE_BUILTIN is no, the question is why it's rejecting it.
 
 Also, check to make sure that X11BASE is set correctly...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index