NetBSD Problem Report #53007

From kre@munnari.OZ.AU  Sun Feb 11 06:56:41 2018
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id AF1517A1B5
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 Feb 2018 06:56:41 +0000 (UTC)
Message-Id: <201802110655.w1B6tTmP000981@jinx.noi.kre.to>
Date: Sun, 11 Feb 2018 13:55:29 +0700 (+07)
From: kre@munnari.OZ.AU
To: gnats-bugs@NetBSD.org
Subject: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error: ft2build.h: No such file or directory
X-Send-Pr-Version: 3.95

>Number:         53007
>Category:       pkg
>Synopsis:       wm/blackbox70 (or x11/x11-links) Xft.h: fatal error: ft2build.h: No such file or directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 11 07:00:00 +0000 2018
>Last-Modified:  Sun May 06 18:45:01 +0000 2018
>Originator:     Robert Elz
>Release:        NetBSD 8.99.12 (current as of Jan 31)
>Organization:
>Environment:
System: NetBSD jinx.noi.kre.to 8.99.12 NetBSD 8.99.12 (GENERIC) #0: Wed Jan 31 20:24:38 ICT 2018 kre@onyx.coe.psu.ac.th:/usr/obj/testing/amd64/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	On NetBSD/amd64 current as of Jan 31, using pkgsrc current as of
	the same date, wm/blackbox70 doesn't build ...

In file included from Font.cc:36:0:
/usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory
compilation terminated.
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/pkg/wm/blackbox70/work.jinx/blackbox-0.70.1/lib
*** Error code 1

	There is nothing specifically blackbox related in /etc/mk.conf just:

XAW_TYPE=3d
PKG_DEFAULT_OPTIONS= inet6 official-mozilla-branding -gssapi -pulseaudio

	which could even remotely be related.  X11 is using the
	default (system built-in) vserion, not pkgsrc xorg.

>How-To-Repeat:
	With a clean install, just

		cd  .../pkgsrc/wm/blackbox70
		make package-install

	That will (if needed) install pkgtools/x11-links as a
	build dependency (and perhaps some other unrelated
	dependencies - I did not go back and delete any of that while
	preparing this PR - I did pkg_delete x11-links however.)

>Fix:
	No idea.

	However, extracting the blackbox70 distfile, applying the
	patches from pkgsrc manually, then running configure (with
	options to set /usr/X11R7 as the directories for libraries
	and includes, and with env vars set to get the right LDFLAGS etc)
	followed by "make" it builds successfully (just a bunch of
	random ignored gcc warnings you'd expect from very old code
	being compiled with a new gcc) and seems to run OK (that is,
	"blackbox -v" runs and prints its version info ... have not
	yet tried it as an actual wm, but I expect that to work as well.)

	To me that indicates that both blackbox 0.70.1, and the X11
	installations are OK, and that the problem is either with
	pkgtools/x11-links or something related to the blackbox70 
	pkgsrc config that causes bl3 to mess things up.

	I still have the obj dir tree from this build attempt if
	more information from it is needed to assist.

ps:	wm/blackbox builds OK, but is too old to be useful (in
	particular the bbkeys that matches it no longer works).

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error:
 ft2build.h: No such file or directory
Date: Sat, 28 Apr 2018 09:18:36 +0000

 On Sun, Feb 11, 2018 at 07:00:00AM +0000, kre@munnari.OZ.AU wrote:
  > In file included from Font.cc:36:0:
  > /usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory
  > compilation terminated.

 Do you have a ft2build.h link in /usr/pkg/share/x11-links/include/freetype2?

 -- 
 David A. Holland
 dholland@netbsd.org

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error: ft2build.h: No such file or directory
Date: Sat, 28 Apr 2018 18:31:10 +0700

     Date:        Sat, 28 Apr 2018 09:20:01 +0000 (UTC)
     From:        David Holland <dholland-pbugs@netbsd.org>
     Message-ID:  <20180428092001.046B57A220@mollari.NetBSD.org>

   |  Do you have a ft2build.h link in /usr/pkg/share/x11-links/include/freetype2?

 Yes. 

 [jinx]$ ls -l /usr/pkg/share/x11-links/include/freetype2
 total 2
 drwxr-xr-x  3 root  wheel  1024 Apr 18 09:26 freetype
 lrwxr-xr-x  1 root  wheel    39 Apr 18 09:26 ft2build.h -> /usr/X11R7/include/freetype2/ft2build.h

 And after (just now) doing a new "make package-install"

 jinx# ls -l /usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include/   
 total 56
 drwxr-xr-x   3 root  wheel   512 Apr 28 18:19 GL
 drwxr-xr-x  15 root  wheel  2048 Apr 28 18:19 X11
 lrwxr-xr-x   1 root  wheel    40 Apr 28 18:19 expat.h -> /usr/pkg/share/x11-links/include/expat.h
 lrwxr-xr-x   1 root  wheel    49 Apr 28 18:19 expat_external.h -> /usr/pkg/share/x11-links/include/expat_external.h
 drwxr-xr-x   3 root  wheel   512 Apr 28 18:19 freetype2
 drwxr-xr-x   2 root  wheel   512 Apr 28 18:19 libdrm
 drwxr-xr-x   2 root  wheel   512 Apr 28 18:19 libkms
 lrwxr-xr-x   1 root  wheel    44 Apr 28 18:19 pciaccess.h -> /usr/pkg/share/x11-links/include/pciaccess.h
 drwxr-xr-x   2 root  wheel   512 Apr 28 18:19 pixman-1
 drwxr-xr-x   2 root  wheel  1024 Apr 28 18:19 xcb
 lrwxr-xr-x   1 root  wheel    42 Apr 28 18:19 xf86drm.h -> /usr/pkg/share/x11-links/include/xf86drm.h
 lrwxr-xr-x   1 root  wheel    46 Apr 28 18:19 xf86drmMode.h -> /usr/pkg/share/x11-links/include/xf86drmMode.h
 jinx# ls -l /usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include/freetype2
 total 8
 drwxr-xr-x  3 root  wheel  1024 Apr 28 18:19 freetype
 lrwxr-xr-x  1 root  wheel    53 Apr 28 18:19 ft2build.h -> /usr/pkg/share/x11-links/include/freetype2/ft2build.h

 And yet, still (this from the failed build attempt that created that 
 /usr/obj/pkg/wm/blackbox70/ )

 if /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I..  -DSHAPE -DMITSHM -DXFT  -DNLS  -DLOCALEPATH=\"/usr/pkg/share/blackbox/nls\" -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/local/include -I/usr/X11R7/include   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include -MT Font.lo -MD -MP -MF ".deps/Font.Tpo" -c -o Font.lo Font.cc;  then mv -f ".deps/Font.Tpo" ".deps/Font.Plo"; else rm -f ".deps/Font.Tpo"; exit 1; fi
 libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -DSHAPE -DMITSHM -DXFT -DNLS -DLOCALEPATH=\"/usr/pkg/share/blackbox/nls\" -I/usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include -I/usr/obj/pkg/wm/blackbox70/work.jinx/.x11-buildlink/include -O2 -D_FORTIFY_SOURCE=2 -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c Font.cc  -fPIC -DPIC -o .libs/Font.o
 In file included from Font.cc:36:0:
 /usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory
 compilation terminated.
 *** Error code 1

 kre

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error:
 ft2build.h: No such file or directory
Date: Sun, 29 Apr 2018 03:13:35 +0000

 On Sat, Apr 28, 2018 at 11:35:01AM +0000, Robert Elz wrote:
  > | Do you have a ft2build.h link in /usr/pkg/share/x11-links/include/freetype2?
  >  
  >  Yes. 
  >  
 >  And yet, [...]
  >
  >  In file included from Font.cc:36:0:
  >  /usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory

 That's bizarre... let me see if I can reproduce it locally

 -- 
 David A. Holland
 dholland@netbsd.org

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error:
 ft2build.h: No such file or directory]
Date: Sun, 29 Apr 2018 03:19:11 +0000

 On Sun, Apr 29, 2018 at 03:15:01AM +0000, David Holland wrote:
  >  That's bizarre... let me see if I can reproduce it locally

 No such luck, but of course I might not have quite the same -current.

 What's the Font.cc entry in work/.work.log? I get

 [*] libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DMITSHM -DXFT -DNLS '-DLOCALEPATH="/usr/pkg/share/blackbox/nls"' -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/local/include -I/usr/X11R7/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include -I/usr/X11R7/include -D_REENTRANT -I/usr/X11R7/include/freetype2 -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c -o Font.lo Font.cc
 <.> /usr/pkg/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -DSHAPE -DMITSHM -DXFT -DNLS '-DLOCALEPATH="/usr/pkg/share/blackbox/nls"' -I/usr/pkgsrc/wm/blackbox70/work/.buildlink/include -I/usr/pkgsrc/wm/blackbox70/work/.x11-buildlink/include -O2 -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/pkgsrc/wm/blackbox70/work/.x11-buildlink/include/freetype2 -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c -o Font.lo Font.cc


 -- 
 David A. Holland
 dholland@netbsd.org

From: Robert Elz <kre@munnari.OZ.AU>
To: David Holland <dholland-pbugs@netbsd.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error: ft2build.h: No such file or directory
Date: Sun, 29 Apr 2018 15:36:10 +0700

     Date:        Sun, 29 Apr 2018 03:18:31 +0000
     From:        David Holland <dholland-pbugs@netbsd.org>
     Message-ID:  <20180429031831.GB28893@netbsd.org>

   | No such luck, but of course I might not have quite the same -current.

 My userland is from late January (compiled on Jan 31, but sources were
 probably updated on the 30th.)

 pkgsrc is probably the same vintage (but I have been having problems,
 similar to this I think, building blackbox70 for a long time, I have another
 system which should have blackbox on it, but doesn't for that reason,
 it was installed May 2016 (7.99.29 vintage userland) with pkgsrc of the
 same date approx.)

 I should also note in case it matters, that for me pkgsc is /usr/src/pkgsrc
 rather than /usr/pkgsrc - but I can't see how that should make any difference,
 and I have always had it that way, including back when blackbox70
 userd to build just fine.

 And for completeness, while I don't have anything related to blackbox70
 or freetype2 in /etc/mk.conf I do have

 PKG_DEFAULT_OPTIONS= inet6 official-mozilla-branding -gssapi -pulseaudio

 (nothing there looks like it should be related)

 PKG_OPTIONS.magicpoint= freetype

 (if that makes any difference something is very broken - that is the only
 mention of "freetype" (with or without the '2') in mk.conf)

 and

 PREFER_PKGSRC+=fontconfig

 Not sure why I have that one - it might be old, the mk.conf started out
 copied from my previous laptop from before it died.

   | What's the Font.cc entry in work/.work.log? I get

 Included below.   The obvious differences I see are no mention of anything
 related to freetype (or freetype2) at all, where yours has the 
   	-I/usr/X11R7/include/freetype2 
 and I have no -D_REENTRANT


 I think I put this in the PR, but I had no problem building blackbox70
 (with the pkgsrc patches manually applied) outside of pkgsrc

 It has some operational issues (minor ones) but works and the issues
 are more likely related to the just barely working X server (the hardware
 I am running this on is just makes it in the "barely supported" list, and
 the video only works using the vesa driver ... and while the server
 knows how big the display is (in mm - it puts it in the log file) it
 reports 0mmx0mm to applications:

 xrandr: Failed to get size of gamma for output default
 Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
 default connected 1920x1080+0+0 0mm x 0mm
    1920x1080      0.00* 

 which makes a total mess of font size calculations for TrueType type
 fonts, etc.   The other system that failed to compile blackbox has none
 of those issues however.

 Thanks for looking into this - I have no idea where to even start.

 kre

 [*] libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DMITSHM -DXFT -DNLS '-DLOCALEPATH="/usr/pkg/share/blackbox/nls"' -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include -I/usr/local/include -I/usr/X11R7/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c -o Font.lo Font.cc
 <.> /usr/pkg/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -DSHAPE -DMITSHM -DXFT -DNLS '-DLOCALEPATH="/usr/pkg/share/blackbox/nls"' -I/usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include -I/usr/obj/pkg/wm/blackbox70/work.jinx/.x11-buildlink/include -O2 -D_FORTIFY_SOURCE=2 -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c -o Font.lo Font.cc
 [*] c++ -DHAVE_CONFIG_H -I. -I.. -DSHAPE -DMITSHM -DXFT -DNLS '-DLOCALEPATH="/usr/pkg/share/blackbox/nls"' -I/usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include -I/usr/obj/pkg/wm/blackbox70/work.jinx/.x11-buildlink/include -O2 -D_FORTIFY_SOURCE=2 -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c Font.cc -fPIC -DPIC -o .libs/Font.o
 <.> /usr/obj/pkg/wm/blackbox70/work.jinx/.gcc/bin/g++ -DHAVE_CONFIG_H -I. -I.. -DSHAPE -DMITSHM -DXFT -DNLS '-DLOCALEPATH="/usr/pkg/share/blackbox/nls"' -I/usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include -I/usr/obj/pkg/wm/blackbox70/work.jinx/.x11-buildlink/include -O2 -D_FORTIFY_SOURCE=2 -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c Font.cc -fPIC -DPIC -o .libs/Font.o -fstack-protector


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error:
 ft2build.h: No such file or directory
Date: Sat, 5 May 2018 22:58:48 +0000

 On Sun, Apr 29, 2018 at 08:40:01AM +0000, Robert Elz wrote:
  > [stuff on freetype2]

 I ran into a problem with xetex and freetype2 last night and it turns
 out that the latest freetype2 has dropped the freetype-config script,
 so old software that's trying to use that instead of pkg-config will
 start failing.

 Is bb's configure script using freetype-config? grep should be able to
 tell...

 Otherwise nothing you've reported offers much help, unfortunately,
 except that the problem is likely *something* in the configury not
 finding and adding the right -I and -l options for freetype.

 -- 
 David A. Holland
 dholland@netbsd.org

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error: ft2build.h: No such file or directory
Date: Sun, 06 May 2018 08:33:39 +0700

     Date:        Sat,  5 May 2018 23:00:01 +0000 (UTC)
     From:        David Holland <dholland-pbugs@netbsd.org>
     Message-ID:  <20180505230001.70EE17A269@mollari.NetBSD.org>

   | The following reply was made to PR pkg/53007; it has been noted by GNATS.
   |  Is bb's configure script using freetype-config? grep should be able to
   |  tell...

 No, there is a freetype-configure script in the .buildlink/bin directory
 (under the bb work dir).   There is no mention of freetype at all in the
 bb configure script.

 Note that the freetype-2 being used is the one bundled with NetBSD
 -current (as of late Jan, with the x sets installed) - the only freetype
 of any type installed is

 jinx$ pkg_info | grep freetype
 suse_freetype2-13.1nb2 Linux compatibility package for freetype-2.x

 which I assume must be needed for flashplayer or something, as
 that's about the only linux binary package I installed (not as a
 dependency of something else.)

   |  Otherwise nothing you've reported offers much help, unfortunately,
   |  except that the problem is likely *something* in the configury not
   |  finding and adding the right -I and -l options for freetype.

 Yes, could be, though do note that it does all work when outside
 pkgsrc, so I'd suspect something in the pkgsrc machinery is
 getting it wrong,  but I have no idea how any of that actually works,
 so I don't know where to start looking.

 kre


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error:
 ft2build.h: No such file or directory
Date: Sun, 6 May 2018 08:29:29 +0000

 On Sun, May 06, 2018 at 01:35:01AM +0000, Robert Elz wrote:
  >    |  Otherwise nothing you've reported offers much help, unfortunately,
  >    |  except that the problem is likely *something* in the configury not
  >    |  finding and adding the right -I and -l options for freetype.
  >  
  >  Yes, could be, though do note that it does all work when outside
  >  pkgsrc, so I'd suspect something in the pkgsrc machinery is
  >  getting it wrong,  but I have no idea how any of that actually works,
  >  so I don't know where to start looking.

 Right, well, it's gotten complex over the years... anyway, I just dug
 around a bit more, and it seems that for me, the -I flag (and also the
 -D_REENTRANT) comes from the *Xft* pkgconfig file:

 the bb70 configure script prints
    checking for xft_CFLAGS... -I/usr/X11R7/include -D_REENTRANT -I/usr/X11R7/include/freetype2 
 and it gets it like this:
    % pkg-config --cflags "xft >= 2.0.0."
    -I/usr/X11R7/include -D_REENTRANT -I/usr/X11R7/include/freetype2 
    % 

 which means that the immediate thing different between your machine
 and mine is that because of this:

  : PREFER_PKGSRC+=fontconfig

 yours is using libXft from pkgsrc.

 And i see a critical problem: libXft's bl3 isn't included.

 Try this:

 --- Makefile    1 Apr 2018 21:09:32 -0000       1.11
 +++ Makefile    6 May 2018 08:28:43 -0000
 @@ -24,5 +24,6 @@

  .include "../../converters/libiconv/buildlink3.mk"
  .include "../../x11/libX11/buildlink3.mk"
 +.include "../../x11/libXft/buildlink3.mk"
  .include "../../x11/libXt/buildlink3.mk"
  .include "../../mk/bsd.pkg.mk"


 -- 
 David A. Holland
 dholland@netbsd.org

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error: ft2build.h: No such file or directory
Date: Mon, 07 May 2018 01:40:09 +0700

     Date:        Sun,  6 May 2018 08:30:00 +0000 (UTC)
     From:        David Holland <dholland-pbugs@netbsd.org>
     Message-ID:  <20180506083000.EC2777A266@mollari.NetBSD.org>

   |  Try this:

 I tried to try that, but now I am running into the problem Mayuresh
 mentioned on pkgsrc-users in the message of 2018-05-06 17:40:09 +0530
 "Confusing versioning scheme of freetype2?"

 Making blackbox70 with the extra bl3 file required installing fontconfig (no
 surprise...) which demanded a freetype2 upgrade (which after deleting and
 then reinstalling half of what I had installed - it seemed - went fine) but 
 then:

 checking if gcc supports -Werror=attributes... yes
 Package xorg-macros was not found in the pkg-config search path.
 Perhaps you should add the directory containing `xorg-macros.pc'
 to the PKG_CONFIG_PATH environment variable
 Package 'xorg-macros', required by 'virtual:world', not found
 checking whether make supports nested variables... (cached) yes
 checking for XRENDER... yes
 checking for FREETYPE... yes
 checking for FONTCONFIG... configure: error: Package requirements (fontconfig >= 2.5.92) were not met:

 Package dependency requirement 'freetype2 >= 21.0.15' could not be satisfied.
 Package 'freetype2' has version '18.0.13', required version is '>= 21.0.15'

 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.

 *** Error code 1

 jinx$ pkg_info freetype2
 Information for freetype2-2.9.1:

 Comment:
 Font rendering engine and library API

 Required by:
 fontconfig-2.13.0

 (and the normal blather following)/

 But I assume that blackbox70 is still using the freetype2 that is in /usr/X11R7

 After that, I removed the

 # PREFER_PKGSRC+=fontconfig

 (that is, I inderted the comment-out you see there) and tried again.
 That made no difference at all (just as above) so I also tried removing
 the new .include from bb70's Makefile that was added.

 The returned things to their earlier state, where:

 /usr/obj/pkg/wm/blackbox70/work.jinx/.buildlink/include/X11/Xft/Xft.h:39:22: fatal error: ft2build.h: No such file or directory

 kre

 ps: all builds were done after removing the /usr/obj/pkg/wm/blackbox70/
 tree, of course (each time).

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.