From nobody Tue Mar 28 06:43:05 2023 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Pm0Vy68VDz42jJq for ; Tue, 28 Mar 2023 06:43:06 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pm0Vy3GsNz3mV1; Tue, 28 Mar 2023 06:43:06 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679985786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=+WQHvCBsukz3QsOgWE9me0YlsRGQkxwvYKfA0+TKecg=; b=otJJ9+dm0rQUsDcHYhN1PPtynZnz4byIoV616Jhg9P1oXXC4t2bdzU2lafq7Xj+Mlq7w8N V2y+8AoVRc7n3Vsaf2lD+hKpiEJoyl1lucKB316nSPsWdjSkPEf4aOedou9q+KMVx1WiFW xr5itUvvNFmSy43uLaoIl2UDN9tpjlaSVbu2j1lm22Fz0k94mx6rvNuJJO9IkUQ0JWRvku JZUdwXeEIA10Oq5GjTOsVaE3oi7neQVd/lDbSBQTAzge6P0z5H+djIWQCbSKcLOxZuBJe/ 2+qA5CYLG7Q4aqFoTUBYzfNS2CAp8FCDGWzCBbc8JybEkOa/g2EoJHGPNhTxCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679985786; a=rsa-sha256; cv=none; b=ZioigPt+6EfcuFvqxeHAq0KkQDglezuMrTqvZnYBqufBlgiRQsIoxe1FHy60Nw5xvxCLSc vuVhCpqKlaHHv6tZkQ5lYb8/hcBLdFI/abh0YtfZ3GQlntpIglXlntpUo76/9wyLj3gCeT +FpzAzRHcqTc65UB3GbOkhkC+7R6lzFHCXWtqqkyqRo3RMBmBcCqpG1H9UK2oIaNzBfO8m Z8A6f4nu9//01YG9NcUDt3K0xCrVsY+Zpx3zRBo1fmELCVxPxyJYYDCurW+9+ne8Ebjshz mk3hvTq2YNtJWLqbvi3Wh8kEX5RJrvb2F/BK3TA+e3mJp+02EJgNfkwO8C3YJQ== Received: from beefy18.nyi.freebsd.org (beefy18.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Pm0Vy2Ks2zv3L; Tue, 28 Mar 2023 06:43:06 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy18.nyi.freebsd.org (localhost [127.0.0.1]) by beefy18.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 32S6h6v1074755; Tue, 28 Mar 2023 06:43:06 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy18.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 32S6h5qS074450; Tue, 28 Mar 2023 06:43:05 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 28 Mar 2023 06:43:05 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202303280643.32S6h5qS074450@beefy18.nyi.freebsd.org> To: anastasios@mageirias.com Subject: [package - main-amd64-default][x11-wm/euclid-wm] Failed for euclid-wm-0.4.3_1 in stage Cc: pkg-fallout@FreeBSD.org X-ThisMailContainsUnwantedMimeParts: N List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org 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: anastasios@mageirias.com Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pf4ce74f6722a_s28f957b8b3/logs/euclid-wm-0.4.3_1.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=pf4ce74f6722a_s28f957b8b3 Log: =>> Building x11-wm/euclid-wm build started at Tue Mar 28 06:43:01 UTC 2023 port directory: /usr/ports/x11-wm/euclid-wm package name: euclid-wm-0.4.3_1 building for: FreeBSD main-amd64-default-job-02 14.0-CURRENT FreeBSD 14.0-CURRENT 1400084 amd64 maintained by: anastasios@mageirias.com Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1400084 Job Id: 02 !!! Jail is newer than host. (Jail: 1400084, Host: 1400073) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400084 UNAME_v=FreeBSD 14.0-CURRENT 1400084 UNAME_r=14.0-CURRENT 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 LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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 euclid-wm-0.4.3_1: EUCLID_MENU=off: Custom built menuing program (work in progress) XINERAMA=on: X11 Xinerama extension support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- anastasios@mageirias.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/x11-wm/euclid-wm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-wm/euclid-wm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-wm/euclid-wm/work/.cache HOME=/wrkdirs/usr/ports/x11-wm/euclid-wm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-wm/euclid-wm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-wm/euclid-wm/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-- XDG_DATA_HOME=/wrkdirs/usr/ports/x11-wm/euclid-wm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-wm/euclid-wm/work XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-wm/euclid-wm/work/.cache HOME=/wrkdirs/usr/ports/x11-wm/euclid-wm/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-wm/euclid-wm/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-wm/euclid-wm/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 -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-- EUCLID_MENU="@comment " NO_EUCLID_MENU="" XINERAMA="" NO_XINERAMA="@comment " OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/euclid-wm" EXAMPLESDIR="share/examples/euclid-wm" DATADIR="share/euclid-wm" WWWDIR="www/euclid-wm" ETCDIR="etc/euclid-wm" --End PLIST_SUB-- --SUB_LIST-- EUCLID_MENU="@comment " NO_EUCLID_MENU="" XINERAMA="" NO_XINERAMA="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/euclid-wm DOCSDIR=/usr/local/share/doc/euclid-wm EXAMPLESDIR=/usr/local/share/examples/euclid-wm WWWDIR=/usr/local/www/euclid-wm ETCDIR=/usr/local/etc/euclid-wm --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 #### /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 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.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" "-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_53255a77=yes CC_OUTPUT_921dbbb2_911cfe02=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes CC_OUTPUT_921dbbb2_af59ad06=yes CC_OUTPUT_921dbbb2_a15f3fcf=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400084 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### 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) 33554432 stack size (kbytes, -s) 524288 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-- =================================================== ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===> euclid-wm-0.4.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.19.1_1.pkg [main-amd64-default-job-02] Installing pkg-1.19.1_1... [main-amd64-default-job-02] Extracting pkg-1.19.1_1: .......... done ===> euclid-wm-0.4.3_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of euclid-wm-0.4.3_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by euclid-wm-0.4.3_1 for building =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by euclid-wm-0.4.3_1 for building => SHA256 Checksum OK for wmdiem-euclid-wm-0.4.3-b6b0319_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by euclid-wm-0.4.3_1 for building ===> Extracting for euclid-wm-0.4.3_1 => SHA256 Checksum OK for wmdiem-euclid-wm-0.4.3-b6b0319_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for euclid-wm-0.4.3_1 ===> Applying FreeBSD patches for euclid-wm-0.4.3_1 from /usr/ports/x11-wm/euclid-wm/files =========================================================================== =================================================== [main-amd64-default-job-02] Extracting libX11-1.7.2,1: .......... done ===> euclid-wm-0.4.3_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of euclid-wm-0.4.3_1 ===> euclid-wm-0.4.3_1 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - not found ===> Installing existing package /packages/All/libXinerama-1.1.4_2,1.pkg [main-amd64-default-job-02] Installing libXinerama-1.1.4_2,1... [main-amd64-default-job-02] `-- Installing libXext-1.3.4,1... [main-amd64-default-job-02] `-- Extracting libXext-1.3.4,1: .......... done [main-amd64-default-job-02] Extracting libXinerama-1.1.4_2,1: .......... done ===> euclid-wm-0.4.3_1 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found ===> Returning to build of euclid-wm-0.4.3_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for euclid-wm-0.4.3_1 =========================================================================== =================================================== ===> Building for euclid-wm-0.4.3_1 gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-wm/euclid-wm/work/euclid-wm-b6b0319' cc -pedantic -Wall euclid-wm.c -lX11 -O3 -g -std=c99 -I/usr/local/include -L/usr/local/lib -D NOXINERAMA -o noxinerama cc -pedantic -Wall euclid-wm.c -lX11 -lXinerama -O3 -g -std=c99 -I/usr/local/include -L/usr/local/lib -o euclid-wm euclid-wm.c:244:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void load_defaults() { ^ void euclid-wm.c:244:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void load_defaults() { ^ void euclid-wm.c:663:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void commit_bindings() { ^ void euclid-wm.c:663:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void commit_bindings() { ^ void euclid-wm.c:686:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void set_atoms() { ^ void euclid-wm.c:686:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void set_atoms() { ^ void euclid-wm.c:704:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] struct view * make_view() { ^ void euclid-wm.c:704:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] struct view * make_view() { ^ void euclid-wm.c:1268:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void move_to_main() { ^ void euclid-wm.c:1268:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void move_to_main() { ^ void euclid-wm.c:euclid-wm.c:1903:17:1903:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void search_wins() { ^ void void search_wins() { ^ void euclid-wm.c:2039:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] euclid-wm.c:2039void layout() { ^ void :12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void layout() { ^ void euclid-wm.c:2286:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] euclid-wm.c:2286:int event_loop() { ^ void 15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int event_loop() { ^ void euclid-wm.c:3173:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] euclid-wm.c:3173int main() { ^ void :9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int main() { ^ void 9 warnings generated. 9 warnings generated. cp noxinerama euclid-wm gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-wm/euclid-wm/work/euclid-wm-b6b0319' =========================================================================== =================================================== ===> euclid-wm-0.4.3_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> euclid-wm-0.4.3_1 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found =========================================================================== =================================================== ===> Staging for euclid-wm-0.4.3_1 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-wm/euclid-wm/work/euclid-wm-b6b0319' cc -pedantic -Wall euclid-menu.c -lX11 -lXinerama -O3 -g -std=c99 -I/usr/local/include -L/usr/local/lib -o euclid-menu euclid-menu.c:73:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void draw_win () { ^ void euclid-menu.c:143:10: error: incompatible integer to pointer conversion assigning to 'char *' from 'char'; take the address with & [-Wint-conversion] ret[i] = file[i]; ^ ~~~~~~~ & euclid-menu.c:146:25: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] ret[i < 32 ? i : 32] = '\0'; ^~~~ euclid-menu.c:148:8: warning: incompatible pointer types returning 'char *[32]' from a function with result type 'char *' [-Wincompatible-pointer-types] return(ret); ^~~~~ euclid-menu.c:148:9: warning: address of stack memory associated with local variable 'ret' returned [-Wreturn-stack-address] return(ret); ^~~ euclid-menu.c:152:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void load_handlers() { ^ void euclid-menu.c:169:14: warning: incompatible pointer types assigning to 'char **' from 'char *' [-Wincompatible-pointer-types] handler_dir = (char *) malloc(strlen("/usr/share/euclid-menu/handlers/") + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ euclid-menu.c:170:19: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] handler_dir[0] = '\0'; ^~~~ euclid-menu.c:171:9: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; dereference with * [-Wincompatible-pointer-types] strcpy(handler_dir,"/usr/share/euclid-menu/handlers/"); ^~~~~~~~~~~ * /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ euclid-menu.c:176:17: warning: incompatible pointer types passing 'char **' to parameter of type 'const char *'; dereference with * [-Wincompatible-pointer-types] dir = opendir(handler_dir); ^~~~~~~~~~~ * /usr/include/dirent.h:117:26: note: passing argument to parameter here DIR *opendir(const char *); ^ euclid-menu.c:180:9: warning: incompatible pointer types passing 'char **' to parameter of type 'const char *'; dereference with * [-Wincompatible-pointer-types] chdir(handler_dir); ^~~~~~~~~~~ * /usr/include/unistd.h:326:24: note: passing argument to parameter here int chdir(const char *); ^ euclid-menu.c:214:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] static inline char* find_handler() { ^ void euclid-menu.c:306:51: warning: incompatible pointer types passing 'char **' to parameter of type 'const char *'; dereference with * [-Wincompatible-pointer-types] char *cmd2 = (char*) malloc(strlen(cmd) + strlen(handler_dir) + strlen(buf) + 5); ^~~~~~~~~~~ * /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ euclid-menu.c:307:14: warning: incompatible pointer types passing 'char **' to parameter of type 'const char *'; dereference with * [-Wincompatible-pointer-types] strcpy(cmd2,handler_dir); ^~~~~~~~~~~ * /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ euclid-menu.c:353:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void update_options() { ^ void euclid-menu.c:417:19: warning: call to undeclared library function 'iscntrl' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] } else if (!iscntrl(results[i][j])) { ^ euclid-menu.c:417:19: note: include the header or explicitly provide a declaration for 'iscntrl' euclid-menu.c:442:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] char* loop () { ^ void euclid-menu.c:448:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len = 0; ^ euclid-menu.c:642:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void clean_up() { ^ void 18 warnings and 1 error generated. gmake[1]: *** [Makefile:27: euclid-menu] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-wm/euclid-wm/work/euclid-wm-b6b0319' *** Error code 2 Stop. make: stopped in /usr/ports/x11-wm/euclid-wm