Skip to content

Update BUILDING.md to include libevent-dev#43252

Merged
andy31415 merged 1 commit into
project-chip:masterfrom
Saravana-kr22:documentation
Feb 23, 2026
Merged

Update BUILDING.md to include libevent-dev#43252
andy31415 merged 1 commit into
project-chip:masterfrom
Saravana-kr22:documentation

Conversation

@Saravana-kr22

Copy link
Copy Markdown
Contributor

Summary

ot-commissioner introduced via PR #43029 for Thread MeshCoP commissioning links against system libevent libraries (libevent_core, libevent_pthreads) on Linux. But docs/guides/BUILDING.md does not list libevent-dev in the “Installing prerequisites on Linux” apt-get command.

This mismatch causes fresh local linux builds of chip-tool / Python controller (and other controller targets) to fail at link time.

Related issues

#43198

Testing

Documentation-only change (no functional code changes). Adding it to the Linux prerequisites aligns local developer setup prerequisites.

Copilot AI review requested due to automatic review settings February 23, 2026 06:19
@CLAassistant

CLAassistant commented Feb 23, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Feb 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Linux build prerequisites documentation to reflect the new ot-commissioner dependency (introduced for Thread MeshCoP commissioning) that links against system libevent libraries on Debian/Ubuntu.

Changes:

  • Add libevent-dev to the Debian/Ubuntu apt-get install prerequisites list in docs/guides/BUILDING.md.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request updates the BUILDING.md documentation to include libevent-dev in the apt-get install command for Linux prerequisites. This change addresses a linking issue for ot-commissioner on fresh Linux builds. The change is a straightforward documentation update and directly resolves the reported issue. The existing comment is valid and aligns with good documentation practices, so it has been kept.

@github-actions

github-actions Bot commented Feb 23, 2026

Copy link
Copy Markdown

PR #43252: Size comparison from 7f6dd32 to 2ccf1d4

Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, efr32, esp32, nrfconnect, nxp, psoc6, qpg, realtek, stm32, telink)
platform target config section 7f6dd32 2ccf1d4 change % change
bl602 lighting-app bl602+mfd+littlefs+rpc FLASH 1108494 1108494 0 0.0
RAM 178746 178746 0 0.0
bl702 lighting-app bl702+eth FLASH 663574 663574 0 0.0
RAM 134753 134753 0 0.0
bl702+wifi FLASH 839276 839276 0 0.0
RAM 124293 124293 0 0.0
bl706+mfd+rpc+littlefs FLASH 1073508 1073508 0 0.0
RAM 117205 117205 0 0.0
bl702l contact-sensor-app bl702l+mfd+littlefs FLASH 906130 906130 0 0.0
RAM 105828 105828 0 0.0
lighting-app bl702l+mfd+littlefs FLASH 986574 986574 0 0.0
RAM 109692 109692 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 FLASH 779224 779224 0 0.0
RAM 103384 103384 0 0.0
lock-ftd LP_EM_CC1354P10_6 FLASH 786900 786900 0 0.0
RAM 108584 108584 0 0.0
pump-app LP_EM_CC1354P10_6 FLASH 731948 731948 0 0.0
RAM 97324 97324 0 0.0
pump-controller-app LP_EM_CC1354P10_6 FLASH 716468 716468 0 0.0
RAM 97524 97524 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 557516 557516 0 0.0
RAM 204512 204512 0 0.0
lock CC3235SF_LAUNCHXL FLASH 591864 591864 0 0.0
RAM 204808 204808 0 0.0
efr32 lock-app BRD4187C FLASH 969440 969440 0 0.0
RAM 125540 125540 0 0.0
BRD4338a FLASH 758724 758724 0 0.0
RAM 237792 237792 0 0.0
window-app BRD4187C FLASH 1067888 1067888 0 0.0
RAM 126796 126796 0 0.0
esp32 all-clusters-app c3devkit DRAM 98492 98492 0 0.0
FLASH 1590538 1590538 0 0.0
IRAM 93514 93514 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 955828 955828 0 0.0
RAM 162281 162281 0 0.0
nxp contact mcxw71+release FLASH 747472 747472 0 0.0
RAM 66976 66976 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1703236 1703236 0 0.0
RAM 214036 214036 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1604132 1604132 0 0.0
RAM 210892 210892 0 0.0
light cy8ckit_062s2_43012 FLASH 1470636 1470636 0 0.0
RAM 197040 197040 0 0.0
lock cy8ckit_062s2_43012 FLASH 1497812 1497812 0 0.0
RAM 224792 224792 0 0.0
qpg lighting-app qpg6200+debug FLASH 840572 840572 0 0.0
RAM 127844 127844 0 0.0
lock-app qpg6200+debug FLASH 779216 779216 0 0.0
RAM 118792 118792 0 0.0
realtek light-switch-app rtl8777g FLASH 705928 705928 0 0.0
RAM 113536 113536 0 0.0
lighting-app rtl8777g FLASH 752464 752464 0 0.0
RAM 114744 114744 0 0.0
stm32 light STM32WB5MM-DK FLASH 478336 478336 0 0.0
RAM 141392 141392 0 0.0
telink bridge-app tl7218x FLASH 726712 726712 0 0.0
RAM 95800 95800 0 0.0
light-app-ota-compress-lzma-shell-factory-data tl3218x FLASH 852298 852298 0 0.0
RAM 44244 44244 0 0.0
tl7218x FLASH 843696 843696 0 0.0
RAM 99632 99632 0 0.0
light-switch-app-ota-compress-lzma-factory-data tl7218x_retention FLASH 725272 725272 0 0.0
RAM 55832 55832 0 0.0
light-switch-app-ota-compress-lzma-shell-factory-data tlsr9528a FLASH 787898 787898 0 0.0
RAM 75016 75016 0 0.0
light-switch-app-ota-factory-data tl3218x_retention FLASH 725272 725272 0 0.0
RAM 33312 33312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 614890 614890 0 0.0
RAM 118292 118292 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 842546 842550 4 0.0
RAM 97340 97340 0 0.0

@codecov

codecov Bot commented Feb 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.73%. Comparing base (7f6dd32) to head (2ccf1d4).
⚠️ Report is 11 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #43252   +/-   ##
=======================================
  Coverage   53.73%   53.73%           
=======================================
  Files        1530     1530           
  Lines      105861   105861           
  Branches    13312    13312           
=======================================
  Hits        56884    56884           
  Misses      48977    48977           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@RaulMarquezInclan RaulMarquezInclan left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andy31415 andy31415 added the sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews. label Feb 23, 2026
@andy31415 andy31415 merged commit 5326e1a into project-chip:master Feb 23, 2026
82 of 84 checks passed
r-recchia pushed a commit to r-recchia/connectedhomeip that referenced this pull request May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation review - pending sdk-maintainer-approved PR marked by `matter-sdk-maintainers` as suitable for MERGE - meets guideline & sufficient reviews.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants