=> Building security/pft build started at Wed Oct 5 17:33:39 PDT 2016 port directory: /usr/ports/security/pft building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: ports@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../06//usr/ports/security/pft/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=pft-1.3_1 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/security/pft XDG_CONFIG_HOME=/wrkdirs/security/pft HOME=/wrkdirs/security/pft TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/security/pft XDG_CONFIG_HOME=/wrkdirs/security/pft HOME=/wrkdirs/security/pft TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/pft" EXAMPLESDIR="share/examples/pft" DATADIR="share/pft" WWWDIR="www/pft" ETCDIR="etc/pft" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pft DOCSDIR=/usr/local/share/doc/pft EXAMPLESDIR=/usr/local/share/examples/pft WWWDIR=/usr/local/www/pft ETCDIR=/usr/local/etc/pft --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> NOTICE: The pft port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port =========================================================================== =================================================== ===> pft-1.3_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> pft-1.3_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pft-1.3_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The pft port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by pft-1.3_1 for building =========================================================================== =================================================== ===> NOTICE: The pft port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by pft-1.3_1 for building => SHA256 Checksum OK for libPJL-1.3-src.tgz. =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The pft port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by pft-1.3_1 for building ===> Extracting for pft-1.3_1 => SHA256 Checksum OK for libPJL-1.3-src.tgz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for pft-1.3_1 ===> Applying ports patches for pft-1.3_1 =========================================================================== =================================================== ===> pft-1.3_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> pft-1.3_1 depends on executable: gmake - found ===> Returning to build of pft-1.3_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for pft-1.3_1 =========================================================================== =================================================== ===> Building for pft-1.3_1 gmake[1]: Entering directory '/wrkdirs/security/pft/pft-1.3_1' c++ -pipe -O2 -fno-strict-aliasing -Wall -DUNIX -D_DEBUG -c -o fxstrings.o fxstrings.cpp c++ -pipe -O2 -fno-strict-aliasing -Wall -DUNIX -D_DEBUG -c -o llist.o llist.cpp c++ -pipe -O2 -fno-strict-aliasing -Wall -DUNIX -D_DEBUG -c -o pjllists.o pjllists.cpp c++ -pipe -O2 -fno-strict-aliasing -Wall -DUNIX -D_DEBUG -c -o pjlsession.o pjlsession.cpp c++ -pipe -O2 -fno-strict-aliasing -Wall -DUNIX -D_DEBUG -c -o rawmem.o rawmem.cpp pjlsession.cpp: In member function 'void PJLsession::read_env()': pjlsession.cpp:62:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:63:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_INFO_VAR); ^ pjlsession.cpp:64:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:67:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:71:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.stoken("@PJL INFO VARIABLES",0)==NULL) { ^ pjlsession.cpp:80:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] while (ts.stoken("\r\n",i)!=NULL) { ^ pjlsession.cpp:81:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sline=ts.stoken("\r\n",i); ^ pjlsession.cpp:93:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] language=""; ^ pjlsession.cpp:106:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sline.findstr("ENUMERATED]")) ^ pjlsession.cpp: In member function 'void PJLsession::env_commit_changes()': pjlsession.cpp:136:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:137:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_DEFAULT); ^ pjlsession.cpp:140:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(" "); ^ pjlsession.cpp:143:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("="); ^ pjlsession.cpp:145:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:146:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::read_device_id()': pjlsession.cpp:160:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:161:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_INFO_ID); ^ pjlsession.cpp:162:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:165:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:169:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.stoken("@PJL INFO ID",0)==NULL) { ^ pjlsession.cpp: In member function 'bool PJLsession::disable_pjl_password(unsigned int)': pjlsession.cpp:194:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:195:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:196:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("@PJL JOB PASSWORD="); ^ pjlsession.cpp:198:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n@PJL DEFAULT PASSWORD=0 \r\n"); ^ pjlsession.cpp:199:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("@PJL DINQUIRE PASSWORD\r\n"); ^ pjlsession.cpp:200:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("@PJL EOJ\r\n"); ^ pjlsession.cpp:201:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:204:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:208:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("@PJL DINQUIRE PASSWORD")==NULL) { ^ pjlsession.cpp:215:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("DISABLED")!=NULL) { ^ pjlsession.cpp:218:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("ENABLED")!=NULL) { ^ pjlsession.cpp: In member function 'void PJLsession::blind_disable_pjl_password(unsigned int)': pjlsession.cpp:242:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:243:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:244:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("@PJL JOB PASSWORD="); ^ pjlsession.cpp:246:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n@PJL DEFAULT PASSWORD=0 \r\n"); ^ pjlsession.cpp:247:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("@PJL EOJ\r\n"); ^ pjlsession.cpp:248:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'bool PJLsession::chk_pjl_password()': pjlsession.cpp:269:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:270:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:271:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("@PJL DINQUIRE PASSWORD\r\n"); ^ pjlsession.cpp:272:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:275:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:279:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("@PJL DINQUIRE PASSWORD")==NULL) { ^ pjlsession.cpp:286:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("DISABLED")!=NULL) { ^ pjlsession.cpp:289:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("ENABLED")!=NULL) { ^ pjlsession.cpp: In member function 'void PJLsession::write_ustatus(char*)': pjlsession.cpp:303:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:304:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_USTATUS); ^ pjlsession.cpp:306:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:307:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::write_ready_message(char*)': pjlsession.cpp:315:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:316:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_RDYMSG); ^ pjlsession.cpp:317:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:319:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp:320:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::write_failure_message(char*)': pjlsession.cpp:328:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:329:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_OPMSG); ^ pjlsession.cpp:330:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:332:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp:333:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::read_volumes()': pjlsession.cpp:346:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:347:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_INFO_FILESYS); ^ pjlsession.cpp:348:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:351:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:355:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.stoken("@PJL INFO FILESYS",0)==NULL) { ^ pjlsession.cpp:363:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] while (ts.stoken("\r\n",i)!=NULL) { ^ pjlsession.cpp:364:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sline=ts.stoken("\r\n",i); ^ pjlsession.cpp:366:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sline=="\x0c") break; ^ pjlsession.cpp: In member function 'void PJLsession::read_dir(char*)': pjlsession.cpp:394:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:395:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSDIRLIST); ^ pjlsession.cpp:396:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:398:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\" ENTRY=1 COUNT=999999\r\n"); ^ pjlsession.cpp:399:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:402:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:406:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.stoken("@PJL FSDIRLIST",0)==NULL) { ^ pjlsession.cpp:413:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.stoken("\r\n",1)==NULL) { ^ pjlsession.cpp:419:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] String err=ts.stoken("\r\n",1); ^ pjlsession.cpp:421:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (err.findstr("FILEERROR")!=NULL) { ^ pjlsession.cpp:432:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] while (ts.stoken("\r\n",i)!=NULL) { ^ pjlsession.cpp:433:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sline=ts.stoken("\r\n",i); ^ pjlsession.cpp:435:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sline=="\x0c") break; ^ pjlsession.cpp:447:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ty=="FILE") { ^ pjlsession.cpp:462:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] } else if (ty=="DIR") { ^ pjlsession.cpp: In member function 'int PJLsession::stat(char*)': pjlsession.cpp:485:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:486:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSQUERY); ^ pjlsession.cpp:487:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:489:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp:490:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:493:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:497:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("@PJL FSQUERY")==NULL) { ^ pjlsession.cpp:506:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (ts.findstr("FILEERROR")==NULL) ^ pjlsession.cpp:513:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (typ.findstr("FILE")!=NULL) return PJLFS_FILE; ^ pjlsession.cpp:514:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else if (typ.findstr("DIR")!=NULL) return PJLFS_DIR; ^ pjlsession.cpp:524:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] String err=ts.stoken("\r\n",1); ^ pjlsession.cpp:526:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (err.findstr("FILEERROR")!=NULL) { ^ pjlsession.cpp: In member function 'void PJLsession::delete_file(char*)': pjlsession.cpp:545:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:546:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSDELETE); ^ pjlsession.cpp:547:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:549:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp:550:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::create_dir(char*)': pjlsession.cpp:561:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:562:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSMKDIR); ^ pjlsession.cpp:563:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:565:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp:566:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'Rawmem* PJLsession::recv_file(char*, unsigned int)': pjlsession.cpp:587:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:588:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSUPLOAD); ^ pjlsession.cpp:589:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:591:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\" OFFSET=0 SIZE="); ^ pjlsession.cpp:593:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:594:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:600:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr("\r\n",ctimeout); ^ pjlsession.cpp:604:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("@PJL FSUPLOAD")==NULL) { ^ pjlsession.cpp:610:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("SIZE=")==NULL) { ^ pjlsession.cpp:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:616:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("FILEERROR")!=NULL) { ^ pjlsession.cpp:632:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] String fsi=ts.findstr("SIZE="); ^ pjlsession.cpp: In member function 'void PJLsession::recv_file(char*, unsigned int, char*)': pjlsession.cpp:677:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:678:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSUPLOAD); ^ pjlsession.cpp:679:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:681:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\" OFFSET=0 SIZE="); ^ pjlsession.cpp:683:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:684:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp:690:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr("\r\n",ctimeout); ^ pjlsession.cpp:694:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("@PJL FSUPLOAD")==NULL) { ^ pjlsession.cpp:700:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("SIZE=")==NULL) { ^ pjlsession.cpp:702:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.recvuntilstr(PJL_ENDSEQ,ctimeout); ^ pjlsession.cpp:706:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (ts.findstr("FILEERROR")!=NULL) { ^ pjlsession.cpp:722:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] String fsi=ts.findstr("SIZE="); ^ pjlsession.cpp: In member function 'void PJLsession::send_file(char*)': pjlsession.cpp:779:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:780:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSDOWNLOAD); ^ pjlsession.cpp:781:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("SIZE="); ^ pjlsession.cpp:783:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(" NAME=\""); ^ pjlsession.cpp:785:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp:787:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::send_file(char*, char*)': pjlsession.cpp:874:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t {aka long int}' [-Wformat=] snprintf(numb,49,"%llu",statbuf.st_size); ^ pjlsession.cpp:874:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'off_t {aka long int}' [-Wformat=] pjlsession.cpp:876:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:877:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSDOWNLOAD); ^ pjlsession.cpp:878:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("SIZE="); ^ pjlsession.cpp:880:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(" NAME=\""); ^ pjlsession.cpp:882:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp: In member function 'void PJLsession::append_file(char*)': pjlsession.cpp:908:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:909:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSAPPEND); ^ pjlsession.cpp:910:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("SIZE="); ^ pjlsession.cpp:912:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(" NAME=\""); ^ pjlsession.cpp:914:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp:916:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::format_fs(char*)': pjlsession.cpp:985:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:987:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("@PJL JOB PASSWORD=0\r\n"); ^ pjlsession.cpp:988:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FSINIT); ^ pjlsession.cpp:989:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\""); ^ pjlsession.cpp:991:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\"\r\n"); ^ pjlsession.cpp:992:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("@PJL EOJ\r\n"); ^ pjlsession.cpp:993:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::change_printer_name(char*)': pjlsession.cpp:1004:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:1005:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_PRINTERNAME); ^ pjlsession.cpp:1007:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:1008:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ pjlsession.cpp: In member function 'void PJLsession::print_selftest(unsigned int)': pjlsession.cpp:1026:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.set(PJL_START); ^ pjlsession.cpp:1027:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_SELFTEST); ^ pjlsession.cpp:1029:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 1: connection.sendbuf.append("SELFTEST"); ^ pjlsession.cpp:1031:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 2: connection.sendbuf.append("CONTSELFTEST"); ^ pjlsession.cpp:1033:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 3: connection.sendbuf.append("PCLTYPELIST"); ^ pjlsession.cpp:1035:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 4: connection.sendbuf.append("PCLDEMOPAGE"); ^ pjlsession.cpp:1037:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 5: connection.sendbuf.append("PSCONFIGPAGE"); ^ pjlsession.cpp:1039:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 6: connection.sendbuf.append("PSTYPEFACELIST"); ^ pjlsession.cpp:1041:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 7: connection.sendbuf.append("PSDEMOPAGE"); ^ pjlsession.cpp:1044:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append("\r\n"); ^ pjlsession.cpp:1045:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] connection.sendbuf.append(PJL_FINISH); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall -DUNIX -D_DEBUG -c -o tcpcon.o tcpcon.cpp tcpcon.cpp: In member function 'void TCPcon::recvatleast(unsigned int, long unsigned int)': tcpcon.cpp:284:34: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (found=(recvbuf.length()>=n)) break; ^ ar rcs libPJL.a fxstrings.o llist.o pjllists.o pjlsession.o rawmem.o tcpcon.o gmake[1]: Leaving directory '/wrkdirs/security/pft/pft-1.3_1' gmake[1]: Entering directory '/wrkdirs/security/pft/pft-1.3_1/pft' c++ -pipe -O2 -fno-strict-aliasing -Wall -DUNIX -L../ -I../ -c -o main.o main.cpp main.cpp: In function 'int main(int, char**)': main.cpp:114:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cfg.server="10.1.1.16"; ^ main.cpp: In function 'void cmdloop()': main.cpp:45:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_QUIT "quit" ^ main.cpp:172:16: note: in expansion of macro 'CMD_QUIT' if (basecmd==CMD_QUIT) { ^ main.cpp:46:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_EXIT "exit" ^ main.cpp:178:21: note: in expansion of macro 'CMD_EXIT' else if (basecmd==CMD_EXIT) { ^ main.cpp:47:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_HELP "help" ^ main.cpp:184:21: note: in expansion of macro 'CMD_HELP' else if (basecmd==CMD_HELP) { ^ main.cpp:48:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_SERVER "server" ^ main.cpp:189:21: note: in expansion of macro 'CMD_SERVER' else if (basecmd==CMD_SERVER) { ^ main.cpp:49:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PORT "port" ^ main.cpp:199:21: note: in expansion of macro 'CMD_PORT' else if (basecmd==CMD_PORT) { ^ main.cpp:50:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_CONNECT "connect" ^ main.cpp:209:21: note: in expansion of macro 'CMD_CONNECT' else if (basecmd==CMD_CONNECT) { ^ main.cpp:229:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cfg.pwd.set("\\"); ^ main.cpp:230:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cfg.pvol.set("0:"); ^ main.cpp:232:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sess.write_ustatus("OFF"); ^ main.cpp:51:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_CLOSE "close" ^ main.cpp:247:21: note: in expansion of macro 'CMD_CLOSE' else if (basecmd==CMD_CLOSE) { ^ main.cpp:52:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV "env" ^ main.cpp:258:21: note: in expansion of macro 'CMD_ENV' else if (basecmd==CMD_ENV) { ^ main.cpp:53:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_READ "read" ^ main.cpp:274:14: note: in expansion of macro 'CMD_ENV_READ' if (subc==CMD_ENV_READ) { ^ main.cpp:54:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_PRINT "print" ^ main.cpp:282:21: note: in expansion of macro 'CMD_ENV_PRINT' } else if (subc==CMD_ENV_PRINT) { ^ main.cpp:59:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_CHANGED "changed" ^ main.cpp:307:21: note: in expansion of macro 'CMD_ENV_CHANGED' } else if (subc==CMD_ENV_CHANGED) { ^ main.cpp:56:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_SHOW "show" ^ main.cpp:319:21: note: in expansion of macro 'CMD_ENV_SHOW' } else if (subc==CMD_ENV_SHOW) { ^ main.cpp:55:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_COMMIT "commit" ^ main.cpp:340:21: note: in expansion of macro 'CMD_ENV_COMMIT' } else if (subc==CMD_ENV_COMMIT) { ^ main.cpp:57:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_SET "set" ^ main.cpp:347:21: note: in expansion of macro 'CMD_ENV_SET' } else if (subc==CMD_ENV_SET) { ^ main.cpp:367:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] w=cmd.findstr("\""); ^ main.cpp:58:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_OPTIONS "options" ^ main.cpp:414:21: note: in expansion of macro 'CMD_ENV_OPTIONS' } else if (subc==CMD_ENV_OPTIONS) { ^ main.cpp:60:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_UNPROTECT "unprotect" ^ main.cpp:448:21: note: in expansion of macro 'CMD_ENV_UNPROTECT' } else if (subc==CMD_ENV_UNPROTECT) { ^ main.cpp:61:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV_BRUTEFORCE "bruteforce" ^ main.cpp:467:21: note: in expansion of macro 'CMD_ENV_BRUTEFORCE' } else if (subc==CMD_ENV_BRUTEFORCE) { ^ main.cpp:62:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_MESSAGE "message" ^ main.cpp:536:21: note: in expansion of macro 'CMD_MESSAGE' else if (basecmd==CMD_MESSAGE) { ^ main.cpp:548:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] w=cmd.findstr("\""); ^ main.cpp:63:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_FAILURE "failure" ^ main.cpp:562:21: note: in expansion of macro 'CMD_FAILURE' else if (basecmd==CMD_FAILURE) { ^ main.cpp:574:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] w=cmd.findstr("\""); ^ main.cpp:64:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_VOLUMES "volumes" ^ main.cpp:588:21: note: in expansion of macro 'CMD_VOLUMES' else if (basecmd==CMD_VOLUMES) { ^ main.cpp:65:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_LS "ls" ^ main.cpp:612:21: note: in expansion of macro 'CMD_LS' else if (basecmd==CMD_LS) { ^ main.cpp:66:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_CD "cd" ^ main.cpp:657:21: note: in expansion of macro 'CMD_CD' else if (basecmd==CMD_CD) { ^ main.cpp:670:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (dest==".") { ^ main.cpp:674:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (dest=="..") { ^ main.cpp:677:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (cfg.pwd=="\\") continue; ^ main.cpp:679:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] np.append("\\"); ^ main.cpp:687:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cfg.pwd.set("\\"); ^ main.cpp:694:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] np.append("\\"); ^ main.cpp:699:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (cfg.pwd=="\\") { ^ main.cpp:702:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cfg.pwd.append("\\"); ^ main.cpp:67:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PWD "pwd" ^ main.cpp:715:21: note: in expansion of macro 'CMD_PWD' else if (basecmd==CMD_PWD) { ^ main.cpp:68:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_CHVOL "chvol" ^ main.cpp:723:21: note: in expansion of macro 'CMD_CHVOL' else if (basecmd==CMD_CHVOL) { ^ main.cpp:749:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] cfg.pwd.set("\\"); ^ main.cpp:69:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_RM "rm" ^ main.cpp:756:21: note: in expansion of macro 'CMD_RM' else if (basecmd==CMD_RM) { ^ main.cpp:770:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] targ.append("\\"); ^ main.cpp:70:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_MKDIR "mkdir" ^ main.cpp:783:21: note: in expansion of macro 'CMD_MKDIR' else if (basecmd==CMD_MKDIR) { ^ main.cpp:797:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] targ.append("\\"); ^ main.cpp:71:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_LPWD "lpwd" ^ main.cpp:807:21: note: in expansion of macro 'CMD_LPWD' else if (basecmd==CMD_LPWD) { ^ main.cpp:72:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_LCD "lcd" ^ main.cpp:811:21: note: in expansion of macro 'CMD_LCD' else if (basecmd==CMD_LCD) { ^ main.cpp:73:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_GET "get" ^ main.cpp:834:21: note: in expansion of macro 'CMD_GET' else if (basecmd==CMD_GET) { ^ main.cpp:869:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] targ.append("\\"); ^ main.cpp:74:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PUT "put" ^ main.cpp:884:21: note: in expansion of macro 'CMD_PUT' else if (basecmd==CMD_PUT) { ^ main.cpp:898:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] targ.append("\\"); ^ main.cpp:75:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_APPEND "append" ^ main.cpp:909:21: note: in expansion of macro 'CMD_APPEND' else if (basecmd==CMD_APPEND) { ^ main.cpp:925:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] targ.append("\\"); ^ main.cpp:76:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_SESSION "session" ^ main.cpp:966:21: note: in expansion of macro 'CMD_SESSION' else if (basecmd==CMD_SESSION) { ^ main.cpp:77:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_TIMEOUT "timeout" ^ main.cpp:982:21: note: in expansion of macro 'CMD_TIMEOUT' else if (basecmd==CMD_TIMEOUT) { ^ main.cpp:78:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PAUSE "pause" ^ main.cpp:998:21: note: in expansion of macro 'CMD_PAUSE' else if (basecmd==CMD_PAUSE) { ^ main.cpp:79:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PRINTERNAME "printername" ^ main.cpp:1008:21: note: in expansion of macro 'CMD_PRINTERNAME' else if (basecmd==CMD_PRINTERNAME) { ^ main.cpp:1020:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] w=cmd.findstr("\""); ^ main.cpp:80:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_SELFTEST "selftest" ^ main.cpp:1034:21: note: in expansion of macro 'CMD_SELFTEST' else if (basecmd==CMD_SELFTEST) { ^ main.cpp: In function 'void print_help(char*)': main.cpp:45:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_QUIT "quit" ^ main.cpp:1112:11: note: in expansion of macro 'CMD_QUIT' if (ts==CMD_QUIT) { ^ main.cpp:48:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_SERVER "server" ^ main.cpp:1114:18: note: in expansion of macro 'CMD_SERVER' } else if (ts==CMD_SERVER) { ^ main.cpp:49:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PORT "port" ^ main.cpp:1118:18: note: in expansion of macro 'CMD_PORT' } else if (ts==CMD_PORT) { ^ main.cpp:50:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_CONNECT "connect" ^ main.cpp:1122:18: note: in expansion of macro 'CMD_CONNECT' } else if (ts==CMD_CONNECT) { ^ main.cpp:51:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_CLOSE "close" ^ main.cpp:1125:18: note: in expansion of macro 'CMD_CLOSE' } else if (ts==CMD_CLOSE) { ^ main.cpp:52:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_ENV "env" ^ main.cpp:1127:18: note: in expansion of macro 'CMD_ENV' } else if (ts==CMD_ENV) { ^ main.cpp:62:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_MESSAGE "message" ^ main.cpp:1145:18: note: in expansion of macro 'CMD_MESSAGE' } else if (ts==CMD_MESSAGE) { ^ main.cpp:63:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_FAILURE "failure" ^ main.cpp:1147:18: note: in expansion of macro 'CMD_FAILURE' } else if (ts==CMD_FAILURE) { ^ main.cpp:64:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_VOLUMES "volumes" ^ main.cpp:1150:18: note: in expansion of macro 'CMD_VOLUMES' } else if (ts==CMD_VOLUMES) { ^ main.cpp:65:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_LS "ls" ^ main.cpp:1152:18: note: in expansion of macro 'CMD_LS' } else if (ts==CMD_LS) { ^ main.cpp:66:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_CD "cd" ^ main.cpp:1154:18: note: in expansion of macro 'CMD_CD' } else if (ts==CMD_CD) { ^ main.cpp:67:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PWD "pwd" ^ main.cpp:1157:18: note: in expansion of macro 'CMD_PWD' } else if (ts==CMD_PWD) { ^ main.cpp:68:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_CHVOL "chvol" ^ main.cpp:1159:18: note: in expansion of macro 'CMD_CHVOL' } else if (ts==CMD_CHVOL) { ^ main.cpp:69:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_RM "rm" ^ main.cpp:1162:18: note: in expansion of macro 'CMD_RM' } else if (ts==CMD_RM) { ^ main.cpp:70:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_MKDIR "mkdir" ^ main.cpp:1164:18: note: in expansion of macro 'CMD_MKDIR' } else if (ts==CMD_MKDIR) { ^ main.cpp:71:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_LPWD "lpwd" ^ main.cpp:1167:18: note: in expansion of macro 'CMD_LPWD' } else if (ts==CMD_LPWD) { ^ main.cpp:72:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_LCD "lcd" ^ main.cpp:1169:18: note: in expansion of macro 'CMD_LCD' } else if (ts==CMD_LCD) { ^ main.cpp:73:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_GET "get" ^ main.cpp:1172:18: note: in expansion of macro 'CMD_GET' } else if (ts==CMD_GET) { ^ main.cpp:74:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PUT "put" ^ main.cpp:1175:18: note: in expansion of macro 'CMD_PUT' } else if (ts==CMD_PUT) { ^ main.cpp:75:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_APPEND "append" ^ main.cpp:1177:18: note: in expansion of macro 'CMD_APPEND' } else if (ts==CMD_APPEND) { ^ main.cpp:76:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_SESSION "session" ^ main.cpp:1181:18: note: in expansion of macro 'CMD_SESSION' } else if (ts==CMD_SESSION) { ^ main.cpp:77:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_TIMEOUT "timeout" ^ main.cpp:1183:18: note: in expansion of macro 'CMD_TIMEOUT' } else if (ts==CMD_TIMEOUT) { ^ main.cpp:78:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define CMD_PAUSE "pause" ^ main.cpp:1185:18: note: in expansion of macro 'CMD_PAUSE' } else if (ts==CMD_PAUSE) { ^ main.cpp: In function 'void commandline_ident()': main.cpp:1209:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sess.write_ustatus("OFF"); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall -DUNIX -L../ -I../ -D_DEBUG -o pft main.o -lPJL gmake[1]: Leaving directory '/wrkdirs/security/pft/pft-1.3_1/pft' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for pft-1.3_1 ===> Generating temporary packing list (cd /wrkdirs/security/pft/pft-1.3_1/pft && install -s -m 555 pft /wrkdirs/security/pft/stage/usr/local/bin) (cd /wrkdirs/security/pft/pft-1.3_1 && install -s -m 555 libPJL.a /wrkdirs/security/pft/stage/usr/local/lib) ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for pft-1.3_1 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for pft-1.3_1 build of security/pft ended at Wed Oct 5 17:33:50 PDT 2016 build time: 00:00:11