Bug#915010: sa-compile 3.4.2-1~deb9u1 fails on postinst or command line arm-linux-gnueabihf-gcc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#915010: sa-compile 3.4.2-1~deb9u1 fails on postinst or command line arm-linux-gnueabihf-gcc

Bryan Ealba
Package: sa-compile
Version: 3.4.2-1~deb9u1
Severity: normal

Dear Maintainer,

During my last update && dist-upgrade, performed 11/29/18

sa-compile would not complete successfully in postinst.

I attempted multiple times, as well as attempting as the debian-spamd user due
to
shell issues I ran across while researching. (I also modified /etc/passwd to
use
/bin/bash as opposed to /bin/sh -> /bin/dash)

Linux #### 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux


#############################################################################

Package: sa-compile
Source: spamassassin
Version: 3.4.2-1~deb9u1
Installed-Size: 79
Maintainer: Noah Meyerhans <[hidden email]>
Architecture: all
Depends: spamassassin, re2c, gcc, libc6-dev, make
Enhances: spamassassin
Size: 47526
SHA256: 9fa265f079061ac3a34994f90cad41bb9df9af4fa5aba2e3c796fb2bc262f5ca
SHA1: fe4735d062829571e7bd6df813836f50eb30dc73
MD5sum: 0c56bd88fd19275265424c607dad1ebf
Description: Tools for compiling SpamAssassin rules into C
 sa-compile uses "re2c" to compile the site-wide parts of the
 SpamAssassin ruleset into C code for more efficient processing by
 spamd or spamassassin.
Description-md5: 4b3f9d42fcff1aff87d28f86f9496c4e
Homepage: https://www.spamassassin.org/
Section: mail
Priority: optional
Filename: pool/main/s/spamassassin/sa-compile_3.4.2-1~deb9u1_all.deb

############################################################################


apt-get install -f

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up sa-compile (3.4.2-1~deb9u1) ...
Running sa-compile (may take a long time)
cc1: malloc.c:2406: sysmalloc: Assertion `(old_top == initial_top (av) &&
old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse
(old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
arm-linux-gnueabihf-gcc: internal compiler error: Aborted (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
make: *** [body_0.o] Error 4
command 'make PREFIX=/tmp/.spamassassin6727LkjrSutmp/ignored
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.024/3.004002
>>/tmp/.spamassassin6727LkjrSutmp/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
E: Sub-process /usr/bin/dpkg returned an error code (1)


##############################################################################

:# su debian-spamd
debian-spamd@****:$ sa-compile
Nov 29 07:19:25.869 [7157] info: generic: base extraction starting. this can
take a while...
Nov 29 07:19:25.870 [7157] info: generic: extracting from rules of type body_0
 54% [==========================================
] 206.79 rules/sec 00m01s LEFT
zoom: rule __UNICODE_OBFU_ZW will loop on SpamAssassin older than 3.3.2 running
under Perl 5.12 or older, Bug 6558
100%
[===============================================================================]
218.17 rules/sec 00m02s DONE
100%
[===============================================================================]
46.37 bases/sec 00m51s DONE
Nov 29 07:20:20.131 [7157] info: body_0: 1160 base strings extracted in 55
seconds
cd /tmp/.spamassassin7157lXoI3Btmp
reading bases_body_0.in
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
/usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin7157lXoI3Btmp/ignored
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.024/3.004002
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
Writing MYMETA.yml and MYMETA.json
make PREFIX=/tmp/.spamassassin7157lXoI3Btmp/ignored
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.024/3.004002
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
chmod 644 "body_0.bs"
"/usr/bin/perl" "/usr/share/perl/5.24/ExtUtils/xsubpp"  -typemap
"/usr/share/perl/5.24/ExtUtils/typemap"  body_0.xs > body_0.xsc && mv
body_0.xsc body_0.c
arm-linux-gnueabihf-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -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/arm-linux-gnueabihf/perl/5.24/CORE"   body_0.c
body_0.c:1:0: internal compiler error: Segmentation fault
 /*

Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

body_0.c:1:0: internal compiler error: in flags_from_decl_or_type, at
calls.c:769
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
Makefile:345: recipe for target 'body_0.o' failed
make: *** [body_0.o] Error 1
command failed: exit 2

####################################################################################

debian-spamd@####:/tmp/.spamassassin6727LkjrSutmp$ cat log
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_0
Writing MYMETA.yml and MYMETA.json
cp body_0.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_0.pm
Running Mkbootstrap for Mail::SpamAssassin::CompiledRegexps::body_0 ()
chmod 644 "body_0.bs"
"/usr/bin/perl" "/usr/share/perl/5.24/ExtUtils/xsubpp"  -typemap
"/usr/share/perl/5.24/ExtUtils/typemap"  body_0.xs > body_0.xsc && mv
body_0.xsc body_0.c
arm-linux-gnueabihf-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -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/arm-linux-gnueabihf/perl/5.24/CORE"   body_0.c
Makefile:345: recipe for target 'body_0.o' failed




-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sa-compile depends on:
ii  gcc           4:6.3.0-4
ii  libc6-dev     2.24-11+deb9u3
ii  make          4.1-9.1
pn  re2c          <none>
pn  spamassassin  <none>

sa-compile recommends no packages.

sa-compile suggests no packages.

Reply | Threaded
Open this post in threaded view
|

Bug#915010: Hardware Error

Bryan Ealba-2
This turned out to be a hardware issue. Tested fine on same arch,
different hardware.