From nobody@FreeBSD.ORG Tue Jun 22 06:47:40 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 726D7150C0; Tue, 22 Jun 1999 06:47:40 -0700 (PDT)
Message-Id: <19990622134740.726D7150C0@hub.freebsd.org>
Date: Tue, 22 Jun 1999 06:47:40 -0700 (PDT)
From: mvh@ix.netcom.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: /usr/ports/x11-toolkits/gtk+-1.2.3 and /usr/ports/devel/glib12 fail to install
X-Send-Pr-Version: www-1.0

>Number:         12340
>Category:       ports
>Synopsis:       /usr/ports/x11-toolkits/gtk+-1.2.3 and /usr/ports/devel/glib12 fail to install
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 22 06:50:01 PDT 1999
>Closed-Date:    Tue Jun 22 11:03:31 PDT 1999
>Last-Modified:  Tue Jun 22 11:04:12 PDT 1999
>Originator:     Michael Harding
>Release:        3.2-stable
>Organization:
>Environment:
FreeBSD netcom1.netcom.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Mon Jun 21 09:37:54 PDT 1999     mvh@netcom1.netcom.com:/usr/src/sys/compile/MIKE  i386
>Description:
I am unable to install /usr/ports/graphics/gimp1 because the install
always fails to properly install or check /usr/ports/devel/glib12.
The library is apparently installed as libglib-12.so.2 but all of the
scripts seem to check for libglib12.2.  This causes the port to try
to install /usr/ports/devel/glib12 again, which fails because it is
already installed.

snipped from a make of gimp1:

===>  Extracting for gimp-1.1.5
...
===>   gimp-1.1.5 depends on shared library: jpeg.9 - found
===>   gimp-1.1.5 depends on shared library: gtk12.2 - not found
===>    Verifying install for gtk12.2 in /usr/ports/x11-toolkits/gtk12
===>  Extracting for gtk-1.2.3
>How-To-Repeat:
on a fresh 3.2-stable system try to install /usr/ports/graphics/gimp1.
>Fix:
Possibly the Gnu naming conventions have changed to add a '-' to the
library names, or something else has changed which affects this.  I'm
not sure exactly where the problem likes, but the fix is probably
either removing the '-' from the library names, or adding a '-' to the
makefiles of the ports which depend on this library.  I'm not sure
what happened as I was able to build gimp a month or so ago, I think.

>Release-Note:
>Audit-Trail:

From: Chris Piazza <cpiazza@home.net>
To: mvh@ix.netcom.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/12340: /usr/ports/x11-toolkits/gtk+-1.2.3 and /usr/ports/devel/glib12 fail to install
Date: Tue, 22 Jun 1999 07:38:47 -0700

 On Tue, Jun 22, 1999 at 06:47:40AM -0700, mvh@ix.netcom.com wrote:
 > The library is apparently installed as libglib-12.so.2 but all of the
 > scripts seem to check for libglib12.2.  This causes the port to try
 
 Argh! you've hit the death-trap of gtk/glib/libtool et al!
 Try this:
 	- Delete the ports of gtk, glib, libtool
 	- Make sure all your ports are updated
 	- Try again.
 	- Report back if the problem goes away or doesn't.
 
 Hope this helps.
 
 -Chris
 -- 
 cpiazza@home.net                cpiazza@FreeBSD.ORG
 FreeBSD: The power to serve! http://www.FreeBSD.ORG
 

From: mvh@ix.netcom.com (Mike Harding)
To: cpiazza@home.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/12340: /usr/ports/x11-toolkits/gtk+-1.2.3 and /usr/ports/devel/glib12 fail to install
Date: Tue, 22 Jun 1999 09:27:48 -0700 (PDT)

 Removing and rebuilding all of the ports seems to have fixed it.
 Thanks!
 
 - Mike H.
 
State-Changed-From-To: open->closed  
State-Changed-By: cpiazza 
State-Changed-When: Tue Jun 22 11:03:31 PDT 1999 
State-Changed-Why:  
Submitter reports that a reinstall of libtool fixed the problem. 
>Unformatted:
 >> Checksum OK for gtk+-1.2.3.tar.gz
 ...
 Making all in docs
 cp glib-config.1 glib12-config.1
 ===>  Installing for glib-1.2.3
 ===>  glib-1.2.3 is already installed - perhaps an older version?
       If so, you may wish to ``make deinstall'' and install
       this port again by ``make reinstall'' to upgrade it properly.
       If you really wish to overwrite the old port of glib-1.2.3
       without deleting it first, set the variable "FORCE_PKG_REGISTER"
       in your environment or the "make install" command line.
 *** Error code 1
 
 Stop.
 *** Error code 1
 ...
 
