NetBSD-Bugs archive

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

xsrc/49500: netbsd-6 fontconfig update produces broken "fontconfig.pc" file



>Number:         49500
>Category:       xsrc
>Synopsis:       netbsd-6 fontconfig update produces broken "fontconfig.pc" file
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 24 10:55:00 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-6.1_STABLE
>Organization:
>Environment:
target:
NetBSD plextwo 6.1_STABLE NetBSD 6.1_STABLE (PLEXOR) #17: Mon Dec 22 12:14:37 CST 2014  sysop%verthandi.technoskunk.fur@localhost:/d0/build/netbsd-6/obj/i386/sys/arch/i386/compile/PLEXOR i386

buildhost:
NetBSD verthandi.technoskunk.fur 7.0_BETA NetBSD 7.0_BETA (VERTHANDI) #12: Tue Dec 23 08:26:30 CST 2014  sysop%verthandi.technoskunk.fur@localhost:/d0/build/netbsd-7/obj/i386/sys/arch/i386/compile/VERTHANDI i386

>Description:
Following the update of fontconfig on the netbsd-6 branches, the
resulting "/usr/X11R7/lib/pkgconfig/fontconfig.pc" file contains
regex substitution placeholders instead of valid data:

prefix=/usr/X11R7
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
sysconfdir=@sysconfdir@
localstatedir=@localstatedir@
PACKAGE=@PACKAGE@
confdir=@BASECONFIGDIR@
cachedir=@fc_cachedir@

Name: Fontconfig
Description: Font configuration and customization library
Version: 2.11.1
Requires: @PKGCONFIG_REQUIRES@
Requires.private: @PKGCONFIG_REQUIRES_PRIVATELY@
Libs: -Wl,-rpath,${libdir} -L${libdir} -lfontconfig
Libs.private: -lexpat -lfreetype  
Cflags: -I${includedir} @EXPAT_CFLAGS@ @FREETYPE_CFLAGS@ @ICONV_CFLAGS@ @LIBXML2_CFLAGS@


This causes packages which use 'pkg-config' to fail to find fontconfig.
>How-To-Repeat:
Update sources for netbsd-6 branch.
Build w/X11.
Examine $DESTDIR/usr/X11R7/lib/pkgconfig/fontconfig.pc

Or fetch:

  http://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-6/201412231700Z/i386/binary/sets/xcomp.tgz

Extract and examine

  ./usr/X11R7/lib/pkgconfig/fontconfig.pc

(exactly as shown in description section above).
>Fix:



Home | Main Index | Thread Index | Old Index