NetBSD Problem Report #42995

From www@NetBSD.org  Thu Mar 18 04:27:19 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 41CC363B86C
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 18 Mar 2010 04:27:19 +0000 (UTC)
Message-Id: <20100318042718.CC72A63B11D@www.NetBSD.org>
Date: Thu, 18 Mar 2010 04:27:18 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: x11/libXtst configure fails on MacOS X 10.4.11
X-Send-Pr-Version: www-1.0

>Number:         42995
>Category:       pkg
>Synopsis:       x11/libXtst configure fails on MacOS X 10.4.11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 18 04:30:00 +0000 2010
>Closed-Date:    Tue Jan 21 15:15:37 +0000 2014
>Last-Modified:  Tue Jan 21 15:15:37 +0000 2014
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11 (PPC) pkgsrc-current (pre-2010Q1)
>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:
Building x11/libXtst on MacOS X 10.4.11 (PPC, maybe also intel?) fails
during the configure step as follows:

[...]
checking how to hardcode library paths into programs... immediate
checking for xmlto... no
checking pkg-config is at least version 0.9.0... yes
checking for XTST... configure: error: Package requirements (x11 xext recordproto xextproto inputproto) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the XTST_CFLAGS and XTST_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXtst
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/libXtst
[...]
>How-To-Repeat:
On MacOS X 10.4.11 (PPC, maybe intel too?) with Apple's X11 and any
updates thereto installed, attempt to build x11/libXtst (which is a
dependency of other packages).
>Fix:
Not sure.  The configure script appears to only be taking "pkg-config"'s
word for whether a capability is installed.  Looking at the list
separately indicates that the current set of packages lacks:

x11
xext
xextproto

Not sure about the "x11" package or what that means in the context of
Apple's X11 system.

I can try to install xext/xextproto manually to see if there's a
dependency missing.

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42995: x11/libXtst configure fails on MacOS X 10.4.11
Date: Tue, 23 Mar 2010 19:05:19 +0000

 On Thu, Mar 18, 2010 at 04:30:01AM +0000, jdbaker@mylinuxisp.com wrote:
  > On MacOS X 10.4.11 (PPC, maybe intel too?) with Apple's X11 and any
  > updates thereto installed, attempt to build x11/libXtst (which is a
  > dependency of other packages).

 I think x11/libXtst is supposed to be a pkgsrc X11 package that isn't
 expected to work if you're using native X11. In this case,
 theoretically you shouldn't be getting to x11/libXtst at all.

 Does Apple's X11 in 10.4 include a libXtst?

 (Also, did Apple by any chance provide pkg-config (.pc) files for the
 X libs? AIUI if they're there but not being seen, fixing up x11-links
 so they are seen will resolve a lot of issues...)

  > x11
  > xext
  > xextproto
  > 
  > Not sure about the "x11" package or what that means in the context of
  > Apple's X11 system.

 That's libX11.

 -- 
 David A. Holland
 dholland@netbsd.org

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42995: x11/libXtst configure fails on MacOS X 10.4.11
Date: Tue, 23 Mar 2010 20:31:54 -0500 (CDT)

 On Tue, 23 Mar 2010, David Holland wrote:

 > Does Apple's X11 in 10.4 include a libXtst?

 Yes (ls -laF /usr/X11R6/lib/libXtst*):

 -rw-r--r--   1 root  wheel  52736 Nov  6  2006 /usr/X11R6/lib/libXtst.6.1.dylib
 lrwxr-xr-x   1 root  wheel     17 Dec 22  2007 /usr/X11R6/lib/libXtst.6.dylib@ -> libXtst.6.1.dylib
 -rw-r--r--   1 root  wheel  41812 Mar 23  2007 /usr/X11R6/lib/libXtst.a
 lrwxr-xr-x   1 root  wheel     17 Dec 22  2007 /usr/X11R6/lib/libXtst.dylib@ -> libXtst.6.1.dylib

 > (Also, did Apple by any chance provide pkg-config (.pc) files for the
 > X libs? AIUI if they're there but not being seen, fixing up x11-links
 > so they are seen will resolve a lot of issues...)

 Not much, I'm afraid (find -x / -name "*.pc"):

 /usr/lib/pkgconfig/gimpprint.pc
 /usr/lib/pkgconfig/libcurl.pc
 /usr/lib/pkgconfig/libexslt.pc
 /usr/lib/pkgconfig/libxml-2.0.pc
 /usr/lib/pkgconfig/libxslt.pc
 /usr/lib/pkgconfig/openssl.pc
 /usr/X11R6/lib/pkgconfig/fontconfig.pc
 /usr/X11R6/lib/pkgconfig/xcursor.pc
 /usr/X11R6/lib/pkgconfig/xft.pc


 For the record the package which claims libXtst as a direct dependency
 is audio/pulseaudio.  If I set PKG_OPTIONS.mplayer=-pulseaudio, libXtst
 doesn't enter the picture, but then xvidcore fails as per pkg/41641.


 -- 
 |/"\ 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: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 29 Dec 2013 22:53:40 +0000
State-Changed-Why:
Does this work on later MacOS, and if so, do you (or anyone else) still
care about 10.4?


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: dholland@NetBSD.org
Subject: Re: pkg/42995 (x11/libXtst configure fails on MacOS X 10.4.11)
Date: Sun, 5 Jan 2014 19:44:00 -0600 (CST)

 On Sun, 29 Dec 2013, dholland@NetBSD.org wrote:

 > State-Changed-From-To: open->feedback

 > Does this work on later MacOS, and if so, do you (or anyone else) still
 > care about 10.4?

 I do not have any hardware on which any MacOS later than 10.4.x can be
 installed.  As such, my use of any MacOS is limited to configuration of
 certain hardware accessories (i.e. aftermarket CPU modules) and pkgsrc
 support is no-longer an issue.

 Thanks.

 -- 
 |/"\ 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: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/42995 (x11/libXtst configure fails on MacOS X 10.4.11)
Date: Tue, 21 Jan 2014 08:46:20 -0600 (CST)

 This PR is no-longer relevant to me as I no-longer use MacOS except for
 legacy hardware configuration--for which pkgsrc is not an issue.  This
 PR may be closed.

 -- 
 |/"\ 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->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 21 Jan 2014 15:15:37 +0000
State-Changed-Why:
Hardware not available any longer, and OS X 10.4 desupported.
Thanks for the update


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