NetBSD Problem Report #47052

From kre@munnari.OZ.AU  Wed Oct 10 00:35:25 2012
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id B2C4463B90D
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 10 Oct 2012 00:35:24 +0000 (UTC)
Message-Id: <201210100035.q9A0ZGKn015012@jade.coe.psu.ac.th>
Date: Wed, 10 Oct 2012 07:35:16 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: www/seamonkey devel/xulrunner need dependency on fonts/Xft2 (or maybe x11/libxft)
X-Send-Pr-Version: 3.95

>Number:         47052
>Category:       pkg
>Synopsis:       www/seamonkey devel/xulrunner need dependency on fonts/Xft2 (or maybe x11/libxft)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 10 00:40:00 +0000 2012
>Last-Modified:  Thu Oct 11 12:10:03 +0000 2012
>Originator:     Robert Elz
>Release:        NetBSD 6.99.12  (pkgsrc current 2012-10-09)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1_STABLE NetBSD 5.1_STABLE (JADE-1.12-20120130) #27: Tue Jan 31 05:20:31 ICT 2012 kre@jade.coe.psu.ac.th:/usr/obj/5/kernels/i386/JADE i386
Architecture: i386
Machine: i386
	(ignore that, that reflects the system running send-pr, not
	the one building packages...)

>Description:
	I was building (from source) a complete set of packages
	on NetBSD -current/amd64 .. almost everything (I needed)
	built just fine, except for seamonkey (my browser of
	choice) and firefox (or more accurately, xulrunner).

	Both complained during config (early) that XFt2 was not
	installed.

	That's the kind of thing that pgsrc is supposed to "just handle" ...

>How-To-Repeat:
	Make sure you don't have Xft2 (or libxft I presume) installed,
	and attempt to build firefox (or devel/xulrunner) or
	seamonkey.

>Fix:
	Easy workaround (which seems to be working, seamonkey is compiling)
	was just to manually install fontsXft2 before building - but
	I *know* that's not the right way...

	Whatever is done to devel/xulrunner will need to be done for
	www/seamonkey as well.

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/47052: www/seamonkey devel/xulrunner need dependency on
 fonts/Xft2 (or maybe x11/libxft)
Date: Wed, 10 Oct 2012 10:18:20 +0200

 On Wed, Oct 10, 2012 at 12:40:00AM +0000, kre@munnari.OZ.AU wrote:
 > 	I was building (from source) a complete set of packages
 > 	on NetBSD -current/amd64 .. almost everything (I needed)
 > 	built just fine, except for seamonkey (my browser of
 > 	choice) and firefox (or more accurately, xulrunner).
 > 
 > 	Both complained during config (early) that XFt2 was not
 > 	installed.

 Please try again, drochner committed changes to pango that might help here.
  Thomas

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/47052: www/seamonkey devel/xulrunner need dependency on fonts/Xft2 (or maybe x11/libxft)
Date: Thu, 11 Oct 2012 19:06:40 +0700

     Date:        Wed, 10 Oct 2012 08:20:05 +0000 (UTC)
     From:        Thomas Klausner <wiz@NetBSD.org>
     Message-ID:  <20121010082005.0386063B8DB@www.NetBSD.org>

   |  Please try again, drochner committed changes to pango that might help here.

 No luck, same result.

 If it matters, while I updated pkgsrc (and got the pango update that
 you refer to i that), pango itself was not rebuilt (it didn't get
 a revbump for that update, so I assumed that pango itself wouldn't
 be affected, just its buildlink3.mk file for others to use).

 And I should have included this (the actual error) the last time - but the
 way I was building everything made it difficult then (for these 6.99.12
 amd64 packages I'm not using pkg_comp as I usually do, just doing live
 installs on a running system, with output in an xterm, so by the time I
 confirmed that simply building & installing Xft2 fixed the problem, the
 error message was long gone ...

 But what happens is ...

 ===> Creating toolchain wrappers for seamonkey-2.12nb4
 ERROR: Xft2>=2.1 Xft2>=2.1nb2 is not installed; can't buildlink files.
 *** Error code 1

 And sure enough, Xft2 is not installed (I pkg_deleted it).  What's more
 after that, after this build of seamonkey failed (I suspect xulrunner
 would fail the same way, but didn't test that again) I reinstalled seamonkey
 from the previously build binpkg, but completly forgot Xft2, (pkg_add
 didn't just add it as a dependency either, it really didn't get reinstalled)
 and seamonkey still worked fine - ie: it doesn't seem to really need Xft2
 at all (and from what I read in the last couple of days about font
 handling - reading for another reason altogether - I wouldn't expect
 it to, Xft2 seems to be old technology, mostly replaced now (in new fancy
 apps anyway), and I'm a little surprised that pango refers to it at
 all - which it still does, even after drochner's recent change).

 kre

NetBSD Home
NetBSD PR Database Search

(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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.