NetBSD Problem Report #49500
From www@NetBSD.org Wed Dec 24 10:52:23 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id B5538A654D
for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Dec 2014 10:52:23 +0000 (UTC)
Message-Id: <20141224105222.2CC8BA6555@mollari.NetBSD.org>
Date: Wed, 24 Dec 2014 10:52:22 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: netbsd-6 fontconfig update produces broken "fontconfig.pc" file
X-Send-Pr-Version: www-1.0
>Number: 49500
>Category: xsrc
>Synopsis: netbsd-6 fontconfig update produces broken "fontconfig.pc" file
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: mrg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 24 10:55:00 +0000 2014
>Closed-Date: Sat Dec 27 23:07:10 +0000 2014
>Last-Modified: Sat Dec 27 23:07:10 +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:/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:/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:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: xsrc-manager->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Wed, 24 Dec 2014 17:30:36 +0000
Responsible-Changed-Why:
ah, thanks. i'll fix this up.
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: xsrc-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: re: xsrc/49500: netbsd-6 fontconfig update produces broken "fontconfig.pc" file
Date: Thu, 25 Dec 2014 04:35:01 +1100
xorg-server.pc and xcb-proto.pc also have @bugs@.
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: re: xsrc/49500: netbsd-6 fontconfig update produces broken
"fontconfig.pc" file
Date: Thu, 25 Dec 2014 09:37:54 -0600 (CST)
msaitoh@ committed these fixes:
http://mail-index.netbsd.org/source-changes/2014/12/25/msg061723.html
http://mail-index.netbsd.org/source-changes/2014/12/25/msg061724.html
http://mail-index.netbsd.org/source-changes/2014/12/25/msg061729.html
but did not reference this PR.
If doing an update build, one MUST clean out the relevant portions of
$OBJDIR and $DESTDIR or the affected targets will not be replaced.
Having done so, the resulting "fontconfig.pc" file (at least) looks
correct.
(In the interrim, I copied the one from a netbsd-7 build and that has
mostly satisfied pkgsrc. So far, only gnome-icon-theme is complaining,
but it's explictly looking for a non-existent "libfontconfig.so.1". Not
sure what that represents.)
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: re: xsrc/49500: netbsd-6 fontconfig update produces broken
"fontconfig.pc" file
Date: Thu, 25 Dec 2014 10:09:49 -0600 (CST)
On Thu, 25 Dec 2014, John D. Baker wrote:
> msaitoh@ committed these fixes:
>
> http://mail-index.netbsd.org/source-changes/2014/12/25/msg061723.html
> http://mail-index.netbsd.org/source-changes/2014/12/25/msg061724.html
> http://mail-index.netbsd.org/source-changes/2014/12/25/msg061729.html
I removed the entire $OBJDIR/external/mit/xorg and $DESTDIR/usr/X11R7
directories before rebuilding, but "xorg-server.pc" still has a @bug@:
prefix=/usr/X11R7
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
datarootdir=${prefix}/share
moduledir=${libdir}/modules
sdkdir=${includedir}/xorg
sysconfigdir=/etc/X11
abi_ansic=0.4
abi_videodrv=5.0
abi_xinput=4.0
abi_extension=2.0
Name: xorg-server
Description: Modular X.Org X Server
Version: 1.10.3
Requires: pixman-1 pciaccess
Requires.private: @SDK_REQUIRED_MODULES@
Cflags: -I${sdkdir}
Libs: -Wl,-rpath,${libdir} -L${libdir}
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: "SAITOH Masanobu" <msaitoh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49500 CVS commit: [netbsd-6] src/external/mit/xorg/server/xorg-server
Date: Fri, 26 Dec 2014 07:29:34 +0000
Module Name: src
Committed By: msaitoh
Date: Fri Dec 26 07:29:34 UTC 2014
Modified Files:
src/external/mit/xorg/server/xorg-server [netbsd-6]: Makefile
Log Message:
Pull up following revision(s) (requested by mrg in ticket #1222):
external/mit/xorg/server/xorg-server/Makefile patch
Fix conversion of SDK_REQUIRED_MODULES which was reported by John D. Baker
in PR#49500.
To generate a diff of this commit:
cvs rdiff -u -r1.19.8.1 -r1.19.8.2 \
src/external/mit/xorg/server/xorg-server/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: re: xsrc/49500: netbsd-6 fontconfig update produces broken
"fontconfig.pc" file
Date: Sat, 27 Dec 2014 14:29:29 -0600 (CST)
The "xorg-server.pc" file is now fixed. Everything seems to be behaving
itself now.
The "gnome-icon-theme" problem was a stale "pango" package linked against
the old 'fontconfig' library. Manually updating this package linked it
and its dependents against the new 'fontconfig' library.
Thanks.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: xsrc/49500: netbsd-6 fontconfig update produces broken
"fontconfig.pc" file
Date: Sat, 27 Dec 2014 22:52:55 +0000
On Sat, Dec 27, 2014 at 08:30:01PM +0000, John D. Baker wrote:
> The "xorg-server.pc" file is now fixed. Everything seems to be behaving
> itself now.
>
> The "gnome-icon-theme" problem was a stale "pango" package linked against
> the old 'fontconfig' library. Manually updating this package linked it
> and its dependents against the new 'fontconfig' library.
Is it ok to close the PR? (Enough stuff hasn't been cc'd to it that
without having been involved I'm not sure everything's been sorted out
and pulled up fully...)
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sat, 27 Dec 2014 23:07:10 +0000
State-Changed-Why:
all fixed, thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.