Subject: pkg/19271: gettext package does not build on Darwin
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 12/04/2002 08:51:10
>Number:         19271
>Category:       pkg
>Synopsis:       gettext package does not build on Darwin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 04 08:52:00 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: