NetBSD Problem Report #43989

From  Wed Oct 20 14:36:54 2010
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 5BFAB63B8B8
	for <>; Wed, 20 Oct 2010 14:36:54 +0000 (UTC)
Message-Id: <>
Date: Wed, 20 Oct 2010 14:36:53 +0000 (UTC)
Subject: libxslt and/or libxml broken on MacOS X 10.4.11 (PPC)
X-Send-Pr-Version: www-1.0

>Number:         43989
>Category:       pkg
>Synopsis:       libxslt and/or libxml broken on MacOS X 10.4.11 (PPC)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sevan
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 20 14:40:00 +0000 2010
>Closed-Date:    Thu Jan 22 02:58:42 +0000 2015
>Last-Modified:  Thu Jan 22 02:58:42 +0000 2015
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11 (PPC); pkgsrc-current
Darwin ed.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

While building packages with xml documentation (security/policykit in
this case), '/usr/pkg/bin/xsltproc' fails with:

Making all in man
gmake[3]: Entering directory `/Volumes/d0/tmp/pkgsrc/security/policykit/work/PolicyKit-0.9/doc/man'
/usr/pkg/bin/xsltproc -nonet polkit-auth.xml
dyld: lazy symbol binding failed: Symbol not found: _gzdirect
  Referenced from: /usr/pkg/lib/libxml2.2.dylib
  Expected in: flat namespace

dyld: Symbol not found: _gzdirect
  Referenced from: /usr/pkg/lib/libxml2.2.dylib
  Expected in: flat namespace

gmake[3]: *** [polkit-auth.1] Trace/BPT trap
gmake[3]: Leaving directory `/Volumes/d0/tmp/pkgsrc/security/policykit/work/PolicyKit-0.9/doc/man'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/Volumes/d0/tmp/pkgsrc/security/policykit/work/PolicyKit-0.9/doc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/Volumes/d0/tmp/pkgsrc/security/policykit/work/PolicyKit-0.9'
gmake: *** [all] Error 2
*** Error code 2

bmake: stopped in /usr/pkgsrc/security/policykit
*** Error code 1

bmake: stopped in /usr/pkgsrc/security/policykit
On MacOS X 10.4.11 PPC, attempt to build packages with xml documentation,
requiring libxslt and libxml built from pkgsrc.

In this particular instance, security/policykit--a dependency of
audio/pulseaudio--a dependency of audio/xmp.
Workaround:  if possible, disable options that pull in packages with
xml documentation.  In this case, avoid pulseaudio with:





Responsible-Changed-From-To: pkg-manager->recht
Responsible-Changed-When: Fri, 22 Oct 2010 10:18:42 +0000
Assigned to maintainer. If you can't handle this, we can assign to darwin-pkg-people.

Responsible-Changed-From-To: recht->darwin-pkg-people
Responsible-Changed-When: Mon, 28 Feb 2011 15:13:53 +0000
Reset responsible field for retired developer.

State-Changed-From-To: open->feedback
State-Changed-When: Mon, 28 Feb 2011 15:13:53 +0000
pkgsrc doesn't support 10.4 any longer. Do you see this problem on newer
OS X versions as well?

From: "John D. Baker" <>
Subject: Re: pkg/43989 (libxslt and/or libxml broken on MacOS X 10.4.11 (PPC))
Date: Tue, 1 Mar 2011 09:40:26 -0600 (CST)

 On Mon, 28 Feb 2011, wrote:

 > State-Changed-Why:
 > pkgsrc doesn't support 10.4 any longer. Do you see this problem on newer
 > OS X versions as well?

 I don't run anything beyond 10.4.11.  I never bothered with 10.5.x as
 I only have PowerPC macs (and one mac68k).

 (By all accounts I've encountered, 10.5.x was optimized for intel and
 thus PPC performance suffered.)

 I'm trying to switch them to NetBSD/macppc, but I'm still wary of
 bizarre "gotcha"s should I finally ditch 10.4.11 on my so-far-bulletproof
 G4 PowerBook 667 (TiBook).

 |/"\ 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

State-Changed-From-To: feedback->open
State-Changed-When: Sat, 05 Mar 2011 10:26:00 +0000
submitter needs 10.4, sigh.

If you can figure out what the problem is, and there's a halfway tenable
patch, we'll probably take it, but it's unlikely anyone's going to track
it down for you.

Does xsltproc fail the same way if you run it directly from the shell
prompt? And, is there anything in the build log of libxml2 that suggests
what might be wrong? (Where is this _gzdirect thing supposed to come from?)

Responsible-Changed-From-To: darwin-pkg-people->macos-pkg-people
Responsible-Changed-When: Wed, 07 Mar 2012 09:58:46 +0000
darwin-pkg-people has been changed to macos-pkg-people

Responsible-Changed-From-To: macos-pkg-people->sevan
Responsible-Changed-When: Tue, 20 Jan 2015 14:05:56 +0000
Sevan, could you take a look please?

State-Changed-From-To: open->closed
State-Changed-When: Thu, 22 Jan 2015 02:58:42 +0000
libxml2, libxslt & policykit currently build successfully on OS X 10.4.11 PowerPC


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.