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

Mika Silander mika.silander at csc.fi
Fri Sep 1 09:28:13 CEST 2023


Hi all,

 Before digging any deeper I'll ask the list for advice. It's possible someone's bumped into the same error. I've upgraded from Ubuntu 20 LTS with

intelmq-api 3.1.0~rc-1
intelmq-manager 3.2.0-1
intelmq 3.1.0-1
python3.8

 to Ubuntu 22 LTS. Now, when trying to build intelmq-3.2.2 + a few of our own bots on this upgraded host with

dpkg-buildpackage -us -us -b

 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.

 Any hints on what lies behind this error?

 Br & thanks, Mika


More information about the IntelMQ-dev mailing list