From nobody Wed Oct 02 20:19:32 2024 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 4XJmPJ5vn1z5Y31n for ; Wed, 02 Oct 2024 20:19:32 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJmPJ2zd7z4f33 for ; Wed, 2 Oct 2024 20:19:32 +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=1727900372; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=fs0PWWU6j3JNVRiXQ3rM2o1SJjuamCxp4lAZScoY0MM=; b=jvGs0qSMuFwwsTnp0v1S387huNeXWbSMfEk2iR83k1XpYj0tDWPpZXzSjSauqeNk74spbt JBzLcF6ZLsnogHPe2ijDpJ9ZuJsNmLDtaW5RAuGq0xWijOgI8F2a7yCZGecrYpxrrU/cQ/ hWHwiGgEbXb3zFxSNL2t5ryAVLr/wg+g58QNL2TLZbuRMvp/w38Nuf92TN5On9hX+kqhEi SF6cFqSFNLOySnwJiFuoVaJnbamPYTfNPYnNXLBdZOkdcq5ptfGsZLQ5UPITLMjO1dEWeA 9MAnidsI3qo2oUtA7wO3WOXFSuFm1t/ifUptzvaK1IbpcNHK++FXZC96tG+LRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727900372; a=rsa-sha256; cv=none; b=cxxk38MZCiID5tu90kwgTmIZYTQNbG4xJteMJIGrOTn7KG3Jy5bJRvxgku6Nc60/DbdteV NNGsKpTwx/Rdu0oytJQnFLWNn6OKSMy/zGDf9pRwnDmndVcLgUzC7POfj/N5IBzWMBTGP3 74ireSWeIl06mznn5Ri639mtV/CpwCtUIYJ59FRfwpxEpZ30RRk0n/6BewQOtalbVy5Bft D3OcKv2w5wN/Cw0i6uqvqv3dN/F/A/Sjd2bhhvwGKLm5EdbT5x1e87USiT8iCQ+He2c5XL 8Qa4OREibJiJLn+e4+rTQI1KcoAb3DEySiDaDYxspO40TizT2JSgG35CULRI+g== Received: from beefy17.nyi.freebsd.org (beefy17.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:20]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4XJmPJ2669zKq6 for ; Wed, 2 Oct 2024 20:19:32 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 3632 by beefy17.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy17.nyi.freebsd.org); Wed, 02 Oct 2024 20:19:32 +0000 To: pkg-fallout@FreeBSD.org Subject: [package - main-i386-default][devel/elf] Failed for elf-0.5.4p1_6 in build Date: Wed, 02 Oct 2024 20:19:32 +0000 Message-Id: <66fdaad4.3632.d7a621a@beefy17.nyi.freebsd.org> From: 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/beefy17/data/main-i386-default/p1f84c1fae602_seb345e05ac6/logs/elf-0.5.4p1_6.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p1f84c1fae602_seb345e05ac6 Log: =>> Building devel/elf build started at Wed Oct 2 20:19:26 UTC 2024 port directory: /usr/ports/devel/elf package name: elf-0.5.4p1_6 building for: FreeBSD main-i386-default-job-08 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 i386 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 555 Feb 24 2024 /usr/ports/devel/elf/Makefile Ports top last git commit: 1f84c1fae60 Ports top unclean checkout: no Port dir last git commit: 528fb8f8d3c Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500023 Jail OSVERSION: 1500023 Job Id: 08 ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1500023 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 UNAME_m=i386 UNAME_p=i386 UNAME_r=15.0-CURRENT LOCALBASE=/usr/local UNAME_v=FreeBSD 15.0-CURRENT 1500023 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/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/main-i386-default/08/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/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--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/elf/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/elf/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/elf/work/.cache HOME=/wrkdirs/usr/ports/devel/elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/elf/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/elf/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/elf/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/elf/work/.cache HOME=/wrkdirs/usr/ports/devel/elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/elf/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 -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include" LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " BSD_INSTALL_PROGRAM="instal l -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=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/elf" EXAMPLESDIR="share/examples/elf" DATADIR="share/elf" WWWDIR="www/elf" ETCDIR="etc/elf" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/elf DOCSDIR=/usr/local/share/doc/elf EXAMPLESDIR=/usr/local/share/examples/elf WWWDIR=/usr/local/www/elf ETCDIR=/usr/local/etc/elf --End SUB_LIST-- ---Begin 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 3 jobs MAKE_JOBS_NUMBER=3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- ulimit: can't get limit: Invalid argument cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The elf 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> elf-0.5.4p1_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [main-i386-default-job-08] Installing pkg-1.21.3... [main-i386-default-job-08] Extracting pkg-1.21.3: .......... done ===> elf-0.5.4p1_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of elf-0.5.4p1_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The elf 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 elf-0.5.4p1_6 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The elf 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 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 for errno.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for cc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for working malloc... yes checking return type of signal handlers... void checking for bzero... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strncasecmp... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for elf-0.5.4p1_6 /usr/bin/env -i HOME=/wrkdirs/usr/ports/devel/elf/work PWD="${PWD}" __MAKE_CONF=/nonexistent OSVERSION=1500023 PATH=/wrkdirs/usr/ports/devel/elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TMPDIR=/tmp UNAME_m=i386 UNAME_p=i386 UNAME_r=15.0-CURRENT UNAME_v=FreeBSD\ 15.0-CURRENT\ 1500023 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/elf/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/elf/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/elf/work/.cache HOME=/wrkdirs/usr/ports/devel/elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/elf/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 -isystem /usr/local/include -fno-stric t-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include" LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " 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" gmake -f Makefile -j3 -C /wrkdirs/usr/ports/devel/elf/work/elf-0.5.4p1/src gmake: Entering directory '/wrkdirs/usr/ports/devel/elf/work/elf-0.5.4p1/src' cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I../include -I/usr/local/include -isystem /usr/local/include -c main.c cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -I../include -I/usr/local/include -isystem /usr/local/include -c elf.c In file included from elf.c:14: ../include/define.h:13:13: warning: 'const' attribute on function returning 'void'; attribute ignored [-Wignored-attributes] 13 | static void usage(void) __attribute__((const)); | ^ elf.c:28:55: warning: call to undeclared library function 'strerror' with type 'char *(int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | fprintf(stderr, "ERROR: could not open file: %s\n", strerror(errno)); | ^ elf.c:28:55: note: include the header or explicitly provide a declaration for 'strerror' elf.c:36:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | memset(buffer, 0, SELFMAG + 1); | ^ elf.c:36:2: note: include the header or explicitly provide a declaration for 'memset' elf.c:42:6: 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] 42 | if (strcmp(ELFMAG, buffer) == 0) { | ^ elf.c:42:6: note: include the header or explicitly provide a declaration for 'strcmp' elf.c:462:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 462 | } | ^ In file included from main.c:26: ../include/define.h:13:13: warning: 'const' attribute on function returning 'void'; attribute ignored [-Wignored-attributes] 13 | static void usage(void) __attribute__((const)); | ^ main.c:208:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 208 | printf("%#x\n", ehdr->e_entry); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:210:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 210 | printf("%#x\n", ehdr->e_entry); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:212:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 212 | printf("%d\n", ehdr->e_entry); | ~~ ^~~~~~~~~~~~~ | %lu main.c:218:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 218 | printf("%#x\n", ehdr->e_flags); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:220:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 220 | printf("%#x\n", ehdr->e_flags); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:222:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 222 | printf("%d\n", ehdr->e_flags); | ~~ ^~~~~~~~~~~~~ | %lu main.c:275:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 275 | printf("%d\n", ehdr->e_phoff); | ~~ ^~~~~~~~~~~~~ | %lu main.c:277:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 277 | printf("%#x\n", ehdr->e_phoff); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:279:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 279 | printf("%d\n", ehdr->e_phoff); | ~~ ^~~~~~~~~~~~~ | %lu main.c:295:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 295 | printf("%d\n", ehdr->e_shoff); | ~~ ^~~~~~~~~~~~~ | %lu main.c:297:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 297 | printf("%#x\n", ehdr->e_shoff); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:299:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 299 | printf("%d\n", ehdr->e_shoff); | ~~ ^~~~~~~~~~~~~ | %lu main.c:327:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 327 | printf("%#x\n", ehdr->e_version); | ~~~ ^~~~~~~~~~~~~~~ | %#lx main.c:329:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 329 | printf("%d\n", ehdr->e_version); | ~~ ^~~~~~~~~~~~~~~ | %lu main.c:481:51: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 481 | printf("Virtual entry point --------| %#x\n", ehdr->e_entry); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:482:68: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 482 | printf("Program header offset ------| %d (bytes into file)\n", ehdr->e_phoff); | ~~ ^~~~~~~~~~~~~ | %lu main.c:483:68: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 483 | printf("Section header offset ------| %d (bytes into file)\n", ehdr->e_shoff); | ~~ ^~~~~~~~~~~~~ | %lu main.c:484:51: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 484 | printf("Processor-specific flags ---| %#x\n", ehdr->e_flags); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:532:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 532 | printf("%d\n", ehdr->e_version); | ~~ ^~~~~~~~~~~~~~~ | %lu main.c:534:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 534 | printf("%#x\n", ehdr->e_version); | ~~~ ^~~~~~~~~~~~~~~ | %#lx main.c:536:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 536 | printf("%#x\n", ehdr->e_entry); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:538:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 538 | printf("%d\n", ehdr->e_entry); | ~~ ^~~~~~~~~~~~~ | %lu main.c:540:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 540 | printf("%d\n", ehdr->e_phoff); | ~~ ^~~~~~~~~~~~~ | %lu main.c:542:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 542 | printf("%#x\n", ehdr->e_phoff); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:544:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 544 | printf("%d\n", ehdr->e_shoff); | ~~ ^~~~~~~~~~~~~ | %lu main.c:546:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 546 | printf("%#x\n", ehdr->e_shoff); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:548:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 548 | printf("%#x\n", ehdr->e_flags); | ~~~ ^~~~~~~~~~~~~ | %#lx main.c:550:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 550 | printf("%d\n", ehdr->e_flags); | ~~ ^~~~~~~~~~~~~ | %lu main.c:600:38: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations] 600 | rl_attempted_completion_function = (CPPFunction *) completion; | ^ /usr/local/include/readline/rltypedefs.h:38:50: note: 'CPPFunction' has been explicitly marked deprecated here 38 | typedef char **CPPFunction (void) __attribute__((deprecated)); | ^ main.c:600:35: 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] 600 | rl_attempted_completion_function = (CPPFunction *) completion; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:610:22: warning: call to undeclared function 'completion_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 610 | matches = (char **)completion_matches(text, match); | ^ main.c:640:30: warning: inequality comparison result unused [-Wunused-comparison] 640 | for (x = 0, y = 0; input[x] != 0, y < sizeof(command); x++, y++) { | ~~~~~~~~~^~~~ main.c:640:30: note: use '|=' to turn this inequality comparison into an or-assignment 640 | for (x = 0, y = 0; input[x] != 0, y < sizeof(command); x++, y++) { | ^~ | |= 32 warnings and 1 error generated. gmake: *** [Makefile:16: main.o] Error 1 gmake: *** Waiting for unfinished jobs.... 5 warnings generated. gmake: Leaving directory '/wrkdirs/usr/ports/devel/elf/work/elf-0.5.4p1/src' *** Error code 2 Stop. make: stopped making "build" in /usr/ports/devel/elf