From nobody@FreeBSD.ORG Sat Aug 21 11:36:17 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 1E4AC1522E; Sat, 21 Aug 1999 11:36:17 -0700 (PDT)
Message-Id: <19990821183617.1E4AC1522E@hub.freebsd.org>
Date: Sat, 21 Aug 1999 11:36:17 -0700 (PDT)
From: remy@synx.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: glib12 libraries named '-12' instead of 12
X-Send-Pr-Version: www-1.0

>Number:         13298
>Category:       ports
>Synopsis:       glib12 libraries named '-12' instead of 12
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    cpiazza
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 11:40:03 PDT 1999
>Closed-Date:    Sun Aug 29 12:37:34 PDT 1999
>Last-Modified:  Tue Aug 31 01:20:00 PDT 1999
>Originator:     Remy Nonnenmacher
>Release:        3.2-STABLE
>Organization:
Synchronix
>Environment:
FreeBSD fs3.synx.com 3.2-STABLE FreeBSD 3.2-STABLE #5: Thu Aug 19 14:39:31 CEST 1999
     root@fs3.synx.com:/usr/src/sys/compile/FS3  i386
>Description:
When using -CURRENT ports of devel/glib12, libraries are installed under
/usr/local/lib/libg{lib,module,thread}-12.so.xxxx.
Better be /usr/local/lib/libg{lib,module,thread}12.so.xxxx as said by
pkg_info and glib12-config.

>How-To-Repeat:
cd /usr/ports/devel/glib12
make install

>Fix:
Manually change names of /usr/local/lib/libg*12* to remove the dash.


>Release-Note:
>Audit-Trail:

From: Brett Taylor <brett@peloton.runet.edu>
To: remy@synx.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/13298: glib12 libraries named '-12' instead of 12
Date: Sat, 21 Aug 1999 15:09:24 -0400 (EDT)

 Hi,
 
 On Sat, 21 Aug 1999 remy@synx.com wrote:
 
 > >Synopsis:       glib12 libraries named '-12' instead of 12
 
 > >Description: When using -CURRENT ports of devel/glib12, libraries are
 > >installed under /usr/local/lib/libg{lib,module,thread}-12.so.xxxx.
 > >Better be /usr/local/lib/libg{lib,module,thread}12.so.xxxx as said by
 > >pkg_info and glib12-config.
 
 You need to update your libtool port - pkg_delete the version of libtool
 you have now and the gtk/glib port, then rebuild and it will build the new
 version of libtool.
 
 Brett
 *****************************************************
 Brett Taylor             brett@peloton.runet.edu    *
 Dept of Chem and Physics			    *
 Curie 39A	(540) 831-6147                      *
 *****************************************************
 
 
State-Changed-From-To: open->feedback  
State-Changed-By: cpiazza 
State-Changed-When: Thu Aug 26 14:27:45 PDT 1999 
State-Changed-Why:  
Please let me know if Brett Taylor's suggestion fixed your problem. 


Responsible-Changed-From-To: freebsd-ports->cpiazza  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Thu Aug 26 14:27:45 PDT 1999 
Responsible-Changed-Why:  
So I don't forgot about this PR.. 

From: "Bryan K. Ogawa" <bkogawa@primenet.com>
To: freebsd-gnats-submit@freebsd.org, remy@synx.com
Cc: cpiazza@freebsd.org, Brett Taylor <brett@peloton.runet.edu>
Subject: Re: ports/13298: glib12 libraries named '-12' instead of 12
Date: Thu, 26 Aug 1999 20:40:25 -0700 (PDT)

 I have discovered the same problem, and I do not have a copy of libtool
 installed, as far as I can determine.  When I made and installed the
 latest version of libtool, nothing appeared to change.
 
 I will investigate further.
 
 -- 
 bryan k ogawa  <bkogawa@primenet.com>   http://www.primenet.com/~bkogawa/
 
 

From: "Bryan K. Ogawa" <bkogawa@primenet.com>
To: freebsd-gnats-submit@freebsd.org, remy@synx.com
Cc: cpiazza@freebsd.org, Brett Taylor <brett@peloton.runet.edu>
Subject: Re: ports/13298: glib12 libraries named '-12' instead of 12
Date: Fri, 27 Aug 1999 02:07:10 -0700 (PDT)

 On Thu, 26 Aug 1999, Bryan K. Ogawa wrote:
 
 > I have discovered the same problem, and I do not have a copy of libtool
 > installed, as far as I can determine.  When I made and installed the
 > latest version of libtool, nothing appeared to change.
 > 
 > I will investigate further.
 
 This problem appears like it may have to do with using an older
 bsd.port.mk which doesn't recognize USE_LIBTOOL -- I was on 3.1R instead
 of 3.2 or later.
 
 Unfortunately at the moment I don't have the ability to verify this or I
 would; I'm in the middle of doing the upgrade that was triggered by this
 discovery.
 
 -- 
 bryan k ogawa  <bkogawa@primenet.com>   http://www.primenet.com/~bkogawa/
 
 

From: "Bryan K. Ogawa" <bkogawa@primenet.com>
To: freebsd-gnats-submit@freebsd.org, remy@synx.com
Cc: cpiazza@freebsd.org, Brett Taylor <brett@peloton.runet.edu>
Subject: Re: ports/13298: glib12 libraries named '-12' instead of 12
Date: Sun, 29 Aug 1999 03:11:38 -0700 (PDT)

 On Fri, 27 Aug 1999, Bryan K. Ogawa wrote:
 
 > On Thu, 26 Aug 1999, Bryan K. Ogawa wrote:
 > 
 > > I have discovered the same problem, and I do not have a copy of libtool
 > > installed, as far as I can determine.  When I made and installed the
 > > latest version of libtool, nothing appeared to change.
 > > 
 > > I will investigate further.
 > 
 > This problem appears like it may have to do with using an older
 > bsd.port.mk which doesn't recognize USE_LIBTOOL -- I was on 3.1R instead
 > of 3.2 or later.
 > 
 > Unfortunately at the moment I don't have the ability to verify this or I
 > would; I'm in the middle of doing the upgrade that was triggered by this
 > discovery.
 
 Moving to 3.2 and libtool 1.3 does not solve this problem -- the libtool
 installed with the libtool port continues to put in the - the library
 names .
 
 What does appear to work is to make the following change to libtool:
 
 *** libtool     Sun Aug 29 03:09:29 1999
 --- /usr/local/bin/libtool      Fri Aug 27 02:28:39 1999
 ***************
 *** 1185,1191 ****
           continue
           ;;
         release)
 !         release="-$arg"
           prev=
           continue
           ;;
 --- 1185,1191 ----
           continue
           ;;
         release)
 !         release="$arg"
           prev=
           continue
           ;;
 
 However, this shouldn't be a general change to libtool, I think?
 
 Maybe USE_LIBTOOL should be left unset and the supplied libtool should be
 hacked?
 
 I don't really know.
 
 -- 
 bryan k ogawa  <bkogawa@primenet.com>   http://www.primenet.com/~bkogawa/
 
 

From: Chris Piazza <cpiazza@home.net>
To: "Bryan K. Ogawa" <bkogawa@primenet.com>
Cc: freebsd-gnats-submit@freebsd.org, remy@synx.com,
	cpiazza@freebsd.org, Brett Taylor <brett@peloton.runet.edu>
Subject: Re: ports/13298: glib12 libraries named '-12' instead of 12
Date: Sun, 29 Aug 1999 11:46:56 -0700

 On Sun, Aug 29, 1999 at 03:11:38AM -0700, Bryan K. Ogawa wrote:
 > > 
 > > This problem appears like it may have to do with using an older
 > > bsd.port.mk which doesn't recognize USE_LIBTOOL -- I was on 3.1R instead
 > > of 3.2 or later.
 > > 
 > > Unfortunately at the moment I don't have the ability to verify this or I
 > > would; I'm in the middle of doing the upgrade that was triggered by this
 > > discovery.
 > 
 > Moving to 3.2 and libtool 1.3 does not solve this problem -- the libtool
 > installed with the libtool port continues to put in the - the library
 > names .
 
 Sorry I've been silent on this for a while.  Do you have an up to date
 ports tree?  patch-ad in the libtool port does the same thing
 your patch below does:
 patch-ad:-        release="-$arg"
 patch-ad:+        release="$arg"
 
 So you should either cvsup your ports tree (*including* ports-base, which
 I suspect may be your problem) or download
 ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports.tar.gz and
 un tar/gzip it in /usr.
 
 -Chris
 -- 
 cpiazza@home.net              cpiazza@FreeBSD.org
 "It's better to be quotable than to be honest."
                                    --Tom Stoppard
 
State-Changed-From-To: feedback->closed  
State-Changed-By: cpiazza 
State-Changed-When: Sun Aug 29 12:37:34 PDT 1999 
State-Changed-Why:  
Originator reports that using the HEAD version of ports 
fixed everything 

From: "Bryan K. Ogawa" <bkogawa@primenet.com>
To: Chris Piazza <cpiazza@home.net>
Cc: freebsd-gnats-submit@freebsd.org, remy@synx.com,
	cpiazza@freebsd.org, Brett Taylor <brett@peloton.runet.edu>
Subject: Re: ports/13298: glib12 libraries named '-12' instead of 12
Date: Tue, 31 Aug 1999 01:12:16 -0700 (PDT)

 On Sun, 29 Aug 1999, Chris Piazza wrote:
 
 > On Sun, Aug 29, 1999 at 03:11:38AM -0700, Bryan K. Ogawa wrote:
 [...]
 > > Moving to 3.2 and libtool 1.3 does not solve this problem -- the libtool
 > > installed with the libtool port continues to put in the - the library
 > > names .
 
 > Sorry I've been silent on this for a while.  Do you have an up to date
 > ports tree?  patch-ad in the libtool port does the same thing
 > your patch below does:
 > patch-ad:-        release="-$arg"
 > patch-ad:+        release="$arg"
 
 I took a look at the libtool port again and the newest one does the right
 thing.
 
 thanks for the help; I'll probably be submitting a port for the thing that
 started this all off for me in the first place (trying to port jpilot) in
 a day or two.
 
 Did this answer the question of the originator, though?
 
 -- 
 bryan k ogawa  <bkogawa@primenet.com>   http://www.primenet.com/~bkogawa/
 
 
>Unformatted:
