Subject: pkg/13901: Package mail/elm-me fails to build under 1.5.2
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/08/2001 19:55:27
>Number:         13901
>Category:       pkg
>Synopsis:       Package mail/elm-me doesn't build on 1.5-release
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 08 11:56:00 PDT 2001
>Originator:     Tim Preston
>Release:        NetBSD 1.5.1
The Home for Lost Haddock
System: NetBSD 1.5.2 NetBSD 1.5.2 (AMY) #5: Sun Aug 19 11:53:24 BST 2001 amiga

Built from the 1.5-release tree on the above date.

	The mail/elm-me package fails to build when linking the elm and
	the associated utils because it is unable to find the libintl
	This happens on both ELF (i386) and a.out (amiga) systems.

        The error appears like this

root@amy:/usr/pkgsrc/mail/elm-me# make install
===> Building for elm-me-2.4.93
cd lib; /usr/bin/make  all
cd melib; /usr/bin/make  all
cd shared_libs; /usr/bin/make  all
cd src; /usr/bin/make  all
cc -s -rdynamic -o ../bin/elm addr_util.o	 alias.o		 aliaslib.o	 args.o		 attach_menu.o	 a_edit.o	 a_screen.o	 a_sort.o	 a_quit.o	 browser.o	 builtin++.o	 calendar.o	 curses.o	 date.o		 delete.o	 edit.o		 editmsg.o	 elm.o		 encode.o	 exitprog.o	 file.o		 file_util.o	 fileio.o	 find_alias.o	 forms.o		 hdrconfg.o	 help.o		 id_phrase.o	 in_utils.o	 init.o		 leavembox.o	 lock.o		 limit.o		 mailmsg1.o	 mailmsg2.o	 menu.o		 menu2.o		 metapager.o	 mime.o		 mime_encode.o	 mkhdrs.o	 newmbox.o	 options.o	 out_utils.o	 pattern.o	 pgp.o		 quit.o		 read_rc.o	 remail.o	 reply.o		 save_opts.o	 savecopy.o	 screen.o	 showmsg.o	 showmsg_c.o	 signals.o	 sort.o		 string2.o	 strings.o	 syscall.o	 utils.o ../melib/libme.a ../lib/libutil.a -lcrypt -ltermlib -lintl
ld: -lintl: no match
collect2: ld returned 1 exit status
*** Error code 1

*** Error code 1

*** Error code 1

*** Error code 1

*** Error code 1


	It appears that this library is part of the devel/gettext-lib
	which install it in /usr/pkg/lib, and it gets linked into
        ${WRKDIR}/.buildlink/lib/. However it  doesn't appear to be used.
        Under -current this library is now part of the main distribution
	and as it lives in /usr/lib linking works fine and the package
        is installed and working on my -current boxes.

	Unfortunately the mail/elm package is now a version that has
	altered behaviour from the 'traditional' elm that I am used to
	and because of this it is very, very poor at handling an
	environment where mail is delivered into multiple mailboxes
	(eg. by procmail) is any sort of sane manner (that I can find so
	far). As such I wouldn't consider using that package as a
	workround =(

	Attempt to build this package from sources dated 20010809 on a
	1.5-releasd system from 20011908 (and probably any earlier ones).

	Unfortunately I don't understand enough about the way libraries
	are working, particularly in the way packages are built, to fix
	this probklem in a satisfactory manner, yet =(