pkgsrc-Bugs archive

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

pkg/50902: fonts/fontforge build failure with native X11



>Number:         50902
>Category:       pkg
>Synopsis:       fonts/fontforge build failure with native X11
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 07 04:10:00 +0000 2016
>Originator:     David A. Holland
>Release:        NetBSD 7.99.26 (20160304)
>Organization:
>Environment:
System: NetBSD macaran 7.99.26 NetBSD 7.99.26 (MACARAN) #35: Fri Mar  4 23:43:26 EST 2016  dholland@macaran:/usr/src/sys/arch/amd64/compile/MACARAN amd64
Architecture: x86_64
Machine: amd64
>Description:

fontforge fails to build:
   In file included from freetype.c:28:0:
   fffreetype.h:35:31: fatal error: ftttdrv.h: No such file or directory
    # include FT_TRUETYPE_DRIVER_H
				  ^

This appears to be because the freetype2 in native X comes with
ftttdrv.h but doesn't, for some reason (probably oversight), actually
install it. This is a bug in native X (I assume) but we probably need
to work around it in pkgsrc, especially since it looks like it affects
-7. (-7's native X does not install ftttdrv.h, and the contents of
dist/ in xsrc do include ftttdrv.h, but it's not absolutely certain
without testing that the version of freetype will prompt fontforge to
try to use it.)

>How-To-Repeat:

make

>Fix:

dunno, probably a hack based on checking for NetBSD 7.x, native X, and
the nonexistence of the file is sufficient.

It would be helpful to get a firm confirmation on whether -7 is
affected... and also if -6 is affected.

And also, if there's any reason ftttdrv.h has been left off on purpose.

Once a pkgsrc workaround is in place, change the category to "xsrc"
and the synopsis to "native X11 freetype doesn't install ftttdrv.h",
and lower the severity. While I could file a separate PR for xsrc it
doesn't seem worthwhile.



Home | Main Index | Thread Index | Old Index