NetBSD Problem Report #40207

From kre@munnari.OZ.AU  Wed Dec 17 14:59:28 2008
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id DDCE063BA47
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 17 Dec 2008 14:59:27 +0000 (UTC)
Message-Id: <200812171403.mBHE3VHY027351@jade.coe.psu.ac.th>
Date: Wed, 17 Dec 2008 21:03:31 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: www/kazehakase compilation errors (NetBSD 4.0 pkgsrc modular xorg)
X-Send-Pr-Version: 3.95

>Number:         40207
>Category:       pkg
>Synopsis:       www/kazehakase compilation errors (NetBSD 4.0 pkgsrc modular xorg)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 17 15:00:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE  (pkgsrc current within past 6 hours)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
	Building www/kazehakase fails with compilation errors.

>How-To-Repeat:
	I use pkg_comp with libkver and 4.0 NetBSD base sets installed (no X)
	with X11_TYPE=modular - probably not relevant.

	pkg_comp build www/kazehakase eventually (fairly quickly) produces

gmake[5]: Entering directory `/pkg_comp/obj/pkgsrc/www/kazehakase/4x/kazehakase-0.5.4/src/actions'
/bin/sh ../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -pthread -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12   -I../../src/dialogs -I../../src/utils -I../../src/net -I../../src/bookmarks -I../../src/widget -I../../src/libegg/dropdowntoolbutton -I../../src/libegg/pixbufthumbnail -I../../src -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DG_LOG_DOMAIN=\"Kazehakase-Actions\" -DG_DISABLE_DEPRECATED=1 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Wall -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wcast-align -MT kz-actions.lo -MD -MP -MF .deps/kz-actions.Tpo -c -o kz-actions.lo !
 kz-actions.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT -pthread -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include/gtk-2.0 -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/lib/gtk-2.0/include -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include/atk-1.0 -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include/cairo -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include/pango-1.0 -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include/glib/glib-2.0 -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/lib/glib-2.0/include -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include/pixman-1 -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include/freetype2 -I/pkg_comp/obj/pkgsrc/www/kazehakase/4x/.buildlink/include/libpng12 -I../../src/dialogs -I../../src/utils -I../../src/net -I../../src/bookmarks -I../../src/widget -I../../src/libegg/dropdowntoolbutton -I../../src/libegg/pixbufthumbnail -I../../!
 src -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DG_LOG_DOMAIN=\"Kazehakase-Actions\" -DG_DISABLE_DEPRECATED=1 -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wcast-align -MT kz-actions.lo -MD -MP -MF .deps/kz-actions.Tpo -c kz-actions.c  -fPIC -DPIC -o .libs/kz-actions.o
kz-actions.c: In function 'act_new_tab':
kz-actions.c:169: warning: implicit declaration of function 'GTK_CHECK_CAST'
kz-actions.c:169: error: expected expression before 'KzNotebook'
kz-actions.c:170: warning: passing argument 1 of 'kz_notebook_page_num' makes pointer from integer without a cast
kz-actions.c:172: error: expected expression before 'KzNotebook'
kz-actions.c:173: warning: passing argument 1 of 'kz_notebook_set_current_page' makes pointer from integer without a cast
kz-actions.c:291:2: warning: #warning FIXME! we should unify act_open_selection().
kz-actions.c: In function 'act_stop_all':
kz-actions.c:515: error: expected expression before 'KzNotebook'
kz-actions.c:515: warning: passing argument 1 of 'kz_notebook_get_n_pages' makes pointer from integer without a cast

	and quite a lot more like that.

>Fix:
	???

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.