Closed glaubitz closed 4 months ago
The newly released update to 10.0.16 fixed some the issues I was seeing, but I'm afraid the build still fails.
See the attached full build log.
I attached the wrong build log yesterday, apologies. Attaching the correct one now.
Quick guide on how to reproduce the issue in a Debian VM.
Prepare sbuild setup (as root):
# apt install sbuild git-buildpackage dh-python sphinx-common
# mkdir /srv/chroot
# sbuild-createchroot unstable /srv/chroot/unstable-amd64 --alias=sid http://deb.debian.org/debian
# sbuild-adduser $MYUSER
Continue as normal user from here.
Fetch and prepare kiwi source:
$ wget https://files.pythonhosted.org/packages/07/ab/488ec118e6572c0eb807de65f9548f4a8ae3122a257d24fefd43ab2a4330/kiwi-10.0.16.tar.gz -O kiwi_10.0.16.orig.tar.gz
$ git clone https://salsa.debian.org/debian/kiwi.git
$ cd kiwi
$ git checkout upstream && git checkout pristine-tar && git checkout master
$ gbp import-orig --pristine-tar ../kiwi_10.0.16.orig.tar.gz
$ export EMAIL=user@mail.com
$ gbp dch --auto
Apply this diff:
diff --git a/debian/control b/debian/control
index 9d5d69b..a4e7073 100644
--- a/debian/control
+++ b/debian/control
@@ -6,11 +6,13 @@ Uploaders: Marcus Schäfer <marcus.schaefer@gmail.com>
Build-Depends: debhelper-compat (= 13),
dh-python,
passwd,
+ pybuild-plugin-pyproject,
python3-all,
python3-anymarkup,
python3-docopt,
python3-lxml,
python3-mock,
+ python3-poetry,
python3-pytest,
python3-pyxattr,
python3-requests,
diff --git a/debian/rules b/debian/rules
index 437e959..7e537c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,6 @@ ifeq ($(filter nocheck nobench, $(DEB_BUILD_OPTIONS)),)
endif
override_dh_auto_build:
- make tools
dh_auto_build
make -C doc man
Then build with:
$ gbp buildpackage --git-ignore-new --git-builder="sbuild -d unstable \
--arch=amd64 --arch-all --source --source-only-changes"
I am currently trying to update the Debian package from
9.25.22
to10.0.15
and so far have been unsuccessful to build the updated version.So far, I made the following changes to the packaging source:
The build fails with:
I assume I'm missing build dependencies. However, it's not very obvious which are missing.
Would be great to get some advise, so I can speedily update the package and fix the outstanding FTBFS bug [1].