From nobody Tue Jul 11 08:47:40 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 4R0ZJD3CLxz4kQG3 for ; Tue, 11 Jul 2023 08:47:40 +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 4R0ZJD1qRQz3Jv8 for ; Tue, 11 Jul 2023 08:47:40 +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=1689065260; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=bKUOFW1jbhjHm4XClzuqhJ0QSqPBwoQheYh8+qHPn4M=; b=ctxe6Aq9VLiCrp9Y/fU64Z37+0OB+zrF3Ns3cE7CMrRslPX18CXbuYQIVrxZozb2s6MZZX FxyZ8UmZUHP6W1NHJi5yHaTEEdhWT45bdkOcRf+k7JK4r9dTrRIHFj7W9855Lcgw9WwLrx 6VgLG3jNQ3hwoa354gVhamHuHOKy56VBoknWCttVtgoNJQK7FvhTJQP2Qfah8P9sdFefmk xKONE0YoI+Pdw3wjQGXCZ1dyGVsimFwr9/MW/E7IJXGmkhAkfxxqng8Lj3C093/Zw1DE01 VfO5QLU5bDd623kJe+Vixa1IXiq+at8TxyL6I1e7C2J+WiwpMBxwWz9K5UIAkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689065260; a=rsa-sha256; cv=none; b=toGVXCHP1nIz3+/QKIZVwMwqXDVRH+GtY+nD9bMrWhdIoXSVyRXaElCI/VJoOB17WsiULY +Z8q1ihhax0M7mi8XHxx2FEmI7/2gOCPP1CIWnHba6h3UFb6C3TLoVEkBIyZ2/TuvAgvlG y8TjwYzfpPzEclV+FXtJfRIcrz398ih2B/VuwQFCQVu1YSeA0Fo1dckPEfg8hNX4OC7DS8 6Wvvs1e47Jt/HuwpeNpzh1nnKll9SLjD2RInfbNtep1uPxNSLtlwgJRMkwGqmxU9ffLZcf fItc9J9+jDD1n/5T9+q/LOAvPQiqOIUePTuT0O36t7yobDWdORmMx2gfcWVeBw== Received: from beefy8.nyi.freebsd.org (beefy8.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:17]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4R0ZJD0tbQzKQy for ; Tue, 11 Jul 2023 08:47:40 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id bcd8 by beefy8.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy8.nyi.freebsd.org); Tue, 11 Jul 2023 08:47:40 +0000 To: pkg-fallout@FreeBSD.org Subject: [package - main-armv6-default][games/sokoban] Failed for sokoban-1.0_2 in build Date: Tue, 11 Jul 2023 08:47:40 +0000 Message-Id: <64ad172c.bcd8.392ec566@beefy8.nyi.freebsd.org> From: 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: ports@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy8/data/main-armv6-default/pd6fe15e0ee7a_s1ec7cb1b5d/logs/sokoban-1.0_2.log Build URL: https://pkg-status.freebsd.org/beefy8/build.html?mastername=main-armv6-default&build=pd6fe15e0ee7a_s1ec7cb1b5d Log: =>> Building games/sokoban build started at Tue Jul 11 08:45:16 UTC 2023 port directory: /usr/ports/games/sokoban package name: sokoban-1.0_2 building for: FreeBSD main-armv6-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400093 arm maintained by: ports@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400088 Jail OSVERSION: 1400093 Job Id: 03 !!! Jail is newer than host. (Jail: 1400093, Host: 1400088) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh UNAME_p=armv6 UNAME_m=arm ABI_FILE=/usr/lib/crt1.o OSVERSION=1400093 UNAME_v=FreeBSD 14.0-CURRENT 1400093 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 QEMU_EMULATING=1 USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-23-ga7f8d188 MASTERMNT=/usr/local/poudriere/data/.m/main-armv6-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-armv6-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-armv6-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-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/sokoban/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sokoban/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sokoban/work/.cache HOME=/wrkdirs/usr/ports/games/sokoban/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/sokoban/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sokoban/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/games/sokoban/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sokoban/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/sokoban/work/.cache HOME=/wrkdirs/usr/ports/games/sokoban/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/sokoban/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/sokoban/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="/nxb-bin/usr/bin/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=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sokoban" EXAMPLESDIR="share/examples/sokoban" DATADIR="share/sokoban" WWWDIR="www/sokoban" ETCDIR="etc/sokoban" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sokoban DOCSDIR=/usr/local/share/doc/sokoban EXAMPLESDIR=/usr/local/share/examples/sokoban WWWDIR=/usr/local/www/sokoban ETCDIR=/usr/local/etc/sokoban --End SUB_LIST-- ---Begin make.conf--- .sinclude "/etc/make.nxb.conf" USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=arm MACHINE_ARCH=armv6 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 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_9d218390=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _ALTCCVERSION_9d218390=none _CXXINTERNAL_9c45a5b1=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes CC_OUTPUT_9d218390_9bdba57c=yes CC_OUTPUT_9d218390_6a4fe7f5=yes CC_OUTPUT_9d218390_6bcac02b=yes CC_OUTPUT_9d218390_67d20829=yes CC_OUTPUT_9d218390_bfa62e83=yes CC_OUTPUT_9d218390_f0b4d593=yes CC_OUTPUT_9d218390_308abb44=yes CC_OUTPUT_9d218390_f00456e5=yes CC_OUTPUT_9d218390_65ad290d=yes CC_OUTPUT_9d218390_f2776b26=yes CC_OUTPUT_9d218390_53255a77=yes CC_OUTPUT_9d218390_911cfe02=yes CC_OUTPUT_9d218390_b2657cc3=yes CC_OUTPUT_9d218390_380987f7=yes CC_OUTPUT_9d218390_160933ec=yes CC_OUTPUT_9d218390_fb62803b=yes CC_OUTPUT_9d218390_af59ad06=yes CC_OUTPUT_9d218390_a15f3fcf=yes _OBJC_CCVERSION_9d218390=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin _OBJC_ALTCCVERSION_9d218390=none ARCH=armv6 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400093 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ---Begin make.nxb.conf--- CC=/nxb-bin/usr/bin/cc CPP=/nxb-bin/usr/bin/cpp CXX=/nxb-bin/usr/bin/c++ NM=/nxb-bin/usr/bin/nm LD=/nxb-bin/usr/bin/ld OBJCOPY=/nxb-bin/usr/bin/objcopy SIZE=/nxb-bin/usr/bin/size STRIPBIN=/nxb-bin/usr/bin/strip SED=/nxb-bin/usr/bin/sed RANLIB=/nxb-bin/usr/bin/ranlib YACC=/nxb-bin/usr/bin/yacc MAKE=/nxb-bin/usr/bin/make STRINGS=/nxb-bin/usr/bin/strings AWK=/nxb-bin/usr/bin/awk FLEX=/nxb-bin/usr/bin/flex ---End make.nxb.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-- =================================================== ===> NOTICE: The sokoban 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 =========================================================================== =================================================== ===> sokoban-1.0_2 depends on file: /usr/local/sbin/pkg - not found play.c:234:1: warning: non-void function does not return a value [-Wreturn-type] } ^ play.c:236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tmpsave() { ^ int play.c:246:1: warning: non-void function does not return a value [-Wreturn-type] } ^ play.c:248:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] tmpreset() { ^ int play.c:258:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 31 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -c save.c In file included from save.c:5: ./sokoban.h:70:1: warning: '/*' within block comment [-Wcomment] /* Attention: Do not alter `obj_intern'. This would cause an error */ ^ save.c:7:15: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ save.c:7:15: note: 'malloc' is a builtin with type 'void *(unsigned int)' save.c:8:15: 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] extern FILE *fopen(); ^ save.c:26:21: warning: call to undeclared library function 'strlen' with type 'unsigned int (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sfname = malloc( strlen( SAVEPATH) + strlen( username) + 5); ^ save.c:26:21: note: include the header or explicitly provide a declaration for 'strlen' save.c:26:19: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sfname = malloc( strlen( SAVEPATH) + strlen( username) + 5); ^ save.c:32:11: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( write( savedbn, &(map[0][0]), MAXROW*MAXCOL) != MAXROW*MAXCOL) ^ save.c:56:53: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( (ret == E_WRITESAVE) || (ret == E_STATSAVE)) unlink( sfname); ^ save.c:68:19: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sfname = malloc( strlen( SAVEPATH) + strlen( username) + 5); ^ save.c:77:14: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( read( savedbn, &(map[0][0]), MAXROW*MAXCOL) != MAXROW*MAXCOL) ^ save.c:99:7: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink( sfname); ^ 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -c score.c In file included from score.c:3: ./sokoban.h:70:1: warning: '/*' within block comment [-Wcomment] /* Attention: Do not alter `obj_intern'. This would cause an error */ ^ score.c:5:14: 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] extern FILE *fopen(); ^ score.c:23:11: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while( access(LOCKFILE,0) != -1); /* lock the score file */ ^ score.c:24:4: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] creat(LOCKFILE,0666); ^ score.c:25:15: warning: call to undeclared function 'readscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( (ret = readscore()) == 0) ^ score.c:26:7: warning: call to undeclared function 'showscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] showscore(); ^ score.c:27:4: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink( LOCKFILE); ^ score.c:35:11: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while( access(LOCKFILE) != -1) ; ^ score.c:36:4: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] creat(LOCKFILE,0666); ^ score.c:42:11: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( write( sfdbn, &scoreentries, 2) != 2) ret = E_WRITESCORE; ^ score.c:45:4: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink( LOCKFILE); ^ score.c:54:11: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while( access( LOCKFILE) != -1); ^ score.c:55:4: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] creat(LOCKFILE,0666); ^ score.c:59:18: warning: call to undeclared function 'readscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( (ret = readscore()) == 0) ^ score.c:60:18: warning: call to undeclared function 'finduser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *lv = ( (pos = finduser()) > -1) ? scoretable[pos].lv+1 : 1; ^ score.c:62:4: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink( LOCKFILE); ^ score.c:49:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] short getuserlevel( lv) ^ score.c:70:11: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while( access( LOCKFILE) != -1); ^ score.c:71:4: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] creat(LOCKFILE,0666); ^ score.c:72:15: warning: call to undeclared function 'readscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( (ret = readscore()) == 0) ^ score.c:73:18: warning: call to undeclared function 'makescore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( (ret = makescore()) == 0) ^ score.c:74:14: warning: call to undeclared function 'writescore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( (ret = writescore()) == 0) ^ score.c:75:6: warning: call to undeclared function 'showscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] showscore(); ^ score.c:76:4: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink( LOCKFILE); ^ score.c:80:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] readscore() { ^ int score.c:89:11: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( read( sfdbn, &scoreentries, 2) != 2) ret = E_READSCORE; ^ score.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] makescore() { ^ int score.c:103:15: warning: call to undeclared function 'finduser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( (pos = finduser()) > -1) { /* user already in score file */ ^ score.c:114:6: warning: call to undeclared function 'cp_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cp_entry( i, i+1); ^ score.c:122:13: warning: call to undeclared function 'findpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pos = findpos(); /* find the new score position */ ^ score.c:125:6: warning: call to undeclared function 'cp_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] cp_entry( i, i-1); ^ score.c:129:7: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strcpy( scoretable[pos].user, username); ^ score.c:129:7: note: include the header or explicitly provide a declaration for 'strcpy' score.c:138:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] finduser() { ^ int score.c:143:16: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] found = (strcmp( scoretable[i].user, username) == 0); ^ score.c:143:16: note: include the header or explicitly provide a declaration for 'strcmp' score.c:147:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] findpos() { ^ int score.c:163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writescore() { ^ int score.c:172:11: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( write( sfdbn, &scoreentries, 2) != 2) ret = E_WRITESCORE; ^ score.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] showscore() { ^ int score.c:202:1: warning: non-void function does not return a value [-Wreturn-type] } ^ score.c:204:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] cp_entry( i1, i2) ^ int score.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] score.c:211:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 42 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DPREFIX=\"/usr/local\" -o sokoban sok.o readscreen.o showscreen.o play.o save.o score.o -fstack-protector-strong -lncurses cc: error: unable to execute command: Abort trap (core dumped) cc: error: linker command failed due to signal (use -v to see invocation) *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/games/sokoban/work/sokoban *** Error code 1 Stop. make: stopped in /usr/ports/games/sokoban