-- Hi,
Gave a try on intelmq v3.3.0 (cloned from github and on the develop branch) today and got this when running "dpkg-buildpackage -us -uc -b -d" on a Ubuntu 22.04 LTS:
dpkg-buildpackage: warning: debian/changelog(l5): ignoring invalid week day 'Fr' LINE: -- Aaron Kaplan aaron@lo-res.org Fr, 01 Mar 2024 14:19:00 +0100 dpkg-buildpackage: info: source package intelmq dpkg-buildpackage: info: source version 3.3.0-1 dpkg-buildpackage: info: source distribution stable dpkg-buildpackage: info: source changed by Aaron Kaplan aaron@lo-res.org dpkg-buildpackage: info: host architecture amd64 dpkg-source --before-build . dpkg-source: warning: intelmq_v2/debian/changelog(l5): ignoring invalid week day 'Fr' LINE: -- Aaron Kaplan aaron@lo-res.org Fr, 01 Mar 2024 14:19:00 +0100 fakeroot debian/rules clean dh clean --with python3,sphinxdoc --without python2 --buildsystem=pybuild --with quilt --with systemd dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_auto_clean -O--buildsystem=pybuild dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) I: pybuild base:239: python3.10 setup.py clean running clean removing '/home/mika/intelmqwork/intelmq_v2/.pybuild/cpython3_3.10_intelmq/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.10' does not exist -- can't clean it dh_quilt_unpatch -O--buildsystem=pybuild Patch fix-intelmq-paths.patch does not remove cleanly (refresh it or enforce with -f) dh_quilt_unpatch: error: quilt --quiltrc /dev/null pop -a || test $? = 2 returned exit code 1 make: *** [debian/rules:20: clean] Error 1 dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
What buttons, levers, cranks and the like should be turned to get passed the patching issue? I'd prefer not to have to enforce the thing as suggested.
Br, Mika
Hi Mika,
On 4/4/24 10:33, Mika Silander via IntelMQ-dev wrote:
Gave a try on intelmq v3.3.0 (cloned from github and on the develop branch) today and got this when running "dpkg-buildpackage -us -uc -b -d" on a Ubuntu 22.04 LTS:
dpkg-buildpackage: warning: debian/changelog(l5): ignoring invalid week day 'Fr' [...] LINE: -- Aaron Kaplan aaron@lo-res.org Fr, 01 Mar 2024 14:19:00 +0100
Side note: This warning will be fixed with https://github.com/certtools/intelmq/pull/2490
Patch fix-intelmq-paths.patch does not remove cleanly (refresh it or enforce with -f) dh_quilt_unpatch: error: quilt --quiltrc /dev/null pop -a || test $? = 2 returned exit code 1 make: *** [debian/rules:20: clean] Error 1 dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
What buttons, levers, cranks and the like should be turned to get passed the patching issue? I'd prefer not to have to enforce the thing as suggested.
I don't have a solution, just a few observations and thoughts:
The patch applies in our package builds on Ubuntu 22.04 (see https://build.opensuse.org/build/home:sebix:intelmq/xUbuntu_22.04/x86_64/int...) and in the GitHub CI tests using buildah (https://github.com/certtools/intelmq/actions/runs/8551898452/job/23431874437...) The latter uses dpkg-buildpackage -us -uc -b (without -d). But -d, --no-check-builddeps shouldn't make a difference for the patching. Neither the patch, nor the affected file were changed in the release (last changes of both were in 2021).
best regards Sebastian