Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677698 - dev-db/pgpool2-4.0.2 : checking types of arguments for accept()... configure: error: could not determine argument types
Summary: dev-db/pgpool2-4.0.2 : checking types of arguments for accept()... configure:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-11 11:24 UTC by Toralf Förster
Modified: 2019-05-13 10:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.55 KB, text/plain)
2019-02-11 11:25 UTC, Toralf Förster
Details
dev-db:pgpool2-4.0.2:20190210-231214.log (dev-db:pgpool2-4.0.2:20190210-231214.log,13.76 KB, text/plain)
2019-02-11 11:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,41.15 KB, text/plain)
2019-02-11 11:25 UTC, Toralf Förster
Details
environment (environment,79.44 KB, text/plain)
2019-02-11 11:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.31 KB, application/x-bzip)
2019-02-11 11:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,24.42 KB, application/x-bzip)
2019-02-11 11:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.53 KB, application/x-bzip)
2019-02-11 11:25 UTC, Toralf Förster
Details
emerge --info '=dev-db/pgpool2-4.0.2::gentoo' (emerge-info-pgpool2-4.0.2,6.89 KB, text/plain)
2019-04-16 15:50 UTC, Sandino Araico Sanchez
Details
The complete build log (dev-db:pgpool2-4.0.2:20190416-151329.log,14.63 KB, text/x-log)
2019-04-16 15:53 UTC, Sandino Araico Sanchez
Details
The ebuild environment (environment-pgpool2-4.0.2,77.78 KB, text/plain)
2019-04-16 15:54 UTC, Sandino Araico Sanchez
Details
The requested config.log (config.log,291.46 KB, text/x-log)
2019-04-28 22:04 UTC, Sandino Araico Sanchez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-02-11 11:24:59 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2019-02-11 11:25:01 UTC
Created attachment 564648 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-11 11:25:04 UTC
Created attachment 564650 [details]
dev-db:pgpool2-4.0.2:20190210-231214.log
Comment 3 Toralf Förster gentoo-dev 2019-02-11 11:25:07 UTC
Created attachment 564652 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-02-11 11:25:09 UTC
Created attachment 564654 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-02-11 11:25:12 UTC
Created attachment 564656 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-02-11 11:25:15 UTC
Created attachment 564658 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-02-11 11:25:18 UTC
Created attachment 564660 [details]
temp.tbz2
Comment 8 Sandino Araico Sanchez 2019-04-14 18:40:02 UTC
The error is triggered by pgpool-configure-pthread.patch
Comment 9 Aaron W. Swenson gentoo-dev 2019-04-16 10:13:56 UTC
(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).
Comment 10 Sandino Araico Sanchez 2019-04-16 15:46:19 UTC
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.
Comment 11 Sandino Araico Sanchez 2019-04-16 15:47:21 UTC
* 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 "$@"
Comment 12 Sandino Araico Sanchez 2019-04-16 15:50:37 UTC
Created attachment 573018 [details]
emerge --info '=dev-db/pgpool2-4.0.2::gentoo'
Comment 13 Sandino Araico Sanchez 2019-04-16 15:51:35 UTC
 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"
Comment 14 Sandino Araico Sanchez 2019-04-16 15:53:18 UTC
Created attachment 573020 [details]
The complete build log
Comment 15 Sandino Araico Sanchez 2019-04-16 15:54:49 UTC
Created attachment 573022 [details]
The ebuild environment
Comment 16 Aaron W. Swenson gentoo-dev 2019-04-20 19:10:00 UTC
(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
Comment 17 Sandino Araico Sanchez 2019-04-28 22:04:39 UTC
Created attachment 574580 [details]
The requested config.log
Comment 18 Sandino Araico Sanchez 2019-04-29 10:06:34 UTC
I don't know if something changed, but dev-db/pgpool2-4.0.2 compiled successfully today on i686.
Comment 19 Aaron W. Swenson gentoo-dev 2019-05-08 12:45:35 UTC
(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.
Comment 20 Larry the Git Cow gentoo-dev 2019-05-13 10:37:42 UTC
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(-)