All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl
@ 2022-04-01 16:57 Fabrice Fontaine
  2022-04-04 18:02 ` Arnout Vandecappelle
  2022-04-08 12:40 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-01 16:57 UTC (permalink / raw)
  To: buildroot; +Cc: Peter Seiderer, Fabrice Fontaine

Fix the following build failure with libdbi-drivers raised since bump to
version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb:

configure: error: Package requirements (libpq) were not met:

Package 'libssl', required by 'libpq', not found
Package 'libcrypto', required by 'libpq', not found

Fixes:
 - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...libpq-Fix-pkg-config-without-OpenSSL.patch | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch

diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch
new file mode 100644
index 0000000000..90b0577a20
--- /dev/null
+++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch
@@ -0,0 +1,34 @@
+From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001
+From: Peter Eisentraut <peter@eisentraut.org>
+Date: Fri, 1 Apr 2022 17:12:56 +0200
+Subject: [PATCH] libpq: Fix pkg-config without OpenSSL
+
+Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is
+not enabled.  Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb.
+
+Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com
+[Retrieved from:
+https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ src/interfaces/libpq/Makefile | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
+index 89bf5e0126..b5fd72a4ac 100644
+--- a/src/interfaces/libpq/Makefile
++++ b/src/interfaces/libpq/Makefile
+@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport
+ 
+ SHLIB_EXPORTS = exports.txt
+ 
++ifeq ($(with_ssl),openssl)
+ PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto
++endif
+ 
+ all: all-lib libpq-refs-stamp
+ 
+-- 
+2.30.2
+
-- 
2.35.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: fix pkg-config without openssl
  2022-04-01 16:57 [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl Fabrice Fontaine
@ 2022-04-04 18:02 ` Arnout Vandecappelle
  2022-04-08 12:40 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-04 18:02 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Peter Seiderer



On 01/04/2022 18:57, Fabrice Fontaine wrote:
> Fix the following build failure with libdbi-drivers raised since bump to
> version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb:
> 
> configure: error: Package requirements (libpq) were not met:
> 
> Package 'libssl', required by 'libpq', not found
> Package 'libcrypto', required by 'libpq', not found
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   ...libpq-Fix-pkg-config-without-OpenSSL.patch | 34 +++++++++++++++++++
>   1 file changed, 34 insertions(+)
>   create mode 100644 package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch
> 
> diff --git a/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch
> new file mode 100644
> index 0000000000..90b0577a20
> --- /dev/null
> +++ b/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch
> @@ -0,0 +1,34 @@
> +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001
> +From: Peter Eisentraut <peter@eisentraut.org>
> +Date: Fri, 1 Apr 2022 17:12:56 +0200
> +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL
> +
> +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is
> +not enabled.  Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb.
> +
> +Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com
> +[Retrieved from:
> +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057]
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +---
> + src/interfaces/libpq/Makefile | 2 ++
> + 1 file changed, 2 insertions(+)
> +
> +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
> +index 89bf5e0126..b5fd72a4ac 100644
> +--- a/src/interfaces/libpq/Makefile
> ++++ b/src/interfaces/libpq/Makefile
> +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport
> +
> + SHLIB_EXPORTS = exports.txt
> +
> ++ifeq ($(with_ssl),openssl)
> + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto
> ++endif
> +
> + all: all-lib libpq-refs-stamp
> +
> +--
> +2.30.2
> +
_______________________________________________
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: fix pkg-config without openssl
  2022-04-01 16:57 [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl Fabrice Fontaine
  2022-04-04 18:02 ` Arnout Vandecappelle
@ 2022-04-08 12:40 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-04-08 12:40 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Peter Seiderer, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fix the following build failure with libdbi-drivers raised since bump to
 > version 14.1 in commit c9bd02911565819789120370178e82da5dfbacc0 and
 > https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb:

 > configure: error: Package requirements (libpq) were not met:

 > Package 'libssl', required by 'libpq', not found
 > Package 'libcrypto', required by 'libpq', not found

 > Fixes:
 >  - http://autobuild.buildroot.org/results/415cb61a58b928a42623ed90b0b60c59032f0a4e

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
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:[~2022-04-08 12:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01 16:57 [Buildroot] [PATCH 1/1] package/postgresql: fix pkg-config without openssl Fabrice Fontaine
2022-04-04 18:02 ` Arnout Vandecappelle
2022-04-08 12:40 ` Peter Korsgaard

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.