bogofilter 0.91.4 "make check" fails on Solaris 8

Matthias Andree matthias.andree at gmx.de
Wed Jun 23 16:33:50 CEST 2004


Matt Christian <mattc at visi.com> writes:

> Hmm from the Sun sh manual page it does say...
>
>      The /usr/xpg4/bin/sh utility is identical  to  /usr/bin/ksh.
>      See ksh(1).
>
> Strangely enough the two shells are two different binaries (sizes and
> MD5s) which is not what I would have expected when they say "identical":
>
> $ ls -al /usr/xpg4/bin/sh /usr/bin/ksh
> -r-xr-xr-x    3 root     bin        209128 Jan 21  2003 /usr/bin/ksh
> -r-xr-xr-x    1 root     bin        201336 Jan 21  2003 /usr/xpg4/bin/sh
> $  md5sum /usr/xpg4/bin/sh /usr/bin/ksh
> 33c1f427535bf757a1f75fe7f2e047de  /usr/xpg4/bin/sh
> 9cf76265ba01958d7d10ef1240997b88  /usr/bin/ksh
>
> However both shells failed your above test...
>
> $ /usr/xpg4/bin/sh -c 'trap exit 0; save=$(trap); eval "$save"'
> /usr/xpg4/bin/sh: --:  not found
> $ /usr/bin/ksh -c 'trap exit 0; save=$(trap); eval "$save"'
> /usr/bin/ksh: --:  not found
>
> I also tried above tests on another Solaris machine with a slighly newer
> kernel version (108528-20 vs 19) and they still failed:

Kernel patches have nothing to do with the shell, and 108528-20 is way
out of date. It would have to be a patch that addresses SUNWcsu or
SUNWxcu4. showrev -p and grep should tell you.

/usr/xpg4/bin/sh is governed by SUNWxcu4,
/usr/bin/ksh by SUNWcsu

Same here WRT file size differences BTW, the files aren't identical. I
wonder if they used to be.

> I poked around SunSolve but I couldn't find a simple "report bug" form
> for Solaris.

I wonder if it needs to be filed at access1 but I, too, only have access
to a slowish machine that isn't my own.

SunOS joe 5.8 Generic_117350-02 sun4u sparc SUNW,Ultra-5_10

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95



More information about the Bogofilter mailing list