NetBSD Problem Report #23058

Received: (qmail 21227 invoked by uid 605); 5 Oct 2003 06:06:12 -0000
Message-Id: <11413-1065333972@rainier.reedmedia.net>
Date: Sat, 04 Oct 2003 23:06:12 -0700
From: reed@reedmedia.net
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: set version_type=sunos for bsdi in libtool
X-Send-Pr-Version: 3.95

>Number:         23058
>Category:       pkg
>Synopsis:       set version_type=sunos for bsdi in libtool
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 05 06:07:01 +0000 2003
>Closed-Date:    Wed Dec 03 21:52:27 +0000 2003
>Last-Modified:  Wed Dec 03 21:52:27 +0000 2003
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:


System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
libtool-base, libiconv, apr, imap-uw, gettext-lib were all installing
wrong .so files.
>How-To-Repeat:

>Fix:

May I commit this?

Index: devel/libtool/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/patches/patch-aa,v
retrieving revision 1.30
diff -b -u -r1.30 patch-aa
--- devel/libtool/patches/patch-aa	27 Mar 2003 18:56:58 -0000	1.30
+++ devel/libtool/patches/patch-aa	4 Oct 2003 19:57:28 -0000
@@ -1,7 +1,14 @@
-$NetBSD: patch-aa,v 1.30 2003/03/27 18:56:58 jschauma Exp $
+--- ltconfig.in.orig	Mon May 21 00:05:06 2001
++++ ltconfig.in	Sat Oct  4 14:32:02 2003
+@@ -1052,7 +1052,7 @@
+   ;;

---- ltconfig.in.orig	Sun May 20 21:05:06 2001
-+++ ltconfig.in	Thu Mar 27 10:05:44 2003
+ bsdi4*)
+-  version_type=linux
++  version_type=sunos
+   need_version=no
+   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+   soname_spec='${libname}${release}.so$major'
 @@ -1104,7 +1104,7 @@
    version_type=darwin
    need_lib_prefix=no
Index: devel/libtool/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/distinfo,v
retrieving revision 1.27
diff -b -u -r1.27 distinfo
--- devel/libtool/distinfo	25 Sep 2003 02:41:52 -0000	1.27
+++ devel/libtool/distinfo	4 Oct 2003 19:57:28 -0000
@@ -2,7 +2,7 @@

 SHA1 (libtool-ml-20010614.tar.gz) = ff746666737e420592c3017d65bf4c47f1430dac
 Size (libtool-ml-20010614.tar.gz) = 784246 bytes
-SHA1 (patch-aa) = a3b37684e39b34077c3026a72787218942648bdf
+SHA1 (patch-aa) = 6f7676483937802526b2f6dc89ba08f0019ed374
 SHA1 (patch-ab) = 82350e1a9b03ecb8a26ebd02692f5cb3bb289fae
 SHA1 (patch-ac) = 61196acaa12edee0b1209b2ba7c6414453bfa438
 SHA1 (patch-ad) = 6aab76688d0f55648e35adc45a3492ba9c87acfb


It may be useful to match bsdi* instead of bsdi4, but I will research that
later. Also, I have been adding support for BSD/OS, but still haven't
imported my defs.BSDOS.mk and /mk/BSDOS.pkg.dist files yet. I am waiting
for feedback. I have built and installed over 14 packages fine.
>Release-Note:
>Audit-Trail:

From: jmmv@menta.net
To: reed@reedmedia.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/23058: set version_type=sunos for bsdi in libtool
Date: Sun, 5 Oct 2003 11:11:05 +0200

 On Sat, Oct 04, 2003 at 11:06:12PM -0700, reed@reedmedia.net wrote:
 > 
 > >Fix:
 > 
 > May I commit this?
 [...]

 Something similar (if not the same) is happening in FreeBSD.  Please discuss
 this issue with xtraeme@ too, so both systems can be fixed at once.

 -- 
 Julio M. Merino Vidal <jmmv@menta.net>
 The NetBSD Project - http://www.NetBSD.org/

From: "Jeremy C. Reed" <reed@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23058 CVS commit: pkgsrc/devel/libtool
Date: Wed,  3 Dec 2003 21:18:20 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	reed
 Date:		Wed Dec  3 21:18:19 UTC 2003

 Modified Files:
 	pkgsrc/devel/libtool: Makefile.common distinfo
 	pkgsrc/devel/libtool/patches: patch-aa

 Log Message:
 Fix bsdi4 (BSD/OS) support in ltconfig (via patch-aa).
 (Set version_type=sunos for bsdi in libtool.)
 Regenerate distinfo for patch-aa.
 Bump PKGREVISION (especially so BSD/OS support will work
 using _OPSYS_LIBTOOL_REQD.)
 This is for my PR #23058.


 To generate a diff of this commit:
 cvs rdiff -r1.35 -r1.36 pkgsrc/devel/libtool/Makefile.common
 cvs rdiff -r1.28 -r1.29 pkgsrc/devel/libtool/distinfo
 cvs rdiff -r1.30 -r1.31 pkgsrc/devel/libtool/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: reed 
State-Changed-When: Wed Dec 3 21:51:07 UTC 2003 
State-Changed-Why:  
I committed the changes. 

Juan RP and I were unable to test the FreeBSD changes at this time, 
so only BSDOS for now. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.