Skip to content

ola: fix host compilation in buildbot#29485

Open
GeorgeSapkin wants to merge 1 commit into
openwrt:masterfrom
GeorgeSapkin:ola-fix-host-includes
Open

ola: fix host compilation in buildbot#29485
GeorgeSapkin wants to merge 1 commit into
openwrt:masterfrom
GeorgeSapkin:ola-fix-host-includes

Conversation

@GeorgeSapkin
Copy link
Copy Markdown
Member

@GeorgeSapkin GeorgeSapkin commented May 18, 2026

📦 Package Details

Maintainer: @bk138
Description:

Add explicit host includes to fix uuid.h lookup in buildbot.

Fixes: 5e4f937 ("ola: use protobuf-compat instead of protobuf")


🧪 Run Testing Details

  • OpenWrt Version:
  • OpenWrt Target/Subtarget:
  • OpenWrt Device:

Compile-tested only.


✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

@GeorgeSapkin GeorgeSapkin force-pushed the ola-fix-host-includes branch from e640a3c to e14b662 Compare May 18, 2026 19:50
Add explicit host includes to fix uuid.h lookup in buildbot.

Fixes: 5e4f937 ("ola: use protobuf-compat instead of protobuf")
Signed-off-by: George Sapkin <george@sapk.in>
@GeorgeSapkin GeorgeSapkin force-pushed the ola-fix-host-includes branch from e14b662 to e4454f4 Compare May 18, 2026 19:51
@GeorgeSapkin GeorgeSapkin changed the title ola: fix host compilation ola: fix host compilation in buildbot May 18, 2026
@commodo
Copy link
Copy Markdown
Contributor

commodo commented May 19, 2026

Similar approach but more compact: #29473

Apparently the $(PKG_CONFIG_PATH) is a bug in HOST_CONFIGURE_VARS

Comment thread net/ola/Makefile
CXXFLAGS="-I$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/include $(HOST_CXXFLAGS)" \
LDFLAGS="-L$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/lib $(HOST_LDFLAGS)"
PKG_CONFIG_PATH="$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/lib/pkgconfig:$(STAGING_DIR_HOST)/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
CPPFLAGS="-I$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/include -I$(STAGING_DIR_HOST)/include $(HOST_CPPFLAGS)" \
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.

Looks good! I wonder if we can get rid of the special $(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/include and just use $(STAGING_DIR_HOST)/include ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants