Control: tags 1139245 patch

On 2026-07-21 Adrian Bunk <[email protected]> wrote:
> On Tue, Jul 21, 2026 at 07:35:48PM +0200, Andreas Metzler wrote:
[...] 
> > Sadly I can.
> > 
> > Log attached (plain dpkg-buildpackage  -uc -us -rfakeroot -j1 -b)

> The patching at the start goes wrong.

> Is there anything like /tmp/.pc or /tmp/patches or similar in /tmp that 
> quilt might be using instead of the patches it should?

Hello,

Thanks for the hint adrian.

~/.quiltrc with QUILT_PATCHES=debian/patches exists, which
overrides quilt options set via environment args. A trivial fix for
x2gokdrive would be to invoke quilt with "--quiltrc /dev/null":

---------------
--- a/debian/rules      2026-07-22 05:16:11.647298008 +0000
+++ x2gokdrive-0.0.0.3/debian/rules     2024-03-25 16:17:55.000000000 +0000
@@ -32,13 +32,13 @@ override_dh_auto_configure:
                export XORG_UPSTREAM_VERSION="$$(grep AC_INIT 
'$(CURDIR)/BUILD/xorg-server/configure.ac' | sed -r 's/^AC_INIT[^,]*, 
([^,]+),.*/\1/')" && \
                cd '$(CURDIR)/BUILD/xorg-server' && \
                if [ -d  "../../patches.xorg/$${XORG_UPSTREAM_VERSION}" ]; then 
\
-                       
QUILT_PATCHES="../../patches.xorg/$${XORG_UPSTREAM_VERSION}/" quilt --quiltrc 
/dev/null pop -a; \
+                       
QUILT_PATCHES="../../patches.xorg/$${XORG_UPSTREAM_VERSION}/" quilt pop -a; \
                        rm .pc/ -Rfv; \
-                       
QUILT_PATCHES="../../patches.xorg/$${XORG_UPSTREAM_VERSION}/" quilt --quiltrc 
/dev/null push -a; \
+                       
QUILT_PATCHES="../../patches.xorg/$${XORG_UPSTREAM_VERSION}/" quilt push -a; \
                else \
-                       QUILT_PATCHES='../../patches.xorg/latest-available/' 
quilt --quiltrc /dev/null pop -a; \
+                       QUILT_PATCHES='../../patches.xorg/latest-available/' 
quilt pop -a; \
                        rm -Rfv '.pc'; \
-                       QUILT_PATCHES='../../patches.xorg/latest-available/' 
quilt --quiltrc /dev/null push -a; \
+                       QUILT_PATCHES='../../patches.xorg/latest-available/' 
quilt push -a; \
                        QUILT_EXITCODE="$${?}"; \
                        if [ '0' != "$${QUILT_EXITCODE}" ]; then \
                                ( \
---------------

cu Andreas
-- 
"You people are noisy," Nia said.
I made the gesture of agreement.

Reply via email to