MidnightBSD Magus

misc/mc-light

Lightweight Midnight Commander clone

Flavor Version Run OSVersion Arch License Restricted Status
4.1.40.p9_3 500 3.0 amd64 gpl2 0 fail

Events

Machine Type Time Message
m3064b info 2022-11-05 20:57:29.200641 Test Started
m3064b fail 2022-11-05 20:57:53.672588 make build returned non-zero: 1
m3064b fail 2022-11-05 20:57:53.730256 Test complete.

Log

===>  Building for mc-light-4.1.40.p9_3
gmake[1]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9'
gmake[2]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl'
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  intl-compat.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  bindtextdom.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  dcgettext.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  dgettext.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  gettext.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  finddomain.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  loadmsgcat.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  localealias.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  textdomain.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  l10nflist.c
cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -I..  -I/intl -I -I -I -O2 -pipe -fstack-protector-strong -fno-strict-aliasing  explodename.c
rm -f libintl.a
ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o
ranlib libintl.a
gmake[2]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl'
gmake[2]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/vfs'
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing local.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing vfs.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing tar.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing names.c
tar.c:354:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
            return (int)NULL;
                   ^~~~~~~~~
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing container.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing extfs.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing tcputil.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ftpfs.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mcfs.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing utilvfs.c
1 warning generated.
ok
gmake mcservx
gmake[3]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/vfs'
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mcserv.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing tcputil.c
ftpfs.c:1172:65: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    getsockname (qsock(bucket), (struct sockaddr *) &data_addr, &len);
                                                                ^~~~
/usr/include/sys/socket.h:670:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ftpfs.c:1218:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    getsockname(data, (struct sockaddr *) &data_addr, &len);
                                                      ^~~~
/usr/include/sys/socket.h:670:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
ftpfs.c:1262:46: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        data = accept (s, (struct sockaddr *)&from, &fromlen);
                                                    ^~~~~~~~
/usr/include/sys/socket.h:661:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
ftpfs.c:2147:72: warning: cast to smaller integer type 'unsigned int' from 'struct ftpfs_filp *' [-Wpointer-to-int-cast]
        fprintf(ftpfs_logfile,"ftpfs_close_real() fp=%08X  local_handle=%d\n",(unsigned int)fp,fp->local_handle);
                                                                              ^~~~~~~~~~~~~~~~
ftpfs.c:2442:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    FTP_DEBUG_MSG(path);
                  ^~~~
ftpfs.c:113:80: note: expanded from macro 'FTP_DEBUG_MSG'
#define FTP_DEBUG_MSG(msg) if(ftpfs_debug_server_dialog){fprintf(ftpfs_logfile,msg);fflush (ftpfs_logfile);}
                                                                               ^~~
ftpfs.c:2442:19: note: treat the string as an argument to avoid this
    FTP_DEBUG_MSG(path);
                  ^
                  "%s", 
ftpfs.c:113:80: note: expanded from macro 'FTP_DEBUG_MSG'
#define FTP_DEBUG_MSG(msg) if(ftpfs_debug_server_dialog){fprintf(ftpfs_logfile,msg);fflush (ftpfs_logfile);}
                                                                               ^
ftpfs.c:2801:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    FTP_DEBUG_MSG(path);
                  ^~~~
ftpfs.c:113:80: note: expanded from macro 'FTP_DEBUG_MSG'
#define FTP_DEBUG_MSG(msg) if(ftpfs_debug_server_dialog){fprintf(ftpfs_logfile,msg);fflush (ftpfs_logfile);}
                                                                               ^~~
ftpfs.c:2801:19: note: treat the string as an argument to avoid this
    FTP_DEBUG_MSG(path);
                  ^
                  "%s", 
ftpfs.c:113:80: note: expanded from macro 'FTP_DEBUG_MSG'
#define FTP_DEBUG_MSG(msg) if(ftpfs_debug_server_dialog){fprintf(ftpfs_logfile,msg);fflush (ftpfs_logfile);}
                                                                               ^
ftpfs.c:2803:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    FTP_DEBUG_MSG(local);
                  ^~~~~
ftpfs.c:113:80: note: expanded from macro 'FTP_DEBUG_MSG'
#define FTP_DEBUG_MSG(msg) if(ftpfs_debug_server_dialog){fprintf(ftpfs_logfile,msg);fflush (ftpfs_logfile);}
                                                                               ^~~
ftpfs.c:2803:19: note: treat the string as an argument to avoid this
    FTP_DEBUG_MSG(local);
                  ^
                  "%s", 
ftpfs.c:113:80: note: expanded from macro 'FTP_DEBUG_MSG'
#define FTP_DEBUG_MSG(msg) if(ftpfs_debug_server_dialog){fprintf(ftpfs_logfile,msg);fflush (ftpfs_logfile);}
                                                                               ^
ftpfs.c:3045:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        else if (strcmp (*login, buffer))
                        ^
8 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mad.c
tcputil.c:257:19: warning: incompatible function pointer types assigning to 'void (*)(int)' from 'void (void)' [-Wincompatible-function-pointer-types]
    sa.sa_handler = sig_pipe;
                  ^ ~~~~~~~~
tcputil.c:257:19: warning: incompatible function pointer types assigning to 'void (*)(int)' from 'void (void)' [-Wincompatible-function-pointer-types]
    sa.sa_handler = sig_pipe;
                  ^ ~~~~~~~~
mcserv.c:1136:8: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                            &clilen);
                            ^~~~~~~
/usr/include/sys/socket.h:661:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
mcserv.c:1142:6: warning: implicit declaration of function 'waitpid' is invalid in C99 [-Wimplicit-function-declaration]
            waitpid (child, &status, 0);
            ^
1 warning generated.
1 warning generated.
/bin/rm -f libvfs.a
/usr/bin/ar cr libvfs.a local.o vfs.o tar.o names.o container.o extfs.o  tcputil.o ftpfs.o mcfs.o utilvfs.o
ranlib libvfs.a
2 warnings generated.
cc -fstack-protector-strong -o mcserv mcserv.o tcputil.o mad.o -L/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -lintl  -lcrypt -ltermcap -lcurses    
touch mcservx
gmake[3]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/vfs'
gmake[2]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/vfs'
gmake[2]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/lib'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/lib'
gmake[2]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/doc'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/doc'
gmake[2]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/slang'
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sldisply.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slerr.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slsmg.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slutty.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slgetkey.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slmemcpy.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slmemset.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sltermin.c
sltermin.c:1217:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        return (int) NULL;
               ^~~~~~~~~~
sltermin.c:1232:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        return (int) NULL;
               ^~~~~~~~~~
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sltoken.c
2 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slsignal.c
/bin/rm -f libmcslang.a
/usr/bin/ar cr libmcslang.a sldisply.o slerr.o slsmg.o slutty.o slgetkey.o slmemcpy.o slmemset.o sltermin.o sltoken.o slsignal.o
ranlib libmcslang.a
gmake[2]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/slang'
gmake[2]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/edit'
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT bookmark.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT edit.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT editcmd.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT editwidget.c
editwidget.c:188:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
editcmd.c:1188:12: warning: expression which evaluates to zero treated as a null pointer constant of type 'char **' [-Wnon-literal-null-conversion]
         0, 0, 0, XV_WLAY_DONTCARE, 0},
                  ^~~~~~~~~~~~~~~~
editcmd.c:1648:23: warning: passing 'char *' to parameter of type 'const 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 (!strcasechr (option_whole_chars_search, (*get_byte) (data, p - 1))
                             ^~~~~~~~~~~~~~~~~~~~~~~~~
editcmd.c:80:40: note: passing argument to parameter 's' here
char *strcasechr (const unsigned char *s, int c)
                                       ^
editcmd.c:1649:19: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                && !strcasechr (option_whole_chars_search, (*get_byte) (data, p + *len)))
                                ^~~~~~~~~~~~~~~~~~~~~~~~~
editcmd.c:80:40: note: passing argument to parameter 's' here
char *strcasechr (const unsigned char *s, int c)
                                       ^
editcmd.c:1778:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    sprintf (s, q);             /* print trailing leftover */
                ^
editcmd.c:1778:17: note: treat the string as an argument to avoid this
    sprintf (s, q);             /* print trailing leftover */
                ^
                "%s", 
editcmd.c:2276:26: 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]
            r = mc_write (file, p, len);
                                ^
../vfs/vfs.h:176:30: note: passing argument to parameter 'buf' here
        int mc_write (int fd, char *buf, int nbyte);
                                    ^
editcmd.c:3030:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        bufpos =
               ^
editcmd.c:3036:4: 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]
                (&compl[i].text[word_len], &bufpos[word_len],
                 ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:102:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
editcmd.c:3115:38: 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]
        listbox_add_item (compl_list, 0, 0, compl[i].text, NULL);
                                            ^~~~~~~~~~~~~
../src/widget.h:195:18: note: passing argument to parameter 'text' here
                        hotkey, char *text, void *data);
                                      ^
editcmd.c:3159:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    bufpos = &edit->buffers1[word_start >> S_EDIT_BUF_SIZE]
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT editdraw.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT editkeys.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT editmenu.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT editoptions.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT syntax.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMIDNIGHT wordproc.c
9 warnings generated.
/bin/rm -f libedit.a
/usr/bin/ar cr libedit.a bookmark.o edit.o editcmd.o editwidget.o editdraw.o editkeys.o editmenu.o editoptions.o syntax.o wordproc.o
ranlib libedit.a
gmake[2]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/edit'
gmake[2]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/src'
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dir.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing util.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing screen.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dialog.c
util.c:635:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'time_t *' (aka 'long *') [-Wnon-literal-null-conversion]
    time_t current_time = time ((time_t) 0);
                                ^~~~~~~~~~
screen.c:381:30: warning: format specifies type 'int' but the argument has type 'nlink_t' (aka 'unsigned long') [-Wformat]
    sprintf (buffer, "%16d", fe->buf.st_nlink);
                      ~~~~   ^~~~~~~~~~~~~~~~
                      %16lu
screen.c:428util.c:22: warning: format string contains '\0' within the string body [-Wformat]
                sprintf (buffer, "0\0");
                                 ~~^~~
screen.c:435:39: warning: format string contains '\0' within the string body [-Wformat]
            sprintf (buffer, (len > 1) ? "~%s\0" : "%s\0",
                                         ~~~~^~~
screen.c:435:48: warning: format string contains '\0' within the string body [-Wformat]
            sprintf (buffer, (len > 1) ? "~%s\0" : "%s\0",
                                                   ~~~^~~
screen.c:896:36: warning: implicit conversion from 'int' to 'char' changes value from 148 to -108 [-Wconstant-conversion]
            addch (double_frames ? 148 : '*');
            ~~~~~                  ^~~
screen.c:1914:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
        expand_list [i] = '\0';
                          ^~~~
dialog.c:62:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (stderr, _("\n\n\nrefresh stack underflow!\n\n\n"));
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dialog.c:62:19: note: treat the string as an argument to avoid this
        fprintf (stderr, _("\n\n\nrefresh stack underflow!\n\n\n"));
                         ^
                         "%s", 
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^
1 warning generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing key.c
key.c:424:25: warning: array index 130 is past the end of the array (which contains 33 elements) [-Warray-bounds]
    if (seq_append == &(seq_buffer [sizeof (seq_buffer)-2]))
                        ^           ~~~~~~~~~~~~~~~~~~~~~
key.c:416:1: note: array 'seq_buffer' declared here
static int seq_buffer [33];
^
:922:25: 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]
    CHECK (mc_read (fd, &a, 1));
                        ^~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:923:25: 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]
    CHECK (mc_read (fd, &b, 1));
                        ^~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:924:25: 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]
    CHECK (mc_read (fd, &c, 1));
                        ^~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:925:25: 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]
    CHECK (mc_read (fd, &d, 1));
                        ^~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:939:25: 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]
    CHECK (mc_read (fd, &magic [0], 1));
                        ^~~~~~~~~~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:940:25: 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]
    CHECK (mc_read (fd, &magic [1], 1));
                        ^~~~~~~~~~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:941:25: 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]
    CHECK (mc_read (fd, &magic [2], 1));
                        ^~~~~~~~~~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:942:25: 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]
    CHECK (mc_read (fd, &magic [3], 1));
                        ^~~~~~~~~~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:955:22: 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]
        CHECK (mc_read (fd, &magic [0], 1));
                            ^~~~~~~~~~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
util.c:956:22: 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]
        CHECK (mc_read (fd, &magic [1], 1));
                            ^~~~~~~~~~
util.c:914:22: note: expanded from macro 'CHECK'
#define CHECK(x) if (x == -1) return 0;
                     ^
./../vfs/vfs.h:154:33: note: passing argument to parameter 'buffer' here
        int mc_read (int handle, char *buffer, int count);
                                       ^
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing keyxdef.c
util.c:1400:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            fprintf (stderr, _("Temporary files will not be created\n"));
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
util.c:1400:23: note: treat the string as an argument to avoid this
            fprintf (stderr, _("Temporary files will not be created\n"));
                             ^
                             "%s", 
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing menu.c
menu.c:98:17: warning: initializing 'unsigned char *' with an expression 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]
        unsigned char *text = menu->entries [idx].text;
                       ^      ~~~~~~~~~~~~~~~~~~~~~~~~
menu.c:101: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]
        for (text = menu->entries [idx].text; *text; text++)
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~
menu.c:167:21: warning: initializing 'unsigned char *' with an expression 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]
        unsigned char *text = menubar->menu [i]->name;
                       ^      ~~~~~~~~~~~~~~~~~~~~~~~
menu.c:176: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]
        for (text = menubar->menu [i]->name ; *text; text++)
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing file.c
file.c:1948:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (stderr, _(" Internal error: get_file \n"));
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
file.c:1948:22: note: treat the string as an argument to avoid this
    fprintf (stderr, _(" Internal error: get_file \n"));
                     ^
                     "%s", 
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^
file.c:2388: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]
        rx.buffer = (char *) xmalloc (MC_MAXPATHLEN, "mask copying");
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 warnings generated.
4 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing win.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing color.c
win.c:66:31: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
        sprintf (buffer, "%4lu %cb", size, scales[scale]);
                          ~~~~       ^~~~
                          %4llu
win.c:68:30: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
        sprintf (buffer, "%4lu b ", size);
                          ~~~~      ^~~~
                          %4llu
2 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing help.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing find.c
help.c:408:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
                col += strlen (VERSION);
                       ^
help.c:408:10: note: include the header  or explicitly provide a declaration for 'strlen'
6 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing profile.c
2 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing user.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing view.c
1 warning generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ext.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mouse.c
view.c:172:13: warning: passing 'unsigned char *' to parameter of type 'caddr_t' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        mc_munmap (view->data, view->s.st_size);
                   ^~~~~~~~~~
./../vfs/vfs.h:188:36: note: passing argument to parameter 'addr' here
            int mc_munmap (caddr_t addr, size_t len);
                                   ^
view.c:281:28: 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]
                view->block_ptr [i].data = p;
                                         ^ ~
view.c:533:47: 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]
            close_error_pipe (view->have_frame?-1:1, view->data);
                                                     ^~~~~~~~~~
./util.h:103:41: note: passing argument to parameter 'text' here
void close_error_pipe (int error, char *text);
                                        ^
view.c:542:47: 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]
            close_error_pipe (view->have_frame?-1:1, view->data);
                                                     ^~~~~~~~~~
./util.h:103:41: note: passing argument to parameter 'text' here
void close_error_pipe (int error, char *text);
                                        ^
view.c:611:16: warning: assigning to 'unsigned char *' from 'caddr_t' (aka 'char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    view->data = mc_mmap (0, view->s.st_size, PROT_READ, MAP_FILE | MAP_SHARED,
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
view.c:717: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]
        view->data = error;
                   ^ ~~~~~
view.c:718:47: 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]
        view->s.st_size = view->bytes_read = strlen (view->data);
                                                     ^~~~~~~~~~
/usr/include/string.h:97:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
ext.c:544:38: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
                           to_return = 1;
                                     ^ ~
ext.c:567:12: warning: address of array 'content_string' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        if (content_string && 
                            ^~~~~~~~~~~~~~ ~~
2 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing setup.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dlg.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing option.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing tree.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing widget.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing chmod.c
widget.c:366:25: 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]
                for (cp =  r->texts[i]; *cp; cp++)
                        ^  ~~~~~~~~~~~
7 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mad.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing wtools.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing info.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing cons.handler.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing chown.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing subshell.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing terms.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing boxes.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing hotlist.c
boxes.c:393:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
{ 0,              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, XV_WLAY_DONTCARE }
                                                ^~~~~~~~~~~~~~~~
boxes.c:883:49: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
{ 0,              0, 0, 0, 0, 0, 0, 0, 0, 0, 0, XV_WLAY_DONTCARE, 0 }
                                                ^~~~~~~~~~~~~~~~
hotlist.c:424:6: warning: implicit declaration of function 'vfs_expire' is invalid in C99 [-Wimplicit-function-declaration]
        vfs_expire (1);
        ^
1 warning generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing achown.c
2 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing layout.c
1 warning generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fsusage.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mountlist.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing regex.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing complete.c
complete.c:369:67: warning: for loop has empty body [-Wempty-body]
            for (start = i; buffer[i] && !cr_whitespace (buffer[i]); i++);
                                                                         ^
complete.c:369:67: note: put the semicolon on a separate line to silence this warning
complete.c:725:27: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
    if (q && q [1] == '(' && INPUT_COMPLETE_COMMANDS){
                          ^  ~~~~~~~~~~~~~~~~~~~~~~~
complete.c:725:27: note: use '&' for a bitwise operation
    if (q && q [1] == '(' && INPUT_COMPLETE_COMMANDS){
                          ^~
                          &
complete.c:725:27: note: remove constant to silence this warning
    if (q && q [1] == '(' && INPUT_COMPLETE_COMMANDS){
                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing slint.c
slint.c:299:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                    strlen(display), strlen(send), display, send);
                    ^~~~~~~~~~~~~~~
slint.c:299:38: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                    strlen(display), strlen(send), display, send);
                                     ^~~~~~~~~~~~
2 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing command.c
command.c:311:27: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' [-Wint-conversion]
    in = input_new (y, x, NULL, cols, "", "cmdline"); /*Command line color here*/ //--Olegarch
                          ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
./widget.h:145:42: note: passing argument to parameter 'color' here
WInput  *input_new    (int y, int x, int color, int len, char *text, char *tkname);
                                         ^
cons.handler.c:416:5: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration]
    memset (&screen_shot, 0, sizeof (screen_shot));
    ^
cons.handler.c:416:5: note: include the header  or explicitly provide a declaration for 'memset'
cons.handler.c:419:28: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Wimplicit-function-declaration]
    if ((screen_shot.buf = malloc ( screen_info.mv_csz * screen_info.mv_rsz * 2)) ==  NULL)
                           ^
cons.handler.c:419:28: note: include the header  or explicitly provide a declaration for 'malloc'
cons.handler.c:476:5: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration]
    free (screen_shot.buf);
    ^
cons.handler.c:476:5: note: include the header  or explicitly provide a declaration for 'free'
cons.handler.c:515:21: warning: implicitly declaring library function 'memchr' with type 'void *(const void *, int, unsigned long)' [-Wimplicit-function-declaration]
        char *p = (char *) memchr (map.scrmap, i, 256);
                           ^
cons.handler.c:515:21: note: include the header  or explicitly provide a declaration for 'memchr'
1 warning generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing cmd.c
fsusage.c:72:2: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration]
        abort ();
        ^
fsusage.c:72:2: note: include the header  or explicitly provide a declaration for 'abort'
1 warning generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing main.c
4 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing panelize.c
cmd.c:93:9: warning: 'WANT_WIDGETS' macro redefined [-Wmacro-redefined]
#define WANT_WIDGETS
        ^
./dlglist.h:7:9: note: previous definition is here
#define WANT_WIDGETS 1
        ^
cmd.c:801:5: warning: implicit declaration of function 'vfs_expire' is invalid in C99 [-Wimplicit-function-declaration]
    vfs_expire (1);
    ^
cmd.c:1044:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                 _("Type `exit' to return to the Midnight Commander\n\r\n\r"));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cmd.c:1044:4: note: treat the string as an argument to avoid this
                 _("Type `exit' to return to the Midnight Commander\n\r\n\r"));
                 ^
                 "%s", 
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^
main.c:939:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            printf (_("Press any key to continue..."));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:939:14: note: treat the string as an argument to avoid this
            printf (_("Press any key to continue..."));
                    ^
                    "%s", 
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^
main.c:2436:17: warning: initializing 'unsigned char *' with an expression 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]
        unsigned char *p = strdup(strip_home_and_password (cpanel->cwd));
                       ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:2614:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    fprintf (stderr, features);
                     ^~~~~~~~
main.c:2614:22: note: treat the string as an argument to avoid this
    fprintf (stderr, features);
                     ^
                     "%s", 
main.c:2706:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (stderr, _("The TERM environment variable is unset!\n"));
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:2706:19: note: treat the string as an argument to avoid this
        fprintf (stderr, _("The TERM environment variable is unset!\n"));
                         ^
                         "%s", 
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^
main.c:2973:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf (stderr, _("Option -m is obsolete. Please look at Display Bits... in the Option's menu\n"));
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:2973:19: note: treat the string as an argument to avoid this
        fprintf (stderr, _("Option -m is obsolete. Please look at Display Bits... in the Option's menu\n"));
                         ^
                         "%s", 
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^
main.c:3384:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                             _("Couldn't open tty line. You have to run mc without the -P flag.\n"
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:3384:20: note: treat the string as an argument to avoid this
                             _("Couldn't open tty line. You have to run mc without the -P flag.\n"
                             ^
                             "%s", 
./i18n.h:7:25: note: expanded from macro '_'
#        define _(String) gettext (String)
                          ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:132:6: note: expanded from macro 'gettext'
     dgettext (NULL, Msgid)
     ^
/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl/libintl.h:135:6: note: expanded from macro 'dgettext'
     dcgettext (Domainname, Msgid, LC_MESSAGES)
     ^
3 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing learn.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing listmode.c
learn.c:104:9: 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]
    seq = learn_key ();
        ^ ~~~~~~~~~~~~
learn.c:110: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 (*seq && strcmp (seq, "\\e") && strcmp (seq, "\\e\\e")
                            ^~~
/usr/include/string.h:82:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
learn.c:110:45: 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 (*seq && strcmp (seq, "\\e") && strcmp (seq, "\\e\\e")
                                                   ^~~
/usr/include/string.h:82:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
learn.c:111: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]
            && strcmp (seq, "^m" ) 
                       ^~~
/usr/include/string.h:82:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
learn.c:115:43: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
            learnkeys [action - B_USER].sequence = seq;
                                                 ^ ~~~
learn.c:116:30: 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]
            seq = convert_controls (seq);
                                    ^~~
./util.h:33:31: note: passing argument to parameter 's' here
char *convert_controls (char *s);
                              ^
learn.c:116: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]
            seq = convert_controls (seq);
                ^ ~~~~~~~~~~~~~~~~~~~~~~
learn.c:117:65: 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]
            define_sequence (key_name_conv_tab [action - B_USER].code, seq, 
                                                                       ^~~
./key.h:77:39: note: passing argument to parameter 'seq' here
void define_sequence (int code, char *seq, int action);
                                      ^
8 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing utilunix.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing background.c
6 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing rxvt.c
background.c:101:51: warning: cast to 'void *' from smaller integer type 'pid_t' (aka 'int') [-Wint-to-void-pointer-cast]
    add_select_channel (fd, background_attention, (void *) pid);
                                                  ^~~~~~~~~~~~
background.c:292:18: warning: cast to smaller integer type 'pid_t' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast]
    pid_t  pid = (pid_t) xpid;
                 ^~~~~~~~~~~~
background.c:309:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    if ((int) routine == MSG_CHILD_EXITING) {
        ^~~~~~~~~~~~~
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing popt.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing text.c
3 warnings generated.
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing charsets.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing selcodepage.c
charsets.c:208:18: warning: unsequenced modification and access to 'str' [-Wunsequenced]
    while ( (*str++ = conv_displ[ (unsigned char) *str ]) ) ;
                 ^                                 ~~~
charsets.c:214:18: warning: unsequenced modification and access to 'str' [-Wunsequenced]
    while ( (*str++ = conv_input[ (unsigned char) *str ]) ) ;
                 ^                                 ~~~
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing selmnt.c
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing dlglist.c
cd ../vfs; gmake libvfs.a
gmake[3]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/vfs'
gmake[3]: 'libvfs.a' is up to date.
gmake[3]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/vfs'
/bin/rm -f libvfs.a
ln -s ../vfs/libvfs.a .
cd ../slang; gmake libmcslang.a
2 warnings generated.
cd ../edit; gmake libedit.a
gmake[3]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/slang'
gmake[3]: 'libmcslang.a' is up to date.
gmake[3]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/slang'
/bin/rm -f libmcslang.a
ln -s ../slang/libmcslang.a .
cc -c -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mfmt.c
gmake[3]: Entering directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/edit'
gmake[3]: 'libedit.a' is up to date.
gmake[3]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/edit'
/bin/rm -f libedit.a
ln -s ../edit/libedit.a .
cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I..  -I/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -I./../vfs -I./.. -I./../slang -I.. -DBINDIR=\""/usr/local/bin/"\" -DLIBDIR=\""/usr/local/share/mc/"\"  -DLOCALEDIR=\""/usr/local/share/locale/"\" -DWANT_PARSE -DREGEX_MALLOC -fstack-protector-strong  man2hlp.c   -o man2hlp
selmnt.c:143:5: warning: implicit declaration of function 'listbox_refresh' is invalid in C99 [-Wimplicit-function-declaration]
    listbox_refresh(listbox->dlg);
    ^
selmnt.c:196:32: warning: implicit declaration of function 'get_hotkey' is invalid in C99 [-Wimplicit-function-declaration]
        LISTBOX_APPEND_TEXT( listbox, get_hotkey(i), buffer, NULL );
                                      ^
cc -fstack-protector-strong mfmt.o -o mfmt 
dlglist.c:368:23: warning: passing 'char [256]' 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]
                update_xterm_title (buf);
                                    ^~~
./main.h:184:41: note: passing argument to parameter 'str' here
void update_xterm_title (unsigned char *str);
                                        ^
dlglist.c:372:23: warning: passing 'char [256]' 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]
                update_xterm_title (buf);
                                    ^~~
./main.h:184:41: note: passing argument to parameter 'str' here
void update_xterm_title (unsigned char *str);
                                        ^
dlglist.c:382:23: warning: passing 'char [256]' 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]
                update_xterm_title (buf);
                                    ^~~
./main.h:184:41: note: passing argument to parameter 'str' here
void update_xterm_title (unsigned char *str);
                                        ^
dlglist.c:740:6: warning: implicit declaration of function 'finish_view' is invalid in C99 [-Wimplicit-function-declaration]
            finish_view( current_mcdlg->dlg,
            ^
dlglist.c:758:3: warning: implicit declaration of function 'finish_edit' is invalid in C99 [-Wimplicit-function-declaration]
                finish_edit(
                ^
2 warnings generated.
cp mfmt mcmfmt
5 warnings generated.
cc -fstack-protector-strong -o mc dir.o util.o screen.o dialog.o key.o keyxdef.o menu.o file.o win.o color.o help.o find.o profile.o user.o view.o ext.o mouse.o setup.o dlg.o option.o tree.o widget.o chmod.o mad.o wtools.o info.o cons.handler.o chown.o subshell.o terms.o boxes.o hotlist.o achown.o layout.o fsusage.o mountlist.o regex.o complete.o slint.o command.o cmd.o main.o panelize.o learn.o listmode.o utilunix.o background.o rxvt.o popt.o text.o charsets.o selcodepage.o selmnt.o dlglist.o -L../vfs -L../slang -L../edit -lvfs -lmcslang -ledit -L/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/intl -lintl -lcrypt -ltermcap -lcurses     
ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at file.c
>>>            file.o:(.bss+0x120)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at view.c
>>>            view.o:(.bss+0x458)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at setup.c
>>>            setup.o:(.bss+0x2220)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at option.c
>>>            option.o:(.bss+0x20)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at tree.c
>>>            tree.o:(.bss+0x8)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at chmod.c
>>>            chmod.o:(.bss+0x3C)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at chown.c
>>>            chown.o:(.bss+0x20)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at achown.c
>>>            achown.o:(.bss+0x2C)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at layout.c
>>>            layout.o:(.bss+0x84)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at cmd.c
>>>            cmd.o:(.bss+0x18)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at main.c
>>>            main.o:(.bss+0x158)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at panelize.c
>>>            panelize.o:(.bss+0x20)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at listmode.c
>>>            listmode.o:(.bss+0x20)

ld: error: duplicate symbol: copy_local
>>> defined at key.c
>>>            key.o:(copy_local)
>>> defined at background.c
>>>            background.o:(.bss+0x14)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:77: mc] Error 1
gmake[2]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9/src'
gmake[1]: *** [Makefile:25: all] Error 1
gmake[1]: Leaving directory '/magus/work/usr/mports/misc/mc-light/work/mc-4.1.40-pre9'
===> 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/mports/misc/mc-light