• Bug#1061120: rust-ahash-0.7 autopkgtest failure

    From Jonas Smedegaard@21:1/5 to All on Thu Jan 18 21:00:01 2024
    Quoting Peter Green (2024-01-18 19:29:59)
    The autopkgtests for rust-ahash-0.7 are failing, this is blocking the migration of rust-ahash-0.7 to testing which is in turn blocking the migration of at least one rc bug fix to testing.

    There are two issues, the first is that the autopkgtests are trying
    to test a "runtime-rng" feature, but no such feature exists. My guess
    is that there was some confusion between versions of ahash. I removed
    the tests and the corresponding provides.

    The second issue is more subtle. The "atomic-polyfill" feature
    enables the dependency on the atomic-polyfill crate. However the
    dependency on the atomic-polyfill crate is disabled on linux
    (among many other targets). Disabling of a dependency on a target
    overrides enabling the dependency in a feature. However the code
    is not aware of this. The result is that building on Linux with
    the atomic-polyfill feature enabled fails.

    Thanks for the valuable input.

    I am not convinced about the assessment related to and need for
    disabling runtime-rng, however, and it also seems that you applied not
    one but several measures for the atomic-polyfill issue - I will try do a
    more minimal fix for the atomic-polyfill issue to see if that is
    adequate.


    - Jonas

    --
    * Jonas Smedegaard - idealist & Internet-arkitekt
    * Tlf.: +45 40843136 Website: http://dr.jones.dk/
    * Sponsorship: https://ko-fi.com/drjones

    [x] quote me freely [ ] ask before reusing [ ] keep private --==============87618726939478545=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

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

    iQIzBAABCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmWpgQsACgkQLHwxRsGg ASEMcxAAlzv989UF6xvR2A/MxK/e8V2rC0/WRhyx3KzpMyWJgvUQbBs2u2czF56C mpJ50DlpwEi7H0TIrVOj5y3ZaI4mbF4gyrrrJErc0x3kuCo6NCDgclQGZe4ZdYeA M/fF+pQTFrwkd0B0UhAHdFKw8h711eZgZPYLLJmdk/o/VAzuvruJvknptbtGAiG4 qRvw6X8s82xp07nKcztZNB+sB3/XSlNrFsrrjf5ZSgt8JFrMFe6CgITb2UEATqNl AptcdKyFmOnoMSzzI3ioism2HGmJa5QaHGeOoS25SgPIeUX9u03zbJyrG36NQL/y IZHWmNyXocpHqBZQaM5nmMNs+FbCd1TVcxPsppId4nNZ1kPlnoJDzg5q07ZlNbYw k12vmVj6VmkwjS0QaQX/tu0AKj4jXFrQlm0yaTZ0pawPDHq1AcdVxw41JE3kzbXj PCwuj5uE+SXuZY+N9TYZtBWaRsmDJkrrhqOwjQS9