• Bug#1042931: dpkg-dev: dpkg-buildpackage -P option does not work

    From Thorsten Glaser@1:229/2 to All on Thu Aug 3 03:40:01 2023
    XPost: linux.debian.bugs.dist
    From: tg@mirbsd.de

    [SoupGate killed MIME-encoded file 00000000.ATT (1660 bytes)]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Thorsten Glaser@1:229/2 to All on Thu Aug 3 22:30:01 2023
    XPost: linux.debian.bugs.dist
    From: tg@mirbsd.de

    Hi Guillem,

    I think there's another report about "suboptimal option parsing"
    behavior, which I'll check later whether it makes sense to merge.

    oh.

    Otherwise you should use -Pprofile or --build-profiles=profile.

    Ah, hmm. I gathered the latter, but the former was somewhat
    unexpected, considering I mostly encounter utilities that
    use getopt(3) or ksh getopts which honour the POSIX utility
    syntax guidelines.

    Thanks,
    //mirabilos
    --
    /⁀\ The UTF-8 Ribbon
    ╲ ╱ Campaign against
     ╳  HTML eMail! Also,
    ╱ ╲ header encryption!

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Guillem Jover@1:229/2 to Thorsten Glaser on Thu Aug 3 09:50:01 2023
    XPost: linux.debian.bugs.dist
    From: guillem@debian.org

    Hi!

    On Thu, 2023-08-03 at 03:29:54 +0200, Thorsten Glaser wrote:
    Package: dpkg-dev
    Version: 1.21.22
    Severity: normal
    X-Debbugs-Cc: tg@mirbsd.de

    I tried to use build profiles for the first time today, and after
    running into trouble with pbuilder I tried to run it manually and
    found that even that doesn’t work:

    $ dpkg-buildpackage -P nocheck
    dpkg-buildpackage: error: unknown option or argument nocheck

    Use --help for program usage information.

    I think there's another report about "suboptimal option parsing"
    behavior, which I'll check later whether it makes sense to merge.
    Otherwise you should use -Pprofile or --build-profiles=profile.

    Thanks,
    Guillem

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