Subject: Re: Removal of "wmmail" package
To: Matthias Scheler <tron@zhadum.de>
From: David Stipp <dstipp@uiuc.edu>
List: tech-pkg
Date: 09/13/2005 16:26:37
On Tue, Sep 13, 2005 at 10:19:58PM +0100, Matthias Scheler wrote:
> > 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.

Huh.

> > ... it seems to be more of an upstream issue...
> 
> What do you mean by that?

I was making a gross assumption that since it didn't compile it was
probably code that wasn't portable... 

> > 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?

Yes. In this case:
cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-14 2004/02/20

> >  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.

Noted. I'll see if I can get pkgsrc working better on these machines and
report back...

Thanks,

David

-- 
David Stipp <dstipp@uiuc.edu>