[Pkg-nginx-maintainers] Bug#1108837: Bug#1108837: Can't build Nginx package from source

Hegedüs Ervin airween at gmail.com
Sun Jul 6 09:51:24 BST 2025


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.



More information about the Pkg-nginx-maintainers mailing list