From landa.martin at gmail.com Wed Apr 8 10:13:13 2026 From: landa.martin at gmail.com (Martin Landa) Date: Wed, 8 Apr 2026 19:13:13 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis Message-ID: Hi, I am trying to build QGIS 3.44 for Ubuntu Expr. The command which I use gbp buildpackage --git-pbuilder-options=--source-only-changes -sa --git-pbuilder --git-dist=${DIST}-ubuntugis-experimental fails with dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/exclude-elvensword-resources.patch/ --reject-file=- < qgis/debian/patches/exclude-elvensword-resources.patch subprocess returned exit status 1 patching file resources/cpt-city-qgis-min/selections/blues.xml Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored patching file resources/cpt-city-qgis-min/selections/div.xml Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored patching file resources/cpt-city-qgis-min/selections/greens.xml Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored patching file resources/cpt-city-qgis-min/selections/greys.xml Reversed (or previously applied) patch detected! Skipping patch. 2 out of 2 hunks ignored patching file resources/cpt-city-qgis-min/selections/reds.xml Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored patching file resources/cpt-city-qgis-min/selections/transparency.xml Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored dpkg-source: info: the patch has fuzz which is not allowed, or is malformed dpkg-source: info: if patch 'exclude-elvensword-resources.patch' is correctly applied by quilt, use 'quilt refresh' to update it dpkg-source: info: if the file is present in the unpacked source, make sure it is also present in the orig tarball gbp:error: 'git-pbuilder -sa l' failed: it exited with 2 Any idea what could be wrong? Thanks for feedback in advance! Best regards, Martin -- Martin Landa https://geomatics.fsv.cvut.cz/en/employees/martin-landa/ https://gismentors.cz/mentors/landa -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastic at xs4all.nl Wed Apr 8 10:33:36 2026 From: sebastic at xs4all.nl (Sebastiaan Couwenberg) Date: Wed, 8 Apr 2026 19:33:36 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: References: Message-ID: On 4/8/26 7:13 PM, Martin Landa via Ubuntu wrote: > patching file resources/cpt-city-qgis-min/selections/blues.xml > Reversed (or previously applied) patch detected! Skipping patch. > 1 out of 1 hunk ignored > [...] > > Any idea what could be wrong? Looks like the patches are applied in git which they shouldn't be. I suspect you didn't resolve merge conflicts correctly. Kind Regards, Bas -- PGP Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 From landa.martin at gmail.com Wed Apr 8 23:42:53 2026 From: landa.martin at gmail.com (Martin Landa) Date: Thu, 9 Apr 2026 08:42:53 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: References: Message-ID: Dear Bas, st 8. 4. 2026 v 19:44 odes?latel Sebastiaan Couwenberg via Ubuntu < ubuntu at lists.osgeo.org> napsal: > Looks like the patches are applied in git which they shouldn't be. > > I suspect you didn't resolve merge conflicts correctly. > Yes, `git merge` produced several conflicts: Auto-merging debian/changelog CONFLICT (content): Merge conflict in debian/changelog Auto-merging debian/control CONFLICT (content): Merge conflict in debian/control Auto-merging doc/developersmap.html CONFLICT (content): Merge conflict in doc/developersmap.html Auto-merging external/nlohmann/json.hpp ... I solved conflicts by applying changes from debian/3.44.8+dfsg-1 by `git checkout --theirs .`. When running `gbp buildpackage` I got errors above. I removed exclude-elvensword-resources.patch, exclude-cc-by-nc-resources.patch and spelling-errors.patch patches, which are failing. But it still fails: dpkg-source: info: local changes detected, the modified files are: qgis/ChangeLog qgis/python/core/auto_generated/symbology/qgsrenderer.sip.in qgis/resources/cpt-city-qgis-min/selections/blues.xml qgis/resources/cpt-city-qgis-min/selections/div.xml qgis/resources/cpt-city-qgis-min/selections/greens.xml qgis/resources/cpt-city-qgis-min/selections/greys.xml qgis/resources/cpt-city-qgis-min/selections/reds.xml qgis/resources/cpt-city-qgis-min/selections/transparency.xml qgis/src/core/symbology/qgsrenderer.h qgis/tests/testdata/plugindependencies_data.json dpkg-source: error: aborting due to unexpected upstream changes, see /data/tmp/qgis_3.44.8+dfsg-1~noble1.diff.VvNECR dpkg-source: hint: make sure the version in debian/changelog matches the unpacked source tree dpkg-source: hint: you can integrate the local changes with dpkg-source --commit gbp:error: 'git-pbuilder -sa' failed: it exited with 2 Not sure what I am doing wrong... Best regards, Martin -- Martin Landa https://geomatics.fsv.cvut.cz/en/employees/martin-landa/ https://gismentors.cz/mentors/landa -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastic at xs4all.nl Thu Apr 9 00:02:38 2026 From: sebastic at xs4all.nl (Sebastiaan Couwenberg) Date: Thu, 9 Apr 2026 09:02:38 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: References: Message-ID: <94a02273-72fa-48a1-8a3c-5268363fd24c@xs4all.nl> On 4/9/26 8:42 AM, Martin Landa via Ubuntu wrote: > Not sure what I am doing wrong... `git diff debian/3.34.15+dfsg-1 origin/ubuntu/noble` shows that the patches are applied. You need to unapply those (patch -p1 -R) and commit the unpatched files. Kind Regards, Bas -- PGP Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 From landa.martin at gmail.com Thu Apr 9 01:42:18 2026 From: landa.martin at gmail.com (Martin Landa) Date: Thu, 9 Apr 2026 10:42:18 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: <94a02273-72fa-48a1-8a3c-5268363fd24c@xs4all.nl> References: <94a02273-72fa-48a1-8a3c-5268363fd24c@xs4all.nl> Message-ID: Hi, ?t 9. 4. 2026 v 9:02 odes?latel Sebastiaan Couwenberg via Ubuntu < ubuntu at lists.osgeo.org> napsal: > `git diff debian/3.34.15+dfsg-1 origin/ubuntu/noble` shows that the > patches are applied. > > You need to unapply those (patch -p1 -R) and commit the unpatched files. > ah, I see. Solved. Thanks for your support! Martin -- Martin Landa https://geomatics.fsv.cvut.cz/en/employees/martin-landa/ https://gismentors.cz/mentors/landa -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastic at xs4all.nl Thu Apr 9 01:51:45 2026 From: sebastic at xs4all.nl (Sebastiaan Couwenberg) Date: Thu, 9 Apr 2026 10:51:45 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: References: <94a02273-72fa-48a1-8a3c-5268363fd24c@xs4all.nl> Message-ID: <1577c7e9-f956-41cc-90f7-6cd3c030d4a8@xs4all.nl> On 4/9/26 10:42 AM, Martin Landa via Ubuntu wrote: > ah, I see. Solved. Thanks for your support! Martin Your solution created new problems: https://alioth-lists.debian.net/pipermail/pkg-grass-devel/2026-April/120040.html Kind Regards, Bas -- PGP Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 From landa.martin at gmail.com Thu Apr 9 03:15:16 2026 From: landa.martin at gmail.com (Martin Landa) Date: Thu, 9 Apr 2026 12:15:16 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: <1577c7e9-f956-41cc-90f7-6cd3c030d4a8@xs4all.nl> References: <94a02273-72fa-48a1-8a3c-5268363fd24c@xs4all.nl> <1577c7e9-f956-41cc-90f7-6cd3c030d4a8@xs4all.nl> Message-ID: Dear Bas, ?t 9. 4. 2026 v 10:51 odes?latel Sebastiaan Couwenberg via Ubuntu < ubuntu at lists.osgeo.org> napsal: > On 4/9/26 10:42 AM, Martin Landa via Ubuntu wrote: > > ah, I see. Solved. Thanks for your support! Martin > > Your solution created new problems: > > > https://alioth-lists.debian.net/pipermail/pkg-grass-devel/2026-April/120040.html I see, I tried to fix it by c48165c162c50d090aabf771199237c19184d949, but now the build fails again. dpkg-source: info: local changes detected, the modified files are: qgis/ChangeLog dpkg-source: error: aborting due to unexpected upstream changes, see /data/tmp/qgis_3.44.8+dfsg-1~noble1.diff.z4vhRT dpkg-source: hint: make sure the version in debian/changelog matches the unpacked source tree dpkg-source: hint: you can integrate the local changes with dpkg-source --commit gbp:error: 'git-pbuilder -sa' failed: it exited with 2 Truly to say, I am lost. Sorry. Martin -- Martin Landa https://geomatics.fsv.cvut.cz/en/employees/martin-landa/ https://gismentors.cz/mentors/landa -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastic at xs4all.nl Thu Apr 9 03:39:29 2026 From: sebastic at xs4all.nl (Sebastiaan Couwenberg) Date: Thu, 9 Apr 2026 12:39:29 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: References: <94a02273-72fa-48a1-8a3c-5268363fd24c@xs4all.nl> <1577c7e9-f956-41cc-90f7-6cd3c030d4a8@xs4all.nl> Message-ID: <16906cba-7a5e-4452-8ab6-c458e1714db1@xs4all.nl> On 4/9/26 12:15 PM, Martin Landa via Ubuntu wrote: > I see, I tried to fix it by c48165c162c50d090aabf771199237c19184d949, but > now the build fails again. > > dpkg-source: info: local changes detected, the modified files are: > qgis/ChangeLog > dpkg-source: error: aborting due to unexpected upstream changes, see > /data/tmp/qgis_3.44.8+dfsg-1~noble1.diff.z4vhRT You shouldn't have modified in the ChangeLog file, as can be seen in the diff. > Truly to say, I am lost. Sorry. Martin See: https://alioth-lists.debian.net/pipermail/pkg-grass-devel/2026-April/120045.html Kind Regards, Bas -- PGP Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 From landa.martin at gmail.com Thu Apr 23 03:34:20 2026 From: landa.martin at gmail.com (Martin Landa) Date: Thu, 23 Apr 2026 12:34:20 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: <16906cba-7a5e-4452-8ab6-c458e1714db1@xs4all.nl> References: <94a02273-72fa-48a1-8a3c-5268363fd24c@xs4all.nl> <1577c7e9-f956-41cc-90f7-6cd3c030d4a8@xs4all.nl> <16906cba-7a5e-4452-8ab6-c458e1714db1@xs4all.nl> Message-ID: Hi, ?t 9. 4. 2026 v 12:39 odes?latel Sebastiaan Couwenberg via Ubuntu < ubuntu at lists.osgeo.org> napsal: > > Truly to say, I am lost. Sorry. Martin > > See: > https://alioth-lists.debian.net/pipermail/pkg-grass-devel/2026-April/120045.html I got it, and it should be fixed now in git. But still QGIS doesn't compile successfully :-( ... [4358/6058 71%] /usr/bin/c++ ... rver/build/_server/sip_serverpart20.cpp ninja: build stopped: subcommand failed. dh_auto_build: error: cd debian/build && LC_ALL=C.UTF-8 ninja -j12 -v returned exit code 1 make: *** [debian/rules:137: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: Cleaning COW directory I: forking: rm -rf /var/cache/pbuilder/build/cow.1524314 gbp:error: 'git-pbuilder -sa' failed: it exited with 1 Do you have any idea what is wrong? Thanks in advance for your feedback, Martin -- Martin Landa https://geomatics.fsv.cvut.cz/en/employees/martin-landa/ https://gismentors.cz/mentors/landa -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastic at xs4all.nl Thu Apr 23 03:43:29 2026 From: sebastic at xs4all.nl (Sebastiaan Couwenberg) Date: Thu, 23 Apr 2026 12:43:29 +0200 Subject: [Ubuntu] unable to build qgis 3.44.8 for ubuntugis In-Reply-To: References: <94a02273-72fa-48a1-8a3c-5268363fd24c@xs4all.nl> <1577c7e9-f956-41cc-90f7-6cd3c030d4a8@xs4all.nl> <16906cba-7a5e-4452-8ab6-c458e1714db1@xs4all.nl> Message-ID: On 4/23/26 12:34 PM, Martin Landa via Ubuntu wrote: > Do you have any idea what is wrong? No, you cut out all the relevant output. Kind Regards, Bas -- PGP Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1