[package - main-amd64-default][editors/biew] Failed for biew-6.1.0_4 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Feb 2023 02:38:17 UTC
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: danfe@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p58633340e9ed_s5636590214/logs/biew-6.1.0_4.log
Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p58633340e9ed_s5636590214
Log:
=>> Building editors/biew
build started at Sat Feb 11 02:38:12 UTC 2023
port directory: /usr/ports/editors/biew
package name: biew-6.1.0_4
building for: FreeBSD main-amd64-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 amd64
maintained by: danfe@FreeBSD.org
Makefile ident:
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 12
!!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for biew-6.1.0_4:
DOCS=on: Build and/or install documentation
SLANG=on: Use S-Lang based display renderer
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
danfe@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--cc="cc" --with-extraincdir="/usr/local/include" --ld="cc" --with-extralibdir="/usr/local/lib" --prefix="/usr/local" --datadir="/usr/local/share/biew" --enable-slang
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/editors/biew/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/biew/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/biew/work/.cache HOME=/wrkdirs/usr/ports/editors/biew/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/biew/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/biew/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/editors/biew/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/biew/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/biew/work/.cache HOME=/wrkdirs/usr/ports/editors/biew/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/biew/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/biew/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 -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCR
IPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/biew" EXAMPLESDIR="share/examples/biew" DATADIR="share/biew" WWWDIR="www/biew" ETCDIR="etc/biew"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/biew DOCSDIR=/usr/local/share/doc/biew EXAMPLESDIR=/usr/local/share/examples/biew WWWDIR=/usr/local/www/biew ETCDIR=/usr/local/etc/biew
--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
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400079
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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) 33554432
stack size (kbytes, -s) 524288
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 1024
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===> License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> biew-6.1.0_4 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.19.1.pkg
[main-amd64-default-job-12] Installing pkg-1.19.1...
[main-amd64-default-job-12] Extracting pkg-1.19.1: .......... done
===> biew-6.1.0_4 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of biew-6.1.0_4
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by biew-6.1.0_4 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by biew-6.1.0_4 for building
=> SHA256 Checksum OK for biew-610-src.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv2 accepted by the user
===> Fetching all distfiles required by biew-6.1.0_4 for building
===> Extracting for biew-6.1.0_4
=> SHA256 Checksum OK for biew-610-src.tar.bz2.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for biew-6.1.0_4
===> Converting DOS text files to UNIX text files
===> Applying FreeBSD patches for biew-6.1.0_4 from /usr/ports/editors/biew/files
===========================================================================
<snip>
biewlib/file_ini.c:696:10: 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]
sret = GETS(str,size,h);
^ ~~~~~~~~~~~~~~~~
biewlib/file_ini.c:707:10: 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]
sret = strchr(str,FiOpenComment);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
biewlib/file_ini.c:719:12: 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]
sret = str;
^ ~~~
biewlib/file_ini.c:722:54: 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(ispunct(ch)) sret = szKillSpaceAround(str,sret);
^~~~
./biewlib/biewlib.h:154:61: note: passing argument to parameter 'point_to' here
extern char *__FASTCALL__ szKillSpaceAround(char *str,char *point_to);
^
biewlib/file_ini.c:722:30: 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(ispunct(ch)) sret = szKillSpaceAround(str,sret);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
biewlib/file_ini.c:726:12: 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]
sret = str;
^ ~~~
biewlib/file_ini.c:731:63: 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(isspace(*(sret+1))) sret = szKillSpaceAround(str,sret);
^~~~
./biewlib/biewlib.h:154:61: note: passing argument to parameter 'point_to' here
extern char *__FASTCALL__ szKillSpaceAround(char *str,char *point_to);
^
biewlib/file_ini.c:731:39: 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(isspace(*(sret+1))) sret = szKillSpaceAround(str,sret);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
biewlib/file_ini.c:1321:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ic.item = section;
^ ~~~~~~~
biewlib/file_ini.c:1351:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ic.item = subsection;
^ ~~~~~~~~~~
biewlib/file_ini.c:1380:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ic.item = item;
^ ~~~~
biewlib/file_ini.c:1615:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ic.item = section;
^ ~~~~~~~
biewlib/file_ini.c:1619:20: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ic.item=subsection;
^~~~~~~~~~~
biewlib/file_ini.c:1623:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
ic.item = _item;
^ ~~~~~
6 warnings generated.
cc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D_SLANG_ -D__OS_NAME__='"Unix/Slang"' -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMINAL_OUT=1 -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DDATADIR='"/usr/local/share/biew"' -I/usr/local/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/pmalloc.c -o biewlib/pmalloc.o
cc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D_SLANG_ -D__OS_NAME__='"Unix/Slang"' -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMINAL_OUT=1 -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DDATADIR='"/usr/local/share/biew"' -I/usr/local/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/twin.c -o biewlib/twin.o
biewlib/twin.c:1463:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
if(!(w->iflags & IFLG_VISIBLE) == IFLG_VISIBLE)
^ ~~
biewlib/twin.c:1463:6: note: add parentheses after the '!' to evaluate the comparison first
if(!(w->iflags & IFLG_VISIBLE) == IFLG_VISIBLE)
^
( )
biewlib/twin.c:1463:6: note: add parentheses around left hand side expression to silence this warning
if(!(w->iflags & IFLG_VISIBLE) == IFLG_VISIBLE)
^
( )
biewlib/twin.c:1896:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
else __nls = str;
^ ~~~
biewlib/twin.c:1898:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
else __nls = str;
^ ~~~
14 warnings generated.
cc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D_SLANG_ -D__OS_NAME__='"Unix/Slang"' -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMINAL_OUT=1 -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DDATADIR='"/usr/local/share/biew"' -I/usr/local/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/tw_class.c -o biewlib/tw_class.o
biewlib/tw_class.c:74:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
key.name = name;
^ ~~~~
1 warning generated.
cc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D_SLANG_ -D__OS_NAME__='"Unix/Slang"' -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMINAL_OUT=1 -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DDATADIR='"/usr/local/share/biew"' -I/usr/local/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/aclib.c -o biewlib/sysdep/x86_64/aclib.o
cc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D_SLANG_ -D__OS_NAME__='"Unix/Slang"' -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMINAL_OUT=1 -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DDATADIR='"/usr/local/share/biew"' -I/usr/local/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/cpu_info.c -o biewlib/sysdep/x86_64/cpu_info.o
In file included from biewlib/sysdep/x86_64/cpu_info.c:626:
./biewlib/sysdep/ia16/cmn_ix86.c:1069:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
,(__eax>>8)&0xFF,(__eax)&0xFF);
^~~~~~~~~~~~~~~
./biewlib/sysdep/ia16/cmn_ix86.c:1069:23: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
,(__eax>>8)&0xFF,(__eax)&0xFF);
^~~~~~~~~~~~
./biewlib/sysdep/ia16/cmn_ix86.c:1079:7: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
,(__eax)&0xFF);
^~~~~~~~~~~~
3 warnings generated.
cc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 -DHAVE_POPEN=1 -D_SLANG_ -D__OS_NAME__='"Unix/Slang"' -D__UNIX__ -D__OS__="unix" -Uunix -DHAVE_TERMINAL_OUT=1 -D__HAVE_PRAGMA_PACK__=1 -DNDEBUG=1 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DDATADIR='"/usr/local/share/biew"' -I/usr/local/include -m64 -D__MACHINE__=x86_64 -D__CPU_NAME__='"x86_64"' -D__CPU__=K8 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1 -I. -c biewlib/sysdep/x86_64/unix/fileio.c -o biewlib/sysdep/x86_64/unix/fileio.o
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:36:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'bhandle_t' (aka 'void *') [-Wint-conversion]
return open(name,O_RDWR | O_CREAT | O_TRUNC, S_IREAD | S_IWRITE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./biewlib/sysdep/generic/posix/fileio.c:51:9: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
close(handle);
^~~~~~
/usr/include/unistd.h:328:15: note: passing argument to parameter here
int close(int);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:56:14: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
return dup(handle);
^~~~~~
/usr/include/unistd.h:330:13: note: passing argument to parameter here
int dup(int);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:56:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'bhandle_t' (aka 'void *') [-Wint-conversion]
return dup(handle);
^~~~~~~~~~~
./biewlib/sysdep/generic/posix/fileio.c:79:53: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'bhandle_t' (aka 'void *') [-Wint-conversion]
if (S_ISDIR(st.st_mode)) { errno = EISDIR; return -1; }
^~
./biewlib/sysdep/generic/posix/fileio.c:80:10: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'bhandle_t' (aka 'void *') [-Wint-conversion]
return open(fname,flags);
^~~~~~~~~~~~~~~~~
./biewlib/sysdep/generic/posix/fileio.c:85:16: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
return lseek(handle,offset,origin);
^~~~~~
/usr/include/stdio.h:440:19: note: passing argument to parameter here
__off_t lseek(int, __off_t, int);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:90:20: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
return ftruncate(handle,newsize);
^~~~~~
/usr/include/stdio.h:436:19: note: passing argument to parameter here
int ftruncate(int, __off_t);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:95:15: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
return read(handle,buff,count);
^~~~~~
/usr/include/unistd.h:359:18: note: passing argument to parameter here
ssize_t read(int, void *, size_t);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:100:16: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
return write(handle,buffer,count);
^~~~~~
/usr/include/unistd.h:372:19: note: passing argument to parameter here
ssize_t write(int, const void *, size_t);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:143:20: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
stat_ret = fstat(handle,&statbuf);
^~~~~~
/usr/include/sys/stat.h:381:14: note: passing argument to parameter here
int fstat(int, struct stat *);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:161:15: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
if (lseek(handle,off,SEEK_SET) == -1)
^~~~~~
/usr/include/stdio.h:440:19: note: passing argument to parameter here
__off_t lseek(int, __off_t, int);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:164:13: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
if(read(handle,&ch,1) == 1) min = off;
^~~~~~
/usr/include/unistd.h:359:18: note: passing argument to parameter here
ssize_t read(int, void *, size_t);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:170:13: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
lseek(handle,retval,SEEK_SET);
^~~~~~
/usr/include/stdio.h:440:19: note: passing argument to parameter here
__off_t lseek(int, __off_t, int);
^
In file included from biewlib/sysdep/x86_64/unix/fileio.c:1:
In file included from ./biewlib/sysdep/generic/unix/fileio.c:1:
./biewlib/sysdep/generic/posix/fileio.c:173:18: error: incompatible pointer to integer conversion passing 'bhandle_t' (aka 'void *') to parameter of type 'int' [-Wint-conversion]
if(read(handle,&ch,1) == 1) retval++;
^~~~~~
/usr/include/unistd.h:359:18: note: passing argument to parameter here
ssize_t read(int, void *, size_t);
^
15 errors generated.
gmake[1]: *** [makefile:167: biewlib/sysdep/x86_64/unix/fileio.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
3 warnings generated.
gmake[1]: Leaving directory '/wrkdirs/usr/ports/editors/biew/work/biew-610'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/editors/biew