------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for swissfileknife-1.9.8.2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/misc/swissfileknife XDG_CONFIG_HOME=/construction/misc/swissfileknife XDG_CACHE_HOME=/construction/misc/swissfileknife/.cache HOME=/construction/misc/swissfileknife TMPDIR="/tmp" PATH=/construction/misc/swissfileknife/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/misc/swissfileknife/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- XDG_DATA_HOME=/construction/misc/swissfileknife XDG_CONFIG_HOME=/construction/misc/swissfileknife XDG_CACHE_HOME=/construction/misc/swissfileknife/.cache HOME=/construction/misc/swissfileknife TMPDIR="/tmp" PATH=/construction/misc/swissfileknife/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/misc/swissfileknife/.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 CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DVER_STR_OS=\\\"dragonfly-x86_64\\\"" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/misc/swissfileknife/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/swissfileknife" EXAMPLESDIR="share/examples/swissfileknife" DATADIR="share/swissfileknife" WWWDIR="www/swissfileknife" ETCDIR="etc/swissfileknife" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/swissfileknife DOCSDIR=/usr/local/share/doc/swissfileknife EXAMPLESDIR=/usr/local/share/examples/swissfileknife WWWDIR=/usr/local/www/swissfileknife ETCDIR=/usr/local/etc/swissfileknife SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> swissfileknife-1.9.8.2 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> swissfileknife-1.9.8.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by swissfileknife-1.9.8.2 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> swissfileknife-1.9.8.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by swissfileknife-1.9.8.2 for building => SHA256 Checksum OK for sfk-1.9.8.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> swissfileknife-1.9.8.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by swissfileknife-1.9.8.2 for building ===> Extracting for swissfileknife-1.9.8.2 => SHA256 Checksum OK for sfk-1.9.8.tar.gz. Extracted Memory Use: 5.14M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for swissfileknife-1.9.8.2 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> swissfileknife-1.9.8.2 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> swissfileknife-1.9.8.2 depends on file: /usr/local/bin/ccache - found ===> Configuring for swissfileknife-1.9.8.2 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for swissfileknife-1.9.8.2 --- all --- /usr/bin/make all-am --- .dirstamp --- --- .deps/.dirstamp --- --- sfk.o --- --- sfkext.o --- --- sfkpack.o --- --- sfk.o --- depbase=`echo sfk.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -DHAVE_CONFIG_H -I. -DVER_STR_OS=\"dragonfly-x86_64\" -pipe -O2 -fno-strict-aliasing -MT sfk.o -MD -MP -MF $depbase.Tpo -c -o sfk.o sfk.cpp && mv -f $depbase.Tpo $depbase.Po --- sfkpack.o --- depbase=`echo sfkpack.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -DHAVE_CONFIG_H -I. -DVER_STR_OS=\"dragonfly-x86_64\" -pipe -O2 -fno-strict-aliasing -MT sfkpack.o -MD -MP -MF $depbase.Tpo -c -o sfkpack.o sfkpack.cpp && mv -f $depbase.Tpo $depbase.Po --- sfkext.o --- depbase=`echo sfkext.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; c++ -DHAVE_CONFIG_H -I. -DVER_STR_OS=\"dragonfly-x86_64\" -pipe -O2 -fno-strict-aliasing -MT sfkext.o -MD -MP -MF $depbase.Tpo -c -o sfkext.o sfkext.cpp && mv -f $depbase.Tpo $depbase.Po --- sfkpack.o --- sfkpack.cpp: In function 'void* fopen64_file_func(voidpf, const void*, int)': sfkpack.cpp:9989:36: error: 'fopen64' was not declared in this scope #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:10079:16: note: in expansion of macro 'FOPEN_FUNC' file = FOPEN_FUNC((const char*)filename, mode_fopen); ^~~~~~~~~~ sfkpack.cpp:9989:36: note: suggested alternative: 'fopen' #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:10079:16: note: in expansion of macro 'FOPEN_FUNC' file = FOPEN_FUNC((const char*)filename, mode_fopen); ^~~~~~~~~~ sfkpack.cpp: In function 'ZPOS64_T ftell64_file_func(voidpf, voidpf)': sfkpack.cpp:9990:29: error: 'ftello64' was not declared in this scope #define FTELLO_FUNC(stream) ftello64(stream) ^~~~~~~~ sfkpack.cpp:10103:11: note: in expansion of macro 'FTELLO_FUNC' ret = FTELLO_FUNC((FILE *)stream); ^~~~~~~~~~~ sfkpack.cpp:9990:29: note: suggested alternative: 'ftello' #define FTELLO_FUNC(stream) ftello64(stream) ^~~~~~~~ sfkpack.cpp:10103:11: note: in expansion of macro 'FTELLO_FUNC' ret = FTELLO_FUNC((FILE *)stream); ^~~~~~~~~~~ sfkpack.cpp: In function 'long int fseek64_file_func(voidpf, voidpf, ZPOS64_T, int)': sfkpack.cpp:9991:45: error: 'fseeko64' was not declared in this scope #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin) ^~~~~~~~ sfkpack.cpp:10146:8: note: in expansion of macro 'FSEEKO_FUNC' if(FSEEKO_FUNC((FILE *)stream, offset, fseek_origin) != 0) ^~~~~~~~~~~ sfkpack.cpp:9991:45: note: suggested alternative: 'fseeko' #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin) ^~~~~~~~ sfkpack.cpp:10146:8: note: in expansion of macro 'FSEEKO_FUNC' if(FSEEKO_FUNC((FILE *)stream, offset, fseek_origin) != 0) ^~~~~~~~~~~ sfkpack.cpp: In function 'int check_exist_file(const char*)': sfkpack.cpp:12143:36: error: 'fopen64' was not declared in this scope #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:12220:18: note: in expansion of macro 'FOPEN_FUNC' ftestexist = FOPEN_FUNC(filename,"rb"); ^~~~~~~~~~ sfkpack.cpp:12143:36: note: suggested alternative: 'fopen' #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:12220:18: note: in expansion of macro 'FOPEN_FUNC' ftestexist = FOPEN_FUNC(filename,"rb"); ^~~~~~~~~~ sfkpack.cpp: In function 'int getFileCrc(const char*, void*, long unsigned int, long unsigned int*)': sfkpack.cpp:12143:36: error: 'fopen64' was not declared in this scope #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:12248:17: note: in expansion of macro 'FOPEN_FUNC' FILE * fin = FOPEN_FUNC(filenameinzip,"rb"); ^~~~~~~~~~ sfkpack.cpp:12143:36: note: suggested alternative: 'fopen' #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:12248:17: note: in expansion of macro 'FOPEN_FUNC' FILE * fin = FOPEN_FUNC(filenameinzip,"rb"); ^~~~~~~~~~ sfkpack.cpp: In function 'int isLargeFile(const char*)': sfkpack.cpp:12143:36: error: 'fopen64' was not declared in this scope #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:12280:17: note: in expansion of macro 'FOPEN_FUNC' FILE* pFile = FOPEN_FUNC(filename, "rb"); ^~~~~~~~~~ sfkpack.cpp:12143:36: note: suggested alternative: 'fopen' #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:12280:17: note: in expansion of macro 'FOPEN_FUNC' FILE* pFile = FOPEN_FUNC(filename, "rb"); ^~~~~~~~~~ sfkpack.cpp:12145:45: error: 'fseeko64' was not declared in this scope #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin) ^~~~~~~~ sfkpack.cpp:12283:13: note: in expansion of macro 'FSEEKO_FUNC' int n = FSEEKO_FUNC(pFile, 0, SEEK_END); ^~~~~~~~~~~ sfkpack.cpp:12145:45: note: suggested alternative: 'fseeko' #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin) ^~~~~~~~ sfkpack.cpp:12283:13: note: in expansion of macro 'FSEEKO_FUNC' int n = FSEEKO_FUNC(pFile, 0, SEEK_END); ^~~~~~~~~~~ sfkpack.cpp:12144:29: error: 'ftello64' was not declared in this scope #define FTELLO_FUNC(stream) ftello64(stream) ^~~~~~~~ sfkpack.cpp:12284:11: note: in expansion of macro 'FTELLO_FUNC' pos = FTELLO_FUNC(pFile); ^~~~~~~~~~~ sfkpack.cpp:12144:29: note: suggested alternative: 'ftello' #define FTELLO_FUNC(stream) ftello64(stream) ^~~~~~~~ sfkpack.cpp:12284:11: note: in expansion of macro 'FTELLO_FUNC' pos = FTELLO_FUNC(pFile); ^~~~~~~~~~~ sfkpack.cpp: In function 'int do_extract_currentfile(unzFile, const int*, int*, const char*)': sfkpack.cpp:12926:36: error: 'fopen64' was not declared in this scope #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:13206:26: note: in expansion of macro 'FOPEN_FUNC' ftestexist = FOPEN_FUNC(write_filename,"rb"); ^~~~~~~~~~ sfkpack.cpp:12926:36: note: suggested alternative: 'fopen' #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:13206:26: note: in expansion of macro 'FOPEN_FUNC' ftestexist = FOPEN_FUNC(write_filename,"rb"); ^~~~~~~~~~ sfkpack.cpp:12926:36: error: 'fopen64' was not declared in this scope #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:13233:18: note: in expansion of macro 'FOPEN_FUNC' fout=FOPEN_FUNC(write_filename,"wb"); ^~~~~~~~~~ sfkpack.cpp:12926:36: note: suggested alternative: 'fopen' #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) ^~~~~~~ sfkpack.cpp:13233:18: note: in expansion of macro 'FOPEN_FUNC' fout=FOPEN_FUNC(write_filename,"wb"); ^~~~~~~~~~ *** [sfkpack.o] Error code 1 make[2]: stopped in /construction/misc/swissfileknife/sfk-1.9.8 --- sfk.o --- In file included from sfk.cpp:1897: sfkbase.hpp:783:4: error: '__dev_t' does not name a type; did you mean 'dev_t'? __dev_t ostdev; // under linux ^~~~~~~ dev_t sfkbase.hpp:1113:4: error: '__dev_t' does not name a type; did you mean 'dev_t'? __dev_t oClStDev; // under linux ^~~~~~~ dev_t sfk.cpp: In function 'int mygetpos64(FILE*, num&, char*)': sfk.cpp:2202:22: error: request for member '__pos' in 'npos1', which is of non-class type 'fpos_t' {aka 'long int'} rpos = (num)npos1.__pos; ^~~~~ sfk.cpp: In function 'int mysetpos64(FILE*, num, char*)': sfk.cpp:2215:10: error: request for member '__pos' in 'npos1', which is of non-class type 'fpos_t' {aka 'long int'} npos1.__pos = (__off_t)pos; ^~~~~ sfk.cpp: In function 'int setWriteEnabled(char*)': sfk.cpp:5297:18: error: aggregate 'setWriteEnabled(char*)::stat64 buf' has incomplete type and cannot be defined struct stat64 buf; ^~~ sfk.cpp:5298:28: error: invalid use of incomplete type 'struct setWriteEnabled(char*)::stat64' if (stat64(pszFile, &buf)) return 9; ^ sfk.cpp:5297:11: note: forward declaration of 'struct setWriteEnabled(char*)::stat64' struct stat64 buf; ^~~~~~ sfk.cpp: In member function 'void Coi::fillFrom(void*)': sfk.cpp:7308:15: error: 'oClStDev' was not declared in this scope memcpy(&oClStDev, &pfdat->ostdev, sizeof(__dev_t)); ^~~~~~~~ sfk.cpp:7308:15: note: suggested alternative: 'nClSize' memcpy(&oClStDev, &pfdat->ostdev, sizeof(__dev_t)); ^~~~~~~~ nClSize sfk.cpp:7308:33: error: 'struct SFKFindData' has no member named 'ostdev' memcpy(&oClStDev, &pfdat->ostdev, sizeof(__dev_t)); ^~~~~~ sfk.cpp:7308:48: error: '__dev_t' was not declared in this scope memcpy(&oClStDev, &pfdat->ostdev, sizeof(__dev_t)); ^~~~~~~ sfk.cpp:7308:48: note: suggested alternative: 'dev_t' memcpy(&oClStDev, &pfdat->ostdev, sizeof(__dev_t)); ^~~~~~~ dev_t sfk.cpp: In member function 'char* Coi::getFileID()': sfk.cpp:7345:30: error: 'oClStDev' was not declared in this scope uchar *psrc = (uchar*)&oClStDev; ^~~~~~~~ sfk.cpp:7345:30: note: suggested alternative: 'nClSize' uchar *psrc = (uchar*)&oClStDev; ^~~~~~~~ nClSize sfk.cpp: In static member function 'static int Coi::writeAttrRaw(char*, unsigned int, bool, bool)': sfk.cpp:7837:18: error: aggregate 'Coi::writeAttrRaw(char*, unsigned int, bool, bool)::stat64 ostat' has incomplete type and cannot be defined struct stat64 ostat; ^~~~~ sfk.cpp:7838:30: error: invalid use of incomplete type 'struct Coi::writeAttrRaw(char*, unsigned int, bool, bool)::stat64' if (stat64(pszFile, &ostat)) ^ sfk.cpp:7837:11: note: forward declaration of 'struct Coi::writeAttrRaw(char*, unsigned int, bool, bool)::stat64' struct stat64 ostat; ^~~~~~ sfk.cpp: In static member function 'static int Coi::forceWriteable(char*)': sfk.cpp:7897:18: error: aggregate 'Coi::forceWriteable(char*)::stat64 ostat' has incomplete type and cannot be defined struct stat64 ostat; ^~~~~ sfk.cpp:7898:30: error: invalid use of incomplete type 'struct Coi::forceWriteable(char*)::stat64' if (stat64(pszFile, &ostat)) ^ sfk.cpp:7897:11: note: forward declaration of 'struct Coi::forceWriteable(char*)::stat64' struct stat64 ostat; ^~~~~~ sfk.cpp: In member function 'int Coi::readStat(char)': sfk.cpp:8009:14: error: aggregate 'sfkstat_t ostat' has incomplete type and cannot be defined sfkstat_t ostat; ^~~~~ sfk.cpp: In member function 'bool Coi::existsFile(bool, int*)': sfk.cpp:8521:18: error: aggregate 'stat64 buf' has incomplete type and cannot be defined struct stat64 buf; ^~~ sfk.cpp:8522:28: error: invalid use of incomplete type 'struct stat64' if (stat64(pszName, &buf)) ^ sfk.cpp:7939:19: note: forward declaration of 'struct stat64' typedef struct stat64 sfkstat_t; ^~~~~~ sfk.cpp: In member function 'int Coi::seek(num, int)': sfk.cpp:9134:4: error: 'fpos64_t' was not declared in this scope fpos64_t xpos; ^~~~~~~~ sfk.cpp:9134:4: note: suggested alternative: 'fpos_t' fpos64_t xpos; ^~~~~~~~ fpos_t sfk.cpp:9135:22: error: 'xpos' was not declared in this scope if (fgetpos64(f, &xpos)) // read xpos.__state ^~~~ sfk.cpp:9135:22: note: suggested alternative: 'pow' if (fgetpos64(f, &xpos)) // read xpos.__state ^~~~ pow sfk.cpp:9135:8: error: 'fgetpos64' was not declared in this scope if (fgetpos64(f, &xpos)) // read xpos.__state ^~~~~~~~~ sfk.cpp:9135:8: note: suggested alternative: 'mygetpos64' if (fgetpos64(f, &xpos)) // read xpos.__state ^~~~~~~~~ mygetpos64 sfk.cpp:9140:17: error: 'xpos' was not declared in this scope if (sizeof(xpos.__pos) != sizeof(nOffset)) return 9+perr("internal: myfseek: wrong __pos size, need 64 bits"); ^~~~ sfk.cpp:9140:17: note: suggested alternative: 'pow' if (sizeof(xpos.__pos) != sizeof(nOffset)) return 9+perr("internal: myfseek: wrong __pos size, need 64 bits"); ^~~~ pow sfk.cpp:9141:6: error: 'xpos' was not declared in this scope xpos.__pos = nOffset; ^~~~ sfk.cpp:9141:6: note: suggested alternative: 'pow' xpos.__pos = nOffset; ^~~~ pow sfk.cpp:9143:11: error: 'fsetpos64' was not declared in this scope return fsetpos64(f, &xpos); ^~~~~~~~~ sfk.cpp:9143:11: note: suggested alternative: 'mysetpos64' return fsetpos64(f, &xpos); ^~~~~~~~~ mysetpos64 sfk.cpp: In member function 'Coi* Coi::rawNextEntry()': sfk.cpp:9778:21: error: aggregate 'stat64 hStat1' has incomplete type and cannot be defined struct stat64 hStat1; ^~~~~~ sfk.cpp:9779:36: error: invalid use of incomplete type 'struct stat64' if (stat64(szAbsName, &hStat1)) { ^ sfk.cpp:7939:19: note: forward declaration of 'struct stat64' typedef struct stat64 sfkstat_t; ^~~~~~ sfk.cpp:9791:22: error: 'struct SFKFindData' has no member named 'ostdev' memcpy(&myfdat.ostdev, &hStat1.st_dev, sizeof(__dev_t)); ^~~~~~ sfk.cpp:9791:53: error: '__dev_t' was not declared in this scope memcpy(&myfdat.ostdev, &hStat1.st_dev, sizeof(__dev_t)); ^~~~~~~ sfk.cpp:9791:53: note: suggested alternative: 'dev_t' memcpy(&myfdat.ostdev, &hStat1.st_dev, sizeof(__dev_t)); ^~~~~~~ dev_t sfk.cpp: In function 'int myfseek(FILE*, num, int)': sfk.cpp:19316:4: error: 'fpos64_t' was not declared in this scope fpos64_t xpos; ^~~~~~~~ sfk.cpp:19316:4: note: suggested alternative: 'fpos_t' fpos64_t xpos; ^~~~~~~~ fpos_t sfk.cpp:19317:22: error: 'xpos' was not declared in this scope if (fgetpos64(f, &xpos)) // read xpos.__state ^~~~ sfk.cpp:19317:22: note: suggested alternative: 'pow' if (fgetpos64(f, &xpos)) // read xpos.__state ^~~~ pow sfk.cpp:19317:8: error: 'fgetpos64' was not declared in this scope if (fgetpos64(f, &xpos)) // read xpos.__state ^~~~~~~~~ sfk.cpp:19317:8: note: suggested alternative: 'mygetpos64' if (fgetpos64(f, &xpos)) // read xpos.__state ^~~~~~~~~ mygetpos64 sfk.cpp:19322:17: error: 'xpos' was not declared in this scope if (sizeof(xpos.__pos) != sizeof(nOffset)) return 9+perr("internal: myfseek: wrong __pos size, need 64 bits"); ^~~~ sfk.cpp:19322:17: note: suggested alternative: 'pow' if (sizeof(xpos.__pos) != sizeof(nOffset)) return 9+perr("internal: myfseek: wrong __pos size, need 64 bits"); ^~~~ pow sfk.cpp:19323:6: error: 'xpos' was not declared in this scope xpos.__pos = nOffset; ^~~~ sfk.cpp:19323:6: note: suggested alternative: 'pow' xpos.__pos = nOffset; ^~~~ pow sfk.cpp:19325:11: error: 'fsetpos64' was not declared in this scope return fsetpos64(f, &xpos); ^~~~~~~~~ sfk.cpp:19325:11: note: suggested alternative: 'mysetpos64' return fsetpos64(f, &xpos); ^~~~~~~~~ mysetpos64 sfk.cpp: In function 'int isDir(char*)': sfk.cpp:20026:18: error: aggregate 'stat64 buf' has incomplete type and cannot be defined struct stat64 buf; ^~~ sfk.cpp:20027:28: error: invalid use of incomplete type 'struct stat64' if (stat64(pszName, &buf)) ^ sfk.cpp:7939:19: note: forward declaration of 'struct stat64' typedef struct stat64 sfkstat_t; ^~~~~~ sfk.cpp: In function 'int fileExists(char*, bool)': sfk.cpp:20049:18: error: aggregate 'stat64 buf' has incomplete type and cannot be defined struct stat64 buf; ^~~ sfk.cpp:20050:28: error: invalid use of incomplete type 'struct stat64' if (stat64(pszName, &buf)) ^ sfk.cpp:7939:19: note: forward declaration of 'struct stat64' typedef struct stat64 sfkstat_t; ^~~~~~ sfk.cpp: In function 'int getFileStat(char*, int&, int&, int&, num&, num&, num*, void*, int, unsigned int)': sfk.cpp:20221:18: error: aggregate 'stat64 buf' has incomplete type and cannot be defined struct stat64 buf; ^~~ sfk.cpp:20222:28: error: invalid use of incomplete type 'struct stat64' if (stat64(pszName, &buf)) ^ sfk.cpp:7939:19: note: forward declaration of 'struct stat64' typedef struct stat64 sfkstat_t; ^~~~~~ sfk.cpp: In function 'int getFileSystemInfoRaw(char*, num&, num&, char*, int, char*, int, unsigned int&)': sfk.cpp:20407:21: error: aggregate 'getFileSystemInfoRaw(char*, num&, num&, char*, int, char*, int, unsigned int&)::statvfs64 oinf' has incomplete type and cannot be defined struct statvfs64 oinf; ^~~~ sfk.cpp:20408:32: error: invalid use of incomplete type 'struct getFileSystemInfoRaw(char*, num&, num&, char*, int, char*, int, unsigned int&)::statvfs64' if (statvfs64(pszPath, &oinf)) ^ sfk.cpp:20407:11: note: forward declaration of 'struct getFileSystemInfoRaw(char*, num&, num&, char*, int, char*, int, unsigned int&)::statvfs64' struct statvfs64 oinf; ^~~~~~~~~ sfk.cpp: In member function 'int FileStat::readFrom(char*, bool, bool)': sfk.cpp:21331:14: error: aggregate 'sfkstat_t ostat' has incomplete type and cannot be defined sfkstat_t ostat; ^~~~~ sfk.cpp: In function 'int mygetpos(FILE*, num&, char*)': sfk.cpp:25398:22: error: request for member '__pos' in 'npos1', which is of non-class type 'fpos_t' {aka 'long int'} rpos = (num)npos1.__pos; ^~~~~ sfk.cpp: In function 'int mysetpos(FILE*, num, char*)': sfk.cpp:25411:10: error: request for member '__pos' in 'npos1', which is of non-class type 'fpos_t' {aka 'long int'} npos1.__pos = (__off_t)pos; ^~~~~ sfk.cpp: In function 'int execFTPList(char*)': sfk.cpp:26910:14: error: aggregate 'sfkstat_t ostat' has incomplete type and cannot be defined sfkstat_t ostat; ^~~~~ --- sfkext.o --- In file included from sfkext.cpp:12: sfkbase.hpp:783:4: error: '__dev_t' does not name a type; did you mean 'dev_t'? __dev_t ostdev; // under linux ^~~~~~~ dev_t sfkbase.hpp:1113:4: error: '__dev_t' does not name a type; did you mean 'dev_t'? __dev_t oClStDev; // under linux ^~~~~~~ dev_t sfkext.cpp: In member function 'int UDPIO::initSendReceive(const char*, int, int, char*, unsigned int)': sfkext.cpp:5986:29: error: 'SOL_IP' was not declared in this scope if (setsockopt(fdTmp, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) != 0 ) ^~~~~~ sfkext.cpp:5986:29: note: suggested alternative: 'POLL_IN' if (setsockopt(fdTmp, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) != 0 ) ^~~~~~ POLL_IN sfkext.cpp: In function 'int execUnzip(char*, char*, int, char**)': sfkext.cpp:18516:30: error: aggregate 'execUnzip(char*, char*, int, char**)::stat64 ostat' has incomplete type and cannot be defined struct stat64 ostat; ^~~~~ sfkext.cpp:18517:46: error: invalid use of incomplete type 'struct execUnzip(char*, char*, int, char**)::stat64' if (stat64(ocoi.name(), &ostat) == 0) ^ sfkext.cpp:18516:23: note: forward declaration of 'struct execUnzip(char*, char*, int, char**)::stat64' struct stat64 ostat; ^~~~~~ sfkext.cpp: In member function 'int Proxy::prepare()': sfkext.cpp:27664:43: error: 'SOL_IP' was not declared in this scope if (setsockopt(pcon->isocket, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) != 0 ) { ^~~~~~ sfkext.cpp:27664:43: note: suggested alternative: 'POLL_IN' if (setsockopt(pcon->isocket, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) != 0 ) { ^~~~~~ POLL_IN *** [sfkext.o] Error code 1 make[2]: stopped in /construction/misc/swissfileknife/sfk-1.9.8 --- sfk.o --- sfk.cpp: In function 'int udpAnyServ(unsigned int, char*, int, char*, bool, char*, char*, int, int, unsigned char*, int, unsigned int, SOCKET)': sfk.cpp:33996:32: error: 'SOL_IP' was not declared in this scope if (setsockopt(nsock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) != 0 ) { ^~~~~~ sfk.cpp:33996:32: note: suggested alternative: 'POLL_IN' if (setsockopt(nsock, SOL_IP, IP_ADD_MEMBERSHIP, &mreq, sizeof(mreq)) != 0 ) { ^~~~~~ POLL_IN sfk.cpp:34352:32: error: 'SOL_IP' was not declared in this scope if (setsockopt(nsock, SOL_IP, IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq)) != 0) ^~~~~~ sfk.cpp:34352:32: note: suggested alternative: 'POLL_IN' if (setsockopt(nsock, SOL_IP, IP_DROP_MEMBERSHIP, &mreq, sizeof(mreq)) != 0) ^~~~~~ POLL_IN sfk.cpp: In function 'int submain(int, char**, char**, char*, int, bool&)': sfk.cpp:54015:17: error: aggregate 'sfkstat_t ostat' has incomplete type and cannot be defined sfkstat_t ostat; ^~~~~ sfk.cpp:64359:21: error: aggregate 'stat64 buf' has incomplete type and cannot be defined struct stat64 buf; ^~~ sfk.cpp:64360:31: error: invalid use of incomplete type 'struct stat64' if (stat64(pszFile, &buf)) return 9; ^ sfk.cpp:7939:19: note: forward declaration of 'struct stat64' typedef struct stat64 sfkstat_t; ^~~~~~ *** [sfk.o] Error code 1 make[2]: stopped in /construction/misc/swissfileknife/sfk-1.9.8 3 errors make[2]: stopped in /construction/misc/swissfileknife/sfk-1.9.8 make[1]: stopped in /construction/misc/swissfileknife/sfk-1.9.8 ===> 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 /xports/misc/swissfileknife FAILED 00:00:13