Subject: pkg/29535: devel/libgnome fail to compile on amd64 port
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <yui@yui.pe.kr>
List: pkgsrc-bugs
Date: 02/26/2005 14:49:00
>Number:         29535
>Category:       pkg
>Synopsis:       devel/libgnome fail to compile on amd64 port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 26 14:49:00 +0000 2005
>Originator:     Kibum Han
>Release:        NetBSD 2.99.16
>Organization:
n/a
>Environment:
NetBSD caspar.wowdns.com 2.99.16 NetBSD 2.99.16 (YUIKERNEL) #0: Fri Feb 18 11:40:43 KST 2005  root@caspar.wowdns.com:/usr/obj/sys/arch/amd64/compile/YUIKERNEL amd64
>Description:
devel/libgnome does not compile on amd64.
error messages are:
 cc -DHAVE_CONFIG_H -I. -I.. -I./.. -pthread -DORBIT2=1 -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/include/glib/glib-2.0 -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/lib/glib-2.0/include -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/include/gnome-vfs-2.0 -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/lib/gnome-vfs-2.0/include -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/include/bonobo-activation-2.0 -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/include/libbonobo-2.0 -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/include/gconf/2 -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/include/orbit-2.0 -I/home/yui/pkgsrc/pkgsrc/devel/libgnome/work/.buildlink/include -DG_DISABLE_DEPRECATED -DLIBGNOME_PREFIX=\"/usr/pkg\" -DLIBGNOME_LIBDIR=\"/usr/pkg/lib\" -DLIBGNOME_DATADIR=\"/usr/pkg/share\" -DLIBGNOME_BINDIR=\"/usr/pkg/bin\" -DLIBGNOME_LOCALSTATEDIR=\"/var\" -DLIBGNOME_SYSCONFDIR=\"/usr/pkg/etc\" -
 DVERSION=\"2.8.1\" -DGNOMEVFSVERSION=\"2.8.3\" -DG_LOG_DOMAIN=\"Gnome\" -O2 -g -MT gnome-program.lo -MD -MP -MF .deps/gnome-program.Tpo -c gnome-program.c  -fPIC -DPIC -o .libs/gnome-program.o
gnome-program.c: In function `gnome_program_init_paramv':
gnome-program.c:1931: error: invalid initializer
gmake[3]: *** [gnome-program.lo] &#50724;&#47448; 1


>How-To-Repeat:
On NetBSD/amd64, cd devel/libgnome; make

>Fix:
$NetBSD$

--- libgnome/gnome-program.c.orig       2005-02-26 23:16:43.000000000 +0900
+++ libgnome/gnome-program.c
@@ -1928,7 +1928,7 @@ gnome_program_init_paramv (GType type,
                            int argc, char **argv,
                            guint nparams, GParameter *params)
 {
-    va_list args = 0;
+    va_list args;
 
     return gnome_program_init_common (type, app_id, app_version, module_info,
                                      argc, argv, NULL, args, nparams, params);