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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 10 00:40:00 +0000 2012
>Closed-Date:    Fri Dec 17 20:20:30 +0000 2021
>Last-Modified:  Fri Dec 17 20:20:30 +0000 2021
>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.

>Release-Note:

>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

State-Changed-From-To: open->feedback
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Wed, 01 Dec 2021 12:55:16 +0000
State-Changed-Why:
It seems that www/seamonkey-2.53.10 has no direct dependency to Xft.
Could you investigate your problem for www/seamonkey-2.53.10?


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: Sat, 18 Dec 2021 02:57:20 +0700

     Date:        Wed,  1 Dec 2021 12:55:16 +0000 (UTC)
     From:        ryoon@NetBSD.org
     Message-ID:  <20211201125516.BD6DC1A9239@mollari.NetBSD.org>

 Sorry, I was overly busy when this was sent, and didn't reply at
 the time, then just forgot about it.

   | It seems that www/seamonkey-2.53.10 has no direct dependency to Xft

 That was the problem reported.   There wasn't one, but it did not build
 without it installed.   It wasn't needed at run time however.

   | Could you investigate your problem for www/seamonkey-2.53.10?

 This PR is ancient, I have built seamonkey, I suspect several times,
 since - I don't know what the status of Xft2 was on those, but on
 one system I can look at right now (ie: where I am typing this) I
 have seamonkey-2.49.1nb3 installed (I know, a bit old now, and should
 be updated - so should lots of my packages, but...) and don't seem to
 have fonts/Xft2 or x11/libxft so my guess would be that this has been
 fixed, or worked around, or newer NetBSD causes the issue to vanish,
 or who knows.

 In any case, feel free to close that PR - along with any other pkg/*
 PRs of mine from the dark ages.   I used to do a lot of pkg building, and
 submit PRs about the various failures.   But that was a long time ago.
 None of that can possibly still be relevant.   Or at least it does not
 seem likely to me.

 kre

State-Changed-From-To: feedback->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Fri, 17 Dec 2021 20:20:30 +0000
State-Changed-Why:
Submitter says that this can be closed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.