Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3880 - Build failure when building custom firmware with python package #8872

Closed
openwrt-bot opened this issue Jun 15, 2021 · 4 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

vampik:

Software version: latest master (r16955-946019637e)

I'm unable to build a custom firmware with python3-light package enabled.

I'm encountering the build failure:

Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency libpython3--3.9 for python3-base
  • pkg_hash_fetch_best_installation_candidate: Packages for python3-base found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package python3-base.
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for python3-light:
  •  libpython3--3.9
    
  • opkg_install_cmd: Cannot install package python3-light.
    make[2]: *** [package/Makefile:70: package/install] Error 255

The package is built as libpython3-3.9, but python3-base wants libpython3--3.9 (note the two dashes).

The build is broken after this commit: f6a03bf build: prepend ABI suffixes with a dash if package name ends with digit
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=f6a03bff5bccdbf9165087bccbb35095903d05c6

Reverting this commit allows to successfully build the firmware.

@openwrt-bot
Copy link
Author

vampik:

The reason for reporting it here is that the build is broken after the commit in OpenWrt Project repository. I don't see anything wrong in python package makefile.

@openwrt-bot
Copy link
Author

vampik:

Resolved on github: openwrt/packages#15871

@openwrt-bot
Copy link
Author

hnyman:

The fix from jow is actually on the main OpenWrt side:
fbb9b1f

@openwrt-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant