[IntelMQ-dev] Trouble building deb package for intelmq-3.2.2

Mika Silander mika.silander at csc.fi
Mon Sep 4 10:42:41 CEST 2023


Hi Sebastian & Kamil,

 Looks like it was subtle small changes in conf parameters and then a few failing tests of my own, so I'll get them fixed in due course. Finding that out though meant scrolling kilometers' worth of lines of the build log, something I didn't expect.

 The dpkg-buildpackage command was indeed given the options

 -us -uc -b 

 so that was a tyop of mine in my original message.

 Thanks for your comments and suggestions, Mika

----- Original Message -----
From: "Kamil Mankowski" <mankowski at cert.at>
To: "Sebix" <sebix at sebix.at>, "Mika Silander" <mika.silander at csc.fi>, "intelmq-dev" <intelmq-dev at lists.cert.at>
Sent: Monday, 4 September, 2023 11:06:59
Subject: Re: [IntelMQ-dev] Trouble building deb package for intelmq-3.2.2

Hi Mika&Sebix,

I'd also suggest looking upper in the log – the 'test-bot' entries are 
unfortunately normal thing generated by tests, but before them (possible 
– before a big amount of those logs) should be a real error message. 
This should clarify what's going on.

Best regards,
Kamil Mankowski
CERT.at GmbH
www.cert.at

On 9/1/23 13:32, Sebix wrote:
> Hi Mika,
> 
> On 9/1/23 09:28, Mika Silander wrote:
>> dpkg-buildpackage -us -us -b
> Maybe you meant '-us -uc'?
>>   the build fails with:
>>
>> test-bot: Bot stopped.
>> test-bot: Processed 1 messages since last logging.
>> test-bot: Bot stopped.
>> test-bot: Processed 1 messages since last logging.
>> test-bot: Bot stopped.
>> E: pybuild pybuild:369: test: plugin distutils failed with: exit 
>> code=1: python3.10 setup.py test
>> dh_auto_test: error: pybuild --test -i python{version} -p 3.10 
>> returned exit code 13
>> make: *** [debian/rules:24: build] Error 255
>> dpkg-buildpackage: error: debian/rules build subprocess returned exit 
>> status 2
>>
>>   The host has python3-distutils 3.10.8-1~22.04 installed.
> 
> The error message says, that the test command failed. You can find the 
> failing test(s) by scrolling up a bit, probably a missing dependency. If 
> you do not want to execute the tests at build, you can as well 
> deactivate them by setting an environment variable for pybuild (I don't 
> have the name of the variable at hand, I bet you'll find it quickly).
> 
> hope that helps
> Sebastian
>


More information about the IntelMQ-dev mailing list