From nobody Wed Nov 20 09:17:25 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 4XtbNj48HPz5dV99 for ; Wed, 20 Nov 2024 09:17:25 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XtbNj1YD7z4bN6 for ; Wed, 20 Nov 2024 09:17:25 +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=1732094245; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=aZbdAf04Mrs++/aq8Qf+9GYcHYT5Io6xzcLcTs40LnE=; b=J5ZbZnkO37an1WPKZMgjckW6zehrqyIqtwXBujAxP/wjJq/An9MNe0Z9SELCfK5XyOiDZH PFZGFxWKRPXngRuMoDYEUcM2bJ8yq8cekHCm5d2Tkdv46DRvaR5k0EUtzuiaTMdT7SWEbU a1rtIwVT1NTE90aI1y4eXhdLH8SX+xm6IvRxqa80pd7vgh/dmugs6CczRWbJKsf+UGTU2E QEzUaKLqCvkT1KspjlENPRANXv+cjwazckhCCB3sNpcEx82yWKK0a2AyMdrz5tPQ4JkOLw Y41gghDIAnMIQUeatYUFiACCna2HJ7nqaDyGs5yPzXY/c3iN2VUP/1w0pMwnFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732094245; a=rsa-sha256; cv=none; b=wDFTZTJlHrcqsWtXrh/Og2HpUXy8AG/4B/0wr2iNQNTubcZrWk2Ugs26h8H4QENvIMbIaP VHlWb5nyosq61c2mqXBCPcgw5JYhA9z0IFuohEA4BgTZaDKy9Fd2htzj7FM67kkjz5wzSb PzMVCW3aTjXnRqfr2x4Sdr44nEpDDcCjEXdO7mOi2rqmjXU3U7+ti3T7cna+BGXSixZ3ql K9Rf562/V3bCV6Al3Vw4OO0tRN59Z7b0mGhxaK8je6U4qPQ9sXJwKVrmMpLH1fq2hU8HCc NAP8OY3tZSdPb0du66/X79SqqbArhIqy5gxv7mqUAvXBXR0R1A8xFHqZX/EmEA== Received: from ampere1.nyi.freebsd.org (ampere1.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:23]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4XtbNj0c9Pzp2Z for ; Wed, 20 Nov 2024 09:17:25 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id c1 by ampere1.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on ampere1.nyi.freebsd.org); Wed, 20 Nov 2024 09:17:25 +0000 To: pkg-fallout@FreeBSD.org Subject: [package - 133arm64-quarterly][devel/elf] Failed for elf-0.5.4p1_6 in build Date: Wed, 20 Nov 2024 09:17:25 +0000 Message-Id: <673da925.c1.691c8d13@ampere1.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/ampere1/data/133arm64-quarterly/019c097f521d/logs/elf-0.5.4p1_6.log Build URL: https://pkg-status.freebsd.org/ampere1/build.html?mastername=133arm64-quarterly&build=019c097f521d Log: =>> Building devel/elf build started at Wed Nov 20 09:17:18 UTC 2024 port directory: /usr/ports/devel/elf package name: elf-0.5.4p1_6 building for: FreeBSD 133arm64-quarterly-job-12 13.3-RELEASE-p8 FreeBSD 13.3-RELEASE-p8 arm64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 555 Oct 15 01:02 /usr/ports/devel/elf/Makefile Ports top last git commit: 019c097f5 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: 1500023 Jail OSVERSION: 1303001 Job Id: 12 ---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/12/.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--- ---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=13.3 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--- 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-- =================================================== ===== 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 [133arm64-quarterly-job-12] Installing pkg-1.21.3... [133arm64-quarterly-job-12] 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 ===> Fetching all distfiles required by elf-0.5.4p1_6 for building => SHA256 Checksum OK for elf-0.5.4p1.tar.gz. =========================================================================== =================================================== ===== 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: checking for main in -ledit... yes checking for main in -lncurses... yes checking for main in -lreadline... yes checking how to run the C preprocessor... cpp 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 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 MACHINE_ARCH=aarch64 PWD="${PWD}" __MAKE_CONF=/nonexistent OSVERSION=1303001 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_r=13.3-RELEASE-p8 UNAME_v=FreeBSD\ 13.3-RELEASE-p8 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-alias ing " 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 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 long)'; 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 | } | ^ 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 4 warnings generated. 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:610:13: warning: cast to 'char **' from smaller integer type 'int' [-Wint-to-pointer-cast] 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: Leaving directory '/wrkdirs/usr/ports/devel/elf/work/elf-0.5.4p1/src' *** Error code 2 Stop. make: stopped in /usr/ports/devel/elf