On 20.04.18 9:50, Giovanni Bechis wrote:
On 04/19/18 09:24, Reio Remma wrote:
[...]
*Update:* none of the --option= switches work.
handle_user (userdir) unable to find user: '' is caused because I have the
-username switch as --username=amavis instead of --username amavis
It worked in 3.4.1.
Is it at all possible that I botched the RPM for 3.4.2?
no, I botched it.
Fixed in r1829628.
Thanks
Giovanni
I can confirm that it works.
Two things I wanted to point out that I noticed when building the RPM
for CentOS 7. There seem to be a few things in 3.4.2 branch that have
dependencies that don't exist in CentOS 7.
--> Processing Dependency: perl(RabinKarpAccel) for package:
spamassassin-3.4.2-0.el7.centos.x86_64
--> Finished Dependency Resolution
Error: Package: spamassassin-3.4.2-0.el7.centos.x86_64
(/spamassassin-3.4.2-0.el7.centos.x86_64)
Requires: perl(RabinKarpAccel)
Error: Package: spamassassin-3.4.2-0.el7.centos.x86_64
(/spamassassin-3.4.2-0.el7.centos.x86_64)
Requires: perl(Devel::Size)
To get around those I had to remove these (as I undersand they're
experimental anyway):
Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/NetCache.pm
Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Util/MemoryDump.pm
Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/RabinKarpBody.pm
At first I tried removing all in MANIFEST.SKIP, but that seemed to be
too much for it. :)
Also there are a couple of warnings when building:
make -f spamc/Makefile spamc/spamc
make[1]: Entering directory `/home/reio/rpmbuild/BUILD/Mail-SpamAssassin-3.4.2'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
gcc -DSPAMC_SSL -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
-mtune=generic spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/utils.c \
-o spamc/spamc -lssl -lcrypto -ldl -lz
spamc/libspamc.c: In function '_try_to_connect_tcp':
spamc/libspamc.c:491:19: warning: variable 'family' set but not used
[-Wunused-but-set-variable]
char *family = NULL;
^
spamc/libspamc.c: In function 'transport_setup':
spamc/libspamc.c:1911:35: warning: unused variable 'addrp' [-Wunused-variable]
struct addrinfo hints, *res, *addrp;
^
spamc/libspamc.c: In function 'libspamc_log':
spamc/libspamc.c:2239:9: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
(void) write (2, buf, len);
^
make[1]: Leaving directory `/home/reio/rpmbuild/BUILD/Mail-SpamAssassin-3.4.2'