package/postgresql: add host-pkgconf dependency
PATCH 1/1 package/postgresql: add host-pkgconf dependency
host-pkgconf is mandatory to find lz4 and zstd resulting in the following build failure since commit 9cd2e6e090449f9d2f371d24152580c038892f3d:
configure: error: in `/home/autobuild/autobuild/instance-5/output-1/build/postgresql-15.2':
configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
Alternatively, you may set the environment variables LZ4_CFLAGS and LZ4_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
Fixes:
- http://autobuild.buildroot.org/results/8744277ebe9910635ef8fe290c8ba4eee420b538
--- package/postgresql/postgresql.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/postgresql/postgresql.mk +2 -2
@@ -92,14 +92,14 @@ POSTGRESQL_CONF_OPTS += --without-libxml endif ifeq ($(BR2_PACKAGE_ZSTD),y) -POSTGRESQL_DEPENDENCIES += zstd +POSTGRESQL_DEPENDENCIES += host-pkgconf zstd POSTGRESQL_CONF_OPTS += --with-zstd else POSTGRESQL_CONF_OPTS += --without-zstd endif ifeq ($(BR2_PACKAGE_LZ4),y) -POSTGRESQL_DEPENDENCIES += lz4 +POSTGRESQL_DEPENDENCIES += host-pkgconf lz4 POSTGRESQL_CONF_OPTS += --with-lz4 else POSTGRESQL_CONF_OPTS += --without-lz4
Signature · 6 lines
2.39.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 13 lines · On Sat, 25 Feb 2023 10:35:27 +0100 Fabrice Fontaine…
host-pkgconf is mandatory to find lz4 and zstd resulting in the following build failure since commit
9cd2e6e090449f9d2f371d24152580c038892f3d:configure: error: in `/home/autobuild/autobuild/instance-5/output-1/build/postgresql-15.2':
configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set thePKG_CONFIGenvironment variable to the full
path to pkg-config.Alternatively, you may set the environment variables
LZ4_CFLAGSandLZ4_LIBSto avoid the need to call pkg-config. See the pkg-config man page for more details.
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.org/results/8744277ebe9910635ef8fe290c8ba4eee420b538Signed-off-by Fabrice Fontaine <[email protected]>--- package/postgresql/postgresql.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 9 lines · Fabrice Fontaine
host-pkgconf is mandatory to find lz4 and zstd resulting in the following build failure since commit
9cd2e6e090449f9d2f371d24152580c038892f3d:configure: error: in `/home/autobuild/autobuild/instance-5/output-1/build/postgresql-15.2':
configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set thePKG_CONFIGenvironment variable to the full
path to pkg-config.
Quoted 8 lines
Alternatively, you may set the environment variables
LZ4_CFLAGSandLZ4_LIBSto avoid the need to call pkg-config. See the pkg-config man page for more details.Fixes:
- http://autobuild.buildroot.org/results/8744277ebe9910635ef8fe290c8ba4eee420b538Signed-off-by Fabrice Fontaine <[email protected]>
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot