Date: Thu, 5 Sep 2019 01:05:02 GMT From: pkg-fallout@FreeBSD.org To: dcornejo@netgate.com Cc: pkg-fallout@FreeBSD.org Subject: [package - head-i386-default][devel/clixon] Failed for clixon-3.9.0_1 in build Message-ID: <201909050105.x85152vf024024@beefy11.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: dcornejo@netgate.com Last committer: tobik@FreeBSD.org Ident: $FreeBSD: head/devel/clixon/Makefile 507203 2019-07-23 06:21:40Z tobik $ Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p510912_s351728/logs/clixon-3.9.0_1.log Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p510912_s351728 Log: =>> Building devel/clixon build started at Thu Sep 5 01:04:29 UTC 2019 port directory: /usr/ports/devel/clixon package name: clixon-3.9.0_1 building for: FreeBSD head-i386-default-job-15 13.0-CURRENT FreeBSD 13.0-CURRENT 1300044 i386 maintained by: dcornejo@netgate.com Makefile ident: $FreeBSD: head/devel/clixon/Makefile 507203 2019-07-23 06:21:40Z tobik $ Poudriere version: 3.2.8-5-gc81843e5 Host OSVERSION: 1300031 Jail OSVERSION: 1300044 Job Id: 15 !!! Jail is newer than host. (Jail: 1300044, Host: 1300031) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300044 UNAME_v=FreeBSD 13.0-CURRENT 1300044 UNAME_r=13.0-CURRENT 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-5-gc81843e5 MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-i386-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--- ---End OPTIONS List--- --MAINTAINER-- dcornejo@netgate.com --End MAINTAINER-- --CONFIGURE_ARGS-- --with-cligen=/usr/local --sysconfdir=/usr/local/etc/clixon --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- YACC="bison -y" MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/clixon/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/clixon/work HOME=/wrkdirs/usr/ports/devel/clixon/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/clixon/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-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/clixon/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/clixon/work HOME=/wrkdirs/usr/ports/devel/clixon/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/clixon/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-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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-- OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/clixon" EXAMPLESDIR="share/examples/clixon" DATADIR="share/clixon" WWWDIR="www/clixon" ETCDIR="etc/clixon" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/clixon DOCSDIR=/usr/local/share/doc/clixon EXAMPLESDIR=/usr/local/share/examples/clixon WWWDIR=/usr/local/www/clixon ETCDIR=/usr/local/etc/clixon --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 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: i386-unknown-freebsd13.0 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 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300044 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 APACHE20 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> clixon-3.9.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz [head-i386-default-job-15] Installing pkg-1.11.1... [head-i386-default-job-15] Extracting pkg-1.11.1: .......... done ===> clixon-3.9.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of clixon-3.9.0_1 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by clixon-3.9.0_1 for building =========================================================================== =======================<phase: checksum >============================ ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by clixon-3.9.0_1 for building => SHA256 Checksum OK for clicon-clixon-3.9.0_GH0.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by clixon-3.9.0_1 for building ===> Extracting for clixon-3.9.0_1 => SHA256 Checksum OK for clicon-clixon-3.9.0_GH0.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for clixon-3.9.0_1 ===> Applying FreeBSD patches for clixon-3.9.0_1 =========================================================================== <snip> The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> clixon-3.9.0_1 depends on package: autoconf>=2.69 - found ===> Returning to build of clixon-3.9.0_1 ===> clixon-3.9.0_1 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.1_2.txz [head-i386-default-job-15] Installing automake-1.16.1_2... [head-i386-default-job-15] Extracting automake-1.16.1_2: .......... done ===> clixon-3.9.0_1 depends on package: automake>=1.16.1 - found ===> Returning to build of clixon-3.9.0_1 =========================================================================== =======================<phase: lib-depends >============================ ===> clixon-3.9.0_1 depends on shared library: libcligen.so - found (/usr/local/lib/libcligen.so) ===> clixon-3.9.0_1 depends on shared library: libfcgi.so - not found ===> Installing existing package /packages/All/fcgi-devkit-2.4.0_5.txz [head-i386-default-job-15] Installing fcgi-devkit-2.4.0_5... [head-i386-default-job-15] Extracting fcgi-devkit-2.4.0_5: .......... done ===> clixon-3.9.0_1 depends on shared library: libfcgi.so - found (/usr/local/lib/libfcgi.so) ===> Returning to build of clixon-3.9.0_1 =========================================================================== =======================<phase: configure >============================ ===> Configuring for clixon-3.9.0_1 configure: loading site script /usr/ports/Templates/config.site CLIXON version is "3.9.0" checking build system type... i386-portbld-freebsd13.0 checking host system type... i386-portbld-freebsd13.0 checking target system type... i386-portbld-freebsd13.0 checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp compiler is cc debug is no CPPFLAGS is -DHAVE_CONFIG_H CFLAGS is -O2 -pipe -fstack-protector-strong -fno-strict-aliasing INSTALLFLAGS is -s checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for main in -lm... yes Using CLIGEN here: /usr/local stdyangs is yes publish is no checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking cligen/cligen.h usability... yes checking cligen/cligen.h presence... yes checking for cligen/cligen.h... yes checking for cligen_init in -lcligen... yes checking for FCGX_Init in -lfcgi... yes wwwuser:www-data checking for crypt in -lcrypt... (cached) yes checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking for sys/ucred.h... yes checking linux/if_vlan.h usability... no checking linux/if_vlan.h presence... no checking for linux/if_vlan.h... no checking for socket in -lsocket... no checking for xdr_char in -lnsl... no checking for dlopen in -ldl... yes checking for inet_aton... (cached) yes checking for sigaction... (cached) yes checking for sigvec... (cached) yes checking for strlcpy... (cached) yes checking for strsep... (cached) yes checking for strndup... (cached) yes checking for alphasort... (cached) yes checking for versionsort... no checking for strverscmp... no configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/src/Makefile config.status: creating lib/clixon/Makefile config.status: creating apps/Makefile config.status: creating apps/cli/Makefile config.status: creating apps/backend/Makefile config.status: creating apps/netconf/Makefile config.status: creating apps/restconf/Makefile config.status: creating include/Makefile config.status: creating etc/Makefile config.status: creating etc/clixonrc config.status: creating example/Makefile config.status: creating extras/rpm/Makefile config.status: creating docker/Makefile config.status: creating docker/system/Makefile config.status: creating docker/base/Makefile config.status: creating datastore/Makefile config.status: creating util/Makefile config.status: creating yang/Makefile config.status: creating yang/clixon/Makefile config.status: creating yang/standard/Makefile config.status: creating doc/Makefile config.status: creating test/Makefile config.status: creating include/clixon_config.h config.status: creating lib/clixon/clixon.h =========================================================================== =======================<phase: build >============================ ===> Building for clixon-3.9.0_1 gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/clixon/work/clixon-3.9.0' (cd lib && gmake -w all) gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/clixon/work/clixon-3.9.0/lib' (cd src; gmake -w all) gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/clixon/work/clixon-3.9.0/lib/src' date +"const char CLIXON_BUILDSTR[64]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; > build.c; echo "const char CLIXON_VERSION[64]=\""3.9.0"\""\; >> build.c; cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c build.c bison -y -l -d -p clixon_xml_parse clixon_xml_parse.y # -t is debug clixon_xml_parse.y: warning: 21 shift/reduce conflicts [-Wconflicts-sr] clixon_xml_parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] mv y.tab.c clixon_xml_parse.tab.c mv y.tab.h clixon_xml_parse.tab.h flex -Pclixon_xml_parse clixon_xml_parse.l # -d is debug cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-error -c lex.clixon_xml_parse.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_xml_parse.tab.c bison -y -l -d -p clixon_yang_parse clixon_yang_parse.y # -t is debug clixon_yang_parse.y: warning: 766 shift/reduce conflicts [-Wconflicts-sr] clixon_yang_parse.y: warning: 4 reduce/reduce conflicts [-Wconflicts-rr] mv y.tab.c clixon_yang_parse.tab.c mv y.tab.h clixon_yang_parse.tab.h flex -Pclixon_yang_parse clixon_yang_parse.l # -d is debug cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-error -c lex.clixon_yang_parse.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_yang_parse.tab.c bison -y -l -d -p clixon_json_parse clixon_json_parse.y # -t is debug mv y.tab.c clixon_json_parse.tab.c mv y.tab.h clixon_json_parse.tab.h flex -Pclixon_json_parse clixon_json_parse.l # -d is debug cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-error -c lex.clixon_json_parse.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_json_parse.tab.c bison -y -l -d -p clixon_xpath_parse clixon_xpath_parse.y # -t is debug clixon_xpath_parse.y: warning: 3 shift/reduce conflicts [-Wconflicts-sr] mv y.tab.c clixon_xpath_parse.tab.c mv y.tab.h clixon_xpath_parse.tab.h flex -Pclixon_xpath_parse clixon_xpath_parse.l # -d is debug cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-error -c lex.clixon_xpath_parse.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_xpath_parse.tab.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_sig.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_log.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_err.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_event.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_string.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_handle.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_xml.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_xml_sort.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_xml_map.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_file.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_json.c cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_yang.c clixon_yang.c:2462:9: warning: implicit declaration of function 'basename' is invalid in C99 [-Wimplicit-function-declaration] if (basename(filename) == NULL){ ^ clixon_yang.c:2462:28: warning: comparison between pointer and integer ('int' and 'void *') [-Wpointer-integer-compare] if (basename(filename) == NULL){ ~~~~~~~~~~~~~~~~~~ ^ ~~~~ clixon_yang.c:2466:24: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] if ((base = strdup(basename(filename))) == NULL){ ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:87:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ 3 warnings generated. cc -I. -I../../lib/clixon -I../../include -I../.. -I/usr/local/include -DHAVE_CONFIG_H -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c clixon_yang_type.c clixon_yang_type.c:525:44: error: too few arguments to function call, expected 4, have 2 if ((retval2 = match_regexp(str, posix)) < 0){ ~~~~~~~~~~~~ ^ /usr/local/include/cligen/cligen_regex.h:49:1: note: 'match_regexp' declared here int match_regexp(cligen_handle h, char *string, char *pattern, int invert); ^ 1 error generated. gmake[3]: *** [Makefile:177: clixon_yang_type.o] Error 1 gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/clixon/work/clixon-3.9.0/lib/src' gmake[2]: *** [Makefile:55: src] Error 2 gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/clixon/work/clixon-3.9.0/lib' gmake[1]: *** [Makefile:62: lib] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/clixon/work/clixon-3.9.0' *** Error code 1 Stop. make: stopped in /usr/ports/devel/clixon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909050105.x85152vf024024>