From nobody Sun Oct 20 01:27: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 4XWLQj543gz5Zb3W for ; Sun, 20 Oct 2024 01:27: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWLQj1pL0z4k77 for ; Sun, 20 Oct 2024 01:27: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=1729387645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=+4ykMFAFnmTASplk4S6NaNrpZPJg6AeENKu9J12Ryqs=; b=ed//uXBCClv18tXJMqLE/1NNnnfh0U8OBCCcVC0tEapKbARTd6uPOElXA6qjU+OazdJMZc nxaj/xweevjm5gbmjK2o040W1auKVam2wvGc7Jc8BXxG/kGu/d8R+m+X3n4llQk+HHzSij ARWgiV6vxnOAqB3z+h4dFfRIq9x8TygSfC1lAX/yJvreWOfGy5kRKRVnqGXdrmL0S57uPb n01ff9gTiN3gq4wuj5ic+zeKEiuc7l/oDWx8zJAo6DX8P6u0YEtYcsr5k37J/tx06Jw3l3 jYqd0tD1GpqiEFgVIyEas+sFi2R+sXM6AlxZvilARI9ORjbHnd81tcsZzg5oCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729387645; a=rsa-sha256; cv=none; b=QSBqFv7IhzQVR+2eSOcxkqphCZX0PVb2NbztvM/dXlB1QnWcOjunmwxzSqeKzc7fs1aJTU /rvO1TcVQcZfWXs5lkOWmzRkZ4UgO2sbKwhXyjQU7RfLYCPdS4D2iBAE/xQe5hIJPDcNwU ZS87fyR7hxT+97A3VZ2sVwrIQWgmRzIo8K4ZnOJbBbRmYS5pXW90OQl4xvyZl1saRLXB9w qPZwc5ximECYxxG4liiTiKcWpuIf1U/wqHnwjPZKiP7L9MOCQFdYawan0W8Q3tYJBYkaiP m4KZSrow0N3bPSziCBRUXDsCE6yatOMDfvjUG6A+J0DEer8zjR7GoOLIhUrRNw== Received: from beefy19.nyi.freebsd.org (beefy19.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:22]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4XWLQj1QSxzhbZ for ; Sun, 20 Oct 2024 01:27:25 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 6881 by beefy19.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy19.nyi.freebsd.org); Sun, 20 Oct 2024 01:27:25 +0000 To: pkg-fallout@FreeBSD.org Subject: [package - 141i386-quarterly][devel/elf] Failed for elf-0.5.4p1_6 in build Date: Sun, 20 Oct 2024 01:27:25 +0000 Message-Id: <67145c7d.6881.353a8601@beefy19.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/beefy19/data/141i386-quarterly/2f8485d08501/logs/elf-0.5.4p1_6.log Build URL: https://pkg-status.freebsd.org/beefy19/build.html?mastername=141i386-quarterly&build=2f8485d08501 Log: =>> Building devel/elf build started at Sun Oct 20 01:27:22 UTC 2024 port directory: /usr/ports/devel/elf package name: elf-0.5.4p1_6 building for: FreeBSD 141i386-quarterly-job-09 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 i386 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 555 Oct 8 01:01 /usr/ports/devel/elf/Makefile Ports top last git commit: 2f8485d08 Ports top unclean checkout: no Port dir last git commit: 19fbadfb9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500023 Jail OSVERSION: 1401000 Job Id: 09 ---Begin Environment--- SHELL=/bin/sh BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 OSVERSION=1401000 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=14.1-RELEASE-p5 LOCALBASE=/usr/local UNAME_v=FreeBSD 14.1-RELEASE-p5 USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/141i386-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/141i386-quarterly/09/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=141i386-quarterly SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/141i386-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=14.1 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 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-- 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 [141i386-quarterly-job-09] Installing pkg-1.21.3... [141i386-quarterly-job-09] 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 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=i386 PWD="${PWD}" __MAKE_CONF=/nonexistent OSVERSION=1401000 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=14.1-RELEASE-p5 UNAME_v=FreeBSD\ 14.1-RELEASE-p5 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/in clude -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="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' 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)); | ^ 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 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 in /usr/ports/devel/elf