• Bug#1108837: [Pkg-nginx-maintainers] Bug#1108837: Can't build Nginx pac

    From =?utf-8?Q?Heged=C3=BCs?= Ervin@1:229/2 to Sylvain Beucler on Sun Jul 6 11:00:01 2025
    From: [email protected]

    Hi,

    On Sun, Jul 06, 2025 at 10:01:52AM +0200, Sylvain Beucler wrote:

    This build's fine for me on a fresh bullseye install:

    apt source nginx
    cd nginx-1.18.0/
    apt build-dep .
    time debuild

    hmm... thanks.


    The latest Salsa version is in a MR: https://salsa.debian.org/nginx-team/nginx/-/merge_requests/92

    thanks too, I forgot to check PR's, sorry :)

    (and still in need of a merge! ;))

    :)

    The package was rebuilt from source before upload too: https://buildd.debian.org/status/package.php?suite=bullseye-security&p=nginx so there's probably something wrong in your setup.

    yes, meanwhile I checked buildd logs, and it seems like
    everything is okay.

    You can try to locate the first make *** error for clues, or compare with
    the above build logs.

    It's very weird that I tried to build from salsa (older version
    of package), or older Debian version of package (deb11u3), but
    always get this error:

    make[1]: Entering directory '/home/airween/src/nginx-1.18.0'
    cd /home/airween/src/nginx-1.18.0/debian/modules/http-cache-purge && QUILT_PATCHES=/home/airween/src/nginx-1.18.0/debian/modules/patches/http-cache-purge quilt push -a
    cd /home/airween/src/nginx-1.18.0/debian/modules/http-lua && QUILT_PATCHES=/home/airween/src/nginx-1.18.0/debian/modules/patches/http-lua quilt push -a
    File series fully applied, ends at patch CVE-2024-7347-2.patch
    make[1]: *** [debian/rules:165: config.patch.http-cache-purge] Error 2
    make[1]: *** Waiting for unfinished jobs....
    File series fully applied, ends at patch CVE-2024-7347-2.patch
    make[1]: *** [debian/rules:165: config.patch.http-lua] Error 2
    make[1]: Leaving directory '/home/airween/src/nginx-1.18.0'
    make: *** [debian/rules:133: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 debuild: fatal error at line 1182:
    dpkg-buildpackage -us -uc -ui failed

    Perhaps I try to install a new VM with Debian 11...


    Thanks, anyway.


    a.

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Ervin =?utf-8?Q?Heged=C3=BCs?=@1:229/2 to All on Sun Jul 6 11:10:01 2025
    From: [email protected]

    Hi again,

    I think I found the root cause of this problem.

    This machine is one of my developer machines.

    I usually build packages here and use quilt, so I set up my
    ~/.quiltrc file.

    It seems like this file overwrites something, and brakes the
    package's quilt mechanism.

    I moved ~/.quiltrc to ~/.quiltrc.BAK, and the problem has solved.


    Thanks and sorry for the noise.



    a.

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)