NetBSD Problem Report #41475

From www@NetBSD.org  Fri May 22 14:33:36 2009
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 906C763C2C9
	for <gnats-bugs@gnats.netbsd.org>; Fri, 22 May 2009 14:33:36 +0000 (UTC)
Message-Id: <20090522143336.5DEB163C2C8@www.NetBSD.org>
Date: Fri, 22 May 2009 14:33:36 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: "gtkdoc-rebase" workaround needed for several packages on MacOS X
X-Send-Pr-Version: www-1.0

>Number:         41475
>Category:       pkg
>Synopsis:       "gtkdoc-rebase" workaround needed for several packages on MacOS X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 22 14:35:01 +0000 2009
>Closed-Date:    Tue May 26 16:56:01 +0000 2009
>Last-Modified:  Mon Jun 06 08:35:07 +0000 2011
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11 (PPC), pkgsrc-2009Q1
>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:
As seen here:

  http://mail-index.netbsd.org/pkgsrc-users/2009/05/09/msg009778.html
  http://mail-index.netbsd.org/pkgsrc-users/2009/05/09/msg009779.html

devel/pango and devel/atk need the same workaround as in devel/glib2 to
cope with lack of "gtkdoc-rebase" program.

In addition, net/Orbit2 and devel/GConf need the same treatment.

As more offending packages are discovered, they will be appended to this
PR.
>How-To-Repeat:
On MacOS X, attempt to build a package that has any of:

  devel/atk
  devel/pango
  devel/GConf
  net/Orbit2

as a dependency.  Example:  multimedia/mplayer
>Fix:
Add the following to the Makefile of offending dependency packages:

.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
TOOLS_NOOP+=            gtkdoc-rebase
.endif


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 26 May 2009 16:56:01 +0000
State-Changed-Why:
Fixed by adding gtk-doc's buildlink3.mk file. Thanks for the PR, and let
us know if you find more!


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc
Date: Tue, 26 May 2009 16:55:24 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Tue May 26 16:55:24 UTC 2009

 Modified Files:
 	pkgsrc/devel/GConf: Makefile.common
 	pkgsrc/devel/atk: Makefile
 	pkgsrc/devel/glib2: Makefile
 	pkgsrc/devel/pango: Makefile
 	pkgsrc/net/ORBit2: Makefile

 Log Message:
 BUILD_DEPEND on gtk-doc (by including its buildlink3.mk file) to
 get gtkdoc-rebase.

 Addresses PR 41475 by John D. Baker.


 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/GConf/Makefile.common
 cvs rdiff -u -r1.66 -r1.67 pkgsrc/devel/atk/Makefile
 cvs rdiff -u -r1.159 -r1.160 pkgsrc/devel/glib2/Makefile
 cvs rdiff -u -r1.129 -r1.130 pkgsrc/devel/pango/Makefile
 cvs rdiff -u -r1.67 -r1.68 pkgsrc/net/ORBit2/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: PR/41475 CVS commit: pkgsrc
Date: Wed, 27 May 2009 10:13:16 +0900

 On Wed, 27 May 2009 02:00:07 +0900, Thomas Klausner <wiz@netbsd.org> wrote:

 >  Log Message:
 >  BUILD_DEPEND on gtk-doc (by including its buildlink3.mk file) to
 >  get gtkdoc-rebase.
 > 
 >  Addresses PR 41475 by John D. Baker.

 It's a bug hit to Darwin and Solaris in gtk-doc.make.
 http://bugzilla.gnome.org/show_bug.cgi?id=562310

 gtk-doc already fix the probelm in the repository, but some packages still contains and using 
 old revision of the file.

 If you want to change to use exactly using gtk-doc,
 I'm suggest also pass CONFIGURE_ARGS+=--enable-gtk-doc (defaut=no) and
 require gtk-doc>=1.9 for gtkdoc-rebase command.

 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache@NetBSD.org

From: Thomas Klausner <wiz@NetBSD.org>
To: OBATA Akio <obache@netbsd.org>
Cc: gnats-bugs@NetBSD.org
Subject: Re: PR/41475 CVS commit: pkgsrc
Date: Wed, 27 May 2009 11:11:20 +0200

 On Wed, May 27, 2009 at 01:15:04AM +0000, OBATA Akio wrote:
 > The following reply was made to PR pkg/41475; it has been noted by GNATS.
 > 
 >  It's a bug hit to Darwin and Solaris in gtk-doc.make.
 >  http://bugzilla.gnome.org/show_bug.cgi?id=562310
 >  
 >  gtk-doc already fix the probelm in the repository, but some packages still contains and using 
 >  old revision of the file.
 >  
 >  If you want to change to use exactly using gtk-doc,
 >  I'm suggest also pass CONFIGURE_ARGS+=--enable-gtk-doc (defaut=no) and
 >  require gtk-doc>=1.9 for gtkdoc-rebase command.

 Is this necessary? Won't gtkdoc-rebase just be picked up if it exists
 in PATH?
  Thomas

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: PR/41475 CVS commit: pkgsrc
Date: Wed, 27 May 2009 18:39:48 +0900

 On Wed, 27 May 2009 18:15:03 +0900, Thomas Klausner <wiz@netbsd.org> wrote:

 >  Is this necessary? Won't gtkdoc-rebase just be picked up if it exists
 >  in PATH?

 Yes, the other hands, if it does not exist, it is expected to do nothing.
 But on Solaris and Darwin, not as expected, failed.
 It is the Bug#562310, and in pkgsrc, already hadled as PR#40031.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: PR/41475 CVS commit: pkgsrc
Date: Mon, 01 Jun 2009 09:33:38 +0900

 So, OK to revert and replaced with TOOLS_NOOP hack?

 gtk-doc have big dependencies, so too big to just avoid the 'which' issue.

 When building x11/gtk2 with -x11 option, I saw trying to install xpkgwedge
 and failed on my Darwin 8.11.0 box (no X11 installed).

 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache@NetBSD.org

From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/41475 CVS commit: pkgsrc
Date: Wed, 3 Jun 2009 13:31:56 +0200

 On Mon, Jun 01, 2009 at 12:35:02AM +0000, OBATA Akio wrote:
 >  So, OK to revert and replaced with TOOLS_NOOP hack?

 Fine with me. I wanted to avoid patches and having strange ifdefs in
 the Makefile where it's unclear why and how long they are needed.

 So please make it platform-independent and add a comment when it can
 be removed.

 Thank you,
  Thomas

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc
Date: Wed, 3 Jun 2009 12:40:32 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Wed Jun  3 12:40:32 UTC 2009

 Modified Files:
 	pkgsrc/devel/GConf: Makefile.common
 	pkgsrc/devel/atk: Makefile
 	pkgsrc/devel/glib2: Makefile
 	pkgsrc/devel/pango: Makefile
 	pkgsrc/net/ORBit2: Makefile

 Log Message:
 Remove build dependency on gtk-doc, related to PR#41475.

 It comes from upstream Bug#562310:
 http://bugzilla.gnome.org/show_bug.cgi?id=562310
 Availability detection of `gtkdoc-rebase' command is depend on the behaviour
 of `which' command,  if `which gtkdoc-rebase' return false, do nothing.
 It is known as not works as expected on Darwin and Solaris, then failed in
 unwanted gtkdoc-rebase execution, and abort.

 It is already fixed in upstream gtk-doc repository, but not released yet(1.12?).
 So, some packages may contain and be using un-fixed gtk-doc.* files.

 For easy to determine whether it is fixed or not, check gtk-doc.make contains
 following commit (not using 'which gtkdoc-rebase', but $(GTKDOC_REBASE) macro):

 http://git.gnome.org./cgit/gtk-doc/commit/?id=ef5f56ca5fd4a077e6f7a374e8dd333b7a6a8d42


 To generate a diff of this commit:
 cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/GConf/Makefile.common
 cvs rdiff -u -r1.67 -r1.68 pkgsrc/devel/atk/Makefile
 cvs rdiff -u -r1.160 -r1.161 pkgsrc/devel/glib2/Makefile
 cvs rdiff -u -r1.130 -r1.131 pkgsrc/devel/pango/Makefile
 cvs rdiff -u -r1.68 -r1.69 pkgsrc/net/ORBit2/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/41475: "gtkdoc-rebase" workaround needed for several packages
 on MacOS X
Date: Thu, 4 Jun 2009 23:55:47 -0500 (CDT)

 Since filing the PR the following package has been discovered to
 require the work-around also:

    devel/libbonobo

 Thanks.

 -- 
 John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
 jdbaker[snail]mylinuxisp[flyspeck]com         OpenBSD            FreeBSD
 BSD -- It just sits there and _works_!
 GPG fingerprint:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc/devel/libbonobo
Date: Fri, 5 Jun 2009 07:09:32 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Fri Jun  5 07:09:32 UTC 2009

 Modified Files:
 	pkgsrc/devel/libbonobo: Makefile

 Log Message:
 Need workaround for Upstream Bug#562310.
 Noticed by John D. Baker in PR 41475.


 To generate a diff of this commit:
 cvs rdiff -u -r1.60 -r1.61 pkgsrc/devel/libbonobo/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/41475
Date: Wed, 01 Jul 2009 16:29:45 +0200

 For the record: graphics/gimp is also affected.

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc/graphics/gimp
Date: Tue, 7 Jul 2009 10:48:54 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Tue Jul  7 10:48:54 UTC 2009

 Modified Files:
 	pkgsrc/graphics/gimp: Makefile

 Log Message:
 Need workaround for Upstream Bug#562310, as noticed in PR 41475.


 To generate a diff of this commit:
 cvs rdiff -u -r1.181 -r1.182 pkgsrc/graphics/gimp/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc/devel/glib2
Date: Tue, 8 Dec 2009 07:34:29 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Tue Dec  8 07:34:29 UTC 2009

 Modified Files:
 	pkgsrc/devel/glib2: Makefile

 Log Message:
 glib-2.22.3 contains fixes for upstream Bug#56230,
 so remove workaround for PR#41475.


 To generate a diff of this commit:
 cvs rdiff -u -r1.167 -r1.168 pkgsrc/devel/glib2/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Daniel Vergien <daniel.vergien@rrz.uni-hamburg.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/41475
Date: Sun, 23 May 2010 12:16:03 +0200

 Hi,

 Here are more packages which need the "TOOLS_NOOP+=gtkdoc-rebase":

 multimedia/totem-pl-parser
 devel/libgnome
 devel/libgsf
 net/libsoup24
 audio/libcanberra

 Regards

 Daniel

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc
Date: Sun, 23 May 2010 11:19:27 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun May 23 11:19:27 UTC 2010

 Modified Files:
 	pkgsrc/audio/libcanberra: Makefile
 	pkgsrc/devel/libgnome: Makefile
 	pkgsrc/devel/libgsf: Makefile
 	pkgsrc/multimedia/totem-pl-parser: Makefile
 	pkgsrc/net/libsoup24: Makefile

 Log Message:
 Need workaround for upstream gtk-doc Bug#56230.
 Noticed by Daniel Vergien in PR 41475.


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/audio/libcanberra/Makefile
 cvs rdiff -u -r1.75 -r1.76 pkgsrc/devel/libgnome/Makefile
 cvs rdiff -u -r1.68 -r1.69 pkgsrc/devel/libgsf/Makefile
 cvs rdiff -u -r1.17 -r1.18 pkgsrc/multimedia/totem-pl-parser/Makefile
 cvs rdiff -u -r1.21 -r1.22 pkgsrc/net/libsoup24/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Daniel Vergien <dve@vergien.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/41475
Date: Mon, 04 Oct 2010 11:28:30 +0200

 Hi,

 Here are more packages which need the "TOOLS_NOOP+=gtkdoc-rebase":

 graphics/librsvg
 multimedia/totem

 Regards

 Daniel

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc
Date: Mon, 4 Oct 2010 09:42:45 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Oct  4 09:42:44 UTC 2010

 Modified Files:
 	pkgsrc/graphics/librsvg: Makefile
 	pkgsrc/multimedia/totem: Makefile

 Log Message:
 Need dummy gtkdoc-rebase, PR#41475.


 To generate a diff of this commit:
 cvs rdiff -u -r1.43 -r1.44 pkgsrc/graphics/librsvg/Makefile
 cvs rdiff -u -r1.43 -r1.44 pkgsrc/multimedia/totem/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc/devel/libgsf
Date: Mon, 6 Jun 2011 07:55:54 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Jun  6 07:55:54 UTC 2011

 Modified Files:
 	pkgsrc/devel/libgsf: Makefile

 Log Message:
 Workaround for PR#41475 is not required anymore.


 To generate a diff of this commit:
 cvs rdiff -u -r1.73 -r1.74 pkgsrc/devel/libgsf/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc/audio/libcanberra
Date: Mon, 6 Jun 2011 08:31:19 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Jun  6 08:31:18 UTC 2011

 Modified Files:
 	pkgsrc/audio/libcanberra: Makefile

 Log Message:
 Workaround for PR#41475 is not required anymore.


 To generate a diff of this commit:
 cvs rdiff -u -r1.16 -r1.17 pkgsrc/audio/libcanberra/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc/multimedia/totem-pl-parser
Date: Mon, 6 Jun 2011 08:32:40 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Jun  6 08:32:40 UTC 2011

 Modified Files:
 	pkgsrc/multimedia/totem-pl-parser: Makefile

 Log Message:
 Workaround for PR#41475 is not required anymore.


 To generate a diff of this commit:
 cvs rdiff -u -r1.29 -r1.30 pkgsrc/multimedia/totem-pl-parser/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/41475 CVS commit: pkgsrc/graphics/librsvg
Date: Mon, 6 Jun 2011 08:34:13 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Mon Jun  6 08:34:13 UTC 2011

 Modified Files:
 	pkgsrc/graphics/librsvg: Makefile

 Log Message:
 Workaround for PR#41475 is not required anymore.


 To generate a diff of this commit:
 cvs rdiff -u -r1.48 -r1.49 pkgsrc/graphics/librsvg/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.