From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: yegorslists@googlemail.com
Cc: buildroot@buildroot.org, stefan_preiss@gmx.de, arnout@mind.be
Subject: Re: [Buildroot] [PATCH] package/poco: convert to CMake package
Date: Thu, 10 Sep 2026 21:27:02 +0200 [thread overview]
Message-ID: <aqMEKWVKb_2_RkGO@windsurf> (raw)
In-Reply-To: <20260701135640.3979236-1-yegorslists@googlemail.com>
Hello Yegor,
On Wed, Jul 01, 2026 at 03:56:40PM +0200, yegorslists--- via buildroot wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Currently when building with make, the cmake config files are not
> generated. This leads to problems when integrating the package in an
> application built with cmake.
>
> This patch is based on this one:
> https://lists.buildroot.org/pipermail/buildroot/2026-April/801019.html
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Sorry for the delay in getting back to you. Unfortunately, this patch
breaks the build.
I've tested this configuration:
BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_POCO=y
BR2_PACKAGE_POCO_ACTIVERECORD=y
BR2_PACKAGE_POCO_CPP_PARSER=y
BR2_PACKAGE_POCO_DATA_MYSQL=y
BR2_PACKAGE_POCO_DATA_PGSQL=y
BR2_PACKAGE_POCO_DATA_SQLITE=y
BR2_PACKAGE_POCO_JWT=y
BR2_PACKAGE_POCO_MONGODB=y
BR2_PACKAGE_POCO_NETSSL_OPENSSL=y
BR2_PACKAGE_POCO_PDF=y
BR2_PACKAGE_POCO_PROMETHEUS=y
BR2_PACKAGE_POCO_REDIS=y
BR2_PACKAGE_POCO_ZIP=y
# BR2_TARGET_ROOTFS_TAR is not set
which basically has all Poco sub-options enabled. And it fails with:
CMake Error at /home/thomas/projets/buildroot/output/host/share/cmake-4.4/Modules/FindPackageHandleStandardArgs.cmake:290 (message):
Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
Call Stack (most recent call first):
/home/thomas/projets/buildroot/output/host/share/cmake-4.4/Modules/FindPackageHandleStandardArgs.cmake:654 (_FPHSA_FAILURE_MESSAGE)
/home/thomas/projets/buildroot/output/host/share/cmake-4.4/Modules/FindPNG.cmake:218 (find_package_handle_standard_args)
PDF/CMakeLists.txt:93 (find_package)
So it seems like it now needs libpng? Not sure under what conditions.
Same build, but without your patch: the build completes successfully.
Could you have a look and submit a v2?
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-09-10 19:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-01 13:56 [Buildroot] [PATCH] package/poco: convert to CMake package yegorslists--- via buildroot
2026-08-24 12:57 ` Yegor Yefremov via buildroot
2026-09-10 19:27 ` Thomas Petazzoni via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aqMEKWVKb_2_RkGO@windsurf \
--to=buildroot@buildroot.org \
--cc=arnout@mind.be \
--cc=stefan_preiss@gmx.de \
--cc=thomas.petazzoni@bootlin.com \
--cc=yegorslists@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox