Subject: rar needs COMPAT_12, COMPAT_13, COMPAT_43 and COMPAT_NOMID
To: None <>
From: BSD For Ever <bsd4ever@nospam.lan>
List: pkgsrc-bugs
Date: 05/05/2004 10:35:01

pkgsrc/archivers/rar won't run nor build if *any* of the following
options are missing in your kernel's config :
options COMPAT_12
options COMPAT_13
options COMPAT_43

The good news is that all these options are in GENERIC.

Technical details :

ktruss shows that both distfiles/rarbsd.sfx and pkg/bin/rar call
compat_12_fstat12 (provided by COMPAT_12),
compat_13_sigaction13 (provided by COMPAT_13) and
compat_43_ogetpagesize (provided by COMPAT_43).

And if COMPAT_NOMID is missing then distfiles/rarbsd.sfx yelds
distfiles/rarbsd.sfx: 1: Syntax error: ")" unexpected
and pkg/bin/rar yelds
pkg/bin/rar: 1: Syntax error: ")" unexpected


P.S. If you managed to run rar or rarbsd.sfx without COMPAT_12,
this is because you called "rarbsd.sfx -h" or did not provide any
valid arguments to rar.

P.P.S. Sorry for my not using send-pr.