• Bug#1103519: sbuild: Error reading configuration: BUILD_PATH must be an

    From Arnaud Rebillout@21:1/5 to All on Fri Apr 18 16:10:01 2025
    Package: sbuild
    Version: 0.89.0
    Severity: normal

    Dear Maintainer,

    since version 0.89.0 (it seems) I get this error when I try to build a
    package:

    ```
    $ sbuild
    Error reading configuration: BUILD_PATH must be an absolute path at /usr/share/perl5/Sbuild/Conf.pm line 1016.
    ```

    My sbuild config file:

    ```
    $ cat ~/.config/sbuild/config.pl
    # build 'Architecture: all' packages
    $build_arch_all = 1;
    # build the source package
    $build_source = 1;
    # run lintian, show informational tags
    $run_lintian = 1;
    $lintian_opts = ['-I'];
    # Cf. NEWS file for 0.87.1
    $build_path = "";
    $log_filter = 1;
    # Cf. ???
    $chroot_mode = "schroot";
    $schroot = "schroot";
    ```

    It seems that sbuild doesn't like the pair of options that are
    recommended in the NEWS file

    ```
    $build_path = "";
    $log_filter = 1;
    ```

    If I comment it out, sbuild works again.

    Thanks,

    Arnaud

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.22-amd64 (SMP w/12 CPU threads; PREEMPT)
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages sbuild depends on:
    ii adduser 3.150
    ii libsbuild-perl 0.89.0
    ii perl 5.40.1-3

    Versions of packages sbuild recommends:
    ii autopkgtest 5.49
    ii debootstrap 1.0.140
    ii iproute2 6.14.0-3
    ii mmdebstrap 1.5.7-1
    ii schroot 1.6.13-6
    ii uidmap 1:4.17.4-1

    Versions of packages sbuild suggests:
    ii e2fsprogs 1.47.2-1+b1
    ii kmod 34.2-1
    ii wget 1.25.0-2

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)