pkgsrc-Bugs archive

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

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



>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
>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@localhost:/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).



Home | Main Index | Thread Index | Old Index