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

Fixing the Esp32 firmware build error on Debian and Raspberry #3675

Merged
merged 1 commit into from
Dec 21, 2024

Conversation

serg3295
Copy link

@serg3295 serg3295 commented Dec 21, 2024

Fixes #3674 .

  • This PR is for the dev branch rather than for the release branch.
  • This PR is compliant with the other contributing guidelines as well (if not, please describe why).
  • I have thoroughly tested my contribution.
  • The code changes are reflected in the documentation at docs/*.

To calculate BUILDINFO_LFS_SIZE, awk "{print strtonum( $1 )}" is currently used.
The strtonum() function is a gawk extension.
But the gawk package is not included by default in Debian stable.
To ensure the firmware build on all systems, we have to replace awk "{print strtonum( $1 )}" with xargs printf "%d"

@jmattsson jmattsson merged commit d53f8fe into nodemcu:dev-esp32 Dec 21, 2024
24 checks passed
@serg3295 serg3295 deleted the fix-build-on-debian branch December 22, 2024 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants