=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/ytree", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for ytree-2.09 --- arc.o --- --- archive.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c archive.c --- arc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c arc.c --- chgrp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c chgrp.c --- chmod.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c chmod.c --- chown.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c chown.c --- clock.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c clock.c --- color.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c color.c --- copy.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c copy.c --- delete.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c delete.c --- dirwin.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c dirwin.c --- disp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c disp.c --- edit.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c edit.c --- error.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c error.c --- execute.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c execute.c --- filespec.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c filespec.c --- filewin.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c filewin.c --- freesp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_GNU_SOURCE -DCOLOR_SUPPORT -DREADLINE_SUPPORT -I/opt/pkg/include -I/opt/pkg/include/ncurses -c freesp.c --- filewin.o --- filewin.c: In function 'SortFileEntryList': filewin.c:256:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 256 | case SORT_BY_NAME : compare = SortByName; break; | ^ filewin.c:44:13: note: 'SortByName' declared here 44 | static int SortByName(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~ filewin.c:257:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 257 | case SORT_BY_MOD_TIME : compare = SortByModTime; break; | ^ filewin.c:47:13: note: 'SortByModTime' declared here 47 | static int SortByModTime(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~~~~ filewin.c:258:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 258 | case SORT_BY_CHG_TIME : compare = SortByChgTime; break; | ^ filewin.c:45:13: note: 'SortByChgTime' declared here 45 | static int SortByChgTime(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~~~~ filewin.c:259:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 259 | case SORT_BY_ACC_TIME : compare = SortByAccTime; break; | ^ filewin.c:46:13: note: 'SortByAccTime' declared here 46 | static int SortByAccTime(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~~~~ filewin.c:260:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 260 | case SORT_BY_OWNER : compare = SortByOwner; break; | ^ filewin.c:49:13: note: 'SortByOwner' declared here 49 | static int SortByOwner(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~~ filewin.c:261:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 261 | case SORT_BY_GROUP : compare = SortByGroup; break; | ^ filewin.c:50:13: note: 'SortByGroup' declared here 50 | static int SortByGroup(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~~ filewin.c:262:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 262 | case SORT_BY_SIZE : compare = SortBySize; break; | ^ filewin.c:48:13: note: 'SortBySize' declared here 48 | static int SortBySize(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~ filewin.c:263:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 263 | case SORT_BY_EXTENSION : compare = SortByExtension; break; | ^ filewin.c:51:13: note: 'SortByExtension' declared here 51 | static int SortByExtension(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~~~~~~ filewin.c:264:38: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(FileEntryList *, FileEntryList *)' [-Wincompatible-pointer-types] 264 | default: compare = SortByName; beep(); | ^ filewin.c:44:13: note: 'SortByName' declared here 44 | static int SortByName(FileEntryList *e1, FileEntryList *e2); | ^~~~~~~~~~ filewin.c:270:10: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 270 | compare | ^~~~~~~ | | | int (*)(void) In file included from /usr/include/stdlib.h:41, from ytree.h:56, from filewin.c:8: /usr/include/iso/stdlib_iso.h:147:43: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void)' 147 | extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filewin.c: In function 'HandleFileWindow': filewin.c:1613:44: error: passing argument 3 of 'WalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 1613 | SetFileModus, | ^~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:54:67: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 54 | static void WalkTaggedFiles(int start_file, int cursor_pos, int (*fkt) (/* ??? */), WalkingPackage *walking_package); | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:986:13: note: 'SetFileModus' declared here 986 | extern int SetFileModus(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~ filewin.c:1659:44: error: passing argument 3 of 'WalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 1659 | SetFileOwner, | ^~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:54:67: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 54 | static void WalkTaggedFiles(int start_file, int cursor_pos, int (*fkt) (/* ??? */), WalkingPackage *walking_package); | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:999:13: note: 'SetFileOwner' declared here 999 | extern int SetFileOwner(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~ filewin.c:1702:44: error: passing argument 3 of 'WalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 1702 | SetFileGroup, | ^~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:54:67: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 54 | static void WalkTaggedFiles(int start_file, int cursor_pos, int (*fkt) (/* ??? */), WalkingPackage *walking_package); | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:1003:13: note: 'SetFileGroup' declared here 1003 | extern int SetFileGroup(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~ filewin.c:2108:44: error: passing argument 3 of 'WalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 2108 | CopyTaggedFiles, | ^~~~~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:54:67: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 54 | static void WalkTaggedFiles(int start_file, int cursor_pos, int (*fkt) (/* ??? */), WalkingPackage *walking_package); | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:987:13: note: 'CopyTaggedFiles' declared here 987 | extern int CopyTaggedFiles(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~~~~ filewin.c:2162:44: error: passing argument 3 of 'WalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 2162 | CopyTaggedFiles, | ^~~~~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:54:67: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 54 | static void WalkTaggedFiles(int start_file, int cursor_pos, int (*fkt) (/* ??? */), WalkingPackage *walking_package); | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:987:13: note: 'CopyTaggedFiles' declared here 987 | extern int CopyTaggedFiles(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~~~~ filewin.c:2290:42: error: passing argument 3 of 'WalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 2290 | MoveTaggedFiles, | ^~~~~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:54:67: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 54 | static void WalkTaggedFiles(int start_file, int cursor_pos, int (*fkt) (/* ??? */), WalkingPackage *walking_package); | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:989:13: note: 'MoveTaggedFiles' declared here 989 | extern int MoveTaggedFiles(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~~~~ filewin.c:2440:42: error: passing argument 3 of 'WalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 2440 | RenameTaggedFiles, | ^~~~~~~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:54:67: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 54 | static void WalkTaggedFiles(int start_file, int cursor_pos, int (*fkt) (/* ??? */), WalkingPackage *walking_package); | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:1017:13: note: 'RenameTaggedFiles' declared here 1017 | extern int RenameTaggedFiles(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~~~~~~ filewin.c:2577:42: error: passing argument 3 of 'WalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 2577 | PipeTaggedFiles, | ^~~~~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:54:67: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 54 | static void WalkTaggedFiles(int start_file, int cursor_pos, int (*fkt) (/* ??? */), WalkingPackage *walking_package); | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:978:13: note: 'PipeTaggedFiles' declared here 978 | extern int PipeTaggedFiles(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~~~~ filewin.c:2634:53: error: passing argument 1 of 'SilentTagWalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 2634 | SilentTagWalkTaggedFiles( ExecuteCommand, | ^~~~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:62:45: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 62 | static void SilentTagWalkTaggedFiles( int (*fkt) (/* ??? */), | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:1010:13: note: 'ExecuteCommand' declared here 1010 | extern int ExecuteCommand(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~~~ filewin.c:2679:50: error: passing argument 1 of 'SilentWalkTaggedFiles' from incompatible pointer type [-Wincompatible-pointer-types] 2679 | SilentWalkTaggedFiles( ExecuteCommand, | ^~~~~~~~~~~~~~ | | | int (*)(FileEntry *, WalkingPackage *) {aka int (*)(struct _file_entry *, WalkingPackage *)} filewin.c:59:42: note: expected 'int (*)(void)' but argument is of type 'int (*)(FileEntry *, WalkingPackage *)' {aka 'int (*)(struct _file_entry *, WalkingPackage *)'} 59 | static void SilentWalkTaggedFiles( int (*fkt) (/* ??? */), | ~~~~~~^~~~~~~~~~~~~~~~ ytree.h:1010:13: note: 'ExecuteCommand' declared here 1010 | extern int ExecuteCommand(FileEntry *fe_ptr, WalkingPackage *walking_package); | ^~~~~~~~~~~~~~ filewin.c: In function 'WalkTaggedFiles': filewin.c:2834:16: error: too many arguments to function 'fkt'; expected 0, have 2 2834 | result = fkt( fe_ptr, walking_package ); | ^~~ ~~~~~~ filewin.c: In function 'SilentWalkTaggedFiles': filewin.c:2871:13: error: too many arguments to function 'fkt'; expected 0, have 2 2871 | (void)fkt( fe_ptr, walking_package ); | ^~~ ~~~~~~ filewin.c: In function 'SilentTagWalkTaggedFiles': filewin.c:2907:16: error: too many arguments to function 'fkt'; expected 0, have 2 2907 | result = fkt( fe_ptr, walking_package ); | ^~~ ~~~~~~ --- freesp.o --- freesp.c: In function 'GetDiskParameter': freesp.c:65:17: error: storage size of 'statfs_struct' isn't known 65 | struct statfs statfs_struct; | ^~~~~~~~~~~~~ In file included from freesp.c:8: ytree.h:154:33: error: implicit declaration of function 'statfs'; did you mean 'statvfs'? [-Wimplicit-function-declaration] 154 | #define STATFS(a, b, c, d ) statfs( a, b, c, d ) | ^~~~~~ freesp.c:89:18: note: in expansion of macro 'STATFS' 89 | if( ( result = STATFS( path, &statfs_struct, sizeof( statfs_struct ), 0 ) ) == 0 ) | ^~~~~~ *** [freesp.o] Error code 1 bmake: stopped making "ytree" in /home/pbulk/work/sysutils/ytree/work/ytree-2.09 --- filewin.o --- *** [filewin.o] Error code 1 bmake: stopped making "ytree" in /home/pbulk/work/sysutils/ytree/work/ytree-2.09 bmake: 2 errors bmake: stopped making "ytree" in /home/pbulk/work/sysutils/ytree/work/ytree-2.09 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/ytree *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/ytree