=>> Building sysutils/linuxfdisk build started at Wed Apr 3 15:47:38 BST 2024 port directory: /usr/ports/sysutils/linuxfdisk package name: linuxfdisk-2.11z_2 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: netch@netch.kiev.ua Makefile datestamp: -rw-r--r-- 1 root wheel 662 Mar 2 16:12 /usr/ports/sysutils/linuxfdisk/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: f74dd34159 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 11 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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-- netch@netch.kiev.ua --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/linuxfdisk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/linuxfdisk/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/linuxfdisk/work/.cache HOME=/wrkdirs/usr/ports/sysutils/linuxfdisk/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/sysutils/linuxfdisk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/linuxfdisk/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/linuxfdisk/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/linuxfdisk/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/linuxfdisk/work/.cache HOME=/wrkdirs/usr/ports/sysutils/linuxfdisk/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/sysutils/linuxfdisk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/linuxfdisk/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/linuxfdisk" EXAMPLESDIR="share/examples/linuxfdisk" DATADIR="share/linuxfdisk" WWWDIR="www/linuxfdisk" ETCDIR="etc/linuxfdisk" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/linuxfdisk DOCSDIR=/usr/local/share/doc/linuxfdisk EXAMPLESDIR=/usr/local/share/examples/linuxfdisk WWWDIR=/usr/local/www/linuxfdisk ETCDIR=/usr/local/etc/linuxfdisk --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> linuxfdisk-2.11z_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> linuxfdisk-2.11z_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of linuxfdisk-2.11z_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by linuxfdisk-2.11z_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by linuxfdisk-2.11z_2 for building => SHA256 Checksum OK for util-linux-2.11z.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by linuxfdisk-2.11z_2 for building ===> Extracting for linuxfdisk-2.11z_2 => SHA256 Checksum OK for util-linux-2.11z.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for linuxfdisk-2.11z_2 ===> Applying FreeBSD patches for linuxfdisk-2.11z_2 from /usr/ports/sysutils/linuxfdisk/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for linuxfdisk-2.11z_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for linuxfdisk-2.11z_2 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c fdisk.c -o fdisk.o fdisk.c:742:17: warning: initializing 'unsigned char *' with an expression of type 'char[2048]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *bufp = MBRbuffer; ^ ~~~~~~~~~ fdisk.c:879:30: warning: passing 'char[2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!valid_part_table_flag(MBRbuffer)) { ^~~~~~~~~ fdisk.c:73:38: note: passing argument to parameter 'b' here valid_part_table_flag(unsigned char *b) { ^ fdisk.c:889:29: warning: passing 'char[2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!valid_part_table_flag(MBRbuffer)) { ^~~~~~~~~ fdisk.c:73:38: note: passing argument to parameter 'b' here valid_part_table_flag(unsigned char *b) { ^ fdisk.c:933:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!valid_part_table_flag(pe->sectorbuffer)) { ^~~~~~~~~~~~~~~~ fdisk.c:73:38: note: passing argument to parameter 'b' here valid_part_table_flag(unsigned char *b) { ^ fdisk.c:2467:31: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign] if (sys_bsd_getsectors(fd, &size)) ^~~~~ ./common.h:27:47: note: passing argument to parameter 's' here int sys_bsd_getsectors(int fd, unsigned long* s); ^ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c i386_sys_types.c -o i386_sys_types.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c partname.c -o partname.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c fdiskbsdlabel.c -o fdiskbsdlabel.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c fdisksunlabel.c -o fdisksunlabel.o fdisksunlabel.c:353:11: warning: passing 'unsigned char[128]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] snprintf(sunlabel->info, sizeof(sunlabel->info), ^~~~~~~~~~~~~~ ./fdisksunlabel.h:32:18: note: expanded from macro 'sunlabel' #define sunlabel ((sun_partition *)MBRbuffer) ^ /usr/include/stdio.h:298:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c fdiskaixlabel.c -o fdiskaixlabel.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c fdisksgilabel.c -o fdisksgilabel.o fdisksgilabel.c:248:11: warning: initializing 'char *' with an expression of type 'unsigned char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char*name = sgilabel->directory[i].vol_file_name; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdisksgilabel.c:318:25: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( strncmp( aFile, sgilabel->boot_file, 16 ) ) ^~~~~~~~~~~~~~~~~~~ ./fdisksgilabel.h:103:18: note: expanded from macro 'sgilabel' #define sgilabel ((sgi_partition *)MBRbuffer) ^ /usr/include/string.h:106:40: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ fdisksgilabel.c:330:9: warning: returning 'unsigned char[16]' from a function with result type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return sgilabel->boot_file; ^~~~~~~~~~~~~~~~~~~ ./fdisksgilabel.h:103:18: note: expanded from macro 'sgilabel' #define sgilabel ((sgi_partition *)MBRbuffer) ^ fdisksgilabel.c:358:14: warning: passing 'unsigned char[8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy( sgilabel->directory[0].vol_file_name, "sgilabel", 8 ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fdisksgilabel.h:103:18: note: expanded from macro 'sgilabel' #define sgilabel ((sgi_partition *)MBRbuffer) ^ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ fdisksgilabel.c:376:20: warning: passing 'unsigned char[8]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( ! strncmp( sgilabel->directory[0].vol_file_name, "sgilabel",8 ) ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fdisksgilabel.h:103:18: note: expanded from macro 'sgilabel' #define sgilabel ((sgi_partition *)MBRbuffer) ^ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ fdisksgilabel.c:746:28: warning: passing 'char[2048]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if( valid_part_table_flag(MBRbuffer) ) ^~~~~~~~~ ./fdisk.h:102:49: note: passing argument to parameter 'b' here extern int valid_part_table_flag(unsigned char *b); ^ fdisksgilabel.c:767:12: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(sgilabel->boot_file, "/unix"); ^~~~~~~~~~~~~~~~~~~ ./fdisksgilabel.h:103:18: note: expanded from macro 'sgilabel' #define sgilabel ((sgi_partition *)MBRbuffer) ^ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fdisksgilabel.c:853:13: warning: passing 'unsigned char[50]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy( info->scsi_string, "IBM OEM 0662S12 3 30" ); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fdisksgilabel.c:854:13: warning: passing 'unsigned char[137]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy( info->serial, "0000" ); ^~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ fdisksgilabel.c:856:13: warning: passing 'unsigned char[225]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy( info->installer, "Sfx version 5.3, Oct 18, 1994" ); ^~~~~~~~~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c sys_bsd.c -o sys_bsd.o cc -o fdisk fdisk.o i386_sys_types.o partname.o fdiskbsdlabel.o fdisksunlabel.o fdiskaixlabel.o fdisksgilabel.o sys_bsd.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c cfdisk.c -o cfdisk.o cfdisk.c:404:23: warning: address of array 'p_info[i].ostype' will always evaluate to 'true' [-Wpointer-bool-conversion] else if (!p_info[i].ostype) ~~~~~~~~~~~^~~~~~ cfdisk.c:681:17: warning: passing 'unsigned char[4]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && !strcmp(xfsb.s_magic, XFS_SUPER_MAGIC)) { ^~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ cfdisk.c:682:9: warning: assigning to 'char *' from 'unsigned char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] label = xfsb.s_fname; ^ ~~~~~~~~~~~~ cfdisk.c:1601:17: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_sector(buffer.c.b, 0); ^~~~~~~~~~ cfdisk.c:563:19: note: passing argument to parameter 'buffer' here read_sector(char *buffer, int sect_num) { ^ cfdisk.c:1637:18: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_sector(buffer.c.b, logical_sectors[logical++]); ^~~~~~~~~~ cfdisk.c:563:19: note: passing argument to parameter 'buffer' here read_sector(char *buffer, int sect_num) { ^ cfdisk.c:1669:16: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_sector(buffer.c.b, logical_sectors[logical++]); ^~~~~~~~~~ cfdisk.c:563:19: note: passing argument to parameter 'buffer' here read_sector(char *buffer, int sect_num) { ^ cfdisk.c:1793:17: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_sector(buffer.c.b, 0); ^~~~~~~~~~ cfdisk.c:563:19: note: passing argument to parameter 'buffer' here read_sector(char *buffer, int sect_num) { ^ cfdisk.c:1795:18: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_sector(buffer.c.b, 0); ^~~~~~~~~~ cfdisk.c:571:20: note: passing argument to parameter 'buffer' here write_sector(char *buffer, int sect_num) { ^ cfdisk.c:1799:18: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_sector(buffer.c.b, p_info[i].first_sector); ^~~~~~~~~~ cfdisk.c:563:19: note: passing argument to parameter 'buffer' here read_sector(char *buffer, int sect_num) { ^ cfdisk.c:1801:19: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write_sector(buffer.c.b, p_info[i].first_sector); ^~~~~~~~~~ cfdisk.c:571:20: note: passing argument to parameter 'buffer' here write_sector(char *buffer, int sect_num) { ^ cfdisk.c:1909:17: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_sector(buffer.c.b, 0); ^~~~~~~~~~ cfdisk.c:563:19: note: passing argument to parameter 'buffer' here read_sector(char *buffer, int sect_num) { ^ cfdisk.c:1911:27: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] print_file_buffer(fp, buffer.c.b); ^~~~~~~~~~ cfdisk.c:1857:35: note: passing argument to parameter 'buffer' here print_file_buffer(FILE *fp, char *buffer) { ^ cfdisk.c:1916:18: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read_sector(buffer.c.b, p_info[i].first_sector); ^~~~~~~~~~ cfdisk.c:563:19: note: passing argument to parameter 'buffer' here read_sector(char *buffer, int sect_num) { ^ cfdisk.c:1918:28: warning: passing 'unsigned char[512]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] print_file_buffer(fp, buffer.c.b); ^~~~~~~~~~ cfdisk.c:1857:35: note: passing argument to parameter 'buffer' here print_file_buffer(FILE *fp, char *buffer) { ^ 14 warnings generated. cc -o cfdisk cfdisk.o sys_bsd.o i386_sys_types.o -lncurses cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c sfdisk.c -o sfdisk.o sfdisk.c:211:20: warning: initializing 'unsigned char *' with an expression of type 'char[512]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *data = s->data; ^ ~~~~~~~ sfdisk.c:338:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sno = chars_to_ulong(ss); ^~ sfdisk.c:249:31: note: passing argument to parameter 'uu' here chars_to_ulong(unsigned char *uu) { ^ sfdisk.c:641:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p->start_sect = copy_to_int(cp); ^~ sfdisk.c:613:28: note: passing argument to parameter 'cp' here copy_to_int(unsigned char *cp) { ^ sfdisk.c:642:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p->nr_sects = copy_to_int(cp+4); ^~~~ sfdisk.c:613:28: note: passing argument to parameter 'cp' here copy_to_int(unsigned char *cp) { ^ sfdisk.c:1636:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lp = fgets(line+2, linesize, stdin); ^~~~~~ /usr/include/stdio.h:258:30: note: passing argument to parameter here char *fgets(char * __restrict, int, FILE * __restrict); ^ sfdisk.c:1636:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lp = fgets(line+2, linesize, stdin); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfdisk.c:1641:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(lp = index(lp, '\n'))) ^~ /usr/include/strings.h:62:25: note: passing argument to parameter here char *index(const char *, int) __pure; /* LEGACY */ ^ sfdisk.c:1641:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(lp = index(lp, '\n'))) ^ ~~~~~~~~~~~~~~~ sfdisk.c:1646:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((lp = index(line+2, '#')) != 0) ^~~~~~ /usr/include/strings.h:62:25: note: passing argument to parameter here char *index(const char *, int) __pure; /* LEGACY */ ^ sfdisk.c:1646:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((lp = index(line+2, '#')) != 0) ^ ~~~~~~~~~~~~~~~~~~ sfdisk.c:1650:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(line+2, "unit: sectors")) { ^~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:1656:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ip = index(line+2, ':')) != 0) { ^~~~~~ /usr/include/strings.h:62:25: note: passing argument to parameter here char *index(const char *, int) __pure; /* LEGACY */ ^ sfdisk.c:1656:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ip = index(line+2, ':')) != 0) { ^ ~~~~~~~~~~~~~~~~~~ sfdisk.c:1666:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!strncmp(ip, d->fldname, strlen(d->fldname))) { ^~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ sfdisk.c:1946:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (fno == 1 && !strcmp(fields[0], ".")) { ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:1984:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!strcmp(fields[2], "L")) ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:1986:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!strcmp(fields[2], "S")) ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:1988:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!strcmp(fields[2], "E")) ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:1990:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!strcmp(fields[2], "X")) ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:1992:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (get_ul(fields[2], &ul, LINUX_NATIVE, 16)) ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ sfdisk.c:2008:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (get_ul(fields[0], &ul, def / unitsize(0), 0)) ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ sfdisk.c:2021:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (get_ul(fields[1], &ul, def / unitsize(0), 0)) ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ sfdisk.c:2055:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp(fields[3], "-")) ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:2057:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp(fields[3], "*") || !strcmp(fields[3], "+")) ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:2057:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp(fields[3], "*") || !strcmp(fields[3], "+")) ^~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ sfdisk.c:2079:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if(get_ul(fields[4], &bb.c, aa.c, 0) || ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ sfdisk.c:2080:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_ul(fields[5], &bb.h, aa.h, 0) || ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ sfdisk.c:2081:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_ul(fields[6], &bb.s, aa.s, 0)) ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ sfdisk.c:2092:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if(get_ul(fields[7], &bb.c, aa.c, 0) || ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ sfdisk.c:2093:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_ul(fields[8], &bb.h, aa.h, 0) || ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ sfdisk.c:2094:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] get_ul(fields[9], &bb.s, aa.s, 0)) ^~~~~~~~~ sfdisk.c:1717:14: note: passing argument to parameter 'u' here get_ul(char *u, unsigned long *up, unsigned long def, int base) { ^ 31 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c ../getopt/gnu/getopt.c -o getopt.o ../getopt/gnu/getopt.c:577:30: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (optind != argc && !strcmp (argv[optind], "--")) ^ ../getopt/gnu/getopt.c:577:30: note: include the header or explicitly provide a declaration for 'strcmp' ../getopt/gnu/getopt.c:653:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp (p->name, nextchar, nameend - nextchar)) ^ ../getopt/gnu/getopt.c:653:7: note: include the header or explicitly provide a declaration for 'strncmp' ../getopt/gnu/getopt.c:656:21: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] == (unsigned int) strlen (p->name)) ^ ../getopt/gnu/getopt.c:656:21: note: include the header or explicitly provide a declaration for 'strlen' ../getopt/gnu/getopt.c:704:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUTIL_LINUX_VERSION=\"2.11z\" -I../getopt/gnu -c ../getopt/gnu/getopt1.c -o getopt1.o cc -o sfdisk sfdisk.o sys_bsd.o i386_sys_types.o partname.o getopt.o getopt1.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for linuxfdisk-2.11z_2 ===> Generating temporary packing list install -c -m 0555 -s fdisk /wrkdirs/usr/ports/sysutils/linuxfdisk/work/stage/usr/local/sbin/fdisk-linux install -c -m 0555 -s cfdisk /wrkdirs/usr/ports/sysutils/linuxfdisk/work/stage/usr/local/sbin/cfdisk-linux install -c -m 0555 -s sfdisk /wrkdirs/usr/ports/sysutils/linuxfdisk/work/stage/usr/local/sbin/sfdisk-linux install -c -m 0644 fdisk.8 /wrkdirs/usr/ports/sysutils/linuxfdisk/work/stage/usr/local/share/man/man8/fdisk-linux.8 install -c -m 0644 cfdisk.8 /wrkdirs/usr/ports/sysutils/linuxfdisk/work/stage/usr/local/share/man/man8/cfdisk-linux.8 install -c -m 0644 sfdisk.8 /wrkdirs/usr/ports/sysutils/linuxfdisk/work/stage/usr/local/share/man/man8/sfdisk-linux.8 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-03T14:47:38+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=f74dd34159' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for linuxfdisk-2.11z_2 ===> Building linuxfdisk-2.11z_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for linuxfdisk-2.11z_2 build of sysutils/linuxfdisk | linuxfdisk-2.11z_2 ended at Wed Apr 3 15:47:49 BST 2024 build time: 00:00:13