• Bug#1092653: dpkg-dev: doesn't like Rules-Requires-Root keywords outsid

    From Samuel Thibault@1:229/2 to All on Fri Jan 10 14:30:01 2025
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Package: dpkg-dev
    Version: 1.22.11
    Severity: important

    Hello,

    I tried using debhelper/upstream-make-install, but I'm getting

    dpkg-buildpackage: error: Rules-Requires-Root field keyword "debhelper/upstream-make-install" is unknown in dpkg namespace

    From the scripts/Dpkg/BuildDriver/DebianRules.pm
    _parse_rules_requires_root source code, it seems like dpkg does not
    ignore keywords that are outside the dpkg/ namespace ?

    Samuel

    -- Package-specific info:

    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'
    ), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
    Architecture: amd64 (x86_64)
    Foreign Architectures: i386, arm64

    Kernel: Linux 6.12.5-amd64 (SMP w/8 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 dpkg-dev depends on:
    ii binutils 2.43.50.20241215-1
    ii bzip2 1.0.8-6
    ii libdpkg-perl 1.22.11
    ii make 4.4.1-1
    ii patch 2.7.6-7
    ii perl 5.40.0-8
    ii tar 1.35+dfsg-3
    ii xz-utils 5.6.3-1+b1

    Versions of packages dpkg-dev recommends:
    ii build-essential 12.12
    ii clang-16 [c-compiler] 1:16.0.6-27+b1
    ii clang-17 [c-compiler] 1:17.0.6-18
    ii clang-18 [c-compiler] 1:18.1.8-12
    ii clang-19 [c-compiler] 1:19.1.5-1
    ii fakeroot 1.36-1
    ii gcc [c-compiler] 4:14.2.0-1
    ii gcc-11 [c-compiler] 11.5.0-1
    ii gcc-12 [c-compiler] 12.4.0-2
    ii gcc-13 [c-compiler] 13.3.0-11
    ii gcc-14 [c-compiler] 14.2.0-11
    ii gcc-15 [c-compiler] 15-20241220-1
    ii gnupg 2.2.45-2
    ii gpgv 2.2.45-2
    ii libalgorithm-merge-perl 0.08-5

    Versions of packages dpkg-dev suggests:
    ii debian-keyring 2024.09.22

    -- no debconf information

    --
    Samuel
    <B> l'alim je sais o� elle est, elle est juste � c�t� de la dame qui dort
    <g> B: clairement faut revoir les priorit�s dans la vie
    <g> B: une dame �a se retrouve, un uptime...

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Guillem Jover@1:229/2 to Samuel Thibault on Fri Jan 10 14:50:01 2025
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Hi!

    On Fri, 2025-01-10 at 14:23:55 +0100, Samuel Thibault wrote:
    Package: dpkg-dev
    Version: 1.22.11
    Severity: important

    I tried using debhelper/upstream-make-install, but I'm getting

    dpkg-buildpackage: error: Rules-Requires-Root field keyword "debhelper/upstream-make-install" is unknown in dpkg namespace

    From the scripts/Dpkg/BuildDriver/DebianRules.pm
    _parse_rules_requires_root source code, it seems like dpkg does not
    ignore keywords that are outside the dpkg/ namespace ?

    Ugh, this is a regression from the refactor for the build driver
    support. This had been fixed in the past, but missed including it in
    the branch which preceded the fix. I'll reintegrate the fix from
    commit dcfbe8b626cd6c3551afe7cd46500bdd38d4c200.

    Thanks,
    Guillem

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