NetBSD Problem Report #27217

Received: (qmail 22427 invoked by uid 605); 10 Oct 2004 21:54:48 -0000
Message-Id: <20041010215445.17734251F78@narn.netbsd.org>
Date: Sun, 10 Oct 2004 21:54:45 +0000 (UTC)
From: geos@epost.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: geos@epost.de
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc/devel/libtool-base does not honor $RANLIB
X-Send-Pr-Version: www-1.0

>Number:         27217
>Category:       pkg
>Synopsis:       pkgsrc/devel/libtool-base does not honor $RANLIB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tv
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 10 21:55:06 +0000 2004
>Closed-Date:    Sun Oct 17 16:40:28 +0000 2004
>Last-Modified:  Sun Oct 17 16:40:28 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
pkgsrc/devel/libtool-base does not honor $RANLIB, which is particularly disturbing on systems that do not have (nor need) ranlib.
>How-To-Repeat:

>Fix:
CONFIGURE_ENV+=         ac_cv_prog_RANLIB="${RANLIB}"
>Release-Note:
>Audit-Trail:

From: Todd Vierling <tv@duh.org>
To: geos@epost.de
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/27217: pkgsrc/devel/libtool-base does not honor $RANLIB
Date: Mon, 11 Oct 2004 12:59:42 -0400 (EDT)

 > IRIX lorenz 5.3 08031225 IP20 mips

 > pkgsrc/devel/libtool-base does not honor $RANLIB, which is particularly
 > disturbing on systems that do not have (nor need) ranlib.

 How does this break IRIX (or whatever platform you're actually using)?

 libtool has a check built in to disable ranlib if it doesn't exist, and
 systems which have ranlib (but on which it does nothing) should not be a
 problem.  So I have a hard time seeing what's broken here.

 -- 
 -- Todd Vierling <tv@duh.org> <tv@pobox.com>
Responsible-Changed-From-To: pkg-manager->tv 
Responsible-Changed-By: reed 
Responsible-Changed-When: Mon Oct 11 17:19:00 UTC 2004 
Responsible-Changed-Why:  
Assigned to tv. 

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: pkg-bug-handler@NetBSD.org
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/27217: pkgsrc/devel/libtool-base does not honor $RANLIB
Date: Mon, 11 Oct 2004 10:19:54 -0700 (PDT)

 On Sun, 10 Oct 2004 geos@epost.de wrote:

 > >Number:         27217
 > >Category:       pkg
 > >Synopsis:       pkgsrc/devel/libtool-base does not honor $RANLIB

 Assigned to tv.

  Jeremy C. Reed

  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/

State-Changed-From-To: open->feedback 
State-Changed-By: tv 
State-Changed-When: Tue Oct 12 01:53:41 UTC 2004 
State-Changed-Why:  
Awaiting feedback from PR author as to whether anything actually breaks 
(or if ranlib is just a no-op). 

From: geos@epost.de (Georg Schwarz)
To: gnats-bugs@NetBSD.org
Cc:  
Subject: Re: pkg/27217
Date: Fri, 15 Oct 2004 22:28:14 +0200

 When libtool-base does not find ranlib it adds RANLIB=ranlib as a
 default to ${LOCALBASE}/bin/libtool. On IRIX ranlib does not exist (and
 therefore pkgsrc defines RANLIB=true on IRIX).
 Now when compiling packages that use libtool (e.g. devel/readline, just
 as an example), I end up with

 (cd .libs && rm -f libreadline.so.5 && ln -s libreadline.so.5.3
 libreadline.so.5)
 (cd .libs && rm -f libreadline.so && ln -s libreadline.so.5.3
 libreadline.so)
 (cd .libs && rm -f libreadline.so && ln -s libreadline.so.5.3
 libreadline.so)
 ar cru .libs/libreadline.a  readline.o vi_mode.o funmap.o keymaps.o
 parens.o search.o rltty.o complete.o bind.o isearch.o display.o
 signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o
 text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o
 histsearch.o shell.o mbutil.o tilde.o
 ranlib .libs/libreadline.a
 /usr/local/pkg/bin/libtool[5463]: ranlib:  not found
 *** Error code 1

 --  
 Georg Schwarz    http://home.pages.de/~schwarz/
  geos@epost.de     +49 177 8811442

From: Todd Vierling <tv@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/27217 CVS commit: pkgsrc/devel/libtool
Date: Sun, 17 Oct 2004 16:37:02 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tv
 Date:		Sun Oct 17 16:37:02 UTC 2004

 Modified Files:
 	pkgsrc/devel/libtool: Makefile.common

 Log Message:
 Pass RANLIB path down to libtool's configure script; addresses PR pkg/27217.


 To generate a diff of this commit:
 cvs rdiff -r1.55 -r1.56 pkgsrc/devel/libtool/Makefile.common

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

State-Changed-From-To: feedback->closed 
State-Changed-By: tv 
State-Changed-When: Sun Oct 17 16:40:15 UTC 2004 
State-Changed-Why:  
A fix was committed. 
>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.