[package - 141i386-quarterly][textproc/refdb] Failed for refdb-0.9.9_14 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Nov 2024 01:22:11 UTC
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: ports@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy19/data/141i386-quarterly/019c097f521d/logs/refdb-0.9.9_14.log Build URL: https://pkg-status.freebsd.org/beefy19/build.html?mastername=141i386-quarterly&build=019c097f521d Log: =>> Building textproc/refdb build started at Sat Nov 16 01:21:58 UTC 2024 port directory: /usr/ports/textproc/refdb package name: refdb-0.9.9_14 building for: FreeBSD 141i386-quarterly-job-11 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 i386 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 4519 Oct 8 01:01 /usr/ports/textproc/refdb/Makefile Ports top last git commit: 019c097f5 Ports top unclean checkout: no Port dir last git commit: 19fbadfb9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500023 Jail OSVERSION: 1401000 Job Id: 11 ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1401000 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 UNAME_m=i386 UNAME_p=i386 UNAME_r=14.1-RELEASE-p6 LOCALBASE=/usr/local UNAME_v=FreeBSD 14.1-RELEASE-p6 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/141i386-quarterly/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/141i386-quarterly/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=141i386-quarterly SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/141i386-quarterly/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for refdb-0.9.9_14: DOCS=on: Build and/or install documentation ====> Options available for the single DB: you have to select exactly one of them MYSQL=off: MySQL database support PGSQL=on: PostgreSQL database support SQLITE=off: SQLite database support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-expat-lib=/usr/local/lib --with-classpath-root=/usr/local/share/java/classes --with-refdb-url=http://localhost/refdb --mandir=/usr/local/share/man --with-db-server=pgsql --with-docbook-xsl=/usr/local/share/xsl/docbook --without-docbook-xsl-ns --without-tei-xsl --without-tei-xsl-ns --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/refdb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/refdb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/refdb/work/.cache HOME=/wrkdirs/usr/ports/textproc/refdb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/refdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/refdb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/refdb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/refdb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/refdb/work/.cache HOME=/wrkdirs/usr/ports/textproc/refdb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/refdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/refdb/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include" LDFLAGS=" -L/usr/local/lib -L/usr/local/lib -fstack-protector-strong " LIBS="-lm" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-str ong -fno-strict-aliasing -DLIBICONV_PLUG " 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=14.1 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3 PERL_VER=5.36 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/refdb" EXAMPLESDIR="share/examples/refdb" DATADIR="share/refdb" WWWDIR="www/refdb" ETCDIR="etc/refdb" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/refdb DOCSDIR=/usr/local/share/doc/refdb EXAMPLESDIR=/usr/local/share/examples/refdb WWWDIR=/usr/local/www/refdb ETCDIR=/usr/local/etc/refdb --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} #### #### # 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 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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) 8192 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 >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The refdb port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> refdb-0.9.9_14 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [141i386-quarterly-job-11] Installing pkg-1.21.3... [141i386-quarterly-job-11] Extracting pkg-1.21.3: .......... done ===> refdb-0.9.9_14 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of refdb-0.9.9_14 =========================================================================== =======================<phase: fetch-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =======================<phase: fetch >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The refdb port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by refdb-0.9.9_14 for building =========================================================================== =======================<phase: checksum >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The refdb port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by refdb-0.9.9_14 for building <snip> | "%s", refdb-client.c:314:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 314 | fprintf(errstream, get_status_msg(110)); | ^~~~~~~~~~~~~~~~~~~ refdb-client.c:314:24: note: treat the string as an argument to avoid this 314 | fprintf(errstream, get_status_msg(110)); | ^ | "%s", refdb-client.c:327:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 327 | fprintf(errstream, get_status_msg(cs_status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ refdb-client.c:327:24: note: treat the string as an argument to avoid this 327 | fprintf(errstream, get_status_msg(cs_status)); | ^ | "%s", refdb-client.c:402:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 402 | fprintf(errstream, get_status_msg(cs_status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ refdb-client.c:402:21: note: treat the string as an argument to avoid this 402 | fprintf(errstream, get_status_msg(cs_status)); | ^ | "%s", if cc -DPACKAGE_NAME=\"refdb\" -DPACKAGE_TARNAME=\"refdb\" -DPACKAGE_VERSION=\"0.9.9-1\" -DPACKAGE_STRING=\"refdb\ 0.9.9-1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"refdb\" -DVERSION=\"0.9.9-1\" -D_GNU_SOURCE=1 -DREADLINE42=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_MKFIFO=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOLL=1 -DHAVE_ATOLL=1 -I. -I. -DSYSCONFDIR=\"/usr/local/etc/refdb\" -DULLSPEC=\"%llu\" -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing - O2 -L/usr/local/lib -MT page.o -MD -MP -MF ".deps/page.Tpo" -c -o page.o page.c; \ then mv -f ".deps/page.Tpo" ".deps/page.Po"; else rm -f ".deps/page.Tpo"; exit 1; fi refdb-client.c:565:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 565 | fprintf(errstream, get_status_msg(401)); | ^~~~~~~~~~~~~~~~~~~ refdb-client.c:565:26: note: treat the string as an argument to avoid this 565 | fprintf(errstream, get_status_msg(401)); | ^ | "%s", refdb-client.c:594:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 594 | fprintf(errstream, get_status_msg(cs_status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ refdb-client.c:594:21: note: treat the string as an argument to avoid this 594 | fprintf(errstream, get_status_msg(cs_status)); | ^ | "%s", refdb-client.c:623:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 623 | fprintf(errstream, get_status_msg(109)); | ^~~~~~~~~~~~~~~~~~~ refdb-client.c:623:25: note: treat the string as an argument to avoid this 623 | fprintf(errstream, get_status_msg(109)); | ^ | "%s", refdb-client.c:711:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 711 | fprintf(errstream, get_status_msg(401)); | ^~~~~~~~~~~~~~~~~~~ refdb-client.c:711:21: note: treat the string as an argument to avoid this 711 | fprintf(errstream, get_status_msg(401)); | ^ | "%s", refdb-client.c:742:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 742 | fprintf(errstream, get_status_msg(cs_status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ refdb-client.c:742:21: note: treat the string as an argument to avoid this 742 | fprintf(errstream, get_status_msg(cs_status)); | ^ | "%s", refdb-client.c:774:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 774 | fprintf(errstream, get_status_msg(109)); | ^~~~~~~~~~~~~~~~~~~ refdb-client.c:774:25: note: treat the string as an argument to avoid this 774 | fprintf(errstream, get_status_msg(109)); | ^ | "%s", refdb-client.c:845:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 845 | fprintf(stderr, get_status_msg(109)); | ^~~~~~~~~~~~~~~~~~~ refdb-client.c:845:18: note: treat the string as an argument to avoid this 845 | fprintf(stderr, get_status_msg(109)); | ^ | "%s", cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] if cc -DPACKAGE_NAME=\"refdb\" -DPACKAGE_TARNAME=\"refdb\" -DPACKAGE_VERSION=\"0.9.9-1\" -DPACKAGE_STRING=\"refdb\ 0.9.9-1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"refdb\" -DVERSION=\"0.9.9-1\" -D_GNU_SOURCE=1 -DREADLINE42=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_MKFIFO=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOLL=1 -DHAVE_ATOLL=1 -I. -I. -DSYSCONFDIR=\"/usr/local/etc/refdb\" -DULLSPEC=\"%llu\" -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing - O2 -L/usr/local/lib -MT refdbc.o -MD -MP -MF ".deps/refdbc.Tpo" -c -o refdbc.o refdbc.c; \ then mv -f ".deps/refdbc.Tpo" ".deps/refdbc.Po"; else rm -f ".deps/refdbc.Tpo"; exit 1; fi cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from refdbc.c:46: ./getopt.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 108 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from refdbc.c:54: ./readln.h:28:3: warning: 'Function' is deprecated [-Wdeprecated-declarations] 28 | Function *func; /* Function to call to do the job. */ | ^ /usr/local/include/readline/rltypedefs.h:35:44: note: 'Function' has been explicitly marked deprecated here 35 | typedef int Function (void) __attribute__((deprecated)); | ^ refdbc.c:70:13: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 70 | { "help", com_help, "Display this text" }, | ^~~~~~~~ refdbc.c:71:10: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 71 | { "?", com_help, "Synonym for `help'" }, | ^~~~~~~~ refdbc.c:72:13: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 72 | { "quit", com_quit, "Quit refdbc" }, | ^~~~~~~~ refdbc.c:73:16: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 73 | { "addlink", com_addlink, "Link notes to references, authors etc." }, | ^~~~~~~~~~~ refdbc.c:74:16: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 74 | { "addnote", com_addnote, "Add notes to the database" }, | ^~~~~~~~~~~ refdbc.c:75:15: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 75 | { "addref", com_addref, "Add references to the database" }, | ^~~~~~~~~~ refdbc.c:76:17: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 76 | { "checkref", com_checkref, "Check references" }, | ^~~~~~~~~~~~ refdbc.c:77:18: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 77 | { "countnote", com_countnote, "Counts matching notes" }, | ^~~~~~~~~~~~~ refdbc.c:78:17: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 78 | { "countref", com_countref, "Counts matching references" }, | ^~~~~~~~~~~~ refdbc.c:79:19: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 79 | { "deletelink", com_deletelink, "Unlink notes to references, authors etc." }, | ^~~~~~~~~~~~~~ refdbc.c:80:19: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 80 | { "deletenote", com_deletenote, "Delete notes from the database" }, | ^~~~~~~~~~~~~~ refdbc.c:81:18: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 81 | { "deleteref", com_deleteref, "Delete references from the database" }, | ^~~~~~~~~~~~~ refdbc.c:82:16: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 82 | { "dumpref", com_dumpref, "Remove references from your personal interest list"}, | ^~~~~~~~~~~ refdbc.c:83:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 83 | { "getas", com_getas, "Get a list of series editors" }, | ^~~~~~~~~ refdbc.c:84:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 84 | { "getau", com_getau, "Get a list of part authors" }, | ^~~~~~~~~ refdbc.c:85:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 85 | { "getax", com_getax, "Get a list of any authors/editors" }, | ^~~~~~~~~ refdbc.c:86:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 86 | { "geted", com_geted, "Get a list of publication authors/editors" }, | ^~~~~~~~~ refdbc.c:87:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 87 | { "getkw", com_getkw, "Get a list of keywords" }, | ^~~~~~~~~ refdbc.c:88:14: error: incompatible function pointer types initializing 'Function *' (aka 'int (*)(void)') with an expression of type 'int (char *)' [-Wincompatible-function-pointer-types] 88 | { "getjf", com_getjf, "Get a list of journal names (full)" }, | ^~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 13 warnings generated. if cc -DPACKAGE_NAME=\"refdb\" -DPACKAGE_TARNAME=\"refdb\" -DPACKAGE_VERSION=\"0.9.9-1\" -DPACKAGE_STRING=\"refdb\ 0.9.9-1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"refdb\" -DVERSION=\"0.9.9-1\" -D_GNU_SOURCE=1 -DREADLINE42=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_MKFIFO=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOLL=1 -DHAVE_ATOLL=1 -I. -I. -DSYSCONFDIR=\"/usr/local/etc/refdb\" -DULLSPEC=\"%llu\" -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing - O2 -L/usr/local/lib -MT readln.o -MD -MP -MF ".deps/readln.Tpo" -c -o readln.o readln.c; \ then mv -f ".deps/readln.Tpo" ".deps/readln.Po"; else rm -f ".deps/readln.Tpo"; exit 1; fi 26 warnings generated. if cc -DPACKAGE_NAME=\"refdb\" -DPACKAGE_TARNAME=\"refdb\" -DPACKAGE_VERSION=\"0.9.9-1\" -DPACKAGE_STRING=\"refdb\ 0.9.9-1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"refdb\" -DVERSION=\"0.9.9-1\" -D_GNU_SOURCE=1 -DREADLINE42=1 -DHAVE_ICONV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_STRFTIME=1 -DHAVE_MKFIFO=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOLL=1 -DHAVE_ATOLL=1 -I. -I. -DSYSCONFDIR=\"/usr/local/etc/refdb\" -DULLSPEC=\"%llu\" -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include -O2 -pipe -I/usr/local/include -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing - O2 -L/usr/local/lib -MT client-commands.o -MD -MP -MF ".deps/client-commands.Tpo" -c -o client-commands.o client-commands.c; \ then mv -f ".deps/client-commands.Tpo" ".deps/client-commands.Po"; else rm -f ".deps/client-commands.Tpo"; exit 1; fi cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] 2 warnings and 20 errors generated. In file included from readln.c:26: ./readln.h:28:3: warning: 'Function' is deprecated [-Wdeprecated-declarations] 28 | Function *func; /* Function to call to do the job. */ | ^ /usr/local/include/readline/rltypedefs.h:35:44: note: 'Function' has been explicitly marked deprecated here 35 | typedef int Function (void) __attribute__((deprecated)); | ^ readln.c:66:31: error: too many arguments to function call, expected 0, have 1 66 | return ((*(command->func)) (word)); | ~~~~~~~~~~~~~~~~~~ ^~~~ readln.c:97:39: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 97 | rl_attempted_completion_function = (CPPFunction *)refdb_completion; | ^ /usr/local/include/readline/rltypedefs.h:38:50: note: 'CPPFunction' has been explicitly marked deprecated here 38 | typedef char **CPPFunction (void) __attribute__((deprecated)); | ^ readln.c:97:36: error: incompatible function pointer types assigning to 'rl_completion_func_t *' (aka 'char **(*)(const char *, int, int)') from 'CPPFunction *' (aka 'char **(*)(void)') [-Wincompatible-function-pointer-types] 97 | rl_attempted_completion_function = (CPPFunction *)refdb_completion; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [Makefile:445: refdbc.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 2 warnings and 2 errors generated. gmake[2]: *** [Makefile:445: readln.o] Error 1 In file included from client-commands.c:32: ./readln.h:28:3: warning: 'Function' is deprecated [-Wdeprecated-declarations] 28 | Function *func; /* Function to call to do the job. */ | ^ /usr/local/include/readline/rltypedefs.h:35:44: note: 'Function' has been explicitly marked deprecated here 35 | typedef int Function (void) __attribute__((deprecated)); | ^ 1 warning generated. gmake[2]: Leaving directory '/wrkdirs/usr/ports/textproc/refdb/work/refdb-0.9.9-1/src' gmake[1]: *** [Makefile:301: all] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/textproc/refdb/work/refdb-0.9.9-1/src' gmake: *** [Makefile:257: all-recursive] Error 1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/textproc/refdb