pkgsrc-Bugs archive

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

Re: pkg/53007: wm/blackbox70 (or x11/x11-links) Xft.h: fatal error: ft2build.h: No such file or directory



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

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: David Holland <dholland-pbugs%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
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@localhost>
     Message-ID:  <20180429031831.GB28893%netbsd.org@localhost>
 
   | 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
 
 


Home | Main Index | Thread Index | Old Index