NetBSD Problem Report #43989

From www@NetBSD.org  Wed Oct 20 14:36:54 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5BFAB63B8B8
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 20 Oct 2010 14:36:54 +0000 (UTC)
Message-Id: <20101020143653.E26CE63B8AD@www.NetBSD.org>
Date: Wed, 20 Oct 2010 14:36:53 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: libxslt and/or libxml broken on MacOS X 10.4.11 (PPC)
X-Send-Pr-Version: www-1.0

>Number:         43989
>Notify-List:    macos-pkg-people@NetBSD.org
>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
>Organization:
>Environment:
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

>Description:
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 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl 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

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

Stop.
bmake: stopped in /usr/pkgsrc/security/policykit
[...]
>How-To-Repeat:
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.
>Fix:
Workaround:  if possible, disable options that pull in packages with
xml documentation.  In this case, avoid pulseaudio with:

  PKG_OPTIONS.xmp+=-pulseaudio
  PKG_OPTIONS.mplayer+=-pulseaudio
  PKG_OPTIONS.SDL+=-pulseaudio

etc.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->recht
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Fri, 22 Oct 2010 10:18:42 +0000
Responsible-Changed-Why:
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-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 28 Feb 2011 15:13:53 +0000
Responsible-Changed-Why:
Reset responsible field for retired developer.


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


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
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, wiz@NetBSD.org 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-By: dholland@NetBSD.org
State-Changed-When: Sat, 05 Mar 2011 10:26:00 +0000
State-Changed-Why:
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-By: dholland@NetBSD.org
Responsible-Changed-When: Wed, 07 Mar 2012 09:58:46 +0000
Responsible-Changed-Why:
darwin-pkg-people has been changed to macos-pkg-people


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


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


>Unformatted:

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