+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/stardic-1.31nb7/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/stardic-1.31nb7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for stardic-1.31nb7 --- trans.o --- --- image.o --- --- trans.o --- c++ -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Wall -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -DTRANSHOME=\"/usr/pkg/share/stardic\" -c trans.cc --- image.o --- c++ -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Wall -DNDEBUG -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -DTRANSHOME=\"/usr/pkg/share/stardic\" -c image.cc image.cc: In member function 'int Gif::iGetGif(ImageInfo*)': image.cc:52:40: error: 'fopen' was not declared in this scope if(!(giffile=fopen(gifname,"rb"))) ^ image.cc:70:23: error: 'fclose' was not declared in this scope fclose(giffile); ^ image.cc: In member function 'int Gif::unpack_gif(ImageInfo*, FILE*)': image.cc:89:33: error: 'fseek' was not declared in this scope fseek(giffile,headsize,0);/*jump over the gif header.*/ ^ image.cc:90:30: error: 'getc' was not declared in this scope first_ch=getc(giffile); ^ image.cc:110:68: error: 'feof' was not declared in this scope while((code=get_code(reqcnt,giffile))!=EOI && !feof(giffile)) ^ image.cc: In member function 'int Gif::gif_header(ImageInfo*, FILE*)': image.cc:155:23: error: 'rewind' was not declared in this scope rewind(giffile); ^ image.cc:157:50: error: 'fread' was not declared in this scope fread((char *)globalh.version,6,1,giffile); ^ image.cc:166:41: error: 'getc' was not declared in this scope globalh.global_flag=getc(giffile); ^ image.cc: In member function 'short int Gif::get_code(short int, FILE*)': image.cc:391:58: error: 'getc' was not declared in this scope while(index==0)index=getc(giffile); ^ image.cc:393:56: error: 'getc' was not declared in this scope rem=(unsigned char)getc(giffile); ^ image.cc:399:30: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] mask=(0xff>>8-used); ^ image.cc: In member function 'int Xpm::iGetXpm(ImageInfo*)': image.cc:441:40: error: 'fopen' was not declared in this scope if(!(xpmfile=fopen(xpmname,"rb"))) ^ image.cc:454:22: error: 'getc' was not declared in this scope buff[0]=getc(xpmfile); ^ image.cc:472:16: error: 'fclose' was not declared in this scope fclose(xpmfile); ^ image.cc: In member function 'void Xpm::vGetMotifIcon()': image.cc:495:28: error: 'getc' was not declared in this scope info.bg_color=getc(xpmfile); ^ image.cc: In member function 'void Xpm::vGetOpenwinIcon()': image.cc:532:28: error: 'getc' was not declared in this scope info.bg_color=getc(xpmfile); ^ image.cc: In member function 'int Xpm::getnumber(int)': image.cc:560:34: error: 'getc' was not declared in this scope while(!isxdigit(ch=getc(xpmfile))); // jump over blanks. ^ image.cc:566:33: error: 'getc' was not declared in this scope while(isxdigit(ch=getc(xpmfile))); ^ image.cc:581:47: error: 'getc' was not declared in this scope while(!isdigit(ch=getc(xpmfile))); ^ image.cc:583:46: error: 'getc' was not declared in this scope while(isdigit(ch=getc(xpmfile))) ^ image.cc: In member function 'void Xpm::getdata()': image.cc:637:26: error: 'getc' was not declared in this scope while((ch=getc(xpmfile))!='"') ^ image.cc:647:26: error: 'getc' was not declared in this scope while((ch=getc(xpmfile))!='\n') ^ image.cc: In member function 'void Xpm::seek(char)': image.cc:660:20: error: 'getc' was not declared in this scope while(getc(xpmfile)!=ch); ^ *** [image.o] Error code 1 bmake: stopped in /home/pbulk/build/textproc/stardic/work/dic --- trans.o --- trans.cc:112:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL}; ^ trans.cc:112:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:112:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:112:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NULL}; ^ trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc:128:6: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] trans.cc: In member function 'void UserWin::vClearText()': trans.cc:1115:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] XmTextFieldSetString(wWordText,""); ^ trans.cc: In member function 'Boolean Libs::bMakeRule(const char*, char*, int)': trans.cc:1333:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *sOneAnyChar="[!-~]"; ^ trans.cc:1334:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *sAnyChar="[!-~]*"; ^ trans.cc: In member function 'void Selection::vSelectionReceived(char*, int)': trans.cc:1481:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] MSARegExp reg("[A-Za-z_]+"); ^ trans.cc: In member function 'void AppFrame::vInit(int, char**)': trans.cc:2478:17: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] fallback[10] = "*fontList:9x15bold=English,hz16ft=Chinese,yb10x20=YB"; ^ trans.cc:2487:78: warning: deprecated conversion from string constant to 'String {aka char*}' [-Wwrite-strings] DELETE_WIN=XmInternAtom(XtDisplay(wToplevel),"WM_DELETE_WINDOW",False); ^ trans.cc: In function '__XmStringRec* xmsCreateChinese(const char*)': trans.cc:2638:57: warning: deprecated conversion from string constant to 'XmStringCharSet {aka char*}' [-Wwrite-strings] XmString xmsResult=XmStringCreateLtoR(sResult,"Chinese"); ^ trans.cc: In function '__XmStringRec* xmsGetYB(const char*)': trans.cc:2647:56: warning: deprecated conversion from string constant to 'XmStringCharSet {aka char*}' [-Wwrite-strings] return(XmStringCreateLtoR((char *)sMessage,"YB")); ^ trans.cc: In static member function 'static void AD::vCallNetscape(Widget, XtPointer, XtPointer)': trans.cc:738:18: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(sCommand); ^ trans.cc: In member function 'Boolean Lib::bLookup(const char*, int*)': trans.cc:323:20: warning: 'iThisIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] *pIndex=iThisIndex; ^ 1 error bmake: stopped in /home/pbulk/build/textproc/stardic/work/dic *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/stardic *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/textproc/stardic