NetBSD Problem Report #39716

From [email protected]  Wed Oct  8 12:49:12 2008
Return-Path: <[email protected]>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 9F7CF63BA54
	for <[email protected]>; Wed,  8 Oct 2008 12:49:12 +0000 (UTC)
Message-Id: <[email protected]>
Date: Wed,  8 Oct 2008 12:49:12 +0000 (UTC)
From: [email protected]
Reply-To: [email protected]
To: [email protected]
Subject: chat/finch fails to find Python.h and fails as a result
X-Send-Pr-Version: www-1.0

>Number:         39716
>Category:       pkg
>Synopsis:       chat/finch fails to find Python.h and fails as a result
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 08 12:50:00 +0000 2008
>Closed-Date:    Sun Nov 02 13:05:39 +0000 2008
>Last-Modified:  Sun Nov 02 13:20:02 +0000 2008
>Originator:     Dave Vollenweider
>Release:        4.0
>Organization:
>Environment:
NetBSD kaworu.studiolab45.net 4.0 NetBSD 4.0 (KAWORU) #4: Wed Apr 23 18:55:11 CDT 2008  [email protected]:/usr/src/sys/arch/i386/compile/KAWORU i386
>Description:
When building chat/finch from pkgsrc-2008Q2 I encountered the following errors:

/bin/sh ../../libtool --silent --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
-I../..  -pthread -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/inclu
de   -I/usr/pkgsrc/chat/finch/work/.buildlink/include/ -Wall  -Waggregate-return
 -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Werror-implicit-func
tion-declaration -Wextra -Wno-sign-compare -Wno-unused-parameter -Winit-self -Wm
issing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wp
ointer-arith -Wundef -I/usr/pkg/include/libxml2   -I/usr/pkg/include/python2.4 -
I/usr/pkg/include -I/usr/include -D_XOPEN_SOURCE_EXTENDED=1  -g -O2 -I/usr/pkg/i
nclude -I/usr/include -D_XOPEN_SOURCE_EXTENDED=1 -MT gntwm.lo -MD -MP -MF .deps/
gntwm.Tpo -c -o gntwm.lo gntwm.c
gntwm.c:26:20: error: Python.h: No such file or directory
gntwm.c: In function 'python_script_selected':
gntwm.c:1242: error: 'PyObject' undeclared (first use in this function)
gntwm.c:1242: error: (Each undeclared identifier is reported only once
gntwm.c:1242: error: for each function it appears in.)

The package fails to build.
>How-To-Repeat:
Try building the package again.
>Fix:
Add the following line to the Makefile:

.include "../../lang/python/application.mk"

Then build the package.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: [email protected]
State-Changed-When: Sun, 02 Nov 2008 13:05:39 +0000
State-Changed-Why:
Force to not detect python, same as other script language support.


From: OBATA Akio <[email protected]>
To: [email protected]
Cc: 
Subject: PR/39716 CVS commit: pkgsrc/chat/finch
Date: Sun,  2 Nov 2008 13:02:51 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sun Nov  2 13:02:51 UTC 2008

 Modified Files:
 	pkgsrc/chat/finch: Makefile

 Log Message:
 Avoid to detect python interpreter.
 Fixes PR 39716.


 To generate a diff of this commit:
 cvs rdiff -r1.14 -r1.15 pkgsrc/chat/finch/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.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.