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: po...@freebsd.org Log URL: https://pkg-status.freebsd.org/ampere1/data/133arm64-quarterly/4045cf197ce4/logs/refdb-0.9.9_14.log Build URL: https://pkg-status.freebsd.org/ampere1/build.html?mastername=133arm64-quarterly&build=4045cf197ce4 Log: =>> Building textproc/refdb build started at Thu Nov 28 14:38:00 UTC 2024 port directory: /usr/ports/textproc/refdb package name: refdb-0.9.9_14 building for: FreeBSD 133arm64-quarterly-job-13 13.3-RELEASE-p8 FreeBSD 13.3-RELEASE-p8 arm64 maintained by: po...@freebsd.org Makefile datestamp: -rw-r--r-- 1 root wheel 4519 Oct 15 01:02 /usr/ports/textproc/refdb/Makefile Ports top last git commit: 4045cf197 Ports top unclean checkout: no Port dir last git commit: db5128afd Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500027 Jail OSVERSION: 1303001 Job Id: 13 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1303001 UNAME_v=FreeBSD 13.3-RELEASE-p8 UNAME_r=13.3-RELEASE-p8 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/133arm64-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/133arm64-quarterly/13/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=133arm64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/133arm64-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-- po...@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=13.3 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 #### #### # 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) 1048576 stack size (kbytes, -s) 1048576 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 [133arm64-quarterly-job-13] Installing pkg-1.21.3... [133arm64-quarterly-job-13] 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 => SHA256 Checksum OK for refdb-0.9.9-1.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== <snip> refdbib.c:1132:48: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 1132 | fprintf(stderr, "%d byte written to %s\n", bif 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 -DLIBICO NV_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 yte_written, slvals.outfile); | ~~ ^~~~~~~~~~~~ | %zu refdbib.c:1146:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1146 | fprintf(stderr, slvals.inbuffer); | ^~~~~~~~~~~~~~~ refdbib.c:1146:19: note: treat the string as an argument to avoid this 1146 | fprintf(stderr, slvals.inbuffer); | ^ | "%s", refdbib.c:1240:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1240 | sprintf(cmd_buffer+strlen(cmd_buffer), " %d", strlen(slvals.outbuffer)+TERM_LEN); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %lu refdbib.c:1253:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1253 | fprintf(stderr, get_status_msg(110)); | ^~~~~~~~~~~~~~~~~~~ refdbib.c:1253:21: note: treat the string as an argument to avoid this 1253 | fprintf(stderr, get_status_msg(110)); | ^ | "%s", refdbib.c:1264:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1264 | fprintf(stderr, get_status_msg(cs_status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ refdbib.c:1264:21: note: treat the string as an argument to avoid this 1264 | fprintf(stderr, get_status_msg(cs_status)); | ^ | "%s", refdbib.c:1277:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1277 | fprintf(stderr, get_status_msg(110)); | ^~~~~~~~~~~~~~~~~~~ refdbib.c:1277:21: note: treat the string as an argument to avoid this 1277 | fprintf(stderr, get_status_msg(110)); | ^ | "%s", refdbib.c:1308:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1308 | fprintf(stderr, get_status_msg(cs_status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ refdbib.c:1308:23: note: treat the string as an argument to avoid this 1308 | fprintf(stderr, get_status_msg(cs_status)); | ^ | "%s", refdbib.c:1330:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1330 | fprintf(stderr, get_status_msg(109)); | ^~~~~~~~~~~~~~~~~~~ refdbib.c:1330:18: note: treat the string as an argument to avoid this 1330 | fprintf(stderr, get_status_msg(109)); | ^ | "%s", refdbib.c:1387:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1387 | fprintf(stderr, get_status_msg(cs_status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ refdbib.c:1387:21: note: treat the string as an argument to avoid this 1387 | fprintf(stderr, get_status_msg(cs_status)); | ^ | "%s", refdbib.c:1401:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1401 | fprintf(stderr, get_status_msg(109)); | ^~~~~~~~~~~~~~~~~~~ refdbib.c:1401:21: note: treat the string as an argument to avoid this 1401 | fprintf(stderr, get_status_msg(109)); | ^ | "%s", refdbib.c:1418:48: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 1418 | fprintf(stderr, "%d byte written to %s\n", byte_written, slvals.outfile); | ~~ ^~~~~~~~~~~~ | %zu refdbib.c:1424:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1424 | fprintf(stderr, slvals.inbuffer); | ^~~~~~~~~~~~~~~ refdbib.c:1424:19: note: treat the string as an argument to avoid this 1424 | fprintf(stderr, slvals.inbuffer); | ^ | "%s", refdbib.c:1459:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1459 | syslog(priority, string); | ^~~~~~ refdbib.c:1459:22: note: treat the string as an argument to avoid this 1459 | syslog(priority, string); | ^ | "%s", cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] 16 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 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 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 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] In file included from readln.c:26: ./readln.h:28:3: warning: 'Function' is deprecated [-Wdeprecated-declarations] 28 | Function *func; /* FuncIn 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 C2x, 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=] tion 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; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 2 errors generated. gmake[2]: *** [Makefile:445: readln.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 29 warnings generated. 2 warnings and 20 errors generated. gmake[2]: *** [Makefile:445: refdbc.o] Error 1 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