• lintian preventing uploads

    From Russell Coker@21:1/5 to All on Mon Oct 21 06:10:01 2024
    warzone2100 source: lintian output: 'license-problem-json-evil 3rdparty/ discord-rpc/thirdparty/rapidjson/license.txt', automatically rejected package. warzone2100 source: If you have a good reason, you may override this lintian tag.

    I'm getting new uploads of warzone2100 rejected and it sends me email with the above content.

    $ cat debian/source/lintian-overrides
    # We aren't building with Discord support and therefore everything under
    # 3rdparty/discord-rpc is not relevant. If in future we add Discord support
    we
    # should Build-Depend on rapidjson-dev.
    warzone2100 source: license-problem-json-evil [3rdparty/discord-rpc/ thirdparty/rapidjson/license.txt]

    I have the above Lintian override filem, which works acording to the following output of running Lintian locally but apparently the version of lintian used for checking uploads is older and has a different format. How would I configure my package to override this? The code in question is not compiled
    as part of building that package and I'm planning to put in a patch to include #error in every source file.

    $ lintian warzone2100_4.5.3-1_amd64.changes
    W: warzone2100 source: build-depends-on-obsolete-package Build-Depends: pkg- config => pkgconf
    W: warzone2100 source: source-contains-prebuilt-windows-binary [pkg/nsis/ plugins/amd64-unicode/INetC.dll]
    W: warzone2100 source: source-contains-prebuilt-windows-binary [pkg/nsis/ plugins/amd64-unicode/filecheck.dll]
    W: warzone2100 source: source-contains-prebuilt-windows-binary [pkg/nsis/ plugins/amd64-unicode/nsisunz.dll]
    W: warzone2100 source: source-contains-prebuilt-windows-binary ... use "--tag- display-limit 0" to see all (or pipe to a file/program)

    --
    My Main Blog http://etbe.coker.com.au/
    My Documents Blog http://doc.coker.com.au/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ansgar =?UTF-8?Q?=F0=9F=99=80?=@21:1/5 to Russell Coker on Mon Oct 21 08:40:01 2024
    Hi,

    On Mon, 2024-10-21 at 15:05 +1100, Russell Coker wrote:
    $ cat debian/source/lintian-overrides
    # We aren't building with Discord support and therefore everything under
    # 3rdparty/discord-rpc is not relevant.  If in future we add Discord support
    we
    # should Build-Depend on rapidjson-dev.
    warzone2100 source: license-problem-json-evil [3rdparty/discord-rpc/ thirdparty/rapidjson/license.txt]

    I have the above Lintian override filem, which works acording to the following
    output of running Lintian locally but apparently the version of lintian used for checking uploads is older and has a different format.  How would I configure my package to override this?

    You should not override the warning, but not include non-free files in
    uploads to Debian. That probably means removing non-free files here.

    Ansgar

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russell Coker@21:1/5 to All on Mon Oct 21 09:00:01 2024
    On Monday, 21 October 2024 17:12:24 AEDT Ansgar 🙀 wrote:
    Hi,

    On Mon, 2024-10-21 at 15:05 +1100, Russell Coker wrote:
    $ cat debian/source/lintian-overrides
    # We aren't building with Discord support and therefore everything under
    # 3rdparty/discord-rpc is not relevant. If in future we add Discord support we
    # should Build-Depend on rapidjson-dev.
    warzone2100 source: license-problem-json-evil [3rdparty/discord-rpc/ thirdparty/rapidjson/license.txt]

    I have the above Lintian override filem, which works acording to the following output of running Lintian locally but apparently the version of lintian used for checking uploads is older and has a different format.
    How would I configure my package to override this?

    You should not override the warning, but not include non-free files in uploads to Debian. That probably means removing non-free files here.

    Are you talking about a patch in quilt to remove all contents or a rebuild of the upstream source archive without the files in question?

    --
    My Main Blog http://etbe.coker.com.au/
    My Documents Blog http://doc.coker.com.au/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Russell Coker on Mon Oct 21 09:50:01 2024
    On Mon, Oct 21, 2024 at 05:58:20PM +1100, Russell Coker wrote:
    $ cat debian/source/lintian-overrides
    # We aren't building with Discord support and therefore everything under # 3rdparty/discord-rpc is not relevant. If in future we add Discord support we
    # should Build-Depend on rapidjson-dev.
    warzone2100 source: license-problem-json-evil [3rdparty/discord-rpc/ thirdparty/rapidjson/license.txt]

    I have the above Lintian override filem, which works acording to the following output of running Lintian locally but apparently the version of lintian used for checking uploads is older and has a different format. How would I configure my package to override this?

    You should not override the warning, but not include non-free files in uploads to Debian. That probably means removing non-free files here.

    Are you talking about a patch in quilt to remove all contents or a rebuild of
    the upstream source archive without the files in question?

    A patch will *not* remove the file from the upload. You need to repack the upstream source.
    (this is a really surprising question)

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmcWBsEtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh NJIQAIoz4LamfO9dqibaEF6n0I8CggvKvpTKiRoCg0nfMT9CwU91o5Onjfo0nIiG iMXxsuiDPkpsNZSUEQ2oSf5Vl5NoPNgd2VhIRtQ0BEh9OwtoUBkXfU3R/xTvTjKb +nvB4x8JYCTCBiy1WaXGKWg+4peJ+36rG++8nHEFxlIxM90hRwNpdwA/aNwMUs5o u3lHybAmfmKIAjJqsvEUG5LpYw9R3ZW2JqJwoRLtcFmhz9TW49HpqxNNsVCkmIbp ko5d2kmteeyGYxKGefJttbUtXLAGfaOBMax/oAt7i147FS5y4X+GSYBDzPGZ/2mm YeJM1EGR4opqcj6FU8HXMlN8EsEwSj6t59xAP6me29sLmohGJb//KbjGYhQzhhLp P4IosyToIcn60mCaLb2jOkQCT+ubGrVqxJkQW2Cvz/w2K4HQzVLZxiq6+wulOX5/ CZ/Ql19m17CXw1viJgtQ0zqyMTCaBQpVhEmf/8O1w6FozmSfuuZ5Tw4XZhnkYYRg E8Y4/g6fn5jZrjMMVO2ZhBgypWmFXQBnlgkTjyInQ/hkerWPKFa8HJkS8QrjsddL BHNv9Gbae9LVqLLqTEcsGj0uleEfnmUSPT0AyQ8nHX2UgZY7cARWhqsNFMPhMVYE v/5HO6vxf3qGgF3WXGDYPacIpaz0N4gt1VdFcv2iOexpoU9w
    =Wxse
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From weepingclown@21:1/5 to All on Mon Oct 21 13:10:01 2024
    ------L85HOT1P5NM00Y8VCXQ5GVHXSP36CD
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Hi,

    https://wiki.debian.org/Javascript/Repacking can be useful.

    Best,
    Ananthu
    ------L85HOT1P5NM00Y8VCXQ5GVHXSP36CD
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE html><html><body><div dir="auto">Hi,<br><br><a href="https://wiki.debian.org/Javascript/Repacking">https://wiki.debian.org/Javascript/Repacking</a> can be useful.<br><br>Best,<br>Ananthu</div></body></html>
    ------L85HOT1P5NM00Y8VCXQ5GVHXSP36CD--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to Russell Coker on Wed Oct 23 22:20:01 2024
    On Mon, 2024-10-21 at 15:05 +1100, Russell Coker wrote:
    warzone2100 source: lintian output: 'license-problem-json-evil 3rdparty/ discord-rpc/thirdparty/rapidjson/license.txt', automatically rejected package.
    warzone2100 source: If you have a good reason, you may override this lintian tag.

    I'm getting new uploads of warzone2100 rejected and it sends me email with the
    above content.

    $ cat debian/source/lintian-overrides
    # We aren't building with Discord support and therefore everything under
    # 3rdparty/discord-rpc is not relevant. If in future we add Discord support we
    # should Build-Depend on rapidjson-dev.
    warzone2100 source: license-problem-json-evil [3rdparty/discord-rpc/ thirdparty/rapidjson/license.txt]
    [...]

    You are using brackets around the filename here, as expected by current lintian, but note that the error message does not include brackets.

    It seems like you should not override this particular error, but in
    general you can either:

    - Use 2 overrides for the 2 different error formats (and ignore the
    unused-override warnings).

    - Use a single override with each bracket replaced with '*' (wildcard).
    (This is also useful for covering usr-move differences in packages
    that get backported.)

    Ben.

    --
    Ben Hutchings
    No political challenge can be met by shopping. - George Monbiot


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmcZWcYACgkQ57/I7JWG EQnnuw/7B0ELSysv1UPz4jR39HEEvLiOMaeUgqmzMGXdjD8nQQ2fHD4f8r+MiOOq m7kBu3nJYoeFbMV/COaSojowdaFPHmcIFNjjhu3Kb08/uBz2bKhe4JBmHy78HoTb ROf5PK3S91G39AXg5rFxGtEo6uc/DAQsBkyUl6P4yyTxBHboZUJEFeO1Idej9OQc kLJVLo7TqhHrZNNsZ6NbApAW04IwEPxmdsi+F7lgoFjAptOd1sQQ+QcWHJSsZH92 q79JqQ+9o+SxtCPX18XlaOgz6MSUnfB/gftsRr51CLLJeB6Do4uUqSR8o8oP8nEQ /lBDzlB79yf3pW/Zz1wi8ebaVdRAs02KTF8d4o8aX7ZctSr6ew6rFphsWwV5J10Y Icm6tpq7pu6F2fGv7k7Qq7gV4Zs/53+cxIPjxzf+OvH4ddQiOZvW208f8AJwT0nB 2aVBBw50bJ8NrdyiiQEMWouvBMnx5J2ojEfnceCT3pMtpgAoO42Ws9UrY14RJE3J Q3vOQ5GM/2XD5B8wezdJdr1tteNXhFOvWSuD7co5tIjg7FR5ZX6aEcZ6drRDcSQ2 pvD0TAzty7GCCAqQUxTMe0+eHPTKOlkD441tEYtlzz6mPCC+JUg1p7j8vce1p5UF 8jihYsFpko7vVECVf7WgfEdIREwcs6dJxJrbo6RS85XP8wJ5958=
    =2S4u
    -----END PGP SIGNATURE-----

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