• Bug#1069551: numpy: FTBFS on armel: dh_auto_test: error: pybuild --test

    From Timo =?UTF-8?Q?R=C3=B6hling?=@21:1/5 to All on Sat Apr 20 22:20:01 2024
    Hi Lucas,

    * Lucas Nussbaum <lucas@debian.org> [2024-04-20 15:21]:
    Relevant part (hopefully):

    self = <numpy.core.tests.test_errstate.TestErrstate object at 0xf430fb10>

    @pytest.mark.skipif(IS_WASM, reason="fp errors don't work in wasm")
    @pytest.mark.skipif(arm_softfloat,
    reason='platform/cpu issue with FPU (gh-413,-15562)')
    def test_invalid(self):

    This test is supposed to be skipped on armel, as arm_softfloat is
    initialized with

    hosttype = sysconfig.get_config_var('HOST_GNU_TYPE')
    arm_softfloat = False if hosttype is None else hosttype.endswith('gnueabi')

    Can you help me figure out why this did not work with your rebuild?
    Judging from the configuration output,

    libdir : lib/arm-linux-gnueabi

    I would have expected that arm_softfloat is True. Maybe sysconfig.get_config_var('HOST_GNU_TYPE') returns None?


    Cheers
    Timo

    --
    ⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
    ⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
    ⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
    ⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯

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

    iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmYkIesACgkQzIxr3RQD 9MqQ6RAAzeD34MeQIxij7eKW2Shh4/1q28e8w5zfp7GlFSWwXxCJavjUAUQi8Z30 Qv/uK86c/id4OWyw5R50pz/+9fzpuAVxxNI1mwYVTwH1JbW7RZHXOoHsvVTGh+by Iu0TAAgwCryqQs3EhY60E5/zTh9EiWfPls7drrPIxB6qHTUG/nGzuinZvo5LzPBm dKS9hFMAI2oZ5der12+kMI2bhoPxx9nGYM9Di2Q8nMU8smpOoayCAx/c7yqDupC4 nGssIDvpC9GxBy5d61zHWYU1ype2OQF/jeFhWCBJaJPhFMmlZ/SVivf/EpnDSows y8mN6zPz8TmChB8atIDKowyaX9cM2XQ4yrsmqXAZXBM