On Mon, Sep 14, 2026 at 06:19:32PM +0200, Paul Menzel wrote:
>     # enable warnings and -Werror by default when building from the repo
> (check with
>     # -e as .git is a file in worktrees)
>     if test x$warnings_given = xfalse -a -e "$srcdir"/.git; then
>           warnings=true
>     fi
> 
> then configure.ac:1401-1425:
> 
>     WARN_CFLAGS=
>     if test x$warnings = xtrue; then
>           WARN_CFLAGS="-Werror -Wall -Wextra"     # ← only when .git exists
>     fi

This explains your build failure indeed.

Packages are not required by Policy to build out of the box from a git
checkout. Some maintainers aim at being able to do that, and some
others do not.

For example, some packages require additional build-dependencies if
you want to build them from a git checkout. As I value a short
build-depends list over the ability to build from a git checkout, I
would not consider that to be a bug at all if it happened to me.

[...]

> The warnings are also present in your log. No idea, how to proceed.

You don't have to do anything else. The maintainer (which I'm not) will
decide if they want to support build from git checkout or not for this
particular package.

(I just downgraded the bug because this category of bugs is not
considered to be release-critical).

Thanks.

Reply via email to