Package: spamassassin Version: 3.3.2-6.1 Severity: normal Hi there.
When running sa-compile to build Spamassasin rules as binary objects,
the process fails at gcc because no system lib path are included on the
call:
# sa-compile
Sep 20 12:46:39.591 [3241] info: generic: base extraction starting. this
can take a while...
Sep 20 12:46:39.591 [3241] info: generic: extracting from rules of type
body_0
100%
[=============================================================================================================================================================================================
] 10784.12 rules/sec 00m00s DONE
100%
[==============================================================================================================================================================================================]
165.58 bases/sec 00m16s DONE
Sep 20 12:46:56.729 [3241] info: body_0: 1471 base strings extracted in
17 seconds
cd /tmp/.spamassassin3241a1qW5htmp
cd Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c -i -b -o scanner3.c scanner3.re
re2c -i -b -o scanner4.c scanner4.re
re2c -i -b -o scanner5.c scanner5.re
re2c -i -b -o scanner6.c scanner6.re
re2c -i -b -o scanner7.c scanner7.re
re2c -i -b -o scanner8.c scanner8.re
/usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin3241a1qW5htmp/ignored
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.018/3.003002
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
Writing MYMETA.yml and MYMETA.json
make
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
/usr/bin/perl /usr/share/perl/5.18/ExtUtils/xsubpp -typemap
/usr/share/perl/5.18/ExtUtils/typemap body_0.xs > body_0.xsc && mv
body_0.xsc body_0.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\"
-fPIC "-I/usr/lib/perl/5.18/CORE" body_0.c
In file included from body_0.xs:2:0:
/usr/lib/perl/5.18/CORE/perl.h:650:24: fatal error: sys/types.h: No such
file or directory
# include <sys/types.h>
^
compilation terminated.
make: *** [body_0.o] Error 1
command failed: exit 2
# dpkg -L kfreebsd-headers-9.0-2 | grep sys/types.h
/usr/src/kfreebsd-headers-9.0-2/sys/sys/types.h
/usr/src/kfreebsd-headers-9.0-2/sys/cddl/compat/opensolaris/sys/types.h
I haven't really went much further than that, but It seems to me it's
failing just because of a library inclusion. Because of that, I've set
this bug report severity as "normal".
Please feel free to lower or rise it if you consider so.
Cheers,
Dererk
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.2-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages spamassassin depends on:
ii adduser 3.113+nmu3
pn libarchive-tar-perl <none>
ii libhtml-parser-perl 3.71-1+b1
ii libnet-dns-perl 0.68-1.2
ii libnetaddr-ip-perl 4.062+dfsg-1+b1
ii libsocket6-perl 0.23-1+b3
ii libsys-hostname-long-perl 1.4-2
ii libwww-perl 6.05-1
ii perl 5.18.1-4
ii perl-modules [libio-zlib-perl] 5.18.1-4
Versions of packages spamassassin recommends:
ii gcc 4:4.8.1-3
ii gnupg 1.4.14-1
pn libc6-dev <none>
ii libio-socket-inet6-perl 2.69-2
pn libmail-spf-perl <none>
ii make 3.81-8.2
ii perl [libsys-syslog-perl] 5.18.1-4
ii re2c 0.13.5-1
pn spamc <none>
Versions of packages spamassassin suggests:
pn libdbi-perl <none>
ii libio-socket-ssl-perl 1.954-1
pn libmail-dkim-perl <none>
pn libnet-ident-perl <none>
ii perl [libcompress-zlib-perl] 5.18.1-4
pn pyzor <none>
pn razor <none>
-- Configuration Files:
/etc/spamassassin/local.cf changed [not included]
/etc/spamassassin/v310.pre changed [not included]
/etc/spamassassin/v320.pre changed [not included]
-- no debconf information
--
BOFH excuse #111:
The salesman drove over the CPU board.
signature.asc
Description: OpenPGP digital signature

