From ryoh@bonnie.jaist.ac.jp Wed Mar 25 02:30:41 2009
Return-Path: <ryoh@bonnie.jaist.ac.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id D840863B8BA
for <gnats-bugs@gnats.netbsd.org>; Wed, 25 Mar 2009 02:30:41 +0000 (UTC)
Message-Id: <20090325023037.6AD2A130F6@bonnie.jaist.ac.jp>
Date: Wed, 25 Mar 2009 11:30:37 +0900 (JST)
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
Reply-To: ryoh@jaist.ac.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: inputmethod/uim fails to build with "gnome" option
X-Send-Pr-Version: 3.95
>Number: 41071
>Category: pkg
>Synopsis: inputmethod/uim fails to build with "gnome" option
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 25 02:35:00 +0000 2009
>Closed-Date: Sun May 17 05:21:37 +0000 2009
>Last-Modified: Sun May 17 18:50:39 +0000 2009
>Originator: Ryo HAYASAKA
>Release: NetBSD 5.99.8, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.8 NetBSD 5.99.8 (MONOLITHIC) #46: Wed Mar 25 07:28:31 JST 2009 root@bonnie.jaist.ac.jp:/usr/src/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:
$ make
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Checksum SHA1 OK for uim-1.5.5.tar.bz2
=> Checksum RMD160 OK for uim-1.5.5.tar.bz2
===> depends-message [uim-1.5.5] ===> Installing dependencies for uim-1.5.5
==========================================================================
The supported build options for uim are:
anthy canna eb gnome gtk kde m17nlib prime
qt uim-fep xim
The currently selected options are:
anthy canna gnome gtk m17nlib qt uim-fep xim
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.uim (not defined)
==========================================================================
==========================================================================
The following variables will affect the build process of this package,
uim-1.5.5. Their current value is shown below:
* FAM_DEFAULT = fam
Based on these variables, the following variables have been set:
* FAMBASE (defined, but empty)
* FAM_TYPE = fam
You may want to abort the process now with CTRL-C and change their value
before continuing. Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Build dependency libtool-base>=1.5.18nb5: found libtool-base-1.5.26nb1
=> Build dependency intltool>=0.40.0: found intltool-0.40.6
=> Build dependency gmake>=3.81: found gmake-3.81
=> Build dependency perl>=5.0: found perl-5.10.0nb5
=> Build dependency pkg-config>=0.19: found pkg-config-0.23
=> Build dependency x11-links>=0.43: found x11-links-0.43
=> Build dependency qt3-tools>=3.3.6nb1: found qt3-tools-3.3.8nb3
=> Build dependency checkperms>=1.1: found checkperms-1.10
=> Full dependency xdg-dirs>=1.1: found xdg-dirs-1.4
=> Full dependency ncurses>=5.4nb1: found ncurses-5.7nb1
=> Full dependency anthy>=7900: found anthy-9100
=> Full dependency Canna-lib>=3.6pl4: found Canna-lib-3.6pl4nb2
=> Full dependency gnome-panel>=2.22.2nb1: found gnome-panel-2.26.0
=> Full dependency gtk2+>=2.8.17nb1: found gtk2+-2.16.0nb1
=> Full dependency m17n-lib>=1.5.1: found m17n-lib-1.5.3
=> Full dependency qt3-libs>=3.3.6nb1: found qt3-libs-3.3.8nb8
=> Full dependency libgcroots>=0.2.1: found libgcroots-0.2.1
===> tools-message [uim-1.5.5] ===> Overriding tools for uim-1.5.5
...
mv -f .deps/uim_toolbar_applet-toolbar-common-gtk.Tpo .deps/uim_toolbar_applet-toolbar-common-gtk.Po
cc -DHAVE_CONFIG_H -I. -I../uim -I../replace -I../uim -I.. -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/db4 -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt3/include -D_REENTRANT -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/X11R7/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/libpng12 -Wall -O2 -pipe -mfpmath=sse -msse3 -march=athlon64 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/pkg/include/nss -I/usr/pkg/include/nspr -I/usr/pkg/include/db4 -I/usr/X11R7/include/freetype2 -I/usr/pkg/qt3/include -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wno-long-long
-DNDEBUG -Wno-error -MT uim_candwin_gtk-candwin-gtk.o -MD -MP -MF .deps/uim_candwin_gtk-candwin-gtk.Tpo -c -o uim_candwin_gtk-candwin-gtk.o `test -f 'candwin-gtk.c' || echo './'`candwin-gtk.c
toolbar-applet-gnome.c:41:19: error: gnome.h: No such file or directory
toolbar-applet-gnome.c:86: warning: string length '966' is greater than the length '509' ISO C89 compilers are required to support
toolbar-applet-gnome.c: In function 'display_about_dialog':
toolbar-applet-gnome.c:164: warning: implicit declaration of function 'gnome_about_new'
toolbar-applet-gnome.c:164: warning: nested extern declaration of 'gnome_about_new'
toolbar-applet-gnome.c:171: warning: assignment makes pointer from integer without a cast
gmake[1]: *** [uim_toolbar_applet-toolbar-applet-gnome.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
mv -f .deps/uim_candwin_gtk-candwin-gtk.Tpo .deps/uim_candwin_gtk-candwin-gtk.Po
gmake[1]: Leaving directory `/usr/pkgsrc/inputmethod/uim/work/uim-1.5.5/helper'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/inputmethod/uim
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/inputmethod/uim
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: VEG03617@nifty.com
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re:pkg/41071: inputmethod/uim fails to build with "gnome" option (fwd)
Date: Sun, 29 Mar 2009 11:25:53 +0000 (UTC)
>Submitter-Id: net
>Originator: Ei Ohno
>Organization:
>Confidential: no
>Synopsis: Re:pkg/41071: inputmethod/uim fails to build with "gnome" option (fwd)
>Severity: serious
>Priority: medium
>Category: pkg
>Class: change-request
>Release: 4.0.1-RELEASE
>Environment:
>Description:
I fixed that inputmethod/uim fails to build with "gnome" option and It will do for the time being.
>How-To-Repeat:
>Fix:
Apply the following patch for uim/options.mk.
--- options.mk 2009-03-28 02:04:26.000000000 +0900
+++ options.mk 2009-03-28 01:45:33.000000000 +0900
@@ -56,6 +56,8 @@
.endif
.if !empty(PKG_OPTIONS:Mgnome)
. include "../../x11/gnome-panel/buildlink3.mk"
+CFLAGS+= -I$(BUILDLINK_PREFIX.libgnomeui)/include/libgnomeui-2.0
+LDFLAGS+= -lgnomeui-2
PLIST.gnome= yes
.else
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
To: gnats-bugs@NetBSD.org, VEG03617@nifty.com
Cc:
Subject: Re: pkg/41071: inputmethod/uim fails to build with "gnome" option
(fwd)
Date: Tue, 31 Mar 2009 10:44:35 +0900 (JST)
In the message on Sun, 29 Mar 2009 11:30:03 +0000 (UTC),
VEG03617@nifty.com wrote:
> I fixed that inputmethod/uim fails to build with "gnome" option and
> It will do for the time being.
Yes, it fixes the problem.
--
Ryo HAYASAKA <ryoh@jaist.ac.jp>
Japan Advanced Institute of Science and Technology (JAIST)
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 17 May 2009 05:21:37 +0000
State-Changed-Why:
workaround was added and fixed.
BUILDLINK_TRANSFORM is better than LDFLAGS,
avoid to link with libgnomeui-2 other than gnome panel applets.
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41071 CVS commit: pkgsrc/inputmethod/uim
Date: Sun, 17 May 2009 05:06:02 +0000
Module Name: pkgsrc
Committed By: obache
Date: Sun May 17 05:06:02 UTC 2009
Modified Files:
pkgsrc/inputmethod/uim: options.mk
Log Message:
Add workaround to fix build failure with gnome option
(gnome-panel>=2.25.3, libpanel-applet doesn't depend on libgnomeui anymore),
Fixes PR 41071.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/inputmethod/uim/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
|
|