:: Re: [DNG] Why is spamassasin compil…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: hal
Fecha:  
A: Dimitris, dng
Asunto: Re: [DNG] Why is spamassasin compiling here?


On 11/6/19 7:53 AM, Dimitris via Dng wrote:
> On 11/6/19 3:45 PM, hal wrote:
>
>> I've installed the libc6-dev-i386 package to see if it solves it but then I wondered what is spamassasin doing compiling things anyway?
>>
>>
>
> https://packages.debian.org/stretch/sa-compile



Thanks. I reinstalled the package (was already installed) and similar
error. sys/types.h does exist so it's confusing.


# find /usr/ -name 'types.h' -ls
    133512      4 -rw-r--r--   1 root     root         3233 Feb  6  2019 
/usr/include/rpc/types.h
    133825      8 -rw-r--r--   1 root     root         7563 Feb  6  2019 
/usr/include/x86_64-linux-gnu/bits/types.h
    133630      4 -rw-r--r--   1 root     root          113 Sep 20 06:03 
/usr/include/x86_64-linux-gnu/asm/types.h
    172609      0 lrwxrwxrwx   1 root     root           31 Feb  6  2019 
/usr/include/sys/types.h -> ../x86_64-linux-gnu/sys/types.h
    132607      4 -rw-r--r--   1 root     root          170 Sep 20 06:03 
/usr/include/asm-generic/types.h
    133259      4 -rw-r--r--   1 root     root         1844 Sep 20 06:03 
/usr/include/linux/iio/types.h
    133181      4 -rw-r--r--   1 root     root         1430 Sep 20 06:03 
/usr/include/linux/types.h


# dir /usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h
-rw-r--r-- 1 root root 235054 Nov 29 2018
/usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h



# aptitude reinstall sa-compile
The following packages will be REINSTALLED:
   sa-compile
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 
not upgraded.
Need to get 47.5 kB of archives. After unpacking 0 B will be used.
Get: 1 http://deb.devuan.org//merged ascii/main amd64 sa-compile all 
3.4.2-1~deb9u1 [47.5 kB]
Fetched 47.5 kB in 3s (12.5 kB/s)
(Reading database ... 65673 files and directories currently installed.)
Preparing to unpack .../sa-compile_3.4.2-1~deb9u1_all.deb ...
Unpacking sa-compile (3.4.2-1~deb9u1) over (3.4.2-1~deb9u1) ...
Setting up sa-compile (3.4.2-1~deb9u1) ...
Running sa-compile (may take a long time)
In file included from body_0.xs:2:0:
/usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h:689:23: fatal error: 
sys/types.h: No such file or directory
  #include <sys/types.h>
                        ^
compilation terminated.
make: *** [body_0.o] Error 1
command 'make PREFIX=/tmp/.spamassassin7174sFN7hktmp/ignored 
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.024/3.004002 

>>/tmp/.spamassassin7174sFN7hktmp/log' failed: exit 2

dpkg: error processing package sa-compile (--configure):
  subprocess installed post-installation script returned error exit 
status 25
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
  sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up sa-compile (3.4.2-1~deb9u1) ...
Running sa-compile (may take a long time)
In file included from body_0.xs:2:0:
/usr/lib/x86_64-linux-gnu/perl/5.24/CORE/perl.h:689:23: fatal error: 
sys/types.h: No such file or directory
  #include <sys/types.h>
                        ^
compilation terminated.
make: *** [body_0.o] Error 1
command 'make PREFIX=/tmp/.spamassassin81455TCZBXtmp/ignored 
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.024/3.004002 

>>/tmp/.spamassassin81455TCZBXtmp/log' failed: exit 2

dpkg: error processing package sa-compile (--configure):
subprocess installed post-installation script returned error exit
status 25
Errors were encountered while processing:
sa-compile