NetBSD Problem Report #49569
From hf@spg.tu-darmstadt.de Wed Jan 14 13:13:33 2015
Return-Path: <hf@spg.tu-darmstadt.de>
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 08D3CA6552
for <gnats-bugs@gnats.NetBSD.org>; Wed, 14 Jan 2015 13:13:33 +0000 (UTC)
Message-Id: <201501141309.t0ED9r6L020239@Gstoder.nt.e-technik.tu-darmstadt.de>
Date: Wed, 14 Jan 2015 14:09:53 +0100 (CET)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: fontconfig not recognized, builds break
X-Send-Pr-Version: 3.95
>Number: 49569
>Category: pkg
>Synopsis: fontconfig not recognized, builds break
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 14 13:15:00 +0000 2015
>Closed-Date: Wed May 02 20:35:06 +0000 2018
>Last-Modified: Wed May 02 20:35:06 +0000 2018
>Originator: Hauke Fath
>Release: NetBSD 6.1_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
System: NetBSD Gstoder 6.1_STABLE NetBSD 6.1_STABLE (MONOLITHIC) #0: Wed Jan 7 11:53:14 CET 2015 hf@Hochstuhl:/var/obj/netbsd-builds/6/i386/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:
A slew of packages on this machine depending on fontconfig
% pkg_info fontconfig
Information for fontconfig-2.11.1nb1:
Comment:
Library for configuring and customizing font access
Required by:
libXft-2.3.2
icewm-1.2.38pre2
gd-2.1.0nb1
cairo-1.14.0nb1
qt4-libs-4.8.6nb3
ghostscript-gpl-9.06nb3
poppler-0.28.1
ImageMagick-6.9.0.0
libass-0.11.2
pango-1.36.8
librsvg-2.40.1nb1
gtk2+-2.24.22nb5
libgnomeprint-2.18.8nb21
gtk3+-3.14.5
[...]
don't build, because they claim they cannot find a valid
fontconfig
[...]
===> Installing dependencies for libXft-2.3.2
=> Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb9
=> Tool dependency pkg-config>=0.25: found pkg-config-0.28
=> Tool dependency checkperms>=1.1: found checkperms-1.11
=> Build dependency x11-links>=0.91: found x11-links-0.91
===> Overriding tools for libXft-2.3.2
===> Extracting for libXft-2.3.2
===> Patching for libXft-2.3.2
===> Creating toolchain wrappers for libXft-2.3.2
===> Configuring for libXft-2.3.2
[...]
checking for XRENDER... yes
checking for FREETYPE... yes
checking for FONTCONFIG... configure: error: Package requirements (fontconfig >= 2.5.92) were not met:
No package 'fontconfig' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
and FONTCONFIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error code 1
[...]
Note that both the native, and the pkgsrc fontconfig versions
exceed the claimed minimal version.
% /usr/pkg/bin/fc-query -V
fontconfig version 2.11.1
% /usr/X11R7/bin/fc-query -V
fontconfig version 2.11.1
%
The machine runs with native X11.
>How-To-Repeat:
Try updating packages (pkg_rolling-replace would qualify) on
a reasonably up-to-date machine, and watch builds fall
over a fontconfig dependency.
>Fix:
I am aware of
<http://mail-index.netbsd.org/pkgsrc-users/2013/09/21/msg018681.html>,
but it is too drastic and would basically break the
installation. And it doesn't seem to deal with the supposedly
underlying problem.
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/49569: fontconfig not recognized, builds break
Date: Wed, 14 Jan 2015 14:27:14 +0100
On Wed, Jan 14, 2015 at 01:15:00PM +0000, Hauke Fath wrote:
> don't build, because they claim they cannot find a valid
> fontconfig
>
> [...]
>
> ===> Installing dependencies for libXft-2.3.2
> => Tool dependency libtool-base>=2.2.6bnb3: found libtool-base-2.4.2nb9
> => Tool dependency pkg-config>=0.25: found pkg-config-0.28
> => Tool dependency checkperms>=1.1: found checkperms-1.11
> => Build dependency x11-links>=0.91: found x11-links-0.91
> ===> Overriding tools for libXft-2.3.2
> ===> Extracting for libXft-2.3.2
> ===> Patching for libXft-2.3.2
> ===> Creating toolchain wrappers for libXft-2.3.2
> ===> Configuring for libXft-2.3.2
>
> [...]
>
> checking for XRENDER... yes
> checking for FREETYPE... yes
> checking for FONTCONFIG... configure: error: Package requirements (fontconfig >= 2.5.92) were not met:
>
> No package 'fontconfig' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
> and FONTCONFIG_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> *** Error code 1
Just as a data point, this works for me on 7.99.4/amd64 with modular
xorg.
From config.log:
configure:17950: checking for FONTCONFIG
configure:17957: $PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92"
configure:17960: $? = 0
configure:17973: $PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92"
configure:17976: $? = 0
configure:18030: result: yes
Thomas
From: "OBATA Akio" <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/49569: fontconfig not recognized, builds break
Date: Thu, 15 Jan 2015 09:43:24 +0900
On Wed, 14 Jan 2015 22:15:00 +0900, Hauke Fath <hf@spg.tu-darmstadt.de> wrote:
>> Release: NetBSD 6.1_STABLE
Could you check whether /usr/X11R7/lib/pkgconfig/fontconfig.pc is broken first?
Especially "Version:".
http://mail-index.netbsd.org/pkgsrc-users/2014/12/23/msg020831.html
--
OBATA Akio / obata@lins.jp
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/49569: fontconfig not recognized, builds break
Date: Wed, 14 Jan 2015 22:15:28 -0600 (CST)
As mentioned in the referenced thread, you will need to update
"pkgtools/x11-links" manually and try again.
Also, if using "pkg_rolling-replace", some dependencies don't get updated
in the right sequence (notably "devel/pango") so you may need to update
such packages manually as well.
--
|/"\ 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: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/49569: fontconfig not recognized, builds break
Date: Thu, 15 Jan 2015 11:32:14 +0100
On 01/15/15 01:45, OBATA Akio wrote:
> Could you check whether /usr/X11R7/lib/pkgconfig/fontconfig.pc is broken first?
> Especially "Version:".
Looks good to me:
prefix=/usr/X11R7
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
sysconfdir=/etc/X11
localstatedir=/var
PACKAGE=
confdir=/etc/fonts
cachedir=/etc/fonts
Name: Fontconfig
Description: Font configuration and customization library
Version: 2.11.1
Requires:
Requires.private:
Libs: -Wl,-rpath,${libdir} -L${libdir} -lfontconfig
Libs.private: -lexpat -lfreetype
Cflags: -I${includedir} -I/usr/X11R7/include/freetype2
-I/usr/X11R7/include
From: "OBATA Akio" <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/49569: fontconfig not recognized, builds break
Date: Thu, 15 Jan 2015 20:15:20 +0900
On Thu, 15 Jan 2015 19:35:01 +0900, Hauke Fath <hf@spg.tu-darmstadt.de> wrote:
> Name: Fontconfig
> Description: Font configuration and customization library
> Version: 2.11.1
How about ${LOCALBASE}/share/x11-links/lib/pkgconfig/fontconfg.pc ?
i.e. have you rebuild x11-links after update of netbsd-6 branch fontconfig?
--
OBATA Akio / obata@lins.jp
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 28 Apr 2018 09:29:24 +0000
State-Changed-Why:
Is this still an issue?
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@NetBSD.org, pkg-manager@NetBSD.org, dholland@NetBSD.org
Subject: Re: pkg/49569 (fontconfig not recognized, builds break)
Date: Wed, 2 May 2018 16:05:03 +0200
On 04/28/18 11:29, dholland@NetBSD.org wrote:
> Synopsis: fontconfig not recognized, builds break
>
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Sat, 28 Apr 2018 09:29:24 +0000
> State-Changed-Why:
> Is this still an issue?
The installation in question has moved from netbsd-6 to netbsd-8, from
i386 to amd64, and from native to pkgsrc X11 - not to mention a hardware
downgrade from i5 to phenom.
So, honestly: I wouldn't know. Let's call it "fixed". These issues with
pkgsrc X11 supporting cast come and go, anyway.
Cheerio,
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 02 May 2018 20:35:06 +0000
State-Changed-Why:
"Fixed."
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.