* [Buildroot] [PATCH 1/1] package/postgresql: add host-pkgconf dependency
@ 2023-02-25 9:35 Fabrice Fontaine
2023-02-25 9:40 ` Thomas Petazzoni via buildroot
2023-02-27 5:12 ` Maxim Kochetkov via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-02-25 9:35 UTC (permalink / raw)
To: buildroot; +Cc: Maxim Kochetkov, 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 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
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/postgresql/postgresql.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index 1e9e4b83df..f087c0c964 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -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
--
2.39.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/postgresql: add host-pkgconf dependency
2023-02-25 9:35 [Buildroot] [PATCH 1/1] package/postgresql: add host-pkgconf dependency Fabrice Fontaine
@ 2023-02-25 9:40 ` Thomas Petazzoni via buildroot
2023-02-27 5:12 ` Maxim Kochetkov via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-25 9:40 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Maxim Kochetkov, buildroot
On Sat, 25 Feb 2023 10:35:27 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> 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
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/postgresql/postgresql.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/postgresql: add host-pkgconf dependency
2023-02-25 9:35 [Buildroot] [PATCH 1/1] package/postgresql: add host-pkgconf dependency Fabrice Fontaine
2023-02-25 9:40 ` Thomas Petazzoni via buildroot
@ 2023-02-27 5:12 ` Maxim Kochetkov via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Maxim Kochetkov via buildroot @ 2023-02-27 5:12 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot
On 25.02.2023 12:35, Fabrice Fontaine wrote:
> 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
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-27 5:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-25 9:35 [Buildroot] [PATCH 1/1] package/postgresql: add host-pkgconf dependency Fabrice Fontaine
2023-02-25 9:40 ` Thomas Petazzoni via buildroot
2023-02-27 5:12 ` Maxim Kochetkov via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.