checking for _doprnt... no checking for wait3 that fills in rusage... no checking types of arguments for accept()... configure: error: could not determine argument types !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-db/pgpool2-4.0.2/work/pgpool-II-4.0.2-10/config.log ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-hardened_test_20190209-222026 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Rust versions: [1] rust-1.32.0 * emerge -qpvO dev-db/pgpool2 [ebuild N ] dev-db/pgpool2-4.0.2 USE="pam ssl -doc -libressl -memcached -static-libs" POSTGRES_TARGETS="postgres10 postgres9_5 -postgres11 -postgres9_3 -postgres9_4 -postgres9_6"
Created attachment 564648 [details] emerge-info.txt
Created attachment 564650 [details] dev-db:pgpool2-4.0.2:20190210-231214.log
Created attachment 564652 [details] emerge-history.txt
Created attachment 564654 [details] environment
Created attachment 564656 [details] etc.portage.tbz2
Created attachment 564658 [details] logs.tbz2
Created attachment 564660 [details] temp.tbz2
The error is triggered by pgpool-configure-pthread.patch
(In reply to Sandino Araico Sanchez from comment #8) > The error is triggered by pgpool-configure-pthread.patch Are you running into the error on 4.0.3? The patch shouldn't be the cause, as 4.0.3 is compiling fine for me with that patch, and it was introduced to fix an issue with libmemcached (Bug 616302).
I tried with 4.0.3 and got the same error. Unpacking the source package and running the included ./congihure script gives no errors. The error seeems to be in autotools, not in the patches, but the threads patch triggers it. I tried unpacking the source (without any patches) and followed the same steps as in ebuild: libtoolize --install --copy --force --automake aclocal -I m4 autoconf --force autoheader automake --add-missing --copy --force-missing ./configure Without any patches I get no errors. With configure-pam or configure-memcatched patches (or both applied) I get no errors With the threads patch I get the same error as reported.
* ERROR: dev-db/pgpool2-4.0.2::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 124: Called src_configure * environment, line 1972: Called postgres-multi_foreach 'econf' '--disable-rpath' '--sysconfdir=/etc/pgpool2' '--with-pgsql-includedir=/usr/include/postgresql-@PG_SLOT@' '--with-pgsql-libdir=/usr/lib/postgresql-@PG_SLOT@/lib' '--disable-static' '--without-memcached' '--without-pam' '--with-openssl' * environment, line 1838: Called multibuild_foreach_variant '_postgres-multi_multibuild_wrapper' 'run_in_build_dir' 'econf' '--disable-rpath' '--sysconfdir=/etc/pgpool2' '--with-pgsql-includedir=/usr/include/postgresql-@PG_SLOT@' '--with-pgsql-libdir=/usr/lib/postgresql-@PG_SLOT@/lib' '--disable-static' '--without-memcached' '--without-pam' '--with-openssl' * environment, line 1629: Called _multibuild_run '_postgres-multi_multibuild_wrapper' 'run_in_build_dir' 'econf' '--disable-rpath' '--sysconfdir=/etc/pgpool2' '--with-pgsql-includedir=/usr/include/postgresql-@PG_SLOT@' '--with-pgsql-libdir=/usr/lib/postgresql-@PG_SLOT@/lib' '--disable-static' '--without-memcached' '--without-pam' '--with-openssl' * environment, line 1627: Called _postgres-multi_multibuild_wrapper 'run_in_build_dir' 'econf' '--disable-rpath' '--sysconfdir=/etc/pgpool2' '--with-pgsql-includedir=/usr/include/postgresql-@PG_SLOT@' '--with-pgsql-libdir=/usr/lib/postgresql-@PG_SLOT@/lib' '--disable-static' '--without-memcached' '--without-pam' '--with-openssl' * environment, line 395: Called run_in_build_dir 'econf' '--disable-rpath' '--sysconfdir=/etc/pgpool2' '--with-pgsql-includedir=/usr/include/postgresql-11' '--with-pgsql-libdir=/usr/lib/postgresql-11/lib' '--disable-static' '--without-memcached' '--without-pam' '--with-openssl' * environment, line 1960: Called econf '--disable-rpath' '--sysconfdir=/etc/pgpool2' '--with-pgsql-includedir=/usr/include/postgresql-11' '--with-pgsql-libdir=/usr/lib/postgresql-11/lib' '--disable-static' '--without-memcached' '--without-pam' '--with-openssl' * phase-helpers.sh, line 718: Called __helpers_die 'econf failed' * isolated-functions.sh, line 119: Called die * The specific snippet of code: * die "$@"
Created attachment 573018 [details] emerge --info '=dev-db/pgpool2-4.0.2::gentoo'
emerge -pqv '=dev-db/pgpool2-4.0.2::gentoo' [ebuild U ] dev-db/pgpool2-4.0.2 [3.7.0] USE="ssl -doc -libressl% -memcached -pam -static-libs" POSTGRES_TARGETS="postgres10 postgres11%* -postgres9_3 -postgres9_4 -postgres9_5 -postgres9_6"
Created attachment 573020 [details] The complete build log
Created attachment 573022 [details] The ebuild environment
(In reply to Sandino Araico Sanchez from comment #14) > Created attachment 573020 [details] > The complete build log Please include the following as well: /usr/src/portage/dev-db/pgpool2-4.0.2/work/pgpool-II-4.0.2-11/config.log
Created attachment 574580 [details] The requested config.log
I don't know if something changed, but dev-db/pgpool2-4.0.2 compiled successfully today on i686.
(In reply to Sandino Araico Sanchez from comment #18) > I don't know if something changed, but dev-db/pgpool2-4.0.2 compiled > successfully today on i686. Nope. Nothing has changed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3ada3f25982368c7602ad35f9f112e4b89cf300 commit d3ada3f25982368c7602ad35f9f112e4b89cf300 Author: Aaron W. Swenson <titanofold@gentoo.org> AuthorDate: 2019-05-13 10:37:10 +0000 Commit: Aaron W. Swenson <titanofold@gentoo.org> CommitDate: 2019-05-13 10:37:29 +0000 dev-db/pgpool2: Cleanup old Closes: https://bugs.gentoo.org/677698 Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org> dev-db/pgpool2/Manifest | 2 - dev-db/pgpool2/pgpool2-3.7.7.ebuild | 104 ------------------------------------ dev-db/pgpool2/pgpool2-4.0.2.ebuild | 104 ------------------------------------ 3 files changed, 210 deletions(-)