Created attachment 518344 [details] build.log libtool: link: x86_64-pc-linux-gnu-gcc -O3 -mtune=native -march=native -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -o pgpool main/main.o main/pool_globals.o main/pgpool_main.o main/health_check.o config/pool_config.o config/pool_config_variables.o pcp_con/pcp_child.o pcp_con/pcp_worker.o pcp_con/recovery.o auth/md5.o auth/pool_auth.o auth/pool_passwd.o auth/pool_hba.o protocol/pool_proto2.o protocol/child.o protocol/pool_process_query.o protocol/pool_connection_pool.o protocol/pool_proto_modules.o query_cache/pool_memqcache.o protocol/CommandComplete.o context/pool_session_context.o context/pool_process_context.o context/pool_query_context.o streaming_replication/pool_worker_child.o rewrite/pool_timestamp.o rewrite/pool_lobj.o utils/pool_select_walker.o utils/strlcpy.o utils/psprintf.o utils/pool_params.o utils/ps_status.o utils/pool_shmem.o utils/pool_sema.o utils/pool_signal.o utils/pool_path.o utils/pool_ip.o utils/pool_relcache.o utils/pool_process_reporting.o utils/pool_ssl.o utils/pool_stream.o utils/getopt_long.o utils/mmgr/mcxt.o utils/mmgr/aset.o utils/error/elog.o utils/error/assert.o utils/pcp/pcp_stream.o utils/regex_array.o utils/json_writer.o utils/json.o utils/statistics.o parser/nodes.o -L/usr/lib64/postgresql-10/lib64 -lpq parser/libsql-parser.a watchdog/lib-watchdog.a -lpthread -lpam -lssl -lcrypto -lcrypt -lresolv -lnsl -lm main/main.o: In function `main': main.c:(.text.startup+0x31b): undefined reference to `OPENSSL_init_ssl' watchdog/lib-watchdog.a(wd_utils.o): In function `wd_calc_hash': wd_utils.c:(.text+0x52e): undefined reference to `HMAC_CTX_new' wd_utils.c:(.text+0x53b): undefined reference to `HMAC_CTX_reset' wd_utils.c:(.text+0x58b): undefined reference to `HMAC_CTX_reset' wd_utils.c:(.text+0x595): undefined reference to `HMAC_CTX_free' collect2: error: ld returned 1 exit status
Created attachment 518346 [details] emerge --info
Created attachment 518348 [details] emerge -pqv
Created attachment 518352 [details, diff] libressl patch =dev-db/pgpool2-3.7.1 compiles correctly on my machine with attached patch. Please try.
Created attachment 518354 [details] ebuild with libressl USE flag
Patch accepted in upstream http://www.sraoss.jp/pipermail/pgpool-hackers/2018-February/002717.html
This is included with the 3.7.3 bump. We'll be aiming to stable 3.7.4. commit 1f0b3b500534f88286f870d6d610b8a15d676f62 Author: Aaron W. Swenson <titanofold@gentoo.org> Date: Fri Apr 27 16:58:59 2018 -0400 dev-db/pgpool2: Bump to 3.7.3 Package-Manager: Portage-2.3.24, Repoman-2.3.6
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=079ff486c23fdb326e5d58df1433b854ca900e94 commit 079ff486c23fdb326e5d58df1433b854ca900e94 Author: Aaron W. Swenson <titanofold@gentoo.org> AuthorDate: 2018-08-03 13:26:51 +0000 Commit: Aaron W. Swenson <titanofold@gentoo.org> CommitDate: 2018-08-03 13:26:51 +0000 dev-db/pgpool2: Bump to 3.7.5 Add a couple patches to fix a few options in configure.ac. --without-pam no longer acts as if --with-pam was given. Now uses pkg-config to get any special settings for libmemcached rather than using fixed sub-directories (${user_provided_path}/{include,lib,…}). Lastly, introduced AX_PTHREAD to link in the appropriate threading library to fix bug 616302. If libmemcached was built with USE=sasl which builds against cyrus-sasl. cyrus-sasl builds against a threading library which necessitates including the same threading in pgpool2 despite pgpool2 not being a threaded program. pgpool2 is now able to build against LibreSSL as well as OpenSSL. The ebuild now reflects this fact Bug: https://bugs.gentoo.org/616302 Bug: https://bugs.gentoo.org/646888 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-db/pgpool2/Manifest | 1 + .../pgpool2/files/pgpool-configure-memcached.patch | 64 +++++++++++++ dev-db/pgpool2/files/pgpool-configure-pam.patch | 25 +++++ .../pgpool2/files/pgpool-configure-pthread.patch | 13 +++ dev-db/pgpool2/files/pgpool2.initd | 14 ++- dev-db/pgpool2/pgpool2-3.7.5.ebuild | 104 +++++++++++++++++++++ dev-db/pgpool2/pgpool2-9999.ebuild | 42 +++++---- dev-db/pgpool2/pgpool2-9999.ebuild.orig | 104 +++++++++++++++++++++ 8 files changed, 343 insertions(+), 24 deletions(-)