From benno@rat-thing.netizen.com.au  Thu Feb 24 22:07:11 2000
Return-Path: <benno@rat-thing.netizen.com.au>
Received: from rat-thing.netizen.com.au (rat-thing.netizen.com.au [203.30.75.120])
	by hub.freebsd.org (Postfix) with ESMTP id F419637BDD3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 24 Feb 2000 22:07:07 -0800 (PST)
	(envelope-from benno@rat-thing.netizen.com.au)
Received: (from benno@localhost)
	by rat-thing.netizen.com.au (8.9.3/8.9.3) id RAA22583;
	Fri, 25 Feb 2000 17:07:01 +1100 (EST)
	(envelope-from benno)
Message-Id: <200002250607.RAA22583@rat-thing.netizen.com.au>
Date: Fri, 25 Feb 2000 17:07:01 +1100 (EST)
From: Benno Rice <benno@rat-thing.netizen.com.au>
Reply-To: benno@rat-thing.netizen.com.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: graphics/xfig port (among others) depends on the wrong version of Xaw3d
X-Send-Pr-Version: 3.2

>Number:         16975
>Category:       ports
>Synopsis:       graphics/xfig port (among others) depends on the wrong version of Xaw3d
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 24 22:10:00 PST 2000
>Closed-Date:    Thu Feb 24 22:25:36 PST 2000
>Last-Modified:  Thu Feb 24 22:30:01 PST 2000
>Originator:     Benno Rice
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Netizen Pty Ltd
>Environment:
Twinhead Slimnote VX laptop.  Current build as of 22 Feb.  Ports cvsup as of
4:45pm, 25 Feb (Australian time)
>Description:
The xfig port depends on Xaw3d.6, whereas the current libXaw3d port builds
Xaw3d.7.  This problem also applies to:
	audio/timidity++-xaw
	cad/felt
	emulators/vice
	games/3dc
	games/xmine
	graphics/fxtv
	japanese/kterm
	japanese/kterm16c
	japanese/xfig
	math/siag
	print/gv
	x11/libsx
>How-To-Repeat:
Attempt to build xfig.
>Fix:
Apply the patch below to ports/graphics/xfig/Makefile and similar patches to
the other ports affected.

*** Makefile.orig       Fri Feb 25 16:54:52 2000
--- Makefile    Fri Feb 25 16:48:26 2000
***************
*** 17,23 ****
  
  LIB_DEPENDS=  Xpm.4:${PORTSDIR}/graphics/xpm \
                jpeg.9:${PORTSDIR}/graphics/jpeg \
!               Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d
  RUN_DEPENDS=  fig2dev:${PORTSDIR}/print/transfig
  
  USE_IMAKE=    yes
--- 17,23 ----
  
  LIB_DEPENDS=  Xpm.4:${PORTSDIR}/graphics/xpm \
                jpeg.9:${PORTSDIR}/graphics/jpeg \
!               Xaw3d.7:${PORTSDIR}/x11-toolkits/Xaw3d
  RUN_DEPENDS=  fig2dev:${PORTSDIR}/print/transfig
  
  USE_IMAKE=    yes

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ade 
State-Changed-When: Thu Feb 24 22:25:36 PST 2000 
State-Changed-Why:  
Submitter confirms that this is a known issue with XFree86 3.9.x snapshot 
releases.  Xaw3d installs itself with the same shlib rev number as Xaw. 
For XFree86 3.x, it's .6 -- for later versions, it's .7 

From: Ade Lovett <ade@lovett.com>
To: Benno Rice <benno@rat-thing.netizen.com.au>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/16975: graphics/xfig port (among others) depends on the wrong version of Xaw3d
Date: Fri, 25 Feb 2000 00:23:36 -0600

 On Fri, Feb 25, 2000 at 05:07:01PM +1100, Benno Rice wrote:
 > 
 > Twinhead Slimnote VX laptop.  Current build as of 22 Feb.  Ports cvsup as of
 > 4:45pm, 25 Feb (Australian time)
 
 Let me guess.. you're also running a pre-release of XFree86 4.x, maybe
 the 3.9.18 snapshot that came out a short while back.
 
 Xaw3d installs itself with the same shlib rev number as whatever
 libXaw itself uses.  For XFree 3.x, it's .6.. for XFree 4.x, it's .7
 
 (a 3.4-STABLE box, running XFree86 3.3.6 from ports)
 viper 10# ls -l /usr/X11R6/lib/libXaw*.so.*
 -rwxr-xr-x  1 root  wheel  249372 Feb 22 14:31 /usr/X11R6/lib/libXaw.so.6
 -rwxr-xr-x  1 root  wheel  287362 Feb 22 14:36 /usr/X11R6/lib/libXaw3d.so.6
 
 
 Your patch would therefore fix things for the few that run XFree86 4.x
 pre-releases, but break things for the rest of the world :)
 
 -aDe
 
 -- 
 Ade Lovett, Austin, TX.
 
>Unformatted:
