[Bug 2086869] Re: spamassassin installation silently fails

2024-11-18 Thread Andreas Hasenack
Thanks, I'll mark it as invalid then. If this happens again and/or you
have more information about it, please reopen.


** Changed in: spamassassin (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086869

Title:
  spamassassin installation silently fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2086869/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2086869] Re: spamassassin installation silently fails

2024-11-14 Thread Andreas Kuhlen
I think you can close that bug report. I ran the setup again and it
seems everything works now, I think.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086869

Title:
  spamassassin installation silently fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2086869/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2086869] Re: spamassassin installation silently fails

2024-11-13 Thread Sergio Durigan Junior
Hello Andreas,

I cannot reproduce this problem on a pristine Noble container.

Also, the systemd service for spamassassin is called spamd.service;
there is no spamassassin.service, so that's why you're getting the error
message described.

The output you pasted from "sa-compile" looks OK to me.

The only thing that seems like an error are the messages from
/var/log/mail.log saying that spamd couldn't find the "body_*.pm" files,
but they seem more like a local configuration issue than a bug in the
package.  As mentioned above, I was able to run "sa-compile"
successfully and restart spamd.service without problems.

We still need more information and/or a reproducer for this bug, so I am
leaving it as Incomplete.

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086869

Title:
  spamassassin installation silently fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2086869/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2086869] Re: spamassassin installation silently fails

2024-11-08 Thread Andreas Kuhlen
I installed the packages and executed ‘sa-update’ and ‘sa-compile’.

Executing the command ‘sudo systemctl restart spamassassin.service’ gave
the following error message:

Failed to restart spamassassin.service: Unit spamassassin.service not
found.

This is the output after compiling as installed:

chmod 755 blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
Manifying 1 pod document
make install PREFIX=/tmp/.spamassassin11512vrTE1Ztmp/ignored 
INSTALLSITEARCH=/va 

r/lib/spamassassin/compiled/5.038/4.00
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- body_0.bs 
blib/arch/  
   
auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture 
depende 
nt library tree
Installing 
/var/lib/spamassassin/compiled/5.038/4.00/auto/Mail/SpamAssassin/   

  CompiledRegexps/body_0/body_0.so
Installing 
/var/lib/spamassassin/compiled/5.038/4.00/Mail/SpamAssassin/Compi   

  ledRegexps/body_0.pm
Installing 
/tmp/.spamassassin11512vrTE1Ztmp/ignored/man/man3/Mail::SpamAssassin:   

  :CompiledRegexps::body_0.3pm
Appending installation info to 
/var/lib/spamassassin/compiled/5.038/4.00/per   
  
llocal.pod
cp /tmp/.spamassassin11512vrTE1Ztmp/bases_body_0.pl 
/var/lib/spamassassin/compil
 
ed/5.038/4.00/bases_body_0.pl
cd /tmp/.spamassassin11512vrTE1Ztmp
reading bases_body_neg2000.in
cd Mail-SpamAssassin-CompiledRegexps-body_neg2000
/usr/bin/perl Makefile.PL PREFIX=/tmp/.spamassassin11512vrTE1Ztmp/ignored 
INSTAL  
   
LSITEARCH=/var/lib/spamassassin/compiled/5.038/4.00
Generating a Unix-style Makefile
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::body_neg2000
Writing MYMETA.yml and MYMETA.json
make PREFIX=/tmp/.spamassassin11512vrTE1Ztmp/ignored 
INSTALLSITEARCH=/var/lib/sp 

amassassin/compiled/5.038/4.00
cp body_neg2000.pm blib/lib/Mail/SpamAssassin/CompiledRegexps/body_neg2000.pm
Running Mkbootstrap for body_neg2000 ()
chmod 644 "body_neg2000.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- body_neg2000.bs 
blib
 
/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_neg2000.bs 644
"/usr/bin/perl" "/usr/share/perl/5.38/ExtUtils/xsubpp"  -typemap 
'/usr/share/per 
l/5.38/ExtUtils/typemap'  
body_neg2000.xs > body_neg2000.xsc
mv body_neg2000.xsc body_neg2000.c
x86_64-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv 
-fno-stric  
   t-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/x86_64-linux- 

gnu/perl/5.38/CORE"   body_neg2000.c
rm -f 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_neg2000  

   .so
x86_64-linux-gnu-gcc  -shared -L/usr/local/lib -fstack-protector-strong  
body_ne 
g2000.o  -o 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_n

 eg2000.so  \
  \

chmod 755 
blib/arch/auto/Mail/SpamAssassin/CompiledRegexps/body_neg2000/body_neg  
 

[Bug 2086869] Re: spamassassin installation silently fails

2024-11-08 Thread Lena Voytek
Thank you for the bug report. This error tends to show up when sa-
compile and/or re2c is not installed. Though your logs show that both
were set to be installed. Can you make sure the packages are actually
installed with

sudo apt install re2c sa-compile

and if so, try running the update and compilation again with

sa-update
sa-compile

then restart the service with

sudo systemctl restart spamassassin.service

If it is still failing please let us know

** Changed in: spamassassin (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086869

Title:
  spamassassin installation silently fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2086869/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2086869] Re: spamassassin installation silently fails

2024-11-07 Thread Andreas Kuhlen
In /var/log/mail.log I found this:

2024-11-07T18:43:18.986630+01:00 crosis spamd[20424]: Can't locate
Mail/SpamAssassin/CompiledRegexps/body_0.pm in @INC (you may need to
install the Mail::SpamAssassin::CompiledRegexps::body_0 module) (@INC
entries checked: /var/lib/spamassassin/compiled/5.038/4.00
/var/lib/spamassassin/compiled/5.038/4.00/auto /usr/share/perl5
/etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2
/usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38
/usr/share/perl/5.38 /usr/local/lib/site_perl) at (eval 2042) line 1.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086869

Title:
  spamassassin installation silently fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2086869/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2086869] Re: spamassassin installation silently fails

2024-11-07 Thread Andreas Kuhlen
Okay just to clarify:

sudo apt install spamassassin spamc

Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu gcc gcc-13
  gcc-13-base gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libatomic1
  libbsd-resource-perl libcc1-0 libclass-inspector-perl libconfig-tiny-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libemail-date-format-perl libemail-simple-perl
  libfile-sharedir-perl libgcc-13-dev libgomp1 libhwasan0 libio-string-perl
  libisl23 libitm1 liblsan0 libmail-authenticationresults-perl
  libmail-dkim-perl libmail-dmarc-perl libmail-spf-perl libmpc3 libnet-ip-perl
  libquadmath0 libregexp-common-perl libsys-hostname-long-perl libtsan2
  libubsan1 libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl
  libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl re2c sa-compile
  spamd
Vorgeschlagene Pakete:
  cpp-doc gcc-13-locales cpp-13-doc gcc-multilib autoconf automake libtool
  flex bison gdb gcc-doc gcc-13-multilib gcc-13-doc gdb-x86-64-linux-gnu
  libnet-imap-simple-perl libnet-smtps-perl libdbd-sqlite3-perl
  libdbix-simple-perl libemail-sender-perl libtest-file-sharedir-perl
  libtest-output-perl libxml-sax-expatxs-perl razor pyzor
  libencode-detect-perl libgeoip2-perl libnet-patricia-perl
Die folgenden NEUEN Pakete werden installiert:
  cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu gcc gcc-13
  gcc-13-base gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libatomic1
  libbsd-resource-perl libcc1-0 libclass-inspector-perl libconfig-tiny-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libemail-date-format-perl libemail-simple-perl
  libfile-sharedir-perl libgcc-13-dev libgomp1 libhwasan0 libio-string-perl
  libisl23 libitm1 liblsan0 libmail-authenticationresults-perl
  libmail-dkim-perl libmail-dmarc-perl libmail-spf-perl libmpc3 libnet-ip-perl
  libquadmath0 libregexp-common-perl libsys-hostname-long-perl libtsan2
  libubsan1 libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl
  libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl re2c sa-compile
  spamassassin spamc spamd
0 aktualisiert, 50 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
Es müssen noch 0 B von 50,6 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 177 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Extrahiere Vorlagen aus Paketen: 100%
Vormals nicht ausgewähltes Paket libsys-hostname-long-perl wird gewählt.
(Lese Datenbank ... 133130 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../00-libsys-hostname-long-perl_1.5-3_all.deb 
..  
   .
Entpacken von libsys-hostname-long-perl (1.5-3) ...
Vormals nicht ausgewähltes Paket libcrypt-openssl-bignum-perl wird gewählt.
Vorbereitung zum Entpacken von 
.../01-libcrypt-openssl-bignum-perl_0.09-2build5_   
  
amd64.deb ...
Entpacken von libcrypt-openssl-bignum-perl (0.09-2build5) ...
Vormals nicht ausgewähltes Paket libcrypt-openssl-random-perl:amd64 wird 
gewählt 
.
Vorbereitung zum Entpacken von 
.../02-libcrypt-openssl-random-perl_0.15-3build4_   
  
amd64.deb ...
Entpacken von libcrypt-openssl-random-perl:amd64 (0.15-3build4) ...
Vormals nicht ausgewähltes Paket libcrypt-openssl-rsa-perl:amd64 wird gewählt.
Vorbereitung zum Entpacken von 
.../03-libcrypt-openssl-rsa-perl_0.33-3build4_amd   
  
64.deb ...
Entpacken von libcrypt-openssl-rsa-perl:amd64 (0.33-3build4) ...
Vormals nicht ausgewähltes Paket libmail-authenticationresults-perl wird 
gewählt 
.
Vorbereitung zum Entpacken von 
.../04-libmail-authenticationresults-perl_2.20231   
  
031-1_all.deb ...
Entpacken von libmail-authenticationresults-perl (2.20231031-1) ...
Vormals nicht ausgewähltes Paket libmail-dkim-perl wird gewählt.
Vorbereitung zum Entpacken von 
.../05-libmail-dkim-perl_1.20230212-1ubuntu1_all.   
  
deb ...
Entpacken von libmail-dkim-perl (1.20230212-1ubuntu1) ...
Vormals nicht a