NetBSD Problem Report #43451

From oster@scrooge.usask.ca  Thu Jun 10 22:08:05 2010
Return-Path: <oster@scrooge.usask.ca>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 9474463B92A
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 10 Jun 2010 22:08:05 +0000 (UTC)
Message-Id: <20100610205047.A3B93113EDC@scrooge.usask.ca>
Date: Thu, 10 Jun 2010 14:50:47 -0600 (CST)
From: oster@netbsd.org
Reply-To: oster@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: x11/vte 0.22.5 fails to build
X-Send-Pr-Version: 3.95

>Number:         43451
>Category:       pkg
>Synopsis:       x11/vte 0.22.5 fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 10 22:10:00 +0000 2010
>Closed-Date:    Fri Jun 11 14:23:51 +0000 2010
>Last-Modified:  Fri Jun 11 14:23:51 +0000 2010
>Originator:     Greg Oster
>Release:        NetBSD 5.1_RC2
>Organization:
>Environment:
System: NetBSD scrooge 5.1_RC2 NetBSD 5.1_RC2 (QUAD) #0: Mon May 31 10:01:56 CST 2010 oster@quad:/u1/builds/build178/src/obj/i386/u1/builds/build178/src/sys/arch/i386/compile/QUAD i386
Architecture: i386
Machine: i386
>Description:

	x11/vte fails to build with the following errors:
...
  CC     libvte_la-vte.lo
vte.c: In function '_vte_invalidate_cells':
vte.c:341: error: implicit declaration of function 'GTK_WIDGET_DRAWABLE'
vte.c:341: warning: nested extern declaration of 'GTK_WIDGET_DRAWABLE'
vte.c: In function 'vte_terminal_set_cursor_from_regex_match':
vte.c:1145: error: implicit declaration of function 'GTK_WIDGET_REALIZED'
vte.c:1145: warning: nested extern declaration of 'GTK_WIDGET_REALIZED'
vte.c: In function '_vte_terminal_visible_beep':
vte.c:4625: error: implicit declaration of function 'GTK_WIDGET_STATE'
vte.c:4625: warning: nested extern declaration of 'GTK_WIDGET_STATE'
vte.c: In function 'vte_terminal_button_press':
vte.c:6916: error: implicit declaration of function 'GTK_WIDGET_HAS_FOCUS'
vte.c:6916: warning: nested extern declaration of 'GTK_WIDGET_HAS_FOCUS'
vte.c: In function 'vte_terminal_unrealize':
vte.c:8170: error: implicit declaration of function 'GTK_WIDGET_MAPPED'
vte.c:8170: warning: nested extern declaration of 'GTK_WIDGET_MAPPED'
vte.c: In function 'vte_terminal_paint_area':
vte.c:10357: error: implicit declaration of function 'GTK_WIDGET_DOUBLE_BUFFERED'
vte.c:10357: warning: nested extern declaration of 'GTK_WIDGET_DOUBLE_BUFFERED'
gmake[3]: *** [libvte_la-vte.lo] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/vte/work.scrooge/vte-0.22.5/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/x11/vte/work.scrooge/vte-0.22.5/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/x11/vte/work.scrooge/vte-0.22.5'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/vte
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/vte
hostname> 

>How-To-Repeat:

        With a recent pkgsrc on a NetBSD 5.1_RC2 kernel+userland i386
system attempt to build meta-pkgs/xfce4 and see it fail with the above
errors for x11/vte.

>Fix:
	Please.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: drochner@NetBSD.org
State-Changed-When: Fri, 11 Jun 2010 11:51:52 +0000
State-Changed-Why:
does it build now?


From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/43451 CVS commit: pkgsrc/x11/vte
Date: Fri, 11 Jun 2010 11:50:39 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Fri Jun 11 11:50:39 UTC 2010

 Modified Files:
 	pkgsrc/x11/vte: Makefile distinfo
 Added Files:
 	pkgsrc/x11/vte/patches: patch-aj

 Log Message:
 fix a botches test in the configure script, and pass --disable-deprecation
 makes the pkg build with gtk2-2.20, fixes PR pkg/43451 by Greg Oster


 To generate a diff of this commit:
 cvs rdiff -u -r1.73 -r1.74 pkgsrc/x11/vte/Makefile
 cvs rdiff -u -r1.43 -r1.44 pkgsrc/x11/vte/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/x11/vte/patches/patch-aj

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

State-Changed-From-To: feedback->closed
State-Changed-By: oster@NetBSD.org
State-Changed-When: Fri, 11 Jun 2010 14:23:51 +0000
State-Changed-Why:
Yes, it builds fine now.  Thanks for the quick fix!


>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.