Subject: Re: Removal of "wmmail" package
To: None <tech-pkg@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-pkg
Date: 09/13/2005 22:19:58
On Tue, Sep 13, 2005 at 03:03:16PM -0500, David Stipp wrote:
> On Wed, Aug 31, 2005 at 07:18:45AM +0100, Matthias Scheler wrote:
> > On Tue, Aug 30, 2005 at 06:33:26PM -0500, David Stipp wrote:
> > > I tried to compile this on Solaris 8-10 today, and was unsuccessful.
> > 
> > What's the error message?
> 
> 
> Other than patch-ac failing to apply for me, ...

That's odd. I've just checked that patch it applies cleanly for me.
Recreating it produces only changed datestamps.

> ... it seems to be more of an upstream issue...

What do you mean by that?

>  In pkgsrc on sol 8
> ===> Applying pkgsrc patches for wmbiff-0.4.25nb1
> 1 out of 1 hunk FAILED -- saving rejects to file wmbiff/tlsComm.c.rej
> Patch /usr/pkgsrc/mail/wmbiff/patches/patch-ac failed
> *** Error code 1
> 
>  In pkgsrc on sol 8 (after removing patch-ac)
> 
> config.status: creating wmbiff/Makefile
> config.status: executing depfiles commands
> gmake[2]: Leaving directory
> `/usr/pkgsrc/mail/wmbiff/work/wmbiff-0.4.25/wmbiff'
> gmake[2]: Entering directory
> `/usr/pkgsrc/mail/wmbiff/work/wmbiff-0.4.25/wmbiff'
> source='wmbiff.c' object='wmbiff.o' libtool=no \
> depfile='.deps/wmbiff.Po' tmpdepfile='.deps/wmbiff.TPo' \
> depmode=none /bin/ksh ../autoconf/depcomp \
> cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/openwin/include
> -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include
> -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
> -I/usr/pkg/include -I/usr/pkg/include  -I/usr/pkg/include  -O
> -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include
> -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include
> -I/usr/pkg/include -I/usr/pkg/include  -I/usr/pkg/include -c `test -f
> 'wmbiff.c' || echo './'`wmbiff.c
> "./Client.h", line 140: syntax error in macro parameters
> "./Client.h", line 150: syntax error in macro parameters
> "wmbiff.c", line 97: syntax error before or at: void
> "wmbiff.c", line 1188: cannot recover from previous errors
> cc: acomp failed for wmbiff.c
> gmake[2]: *** [wmbiff.o] Error 2
> gmake[2]: Leaving directory
> `/usr/pkgsrc/mail/wmbiff/work/wmbiff-0.4.25/wmbiff'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/pkgsrc/mail/wmbiff/work/wmbiff-0.4.25'
> gmake: *** [all] Error 2
> *** Error code 2

What compiler is "cc"? SUNWSpro?

>  On Solaris 8 & 9 (outside pkgsrc, using gcc):
> 
> gcc  -g -O2 -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith
> -Wwrite-strings   -o wmbiff  wmbiff.o socket.o  Pop3Client.o
> LicqClient.o mboxClient.o  maildirClient.o Imap4Client.o tlsComm.o
> ShellClient.o passwordMgr.o charutil.o  regulo.o MessageList.o
> -L../wmgeneral -lwmgeneral -lXpm -lXext -lX11  -L/usr/openwin/lib
> -R/usr/openwin/lib -lresolv -lsocket -lnsl
> 
> Undefined                       first referenced
>  symbol                             in file
> strcasestr                          ShellClient.o
> ld: fatal: Symbol referencing errors. No output written to wmbiff
> collect2: ld returned 1 exit status
> *** Error code 1

That is again a patch issue which should be addressed by "patch-ab".
You should figure out why applying patches doesn't work on your system.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/