Mailing List Archive

Building problem with 3.4.4
i have built 3.4.4 from sources on three different computers. The
first two worked OK and the new system is in service (A Debian and a
openSuSE system). However on the third machine I have a range f
problems I do not understand.

First it noted a number of missing optional perk modules which limits
some things we do not use, like GEO::IP but nothing required.

The make runs apparently OK with o issues.
Trying make test however give multiple failures (which it did not on
the other two machines)

Output starts
/usr/local/bin/perl build/mkrules --exit_on_no_src --src rulesrc --out rules --manifest MANIFEST --manifestskip MANIFEST.SKIP
no source directory found: exiting
/usr/local/bin/perl build/preprocessor -Mvars -DVERSION="3.004004" -DPREFIX="/usr/local" -DDEF_RULES_DIR="/usr/local/share/spamassassin" -DLOCAL_RULES_DIR="/etc/mail/spamassassin" -DLOCAL_STATE_DIR="/var/lib/spamassassin" -DINSTALLSITELIB="/usr/local/lib/perl5/site_perl/5.8.9" -DCONTACT_ADDRESS="the administrator of that system" -DRE2C_BIN="re2c" -Msharpbang -Mconditional -DPERL_BIN="/usr/local/bin/perl" -DPERL_WARN="" -DPERL_TAINT="" -m755 -isa-update.raw -osa-update
cp sa-update blib/script/sa-update
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/all_modules.t ................... 1/5 Found anti-pattern: warn = warn: at t/all_modules.t line 92.

# Failed test at t/SATest.pm line 802.
Output can be examined in: log/d.all_modules/0
# Looks like you failed 1 test of 5.
t/all_modules.t ................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
t/autolearn.t ..................... Jan 30 16:12:36.464 [3275] warn: plugin: failed to parse plugin (from @INC): "GEOIP_MEMORY_CACHE" is not exported by the Geo::IP module
Jan 30 16:12:36.464 [3275] warn: "GEOIP_CHECK_CACHE" is not exported by the Geo: [...]:IP module


and ends
Test Summary Report
-------------------
t/all_modules.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 5
Non-zero exit status: 1
t/recreate.t (Wstat: 256 Tests: 9 Failed: 1)
Failed test: 9
Non-zero exit status: 1
Files=174, Tests=2390, 800 wallclock secs ( 0.83 usr 0.26 sys + 88.42 cusr 12.14 csys = 101.65 CPU)
Result: FAIL
Failed 2/174 test programs. 2/2390 subtests failed.
make: *** [test_dynamic] Error 255


What have I got wrong/ misunderstood/ whatever.....
==John ffitch
Re: Building problem with 3.4.4 [ In reply to ]
On Thu, Jan 30, 2020 at 04:49:37PM +0000, John wrote:
> i have built 3.4.4 from sources on three different computers. The
> first two worked OK and the new system is in service (A Debian and a
> openSuSE system). However on the third machine I have a range f
> problems I do not understand.

Would be more relevant to describe the OS version of this third machine.
:-)

> # Failed test at t/SATest.pm line 802.
> Output can be examined in: log/d.all_modules/0
>
> # Looks like you failed 1 test of 5.
> t/all_modules.t ................... Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/5 subtests

And what does "grep warn: t/log/d.all_modules/0" output? Probably same
stuff as that GeoIP below? Feel free to ignore it.

> t/autolearn.t ..................... Jan 30 16:12:36.464 [3275] warn: plugin: failed to parse plugin (from @INC): "GEOIP_MEMORY_CACHE" is not exported by the Geo::IP module
> Jan 30 16:12:36.464 [3275] warn: "GEOIP_CHECK_CACHE" is not exported by the Geo: [...]:IP module

Just a warning, not a fail.

> t/recreate.t (Wstat: 256 Tests: 9 Failed: 1)
> Failed test: 9
> Non-zero exit status: 1

Might also be related to GeoIP..

I wouldn't worry about these much.
Re: Building problem with 3.4.4 [ In reply to ]
Sorry; third machine is openSuSE but old 11.4; second machine was
opensSuSE 13.1

Peraps the perl is too old...


On Thu, 30 Jan 2020, Henrik K wrote:

> On Thu, Jan 30, 2020 at 04:49:37PM +0000, John wrote:
>> i have built 3.4.4 from sources on three different computers. The
>> first two worked OK and the new system is in service (A Debian and a
>> openSuSE system). However on the third machine I have a range f
>> problems I do not understand.
>
> Would be more relevant to describe the OS version of this third machine.
> :-)
>
>> # Failed test at t/SATest.pm line 802.
>> Output can be examined in: log/d.all_modules/0
>>
>> # Looks like you failed 1 test of 5.
>> t/all_modules.t ................... Dubious, test returned 1 (wstat 256, 0x100)
>> Failed 1/5 subtests
>
> And what does "grep warn: t/log/d.all_modules/0" output? Probably same
> stuff as that GeoIP below? Feel free to ignore it.
>
>> t/autolearn.t ..................... Jan 30 16:12:36.464 [3275] warn: plugin: failed to parse plugin (from @INC): "GEOIP_MEMORY_CACHE" is not exported by the Geo::IP module
>> Jan 30 16:12:36.464 [3275] warn: "GEOIP_CHECK_CACHE" is not exported by the Geo: [...]:IP module
>
> Just a warning, not a fail.
>
>> t/recreate.t (Wstat: 256 Tests: 9 Failed: 1)
>> Failed test: 9
>> Non-zero exit status: 1
>
> Might also be related to GeoIP..
>
> I wouldn't worry about these much.
>
>