NetBSD Problem Report #19271
Received: (qmail 11353 invoked by uid 605); 4 Dec 2002 16:51:15 -0000
Message-Id: <20021204165110.91A287D6D@yeah-baby.shagadelic.org>
Date: Wed, 4 Dec 2002 08:51:10 -0800 (PST)
From: thorpej@shagadelic.org
Sender: gnats-bugs-owner@netbsd.org
Reply-To: thorpej@shagadelic.org
To: gnats-bugs@gnats.netbsd.org
Subject: gettext package does not build on Darwin
X-Send-Pr-Version: 3.95
>Number: 19271
>Category: pkg
>Synopsis: gettext package does not build on Darwin
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 04 16:52:00 +0000 2002
>Closed-Date: Wed Jan 22 05:23:14 +0000 2003
>Last-Modified: Wed Jan 22 05:23:14 +0000 2003
>Originator: Jason R Thorpe
>Release: Darwin Kernel Version 6.2
>Organization:
Wasabi Systems, Inc.
>Environment:
System: Darwin dhcp5.wlan.shagadelic.org 6.2 Darwin Kernel Version 6.2: Tue Nov 5 22:00:03 PST 2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
Machine: Power Macintosh
>Description:
The gettext package does not build on Darwin. It appears
as if it might be a libtool problem:
/bin/sh ../libtool --mode=link cc -g -I/Volumes/NetBSD/Darwin-pkg/include -L/Volumes/NetBSD/Darwin-pkg/lib -Wl,-R/Volumes/NetBSD/Darwin-pkg/lib -o libgettextlib.la -rpath /Volumes/NetBSD/Darwin-pkg/lib -release 0.11.5 -L/Volumes/NetBSD/Darwin-pkg/lib -liconv -R/Volumes/NetBSD/Darwin-pkg/lib -lc -no-undefined argmatch.lo backupfile.lo addext.lo basename.lo c-ctype.lo copy-file.lo error.lo execute.lo findprog.lo fstrcmp.lo full-write.lo gcd.lo getopt.lo getopt1.lo hash.lo javacomp.lo javaexec.lo linebreak.lo localcharset.lo mbswidth.lo obstack.lo concatpath.lo pipe-bidi.lo pipe-in.lo pipe-out.lo progname.lo safe-read.lo sh-quote.lo stpncpy.lo strtoul.lo tmpdir.lo wait-process.lo xerror.lo xmalloc.lo xstrdup.lo xsetenv.lo stpcpy.lo getline.lo -L/Volumes/NetBSD/Darwin-pkg/lib -Wl,-R/Volumes/NetBSD/Darwin-pkg/lib -lintl
libtool: link: warning: `/Volumes/NetBSD/users/thorpej/hack/netbsd/pkgsrc/devel/gettext/work.powerpc/.buildlink/lib/libiconv.la' seems to be moved
cc -pipe -dynamiclib -o .libs/libgettextlib-0.11.5.dylib .libs/argmatch.o .libs/backupfile.o .libs/addext.o .libs/basename.o .libs/c-ctype.o .libs/copy-file.o .libs/error.o .libs/execute.o .libs/findprog.o .libs/fstrcmp.o .libs/full-write.o .libs/gcd.o .libs/getopt.o .libs/getopt1.o .libs/hash.o .libs/javacomp.o .libs/javaexec.o .libs/linebreak.o .libs/localcharset.o .libs/mbswidth.o .libs/obstack.o .libs/concatpath.o .libs/pipe-bidi.o .libs/pipe-in.o .libs/pipe-out.o .libs/progname.o .libs/safe-read.o .libs/sh-quote.o .libs/stpncpy.o .libs/strtoul.o .libs/tmpdir.o .libs/wait-process.o .libs/xerror.o .libs/xmalloc.o .libs/xstrdup.o .libs/xsetenv.o .libs/stpcpy.o .libs/getline.o -L/Volumes/NetBSD/users/thorpej/hack/netbsd/pkgsrc/devel/gettext/work.powerpc/.buildlink/lib -L/Volumes/NetBSD/Darwin-pkg/lib -liconv -lc -lintl -lc -install_name /Volumes/NetBSD/Darwin-pkg/lib/libgettextlib-0.11.5.dylib 0.0
cc: 0.0: No such file or directory
*** Error code 1
This seems to happen because -release is passed to libtool,
rather than a library version.
>How-To-Repeat:
Attempt to build pkgsrc/devel/gettext on Darwin. (In my
case, gettext is a dependency for pkgsrc/mail/mutt.)
>Fix:
Not provided.
>Release-Note:
>Audit-Trail:
From: grant beattie <grant@netbsd.org>
To: thorpej@shagadelic.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/19271: gettext package does not build on Darwin
Date: Fri, 27 Dec 2002 17:56:53 +1100
On Wed, Dec 04, 2002 at 08:51:10AM -0800, thorpej@shagadelic.org wrote:
> The gettext package does not build on Darwin. It appears
> as if it might be a libtool problem:
This appears to have been resolved. Despite some PLIST issues, gettext
builds and installs for me fine now.
I've also just built mutt, and it worked fine (with native curses).
Could you try this again with current pkgsrc?
grant.
From: Amitai Schlair <schmonz@schmonz.com>
To: gnats-bugs@netbsd.org
Cc: thorpej@shagadelic.org, grant@netbsd.org
Subject: Re: pkg/19271
Date: Sat, 28 Dec 2002 21:57:31 -0500
The problem still occurs for me on Darwin 5.5 (Mac OS X 10.1.5),
so please don't close this PR yet.
From: grant beattie <grant@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/19271 CVS commit: pkgsrc/devel/libtool
Date: Wed, 22 Jan 2003 00:43:43 +0200 (EET)
Module Name: pkgsrc
Committed By: grant
Date: Tue Jan 21 22:43:43 UTC 2003
Modified Files:
pkgsrc/devel/libtool: Makefile.common distinfo
pkgsrc/devel/libtool/patches: patch-ab
Log Message:
set need_version=no on Darwin, from libtool 1.4.3.
This should fix PR 19271 from Jason Thorpe.
ok'd by nick.
To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 pkgsrc/devel/libtool/Makefile.common
cvs rdiff -r1.22 -r1.23 pkgsrc/devel/libtool/distinfo
cvs rdiff -r1.27 -r1.28 pkgsrc/devel/libtool/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: grant beattie <grant@netbsd.org>
To: Amitai Schlair <schmonz@schmonz.com>,
Jason Thorpe <thorpej@shagadelic.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/19271
Date: Wed, 22 Jan 2003 09:54:58 +1100
On Sat, Dec 28, 2002 at 09:57:31PM -0500, Amitai Schlair wrote:
> The problem still occurs for me on Darwin 5.5 (Mac OS X 10.1.5),
> so please don't close this PR yet.
I've just bumped libtool to nb12, could you both pls test building
gettext?
I'll close this PR if all is well.
thanks,
grant.
State-Changed-From-To: open->closed
State-Changed-By: grant
State-Changed-When: Tue Jan 21 21:22:39 PST 2003
State-Changed-Why:
Amitai reported that this works on Darwin 5.5.
As this is now known to work on Darwin 5 and 6, I am closing this PR.
>Unformatted:
(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.