Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2001 22:57:53 -0400 (EDT)
From:      gallatin@cs.duke.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29463: x11-toolkits/guile-gnome doesn't build
Message-ID:  <200108050257.f752vrm15445@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

>Number:         29463
>Category:       ports
>Synopsis:       x11-toolkits/guile-gnome doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 04 20:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 4.3-STABLE alpha
>Organization:
>Environment:
System: FreeBSD thunder 4.3-STABLE FreeBSD 4.3-STABLE #5: Thu Aug  2
16:22:23 EDT 2001 gallatin@thunder:/usr/src/sys/compile/THUNDER  alpha

>Description:

guile-gnome-0.20_3 fails to compile:

/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I..
-I./.. -I../../guile-gtk -I./../../guile-gtk       -I/usr/
local/include -I/usr/local/include -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/usr/local/include/glib12 -I/usr/local/include
-I/usr/X
11R6/include/gtk12  -I/usr/local/include  -O -pipe -mcpu=ev56
-I/usr/local/include -c gtkhtml-glue.c
rm -f .libs/gtkhtml-glue.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I./.. -I../../guile-gtk -I./../../guile-gtk -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include -O -pipe -mcpu=ev56 -I/usr/local/include -c gtkhtml-glue.c  -fPIC -DPIC -o .libs/gtkhtml-glue.lo
gtkhtml-glue.c:113: warning: initialization makes integer from pointer without a cast
gtkhtml-glue.c:113: initializer element is not computable at load time
gtkhtml-glue.c:113: (near initialization for `sgtk_gtk_htmlstream_info_gtk.object_size')
gtkhtml-glue.c: In function `sgtk_gtk_html_get_title':
gtkhtml-glue.c:616: warning: passing arg 1 of `scm_take0str' discards qualifiers from pointer target type
*** Error code 1

Stop in
/home/gallatin/ports/x11-toolkits/guile-gnome/work/gnome-guile-0.20/guile-gnome/gtkhtml.
*** Error code 1

Stop in
/home/gallatin/ports/x11-toolkits/guile-gnome/work/gnome-guile-0.20/guile-gnome.
*** Error code 1

Stop in /home/gallatin/ports/x11-toolkits/guile-gnome/work/gnome-guile-0.20.
*** Error code 1

Stop in /home/gallatin/ports/x11-toolkits/guile-gnome/work/gnome-guile-0.20.
*** Error code 1

Stop in /home/gallatin/ports/x11-toolkits/guile-gnome.
*** Error code 1

Stop in /home/gallatin/ports/x11-toolkits/guile-gnome.
*** Error code 1

Stop in /home/gallatin/ports/x11-toolkits/guile-gnome.


This is due to this code:

GtkTypeInfo sgtk_gtk_htmlstream_info_gtk = {
  "GtkHTMLStream", "sizeof (GtkHTMLStream)", 0,
  (GtkClassInitFunc) NULL,
  (GtkObjectInitFunc) NULL,
  (GtkArgSetFunc) NULL,
  (GtkArgGetFunc) NULL,
  (GtkClassInitFunc) NULL,
};

From the struct definition in /usr/X11R6/include/gtk12/gtk/gtktypeutils.h, 
the second element should be a "guint". However, removing the quotes from the
sizeof((GtkHTMLStream) Doesn't seem to help -- the compiler still cannot
determine the size of a GtkHTMLStream.



>How-To-Repeat:

Attempt to build the x11/gnome port.

>Fix:

Unknown


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108050257.f752vrm15445>