On Mon, Sep 15, 2025 at 04:38:15AM +0900, Yukiharu YABUKI wrote:
I am struggle with gbp buildpackage for build.I am trying to fix FTBFS bug. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114447 I wrote inital fix code. But I do `dpkg-source --commit` dquilt (see https://www.debian.org/doc/manuals/debmake-doc/ch04.ja.html#gbp-setup) or gbp pq import failed. That is why I am still struggling with setting. I just wanted to build fix code. gbp cloned repository has already applied quilt patches.
Which is wrong.I'm somewhat surprised that it builds at all, and it will explode when you import a new upstream version (which I assume won't happen in this repo but it still needs to be said).
But dquilt says no quilt patches applied.
It can't know that they are applied, because you don't have quilt metadata (.pc/) that would say that, because you didn't use quilt to apply patches. It shouldn't be a problem though, because normally you either wouldn't use quilt/dquilt when using gbp or would have patches applied with it, not committed directly to master.
You are mixing several parts of different workflows, you need to decide on one and use only it.
In the gbp cloned reposity, I do `gbp pq import` said: ``` LANG=C gbp pq import gbp:info: Trying to apply patches at '127c2e9681bdf9ac34715b59a49b6430912171fe' gbp:warning: Patch debian-changes-1.3-7 failed to apply, retrying with whitespace fixup gbp:error: Failed to apply '/home/yabuki/scm/git/debian/xfireworks/debian/patches/debian-changes-1.3-7': Error running git apply: /home/yabuki/scm/git/debian/xfireworks/debian/patches/debian-changes-1.3-7:32: trailing whitespace. .\" error: patch failed: xfireworks.1:7 error: xfireworks.1: patch does not apply error: patch failed: Makefile:69 error: Makefile: patch does not apply error: patch failed: Disp.c:64 error: Disp.c: patch does not apply gbp:error: Couldn't apply patches ```
It, as all of gbp, assumes your master branch only has changes to debian/. It tries to apply your patches to a tree that already has them committed.
-- WBR, wRAR
signature.asc
Description: PGP signature