Date: Thu, 17 Jan 2019 18:48:01 GMT From: pkg-fallout@FreeBSD.org To: tz@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [package - 112i386-default][databases/pgpool-II-40] Failed for pgpool-II40-4.0.2_2 in build Message-ID: <201901171848.x0HIm0U2035439@beefy10.nyi.freebsd.org>
next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: tz@FreeBSD.org Last committer: tobik@FreeBSD.org Ident: $FreeBSD: head/databases/pgpool-II-40/Makefile 490475 2019-01-16 12:03:14Z tobik $ Log URL: http://beefy10.nyi.freebsd.org/data/112i386-default/490523/logs/pgpool-II40-4.0.2_2.log Build URL: http://beefy10.nyi.freebsd.org/build.html?mastername=112i386-default&build=490523 Log: =>> Building databases/pgpool-II-40 build started at Thu Jan 17 18:47:03 UTC 2019 port directory: /usr/ports/databases/pgpool-II-40 package name: pgpool-II40-4.0.2_2 building for: FreeBSD 112i386-default-job-14 11.2-RELEASE-p8 FreeBSD 11.2-RELEASE-p8 i386 maintained by: tz@FreeBSD.org Makefile ident: $FreeBSD: head/databases/pgpool-II-40/Makefile 490475 2019-01-16 12:03:14Z tobik $ Poudriere version: 3.2.8 Host OSVERSION: 1300002 Jail OSVERSION: 1102000 Job Id: 14 ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1102000 UNAME_v=FreeBSD 11.2-RELEASE-p8 UNAME_r=11.2-RELEASE-p8 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8 MASTERMNT=/usr/local/poudriere/data/.m/112i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/112i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=112i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/112i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for pgpool-II40-4.0.2_2: DOCS=on: Build and/or install documentation MEMCACHED=off: Use memcached for in memory query cache PAM=off: Build with PAM support SSL=on: Build with OpenSSL support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- tz@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --without-pam --with-openssl --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/pgpool-II-40/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/pgpool-II-40/work HOME=/wrkdirs/usr/ports/databases/pgpool-II-40/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/pgpool-II-40/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/pgpool-II-40/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/pgpool-II-40/work HOME=/wrkdirs/usr/ports/databases/pgpool-II-40/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/pgpool-II-40/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -fstack-protector " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pgpool-II" EXAMPLESDIR="share/examples/pgpool-II" DATADIR="share/pgpool-II" WWWDIR="www/pgpool-II" ETCDIR="etc/pgpool-II" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pgpool-II DOCSDIR=/usr/local/share/doc/pgpool-II EXAMPLESDIR=/usr/local/share/examples/pgpool-II WWWDIR=/usr/local/www/pgpool-II ETCDIR=/usr/local/etc/pgpool-II --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=11.2-RELEASE-p8 OSREL=11.2 OSVERSION=1102000 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License MIT accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> pgpool-II40-4.0.2_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz [112i386-default-job-14] Installing pkg-1.10.5_5... [112i386-default-job-14] Extracting pkg-1.10.5_5: .......... done ===> pgpool-II40-4.0.2_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pgpool-II40-4.0.2_2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License MIT accepted by the user ===> Fetching all distfiles required by pgpool-II40-4.0.2_2 for building =========================================================================== =======================<phase: checksum >============================ ===> License MIT accepted by the user ===> Fetching all distfiles required by pgpool-II40-4.0.2_2 for building => SHA256 Checksum OK for pgpool-II-4.0.2.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License MIT accepted by the user ===> Fetching all distfiles required by pgpool-II40-4.0.2_2 for building ===> Extracting for pgpool-II40-4.0.2_2 => SHA256 Checksum OK for pgpool-II-4.0.2.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for pgpool-II40-4.0.2_2 ===> Applying FreeBSD patches for pgpool-II40-4.0.2_2 =========================================================================== =======================<phase: build-depends >============================ ===> pgpool-II40-4.0.2_2 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz [112i386-default-job-14] Installing gmake-4.2.1_3... <snip> cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o watchdog.o watchdog.c cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o wd_if.o wd_if.c cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o wd_lifecheck.o wd_lifecheck.c cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o wd_commands.o wd_commands.c cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o wd_json_data.o wd_json_data.c wd_json_data.c:475:59: warning: incompatible pointer types passing 'time_t *' (aka 'int *') to parameter of type 'long *' [-Wincompatible-pointer-types] if (json_get_long_value_for_key(root, "StartupTimeSecs", &wdNode->startup_time.tv_sec)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../src/include/utils/json.h:316:79: note: passing argument to parameter 'value' here int json_get_long_value_for_key(json_value * source, const char *key, long *value); ^ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o wd_ping.o wd_ping.c cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o wd_heartbeat.o wd_heartbeat.c wd_heartbeat.c:655:8: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] pkt->send_time.tv_sec, pkt->send_time.tv_usec, pkt->from); ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o wd_utils.o wd_utils.c cc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o wd_escalation.o wd_escalation.c rm -f lib-watchdog.a ar cru lib-watchdog.a watchdog.o wd_if.o wd_lifecheck.o wd_commands.o wd_json_data.o wd_ping.o wd_heartbeat.o wd_utils.o wd_escalation.o ranlib lib-watchdog.a gmake[3]: Leaving directory '/wrkdirs/usr/ports/databases/pgpool-II-40/work/pgpool-II-4.0.2/src/watchdog' Making all in . gmake[3]: Entering directory '/wrkdirs/usr/ports/databases/pgpool-II-40/work/pgpool-II-4.0.2/src' cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o main/main.o main/main.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o main/pool_globals.o main/pool_globals.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o main/pgpool_main.o main/pgpool_main.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o main/health_check.o main/health_check.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o config/pool_config.o config/pool_config.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o config/pool_config_variables.o config/pool_config_variables.c config/pool_config_variables.c:3254:10: warning: format specifies type 'long' but the argument has type 'int64' (aka 'long long') [-Wformat] newval, name, ^~~~~~ ./src/include/utils/elog.h:204:37: note: expanded from macro 'ereport' ereport_domain(elevel, TEXTDOMAIN, rest) ^~~~ ./src/include/utils/elog.h:197:14: note: expanded from macro 'ereport_domain' errfinish rest; \ ^~~~ config/pool_config_variables.c:3255:10: warning: format specifies type 'long' but the argument has type 'int64' (aka 'long long') [-Wformat] conf->min, conf->max))); ^~~~~~~~~ ./src/include/utils/elog.h:204:37: note: expanded from macro 'ereport' ereport_domain(elevel, TEXTDOMAIN, rest) ^~~~ ./src/include/utils/elog.h:197:14: note: expanded from macro 'ereport_domain' errfinish rest; \ ^~~~ config/pool_config_variables.c:3255:21: warning: format specifies type 'long' but the argument has type 'int64' (aka 'long long') [-Wformat] conf->min, conf->max))); ^~~~~~~~~ ./src/include/utils/elog.h:204:37: note: expanded from macro 'ereport' ereport_domain(elevel, TEXTDOMAIN, rest) ^~~~ ./src/include/utils/elog.h:197:14: note: expanded from macro 'ereport_domain' errfinish rest; \ ^~~~ 3 warnings generated. cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o pcp_con/pcp_child.o pcp_con/pcp_child.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o pcp_con/pcp_worker.o pcp_con/pcp_worker.c pcp_con/pcp_worker.c:716:62: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(proc_start_time, sizeof(proc_start_time), "%ld", pools[i].start_time); ~~~ ^~~~~~~~~~~~~~~~~~~ %d pcp_con/pcp_worker.c:717:64: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(proc_create_time, sizeof(proc_create_time), "%ld", pools[i].create_time); ~~~ ^~~~~~~~~~~~~~~~~~~~ %d pcp_con/pcp_worker.c:864:84: warning: format specifies type 'unsigned long long' but the argument has type 'time_t' (aka 'int') [-Wformat] snprintf(status_changed_time_str, sizeof(status_changed_time_str), UINT64_FORMAT, bi->status_changed_time); ^~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o pcp_con/recovery.o pcp_con/recovery.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o auth/md5.o auth/md5.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o auth/pool_auth.o auth/pool_auth.c auth/pool_auth.c:165:20: warning: implicit declaration of function 'crypt' is invalid in C99 [-Wimplicit-function-declaration] crypt_password = crypt(password, salt); ^ auth/pool_auth.c:165:18: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] crypt_password = crypt(password, salt); ^ ~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o auth/pool_passwd.o auth/pool_passwd.c cc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -DHEALTHCHECK_OPTS=0 -I. -I../src/include -D_GNU_SOURCE -I /usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fno-strict-aliasing -c -o auth/pool_hba.o auth/pool_hba.c auth/pool_hba.c:148:59: warning: declaration of 'struct pam_message' will not be visible outside of this function [-Wvisibility] static int pam_passwd_conv_proc(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr); ^ auth/pool_hba.c:148:85: warning: declaration of 'struct pam_response' will not be visible outside of this function [-Wvisibility] static int pam_passwd_conv_proc(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr); ^ auth/pool_hba.c:157:24: error: variable has incomplete type 'struct pam_conv' static struct pam_conv pam_passw_conv = { ^ auth/pool_hba.c:157:15: note: forward declaration of 'struct pam_conv' static struct pam_conv pam_passw_conv = { ^ auth/pool_hba.c:1907:48: warning: declaration of 'struct pam_message' will not be visible outside of this function [-Wvisibility] pam_passwd_conv_proc(int num_msg, const struct pam_message **msg, ^ auth/pool_hba.c:1908:14: warning: declaration of 'struct pam_response' will not be visible outside of this function [-Wvisibility] struct pam_response **resp, void *appdata_ptr) ^ auth/pool_hba.c:1907:1: error: conflicting types for 'pam_passwd_conv_proc' pam_passwd_conv_proc(int num_msg, const struct pam_message **msg, ^ auth/pool_hba.c:148:12: note: previous declaration is here static int pam_passwd_conv_proc(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr); ^ auth/pool_hba.c:1910:28: error: incomplete definition of type 'struct pam_message' if (num_msg != 1 || msg[0]->msg_style != PAM_PROMPT_ECHO_OFF) ~~~~~~^ auth/pool_hba.c:1907:48: note: forward declaration of 'struct pam_message' pam_passwd_conv_proc(int num_msg, const struct pam_message **msg, ^ auth/pool_hba.c:1910:43: error: use of undeclared identifier 'PAM_PROMPT_ECHO_OFF' if (num_msg != 1 || msg[0]->msg_style != PAM_PROMPT_ECHO_OFF) ^ auth/pool_hba.c:1912:17: error: incomplete definition of type 'struct pam_message' switch (msg[0]->msg_style) ~~~~~~^ auth/pool_hba.c:1907:48: note: forward declaration of 'struct pam_message' pam_passwd_conv_proc(int num_msg, const struct pam_message **msg, ^ auth/pool_hba.c:1950:11: error: use of undeclared identifier 'PAM_CONV_ERR' return PAM_CONV_ERR; /* client didn't want to send password */ ^ auth/pool_hba.c:1957:11: error: use of undeclared identifier 'PAM_CONV_ERR' return PAM_CONV_ERR; ^ auth/pool_hba.c:1967:26: error: invalid application of 'sizeof' to an incomplete type 'struct pam_response' *resp = calloc(num_msg, sizeof(struct pam_response)); ^ ~~~~~~~~~~~~~~~~~~~~~ auth/pool_hba.c:1908:14: note: forward declaration of 'struct pam_response' struct pam_response **resp, void *appdata_ptr) ^ auth/pool_hba.c:1969:9: error: subscript of pointer to incomplete type 'struct pam_response' (*resp)[0].resp = strdup((char *) appdata_ptr); ~~~~~~~^ auth/pool_hba.c:1908:14: note: forward declaration of 'struct pam_response' struct pam_response **resp, void *appdata_ptr) ^ auth/pool_hba.c:1970:9: error: subscript of pointer to incomplete type 'struct pam_response' (*resp)[0].resp_retcode = 0; ~~~~~~~^ auth/pool_hba.c:1908:14: note: forward declaration of 'struct pam_response' struct pam_response **resp, void *appdata_ptr) ^ auth/pool_hba.c:1972:17: error: subscript of pointer to incomplete type 'struct pam_response' return ((*resp)[0].resp ? PAM_SUCCESS : PAM_CONV_ERR); ~~~~~~~^ auth/pool_hba.c:1908:14: note: forward declaration of 'struct pam_response' struct pam_response **resp, void *appdata_ptr) ^ auth/pool_hba.c:1972:28: error: use of undeclared identifier 'PAM_SUCCESS' return ((*resp)[0].resp ? PAM_SUCCESS : PAM_CONV_ERR); ^ auth/pool_hba.c:1972:42: error: use of undeclared identifier 'PAM_CONV_ERR' return ((*resp)[0].resp ? PAM_SUCCESS : PAM_CONV_ERR); ^ auth/pool_hba.c:1982:2: error: use of undeclared identifier 'pam_handle_t' pam_handle_t *pamh = NULL; ^ auth/pool_hba.c:1982:16: error: use of undeclared identifier 'pamh' pam_handle_t *pamh = NULL; ^ auth/pool_hba.c:2000:12: warning: implicit declaration of function 'pam_start' is invalid in C99 [-Wimplicit-function-declaration] retval = pam_start(frontend->pool_hba->pamservice, "pgpool@", ^ auth/pool_hba.c:2001:28: error: use of undeclared identifier 'pamh' &pam_passw_conv, &pamh); ^ auth/pool_hba.c:2004:28: error: use of undeclared identifier 'pamh' &pam_passw_conv, &pamh); ^ auth/pool_hba.c:2006:16: error: use of undeclared identifier 'PAM_SUCCESS' if (retval != PAM_SUCCESS) ^ auth/pool_hba.c:2012:58: warning: implicit declaration of function 'pam_strerror' is invalid in C99 [-Wimplicit-function-declaration] errdetail("unable to create PAM authenticator: %s", pam_strerror(pamh, retval)))); ^ auth/pool_hba.c:2012:71: error: use of undeclared identifier 'pamh' errdetail("unable to create PAM authenticator: %s", pam_strerror(pamh, retval)))); ^ auth/pool_hba.c:2015:11: warning: implicit declaration of function 'pam_set_item' is invalid in C99 [-Wimplicit-function-declaration] retval = pam_set_item(pamh, PAM_USER, user); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 7 warnings and 20 errors generated. gmake[3]: *** [Makefile:776: auth/pool_hba.o] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/databases/pgpool-II-40/work/pgpool-II-4.0.2/src' gmake[2]: *** [Makefile:842: all-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/databases/pgpool-II-40/work/pgpool-II-4.0.2/src' gmake[1]: *** [Makefile:399: all-recursive] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/pgpool-II-40/work/pgpool-II-4.0.2' *** Error code 1 Stop. make: stopped in /usr/ports/databases/pgpool-II-40
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901171848.x0HIm0U2035439>