pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39716: chat/finch fails to find Python.h and fails as a result



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 08 12:50:00 +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  
root%kaworu.studiolab45.net@localhost:/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.



Home | Main Index | Thread Index | Old Index