meta-openembedded/meta-xfce/recipes-apps/menulibre
Hongxu Jia f6506e8a65
menulibre: fix do_install failed
Use pip 25.3 to install failed
...
Traceback (most recent call last):
  File "menulibre-2.4.0/setup.py", line 245, in <module>
    DistUtilsExtra.auto.setup(
    ~~~~~~~~~~~~~~~~~~~~~~~~~^
        name='menulibre',
        ^^^^^^^^^^^^^^^^^
    ...<12 lines>...
        cmdclass={'install': InstallAndUpdateDataDirectory}
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 98, in setup
    __requires(attrs, src_all)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 471, in __requires
    __add_imports(imports, s, attrs)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 405, in __add_imports
    if alias.name and __external_mod(cur_module, alias.name, attrs):
                      ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 377, in __external_mod
    return 'dist-packages' in mod.__file__ or 'site-packages' in mod.__file__ or \
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
...

Refer [1] to correct one line in setup.py

[1] 81be63961a

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-12 10:25:56 -08:00
..
files menulibre: fix do_install failed 2026-01-12 10:25:56 -08:00
menulibre_2.4.0.bb menulibre: fix do_install failed 2026-01-12 10:25:56 -08:00