From jdunn@verticalscope.com  Wed Mar 27 13:08:32 2002
Return-Path: <jdunn@verticalscope.com>
Received: from chrome.verticalscope.com (226.42.234.216.rev.connection.ca [216.234.42.226])
	by hub.freebsd.org (Postfix) with ESMTP id 0DC9E37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Mar 2002 13:08:32 -0800 (PST)
Received: from jedi.office.verticalscope.com (jedi.office.verticalscope.com [10.10.10.7])
	by chrome.verticalscope.com (Postfix) with ESMTP id DCBEF255
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Mar 2002 16:08:05 -0500 (EST)
Received: by jedi.office.verticalscope.com (Postfix, from userid 533)
	id 1A0381890; Wed, 27 Mar 2002 16:08:25 -0500 (EST)
Message-Id: <20020327210825.1A0381890@jedi.office.verticalscope.com>
Date: Wed, 27 Mar 2002 16:08:25 -0500 (EST)
From: Julian Dunn <jdunn@verticalscope.com>
Reply-To: Julian Dunn <jdunn@verticalscope.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: BitchX-gnome-1.0c18 fails to build due to incorrect location of zvt includes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36387
>Category:       ports
>Synopsis:       BitchX-gnome-1.0c18 fails to build due to incorrect location of zvt includes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 27 13:10:02 PST 2002
>Closed-Date:    Wed May 15 18:58:51 PDT 2002
>Last-Modified:  Wed May 15 18:58:51 PDT 2002
>Originator:     Julian C. Dunn
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
VerticalScope Inc.
>Environment:
System: FreeBSD jedi.office.verticalscope.com 4.5-STABLE FreeBSD 4.5-STABLE #8: Thu Mar 21 13:07:30 EST 2002 sith@jedi.verticalscope.com:/usr/obj/usr/src/sys/YODA i386

>Description:
	BitchX fails to build when gnome is installed because the libzvt
	headers are in /usr/X11R6/include/gnome-1.0/zvt, instead of
	/usr/X11R6/include/zvt (or another path within the include path)

>How-To-Repeat:
	Install gnomelibs-1.4.1.4_1
	Try to build BitchX. The following occurs:

	cc -I. -I/usr/ports/irc/bitchx/work/BitchX/include -I../include -I. -I./include  -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/local/include/glib12 -O -Wall -pipe  -c ./term.c
In file included from ./term.c:642:
gtkbitchx.c:6: zvt/zvtterm.h: No such file or directory

	followed by a whole bunch of errors.
>Fix:

	A workaround is to make a soft link from /usr/X11R6/include/gnome-1.0/zvt to /usr/X11R6/include/zvt. A patch to the port should probably be made to fix the include path.

>Release-Note:
>Audit-Trail:

From: Tilman Linneweh <tilman@arved.de>
To: FreeBSD gnats <freebsd-gnats-submit@FreeBSD.org>,
	jdunn@verticalscope.com
Cc:  
Subject: Re: ports/36387: BitchX-gnome-1.0c18 fails to build due to
	incorrect location of zvt includes
Date: 15 May 2002 16:31:16 +0200

 Hello Julian,
 
 BitchX has been updated.
 I could not reproduce this with BitchX-gnome-1.0c19 and
 gnomelibs-1.4.1.6_1. 
 
 Could you?
 
 regards arved

From: "Julian C. Dunn" <jdunn@verticalscope.com>
To: Tilman Linneweh <tilman@arved.de>
Cc: FreeBSD gnats <freebsd-gnats-submit@FreeBSD.org>
Subject: Re: ports/36387: BitchX-gnome-1.0c18 fails to build due to
	incorrect location of zvt includes
Date: 15 May 2002 12:51:42 -0400

 On Wed, 2002-05-15 at 10:31, Tilman Linneweh wrote:
 
 > BitchX has been updated.
 > I could not reproduce this with BitchX-gnome-1.0c19 and
 > gnomelibs-1.4.1.6_1. 
 > 
 > Could you?
 
 Yes, I can:
 
 --->  Installing 'BitchX-gnome-1.0c19' from a port (irc/bitchx)
 --->  Building '/usr/ports/irc/bitchx'
 <snip>
 cc -I. -I/usr/ports/irc/bitchx/work/BitchX/include -I../include -I.
 -I./include  -D_THREAD_SAFE -I/usr/X11R6/include
 -I/usr/X11R6/include/gtk12 -I/usr/local/include
 -I/usr/local/include/glib12 -O -Wall -pipe  -c ./term.c
 In file included from ./term.c:646:
 gtkbitchx.c:6: zvt/zvtterm.h: No such file or directory
 In file included from ./term.c:646:
 gtkbitchx.c: In function `output_info':
 gtkbitchx.c:487: warning: implicit declaration of function
 `zvt_term_feed'
 gtkbitchx.c:487: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:487: (Each undeclared identifier is reported only once
 gtkbitchx.c:487: for each function it appears in.)
 gtkbitchx.c:487: syntax error before `)'
 gtkbitchx.c:487: warning: left-hand operand of comma expression has no
 effect
 gtkbitchx.c:487: warning: left-hand operand of comma expression has no
 effect
 gtkbitchx.c:487: syntax error before `)'
 gtkbitchx.c: In function `gtk_sizewindow':
 gtkbitchx.c:494: warning: implicit declaration of function
 `zvt_term_set_size'
 gtkbitchx.c:494: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:494: syntax error before `)'
 gtkbitchx.c: In function `gtk_contextmenu':
 gtkbitchx.c:674: warning: implicit declaration of function
 `zvt_term_get_buffer'
 gtkbitchx.c:674: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:674: syntax error before `)'
 gtkbitchx.c:750: warning: implicit declaration of function
 `vt_get_selection'
 gtkbitchx.c:750: syntax error before `)'
 gtkbitchx.c:754: warning: assignment makes pointer from integer without
 a cast
 gtkbitchx.c:638: warning: `zvt_buffer' might be used uninitialized in
 this function
 gtkbitchx.c: In function `zvt_load_font':
 gtkbitchx.c:843: warning: implicit declaration of function
 `zvt_term_set_fonts'
 gtkbitchx.c:843: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:843: syntax error before `)'
 gtkbitchx.c:844: syntax error before `)'
 gtkbitchx.c:845: syntax error before `)'
 gtkbitchx.c: In function `gtk_windowicon':
 gtkbitchx.c:869: warning: implicit declaration of function
 `gdk_imlib_data_to_pixmap'
 gtkbitchx.c: In function `gtk_command_handler':
 gtkbitchx.c:1861: warning: implicit declaration of function
 `zvt_term_set_color_scheme'
 gtkbitchx.c:1861: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:1861: syntax error before `)'
 gtkbitchx.c:1910: syntax error before `)'
 gtkbitchx.c: In function `window_map':
 gtkbitchx.c:2042: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:2042: syntax error before `)'
 gtkbitchx.c: In function `gtkbx_init':
 gtkbitchx.c:2112: warning: implicit declaration of function
 `zvt_term_new'
 gtkbitchx.c:2113: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:2113: syntax error before `)'
 gtkbitchx.c:2114: warning: implicit declaration of function
 `zvt_term_set_scrollback'
 gtkbitchx.c:2114: syntax error before `)'
 gtkbitchx.c:2115: warning: implicit declaration of function
 `zvt_term_set_blink'
 gtkbitchx.c:2115: syntax error before `)'
 gtkbitchx.c:2116: warning: implicit declaration of function
 `zvt_term_set_bell'
 gtkbitchx.c:2116: syntax error before `)'
 gtkbitchx.c:2176: syntax error before `)'
 gtkbitchx.c:2180: warning: implicit declaration of function
 `zvt_term_set_background'
 gtkbitchx.c:2180: syntax error before `)'
 gtkbitchx.c:2180: warning: left-hand operand of comma expression has no
 effect
 gtkbitchx.c:2180: warning: left-hand operand of comma expression has no
 effect
 gtkbitchx.c:2180: warning: left-hand operand of comma expression has no
 effect
 gtkbitchx.c:2180: syntax error before `)'
 gtkbitchx.c:2182: syntax error before `)'
 gtkbitchx.c: In function `gtk_new_window':
 gtkbitchx.c:2570: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:2570: syntax error before `)'
 gtkbitchx.c:2571: syntax error before `)'
 gtkbitchx.c:2572: syntax error before `)'
 gtkbitchx.c:2576: syntax error before `)'
 gtkbitchx.c:2576: warning: left-hand operand of comma expression has no
 effect
 gtkbitchx.c:2576: warning: left-hand operand of comma expression has no
 effect
 gtkbitchx.c:2576: warning: left-hand operand of comma expression has no
 effect
 gtkbitchx.c:2576: syntax error before `)'
 gtkbitchx.c:2633: syntax error before `)'
 gtkbitchx.c:2644: syntax error before `)'
 gtkbitchx.c: In function `gui_screen':
 gtkbitchx.c:3064: `ZvtTerm' undeclared (first use in this function)
 gtkbitchx.c:3064: syntax error before `)'
 gtkbitchx.c:3065: syntax error before `)'
 gtkbitchx.c: In function `gui_startup':
 gtkbitchx.c:3288: warning: implicit declaration of function
 `gdk_imlib_init'
 gmake[1]: *** [term.o] Error 1
 gmake[1]: Leaving directory `/usr/ports/irc/bitchx/work/BitchX/source'
 gmake: *** [gtkBitchX] Error 2
 *** Error code 2
 
 Stop in /usr/ports/irc/bitchx.
 ** Command failed: make
 ** Fix the problem and try again.
 ** The following packages were not installed or upgraded (*:skipped /
 !:failed)
 	! irc/bitchx	(missing header)
 ]0;jdunn@jedi.office.verticalscope.com: /usr/portsjedi:/usr/ports$
 locate zvtterm.h
 /usr/X11R6/include/gnome-1.0/zvt/zvtterm.h
 /usr/X11R6/share/gnome/html/zvt/zvt-zvtterm.html
 /usr/X11R6/share/gnome/html/zvt/zvtterm.html
 /usr/X11R6/share/gnome/html/zvtterm.html
 ]0;jdunn@jedi.office.verticalscope.com: /usr/portsjedi:/usr/ports$
 pkg_info -W /usr/X11R6/include/gnome-1.0/zvt/zvtterm.h
 /usr/X11R6/include/gnome-1.0/zvt/zvtterm.h was installed by package
 gnomelibs-1.4.1.6_1
 ]0;jdunn@jedi.office.verticalscope.com: /usr/portsjedi:/usr/ports$
 exit
 
 Script done on Wed May 15 12:48:37 2002
 
 
 -- 
 Julian C. Dunn, B.A.Sc.   <jdunn@verticalscope.com>
 Senior Software Developer, VerticalScope Inc.
 111 Peter St., Suite 700, Toronto, ON
 Tel: (416) 341-8950 x236  Fax: (416) 341-8959
State-Changed-From-To: open->closed 
State-Changed-By: pat 
State-Changed-When: Wed May 15 18:58:00 PDT 2002 
State-Changed-Why:  
Fixed, Thanks for the report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36387 
>Unformatted:
