openwrt/video

cairo: Fails to build with `Package libcairo is missing dependencies for the following libraries: liblzo2.so.2` in 22.03.

dreirund opened this issue · 1 comments

Maintainer:

@dangowrt

Environment:

  • Building for Xunlog OrangePi Plus (sun8i):
    grep ^CONFIG_TARGET .config:

    CONFIG_TARGET_sunxi=y
    CONFIG_TARGET_sunxi_cortexa7=y
    CONFIG_TARGET_sunxi_cortexa7_DEVICE_xunlong_orangepi-plus=y
    CONFIG_TARGET_BOARD="sunxi"
    CONFIG_TARGET_SUBTARGET="cortexa7"
    CONFIG_TARGET_PROFILE="DEVICE_xunlong_orangepi-plus"
    CONFIG_TARGET_ARCH_PACKAGES="arm_cortex-a7_neon-vfpv4"
    [...]
    
  • OpenWrt version:

    • Git branch openwrt-22.03 from git://git.openwrt.org/openwrt/openwrt.git,
    • initially checked out on 2022-07-05,
    • latest git pull and ./scripts/feeds update -a && ./scripts/feeds update -a on 2022-07-20, ca. 08:15 UTC
      (I give up on posting latest commit date and hash, since git log gives me some old dates, and I don't know how I can make git log printing out the last operation. I don't know much about git.)
  • Building on GNU/Linux on x86_64-architecture (Distribution: → Artix Linux).

  • OpenWrt configuration: → .config

  • grep -i cairo .config:

    CONFIG_PACKAGE_libcairo=m
    
  • grep -i liblzo .config:

    CONFIG_PACKAGE_liblzo=y
    

Description:

make -j6 fails in above configuration on package/feeds/video/cairo.
An explicit run of
make -j1 V=sc package/feeds/video/cairo/{clean,compile}
fails with

Package libcairo is missing dependencies for the following libraries:
liblzo2.so.2

Full compile log: → cairo.compile.log.

d567e13

I can confirm that this fixes the issue for me.