+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xephem-4.2.0/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xephem-4.2.0/work.log ===> Building for xephem-4.2.0 cd ../../libastro; make make[1]: Entering directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libastro' gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o aa_hadec.o aa_hadec.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o aberration.o aberration.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o actan.o actan.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o airmass.o airmass.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o anomaly.o anomaly.c anomaly.c:9:9: warning: "TWOPI" redefined 9 | #define TWOPI (2*PI) | ^~~~~ In file included from anomaly.c:6: astro.h:11:9: note: this is the location of the previous definition 11 | #define TWOPI 6.283185307179586477 | ^~~~~ gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ap_as.o ap_as.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o atlas.o atlas.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o auxil.o auxil.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o bdl.o bdl.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o chap95.o chap95.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o chap95_data.o chap95_data.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o circum.o circum.c circum.c: In function 'obj_hyperbolic': circum.c:426:16: warning: variable 'a' set but not used [-Wunused-but-set-variable] 426 | double a; /* mean distance */ | ^ gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o comet.o comet.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o constel.o constel.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o dbfmt.o dbfmt.c In function 'crack_name', inlined from 'db_crack_line' at dbfmt.c:137:10: dbfmt.c:789:9: warning: 'strncpy' output may be truncated copying 20 bytes from a string of length 511 [-Wstringop-truncation] 789 | strncpy (op->o_name, sflds[0], MAXNM-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o deep.o deep.c deep.c: In function 'dpinit': deep.c:165:58: warning: variable 'ZMO' set but not used [-Wunused-but-set-variable] 165 | ZCOSG, ZCOSGL, ZCOSH, ZCOSHL, ZCOSI, ZCOSIL, ZE, ZMO, ZN, ZSING, | ^~~ gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o deltat.o deltat.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o earthsat.o earthsat.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o eq_ecl.o eq_ecl.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o eq_gal.o eq_gal.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o formats.o formats.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o helio.o helio.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jupmoon.o jupmoon.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o libration.o libration.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o magdecl.o magdecl.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o marsmoon.o marsmoon.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o misc.o misc.c misc.c: In function 'obj_description': misc.c:143:38: warning: '%7s' directive writing between 7 and 20 bytes into a region of size 8 [-Wformat-overflow=] 143 | sprintf (nsstr, "Moon of %7s", biop[op->pl_code].o_name); | ^~~ misc.c:143:13: note: 'sprintf' output between 16 and 29 bytes into a destination of size 16 143 | sprintf (nsstr, "Moon of %7s", biop[op->pl_code].o_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o mjd.o mjd.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o moon.o moon.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o mooncolong.o mooncolong.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o moonnf.o moonnf.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o nutation.o nutation.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o obliq.o obliq.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o parallax.o parallax.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o parallactic.o parallactic.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o plans.o plans.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o plmoon.o plmoon.c plmoon.c: In function 'plmoon_cir': plmoon.c:126:9: warning: case value '11' not in enumerated type 'PLCode' [-Wswitch] 126 | case DEIMOS: | ^~~~ plmoon.c:141:9: warning: case value '12' not in enumerated type 'PLCode' [-Wswitch] 141 | case IO: | ^~~~ plmoon.c:142:9: warning: case value '13' not in enumerated type 'PLCode' [-Wswitch] 142 | case EUROPA: | ^~~~ plmoon.c:143:9: warning: case value '14' not in enumerated type 'PLCode' [-Wswitch] 143 | case GANYMEDE: | ^~~~ plmoon.c:144:9: warning: case value '15' not in enumerated type 'PLCode' [-Wswitch] 144 | case CALLISTO: | ^~~~ plmoon.c:161:9: warning: case value '16' not in enumerated type 'PLCode' [-Wswitch] 161 | case MIMAS: | ^~~~ plmoon.c:162:9: warning: case value '17' not in enumerated type 'PLCode' [-Wswitch] 162 | case ENCELADUS: | ^~~~ plmoon.c:163:9: warning: case value '18' not in enumerated type 'PLCode' [-Wswitch] 163 | case TETHYS: | ^~~~ plmoon.c:164:9: warning: case value '19' not in enumerated type 'PLCode' [-Wswitch] 164 | case DIONE: | ^~~~ plmoon.c:165:9: warning: case value '20' not in enumerated type 'PLCode' [-Wswitch] 165 | case RHEA: | ^~~~ plmoon.c:166:9: warning: case value '21' not in enumerated type 'PLCode' [-Wswitch] 166 | case TITAN: | ^~~~ plmoon.c:167:9: warning: case value '22' not in enumerated type 'PLCode' [-Wswitch] 167 | case HYPERION: | ^~~~ plmoon.c:168:9: warning: case value '23' not in enumerated type 'PLCode' [-Wswitch] 168 | case IAPETUS: | ^~~~ plmoon.c:185:9: warning: case value '24' not in enumerated type 'PLCode' [-Wswitch] 185 | case ARIEL: | ^~~~ plmoon.c:186:9: warning: case value '25' not in enumerated type 'PLCode' [-Wswitch] 186 | case UMBRIEL: | ^~~~ plmoon.c:187:9: warning: case value '26' not in enumerated type 'PLCode' [-Wswitch] 187 | case TITANIA: | ^~~~ plmoon.c:188:9: warning: case value '27' not in enumerated type 'PLCode' [-Wswitch] 188 | case OBERON: | ^~~~ plmoon.c:189:9: warning: case value '28' not in enumerated type 'PLCode' [-Wswitch] 189 | case MIRANDA: | ^~~~ gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o plshadow.o plshadow.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o precess.o precess.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o reduce.o reduce.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o refract.o refract.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o rings.o rings.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o riset.o riset.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o riset_cir.o riset_cir.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o satmoon.o satmoon.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o sdp4.o sdp4.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o sgp4.o sgp4.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o sphcart.o sphcart.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o sun.o sun.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o thetag.o thetag.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o utc_gst.o utc_gst.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o umoon.o umoon.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o twobody.o twobody.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o vsop87.o vsop87.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o vsop87_data.o vsop87_data.c ar rv libastro.a aa_hadec.o aberration.o actan.o airmass.o anomaly.o ap_as.o atlas.o auxil.o bdl.o chap95.o chap95_data.o circum.o comet.o constel.o dbfmt.o deep.o deltat.o earthsat.o eq_ecl.o eq_gal.o formats.o helio.o jupmoon.o libration.o magdecl.o marsmoon.o misc.o mjd.o moon.o mooncolong.o moonnf.o nutation.o obliq.o parallax.o parallactic.o plans.o plmoon.o plshadow.o precess.o reduce.o refract.o rings.o riset.o riset_cir.o satmoon.o sdp4.o sgp4.o sphcart.o sun.o thetag.o utc_gst.o umoon.o twobody.o vsop87.o vsop87_data.o ar: creating libastro.a ar: writing libastro.a a - aa_hadec.o a - aberration.o a - actan.o a - airmass.o a - anomaly.o a - ap_as.o a - atlas.o a - auxil.o a - bdl.o a - chap95.o a - chap95_data.o a - circum.o a - comet.o a - constel.o a - dbfmt.o a - deep.o a - deltat.o a - earthsat.o a - eq_ecl.o a - eq_gal.o a - formats.o a - helio.o a - jupmoon.o a - libration.o a - magdecl.o a - marsmoon.o a - misc.o a - mjd.o a - moon.o a - mooncolong.o a - moonnf.o a - nutation.o a - obliq.o a - parallax.o a - parallactic.o a - plans.o a - plmoon.o a - plshadow.o a - precess.o a - reduce.o a - refract.o a - rings.o a - riset.o a - riset_cir.o a - satmoon.o a - sdp4.o a - sgp4.o a - sphcart.o a - sun.o a - thetag.o a - utc_gst.o a - umoon.o a - twobody.o a - vsop87.o a - vsop87_data.o ranlib libastro.a make[1]: Leaving directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libastro' cd ../../libip; make make[1]: Entering directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libip' gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o explodegif.o explodegif.c explodegif.c: In function 'LoadGIF': explodegif.c:244:15: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 244 | int ch, j, sbsize, cmtlen; | ^~ explodegif.c:269:68: warning: variable 'bg' set but not used [-Wunused-but-set-variable] 269 | int tgLeft, tgTop, tgWidth, tgHeight, cWidth, cHeight, fg, bg; | ^~ explodegif.c:269:64: warning: variable 'fg' set but not used [-Wunused-but-set-variable] 269 | int tgLeft, tgTop, tgWidth, tgHeight, cWidth, cHeight, fg, bg; | ^~ explodegif.c:269:55: warning: variable 'cHeight' set but not used [-Wunused-but-set-variable] 269 | int tgLeft, tgTop, tgWidth, tgHeight, cWidth, cHeight, fg, bg; | ^~~~~~~ explodegif.c:269:47: warning: variable 'cWidth' set but not used [-Wunused-but-set-variable] 269 | int tgLeft, tgTop, tgWidth, tgHeight, cWidth, cHeight, fg, bg; | ^~~~~~ explodegif.c:268:22: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 268 | int j,sbsize,ch; | ^~ gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o fits.o fits.c gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o fsmatch.o fsmatch.c fsmatch.c:528:16: warning: argument 1 of type 'double[4]' with mismatched bound [-Warray-parameter=] 528 | chisqr (double p[4]) | ~~~~~~~^~~~ fsmatch.c:66:29: note: previously declared as 'double[]' 66 | static double chisqr(double p[]); | ~~~~~~~^~~ gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o gaussfit.o gaussfit.c gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o lstsqr.o lstsqr.c lstsqr.c: In function 'amoeba': lstsqr.c:107:42: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 107 | #define GET_PSUM for (j=1;j<=ndim;j++) { for (i=1,sum=0.0;i<=mpts;i++)\ | ^~~ lstsqr.c:122:9: note: in expansion of macro 'GET_PSUM' 122 | GET_PSUM | ^~~~~~~~ lstsqr.c:108:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 108 | sum += p[i][j]; psum[j]=sum;} | ^~~~ lstsqr.c:122:9: note: in expansion of macro 'GET_PSUM' 122 | GET_PSUM | ^~~~~~~~ lstsqr.c:107:42: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 107 | #define GET_PSUM for (j=1;j<=ndim;j++) { for (i=1,sum=0.0;i<=mpts;i++)\ | ^~~ lstsqr.c:160:33: note: in expansion of macro 'GET_PSUM' 160 | GET_PSUM | ^~~~~~~~ lstsqr.c:108:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 108 | sum += p[i][j]; psum[j]=sum;} | ^~~~ lstsqr.c:160:33: note: in expansion of macro 'GET_PSUM' 160 | GET_PSUM | ^~~~~~~~ gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o median.o median.c gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o sqr.o sqr.c gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o stars.o stars.c gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o stats.o stats.c gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o walk.o walk.c gcc -I../libastro -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o wcs.o wcs.c wcs.c: In function 'setWCScache': wcs.c:259:9: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 75 [-Wstringop-truncation] 259 | strncpy (fip->type, typestr+4, sizeof(fip->type)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rv libip.a explodegif.o fits.o fsmatch.o gaussfit.o lstsqr.o median.o sqr.o stars.o stats.o walk.o wcs.o ar: creating libip.a ar: writing libip.a a - explodegif.o a - fits.o a - fsmatch.o a - gaussfit.o a - lstsqr.o a - median.o a - sqr.o a - stars.o a - stats.o a - walk.o a - wcs.o ranlib libip.a make[1]: Leaving directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libip' cd ../../libjpegd; make make[1]: Entering directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libjpegd' gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jcomapi.o jcomapi.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdapimin.o jdapimin.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdapistd.o jdapistd.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdatasrc.o jdatasrc.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdcoefct.o jdcoefct.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdcolor.o jdcolor.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jddctmgr.o jddctmgr.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdhuff.o jdhuff.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdinput.o jdinput.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdmainct.o jdmainct.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdmarker.o jdmarker.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdmaster.o jdmaster.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdmerge.o jdmerge.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdphuff.o jdphuff.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdpostct.o jdpostct.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jdsample.o jdsample.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jerror.o jerror.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jidctflt.o jidctflt.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jidctfst.o jidctfst.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jidctint.o jidctint.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jidctred.o jidctred.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jmemmgr.o jmemmgr.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jmemnobs.o jmemnobs.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jquant1.o jquant1.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jquant2.o jquant2.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jutils.o jutils.c ar r libjpegd.a jcomapi.o jdapimin.o jdapistd.o jdatasrc.o jdcoefct.o jdcolor.o jddctmgr.o jdhuff.o jdinput.o jdmainct.o jdmarker.o jdmaster.o jdmerge.o jdphuff.o jdpostct.o jdsample.o jerror.o jidctflt.o jidctfst.o jidctint.o jidctred.o jmemmgr.o jmemnobs.o jquant1.o jquant2.o jutils.o ar: creating libjpegd.a ranlib libjpegd.a make[1]: Leaving directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libjpegd' cd ../../liblilxml; make make[1]: Entering directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/liblilxml' gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o lilxml.o lilxml.c gcc -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o base64.o base64.c ar r liblilxml.a lilxml.o base64.o ar: creating liblilxml.a ranlib liblilxml.a make[1]: Leaving directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/liblilxml' cd ../../libpng; make make[1]: Entering directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libpng' gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o png.o png.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngerror.o pngerror.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngget.o pngget.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngmem.o pngmem.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngpread.o pngpread.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngread.o pngread.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngrio.o pngrio.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngrtran.o pngrtran.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngrutil.o pngrutil.c pngrutil.c: In function 'png_decompress_chunk.part.0': pngrutil.c:281:70: warning: ' chunk' directive writing 6 bytes into a region of size between 5 and 9 [-Wformat-overflow=] 281 | sprintf(umsg,"Buffer error in compressed datastream in %s chunk", | ^~~~~~ pngrutil.c:281:13: note: 'sprintf' output between 48 and 52 bytes into a destination of size 50 281 | sprintf(umsg,"Buffer error in compressed datastream in %s chunk", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 282 | png_ptr->chunk_name); | ~~~~~~~~~~~~~~~~~~~~ gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngset.o pngset.c In file included from png.h:363, from pngset.c:17: pngset.c: In function 'png_set_unknown_chunks': pngconf.h:1377:23: warning: 'strncpy' specified bound 5 equals destination size [-Wstringop-truncation] 1377 | # define png_strncpy strncpy /* Added to v 1.2.6 */ pngset.c:994:9: note: in expansion of macro 'png_strncpy' 994 | png_strncpy((png_charp)to->name, (png_charp)from->name, 5); | ^~~~~~~~~~~ gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngtrans.o pngtrans.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngwio.o pngwio.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngwrite.o pngwrite.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngwtran.o pngwtran.c gcc -I../libz -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o pngwutil.o pngwutil.c ar rcs libpng.a png.o pngerror.o pngget.o pngmem.o pngpread.o pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o ranlib libpng.a make[1]: Leaving directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libpng' cd ../../libz; make make[1]: Entering directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libz' gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o adler32.o adler32.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o compress.o compress.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o crc32.o crc32.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o uncompr.o uncompr.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o deflate.o deflate.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o trees.o trees.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o zutil.o zutil.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o inflate.o inflate.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o inftrees.o inftrees.c gcc -Wall -O2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o inffast.o inffast.c ar rc libz.a adler32.o compress.o crc32.o uncompr.o deflate.o trees.o zutil.o inflate.o inftrees.o inffast.o ranlib libz.a make[1]: Leaving directory '/home/pbulk/build/x11/xephem/work/XEphem-4.2.0/libz' gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o aavso.o aavso.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o annotmenu.o annotmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o broadcast.o broadcast.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o calmenu.o calmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o closemenu.o closemenu.c closemenu.c: In function 'sky_point': closemenu.c:554:16: warning: 'strncpy' specified bound 21 equals destination size [-Wstringop-truncation] 554 | (void) strncpy (objname, sel+7, sizeof(objname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o compiler.o compiler.c compiler.c: In function 'compiler_log': compiler.c:198:17: warning: the comparison will always evaluate as 'true' for the address of 'v_name' will never be NULL [-Waddress] 198 | if (vp->v_name && strcmp (vp->v_name, name) == 0) | ^~ compiler.c:106:10: note: 'v_name' declared here 106 | char v_name[MAXFLDLEN]; /* name of field */ | ^~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o coordsmenu.o coordsmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o datamenu.o datamenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o db.o db.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o dbmenu.o dbmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o earthmap.o earthmap.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o earthmenu.o earthmenu.c earthmenu.c: In function 'e_motion_eh': earthmenu.c:2054:20: warning: variable 'inwin' set but not used [-Wunused-but-set-variable] 2054 | static int inwin; | ^~~~~ earthmenu.c: In function 'e_drawcontinents': earthmenu.c:4117:43: warning: variable 'lastlg' set but not used [-Wunused-but-set-variable] 4117 | short lastlt = rp->mcp[0].lt, lastlg = rp->mcp[0].lg; | ^~~~~~ earthmenu.c:4117:19: warning: variable 'lastlt' set but not used [-Wunused-but-set-variable] 4117 | short lastlt = rp->mcp[0].lt, lastlg = rp->mcp[0].lg; | ^~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o fallbacks.o fallbacks.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o favmenu.o favmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o formats.o formats.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o fsmenu.o fsmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o gallerymenu.o gallerymenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o glance.o glance.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o gsc.o gsc.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o gscnet.o gscnet.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o helpmenu.o helpmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o homeio.o homeio.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o hznmenu.o hznmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o indimenu.o indimenu.c In function 'crackCharAtt', inlined from 'setTextCmd' at indimenu.c:1164:5: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'setNumberCmd' at indimenu.c:1144:5: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'setSwitchCmd' at indimenu.c:1184:5: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'setLightCmd' at indimenu.c:1204:5: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefSwitchVector' at indimenu.c:3166:6, inlined from 'defSwitchCmd' at indimenu.c:1332:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefSwitchVector' at indimenu.c:3168:6, inlined from 'defSwitchCmd' at indimenu.c:1332:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefSwitchVector' at indimenu.c:3170:6, inlined from 'defSwitchCmd' at indimenu.c:1332:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefSwitchVector' at indimenu.c:3172:6, inlined from 'defSwitchCmd' at indimenu.c:1332:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefSwitchVector' at indimenu.c:3182:6, inlined from 'defSwitchCmd' at indimenu.c:1332:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefSwitchVector' at indimenu.c:3195:7, inlined from 'defSwitchCmd' at indimenu.c:1332:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefSwitchVector' at indimenu.c:3197:7, inlined from 'defSwitchCmd' at indimenu.c:1332:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'setBLOBCmd' at indimenu.c:1224:5: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'handleOneBLOB' at indimenu.c:2484:6, inlined from 'setGUIBLOBVector' at indimenu.c:2445:11, inlined from 'setBLOBCmd' at indimenu.c:1226:10: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefLightVector' at indimenu.c:3231:6, inlined from 'defLightCmd' at indimenu.c:1374:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefLightVector' at indimenu.c:3233:6, inlined from 'defLightCmd' at indimenu.c:1374:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefLightVector' at indimenu.c:3235:6, inlined from 'defLightCmd' at indimenu.c:1374:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefLightVector' at indimenu.c:3237:6, inlined from 'defLightCmd' at indimenu.c:1374:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefLightVector' at indimenu.c:3241:6, inlined from 'defLightCmd' at indimenu.c:1374:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefLightVector' at indimenu.c:3254:7, inlined from 'defLightCmd' at indimenu.c:1374:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefLightVector' at indimenu.c:3256:7, inlined from 'defLightCmd' at indimenu.c:1374:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefBLOBVector' at indimenu.c:3290:6, inlined from 'defBLOBCmd' at indimenu.c:1416:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefBLOBVector' at indimenu.c:3292:6, inlined from 'defBLOBCmd' at indimenu.c:1416:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefBLOBVector' at indimenu.c:3294:6, inlined from 'defBLOBCmd' at indimenu.c:1416:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefBLOBVector' at indimenu.c:3296:6, inlined from 'defBLOBCmd' at indimenu.c:1416:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefBLOBVector' at indimenu.c:3304:6, inlined from 'defBLOBCmd' at indimenu.c:1416:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefBLOBVector' at indimenu.c:3317:7, inlined from 'defBLOBCmd' at indimenu.c:1416:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefBLOBVector' at indimenu.c:3319:7, inlined from 'defBLOBCmd' at indimenu.c:1416:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefTextVector' at indimenu.c:3104:6, inlined from 'defTextCmd' at indimenu.c:1248:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefTextVector' at indimenu.c:3106:6, inlined from 'defTextCmd' at indimenu.c:1248:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefTextVector' at indimenu.c:3108:6, inlined from 'defTextCmd' at indimenu.c:1248:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefTextVector' at indimenu.c:3110:6, inlined from 'defTextCmd' at indimenu.c:1248:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefTextVector' at indimenu.c:3118:6, inlined from 'defTextCmd' at indimenu.c:1248:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefTextVector' at indimenu.c:3131:7, inlined from 'defTextCmd' at indimenu.c:1248:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefTextVector' at indimenu.c:3133:7, inlined from 'defTextCmd' at indimenu.c:1248:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefNumberVector' at indimenu.c:3034:6, inlined from 'defNumberCmd' at indimenu.c:1290:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefNumberVector' at indimenu.c:3036:6, inlined from 'defNumberCmd' at indimenu.c:1290:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefNumberVector' at indimenu.c:3038:6, inlined from 'defNumberCmd' at indimenu.c:1290:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefNumberVector' at indimenu.c:3040:6, inlined from 'defNumberCmd' at indimenu.c:1290:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefNumberVector' at indimenu.c:3048:6, inlined from 'defNumberCmd' at indimenu.c:1290:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefNumberVector' at indimenu.c:3061:7, inlined from 'defNumberCmd' at indimenu.c:1290:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefNumberVector' at indimenu.c:3063:7, inlined from 'defNumberCmd' at indimenu.c:1290:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ In function 'crackCharAtt', inlined from 'crackdefNumberVector' at indimenu.c:3065:7, inlined from 'defNumberCmd' at indimenu.c:1290:13: indimenu.c:2895:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 2895 | strncpy (vp, p, maxl); | ^~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o imregmenu.o imregmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jpeg2pm.o jpeg2pm.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o jupmenu.o jupmenu.c jupmenu.c: In function 'jm_timage': jupmenu.c:2053:42: warning: variable 'ca' set but not used [-Wunused-but-set-variable] 2053 | double tvc, pvc, theta, phi, sa, ca; | ^~ jupmenu.c: In function 'jm_ps_annotate': jupmenu.c:1693:46: warning: '%s' directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=] 1693 | sprintf(dir,"(XEphem Jupiter View at %s %s %s, JD %13.5f) %d %d cstr\n", | ^~ 1694 | buf, buf2, bp, mjd+MJD0, ctrx, y); | ~~~ jupmenu.c:1693:9: note: 'sprintf' output between 60 and 656 bytes into a destination of size 256 1693 | sprintf(dir,"(XEphem Jupiter View at %s %s %s, JD %13.5f) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1694 | buf, buf2, bp, mjd+MJD0, ctrx, y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1705:27: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1705 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, y); | ^~ jupmenu.c:1705:9: note: 'sprintf' output between 17 and 272 bytes into a destination of size 256 1705 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1727:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1727 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, AROWY(PRTR-4)); | ^~ jupmenu.c:1727:13: note: 'sprintf' output between 17 and 272 bytes into a destination of size 256 1727 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, AROWY(PRTR-4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1743:27: warning: ' Moon Positions, XYZ in Jupi...' directive writing 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1743 | sprintf (dir, "(%s Moon Positions, XYZ in Jupiter radii) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1743:9: note: 'sprintf' output between 54 and 309 bytes into a destination of size 256 1743 | sprintf (dir, "(%s Moon Positions, XYZ in Jupiter radii) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1744 | buf, ctrx,y); | ~~~~~~~~~~~~ jupmenu.c:1759:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1759 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1759:17: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 1759 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1770:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1770 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1770:27: note: directive argument in the range [-2147483573, 2147483647] 1770 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1770:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1770 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1857:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1857 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1857:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1857 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1867:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1867 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1867:27: note: directive argument in the range [-2147483571, 2147483647] 1867 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1867:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1867 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1876:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1876 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1876:27: note: directive argument in the range [-2147483494, 2147483647] 1876 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1876:27: note: directive argument in the range [117, 153] jupmenu.c:1876:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1876 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1759:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1759 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1759:31: note: directive argument in the range [117, 144] 1759 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1759:17: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 1759 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1770:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1770 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1770:27: note: directive argument in the range [-2147483573, 2147483647] 1770 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1770:27: note: directive argument in the range [117, 144] jupmenu.c:1770:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1770 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1780:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1780 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1780:31: note: directive argument in the range [117, 144] 1780 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1780:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1780 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1791:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1791 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1791:31: note: directive argument in the range [117, 144] 1791 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1791:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1791 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1802:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1802 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1802:31: note: directive argument in the range [117, 144] 1802 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1802:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1802 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1813:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1813 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1813:31: note: directive argument in the range [117, 144] 1813 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1813:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1813 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1824:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1824 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1824:31: note: directive argument in the range [117, 144] 1824 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1824:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1824 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1835:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1835 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1835:31: note: directive argument in the range [117, 144] 1835 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1835:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1835 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1846:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1846 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1846:31: note: directive argument in the range [117, 144] 1846 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1846:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1846 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1857:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1857 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1857:27: note: directive argument in the range [117, 144] 1857 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1857:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1857 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c:1867:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1867 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ jupmenu.c:1867:27: note: directive argument in the range [-2147483571, 2147483647] 1867 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ jupmenu.c:1867:27: note: directive argument in the range [117, 144] jupmenu.c:1867:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1867 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c: In function 'jm_da_input_cb': jupmenu.c:1475:42: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 1475 | (void) sprintf (buf2, " RA: %s", buf); | ^~ ~~~ In function 'jm_fill_popup', inlined from 'jm_da_input_cb' at jupmenu.c:1413:2, inlined from 'jm_da_input_cb' at jupmenu.c:1379:1: jupmenu.c:1475:20: note: 'sprintf' output between 7 and 70 bytes into a destination of size 64 1475 | (void) sprintf (buf2, " RA: %s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jupmenu.c: In function 'jm_da_input_cb': jupmenu.c:1481:42: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 1481 | (void) sprintf (buf2, " Dec: %s", buf); | ^~ ~~~ In function 'jm_fill_popup', inlined from 'jm_da_input_cb' at jupmenu.c:1413:2, inlined from 'jm_da_input_cb' at jupmenu.c:1379:1: jupmenu.c:1481:20: note: 'sprintf' output between 7 and 70 bytes into a destination of size 64 1481 | (void) sprintf (buf2, " Dec: %s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o listmenu.o listmenu.c listmenu.c: In function 'lst_add': listmenu.c:649:16: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 649 | (void) strncpy (lstflds[nlstflds].l_name, name, MAXFLDNAM); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o mainmenu.o mainmenu.c mainmenu.c: In function 'mm_setsite': mainmenu.c:568:30: warning: '%s' directive writing up to 63 bytes into a region of size 61 [-Wformat-overflow=] 568 | sprintf (envbuf, "TZ=%s", sp->si_tzdefn); | ^~ mainmenu.c:568:9: note: 'sprintf' output between 4 and 67 bytes into a destination of size 64 568 | sprintf (envbuf, "TZ=%s", sp->si_tzdefn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o marsmenu.o marsmenu.c marsmenu.c: In function 'm_readFeatures': marsmenu.c:2315:13: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 127 [-Wstringop-truncation] 2315 | strncpy(mfp->name, name, sizeof(mfp->name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o marsmmenu.o marsmmenu.c marsmmenu.c: In function 'marsm_ps_annotate': marsmmenu.c:1555:44: warning: '%s' directive writing up to 255 bytes into a region of size 235 [-Wformat-overflow=] 1555 | sprintf (dir,"(XEphem Mars View at %s %s %s, JD %13.5f) %d %d cstr\n", | ^~ 1556 | buf, buf2, bp, mjd+MJD0, ctrx, y); | ~~~ marsmmenu.c:1555:9: note: 'sprintf' output between 57 and 653 bytes into a destination of size 256 1555 | sprintf (dir,"(XEphem Mars View at %s %s %s, JD %13.5f) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1556 | buf, buf2, bp, mjd+MJD0, ctrx, y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1578:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1578 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, AROWY(PRTR-4)); | ^~ marsmmenu.c:1578:13: note: 'sprintf' output between 17 and 272 bytes into a destination of size 256 1578 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, AROWY(PRTR-4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1594:27: warning: ' Moon Positions, XYZ in Mart...' directive writing 39 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1594 | sprintf (dir, "(%s Moon Positions, XYZ in Martian radii) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1594:9: note: 'sprintf' output between 54 and 309 bytes into a destination of size 256 1594 | sprintf (dir, "(%s Moon Positions, XYZ in Martian radii) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1595 | buf, ctrx,y); | ~~~~~~~~~~~~ marsmmenu.c:1609:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1609 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1609:17: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 1609 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1620:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1620 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1620:27: note: directive argument in the range [-2147483583, 2147483647] 1620 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1620:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1620 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1707:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1707 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1707:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1707 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1717:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1717 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1717:27: note: directive argument in the range [-2147483571, 2147483647] 1717 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1717:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1717 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1726:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1726 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1726:27: note: directive argument in the range [-2147483494, 2147483647] 1726 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1726:27: note: directive argument in the range [171, 189] marsmmenu.c:1726:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1726 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1609:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1609 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1609:31: note: directive argument in the range [171, 180] 1609 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1609:17: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 1609 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1620:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1620 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1620:27: note: directive argument in the range [-2147483583, 2147483647] 1620 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1620:27: note: directive argument in the range [171, 180] marsmmenu.c:1620:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1620 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1630:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1630 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1630:31: note: directive argument in the range [171, 180] 1630 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1630:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1630 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1641:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1641 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1641:31: note: directive argument in the range [171, 180] 1641 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1641:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1641 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1652:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1652 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1652:31: note: directive argument in the range [171, 180] 1652 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1652:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1652 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1663:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1663 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1663:31: note: directive argument in the range [171, 180] 1663 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1663:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1663 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1674:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1674 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1674:31: note: directive argument in the range [171, 180] 1674 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1674:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1674 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1685:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1685 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1685:31: note: directive argument in the range [171, 180] 1685 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1685:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1685 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1696:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1696 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1696:31: note: directive argument in the range [171, 180] 1696 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1696:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1696 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1707:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1707 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1707:27: note: directive argument in the range [171, 180] 1707 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1707:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1707 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c:1717:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1717 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ marsmmenu.c:1717:27: note: directive argument in the range [-2147483571, 2147483647] 1717 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ marsmmenu.c:1717:27: note: directive argument in the range [171, 180] marsmmenu.c:1717:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1717 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c: In function 'marsm_da_input_cb': marsmmenu.c:1337:42: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 1337 | (void) sprintf (buf2, " RA: %s", buf); | ^~ ~~~ In function 'marsm_fill_popup', inlined from 'marsm_da_input_cb' at marsmmenu.c:1277:2, inlined from 'marsm_da_input_cb' at marsmmenu.c:1243:1: marsmmenu.c:1337:20: note: 'sprintf' output between 7 and 70 bytes into a destination of size 64 1337 | (void) sprintf (buf2, " RA: %s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ marsmmenu.c: In function 'marsm_da_input_cb': marsmmenu.c:1343:42: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 1343 | (void) sprintf (buf2, " Dec: %s", buf); | ^~ ~~~ In function 'marsm_fill_popup', inlined from 'marsm_da_input_cb' at marsmmenu.c:1277:2, inlined from 'marsm_da_input_cb' at marsmmenu.c:1243:1: marsmmenu.c:1343:20: note: 'sprintf' output between 7 and 70 bytes into a destination of size 64 1343 | (void) sprintf (buf2, " Dec: %s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o moonmenu.o moonmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o moviemenu.o moviemenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o msgmenu.o msgmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o netmenu.o netmenu.c netmenu.c: In function 'string_to_base64': netmenu.c:159:31: warning: variable 'len2' set but not used [-Wunused-but-set-variable] 159 | int len=strlen(plain),len2=0; | ^~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o objmenu.o objmenu.c objmenu.c: In function 'obj_setinfo': objmenu.c:502:51: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 502 | strncpy (tbuf, op->f_spect, sizeof(op->f_spect)); | ^ objmenu.c:526:52: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 526 | strncpy (tbuf, op->b_2spect, sizeof(op->b_2spect)); | ^ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o obslog.o obslog.c In function 'mstrcat', inlined from 'printHeadings' at obslog.c:761:10, inlined from 'ol_listLB' at obslog.c:687:2: obslog.c:711:9: warning: 'strncpy' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation] 711 | strncpy (newdst+dl, src, sl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'mstrcat', inlined from 'printHeadings' at obslog.c:769:10, inlined from 'ol_listLB' at obslog.c:687:2: obslog.c:711:9: warning: 'strncpy' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation] 711 | strncpy (newdst+dl, src, sl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'mstrcat', inlined from 'printEntry' at obslog.c:796:10, inlined from 'ol_listLB' at obslog.c:691:6: obslog.c:711:9: warning: 'strncpy' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation] 711 | strncpy (newdst+dl, src, sl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'mstrcat', inlined from 'printEntry' at obslog.c:804:14, inlined from 'ol_listLB' at obslog.c:691:6: obslog.c:711:9: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 711 | strncpy (newdst+dl, src, sl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'mstrcat', inlined from 'printEntry' at obslog.c:811:11, inlined from 'ol_listLB' at obslog.c:691:6: obslog.c:711:9: warning: 'strncpy' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation] 711 | strncpy (newdst+dl, src, sl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'mstrcat', inlined from 'printEntry' at obslog.c:808:15, inlined from 'ol_listLB' at obslog.c:691:6: obslog.c:711:9: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 711 | strncpy (newdst+dl, src, sl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o patchlevel.o patchlevel.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o plot_aux.o plot_aux.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o plotmenu.o plotmenu.c plotmenu.c: In function 'plt_try_turn_on': plotmenu.c:860:35: warning: '%s' directive writing up to 1023 bytes into a region of size 256 [-Wformat-overflow=] 860 | (void) sprintf (buf, "%s exists:\nAppend or Overwrite?", fn); | ^~ plotmenu.c:860:20: note: 'sprintf' output between 30 and 1053 bytes into a destination of size 256 860 | (void) sprintf (buf, "%s exists:\nAppend or Overwrite?", fn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o preferences.o preferences.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o progress.o progress.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ps.o ps.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o query.o query.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o rotated.o rotated.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o satmenu.o satmenu.c satmenu.c: In function 'sm_ps_annotate': satmenu.c:1649:46: warning: '%s' directive writing up to 1023 bytes into a region of size 233 [-Wformat-overflow=] 1649 | sprintf (dir,"(XEphem Saturn View at %s %s %s, JD %13.5f) %d %d cstr\n", | ^~ 1650 | buf, buf2, bp, mjd+MJD0, ctrx, y); | ~~~ satmenu.c:1649:9: note: 'sprintf' output between 59 and 1423 bytes into a destination of size 256 1649 | sprintf (dir,"(XEphem Saturn View at %s %s %s, JD %13.5f) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1650 | buf, buf2, bp, mjd+MJD0, ctrx, y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1658:25: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1658 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, y); | ^~ ~~~ satmenu.c:1658:9: note: 'sprintf' output between 17 and 1040 bytes into a destination of size 256 1658 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1680:29: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1680 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, AROWY(PRTR-4)); | ^~ ~~~ satmenu.c:1680:13: note: 'sprintf' output between 17 and 1040 bytes into a destination of size 256 1680 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, AROWY(PRTR-4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1696:25: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1696 | sprintf (dir, "(%s Moon Positions, XYZ in Saturn radii) %d %d cstr\n", | ^~ 1697 | buf, ctrx,y); | ~~~ satmenu.c:1696:9: note: 'sprintf' output between 53 and 1076 bytes into a destination of size 256 1696 | sprintf (dir, "(%s Moon Positions, XYZ in Saturn radii) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1697 | buf, ctrx,y); | ~~~~~~~~~~~~ satmenu.c:1711:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1711 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1711:17: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 256 1711 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1722:29: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1722 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1722:27: note: directive argument in the range [-2147483583, 2147483647] 1722 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1722:13: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1722 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1809:29: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1809 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1809:27: note: directive argument in the range [-2147483480, 2147483647] 1809 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1809:13: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1809 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1819:29: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1819 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1819:27: note: directive argument in the range [-2147483403, 2147483647] 1819 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1819:13: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1819 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1828:29: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1828 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1828:27: note: directive argument in the range [-2147483494, 2147483647] 1828 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1828:27: note: directive argument in the range [117, 189] satmenu.c:1828:13: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1828 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1711:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1711 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1711:31: note: directive argument in the range [117, 180] 1711 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1711:17: note: 'sprintf' output between 16 and 1039 bytes into a destination of size 256 1711 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1722:29: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1722 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1722:27: note: directive argument in the range [-2147483583, 2147483647] 1722 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1722:27: note: directive argument in the range [117, 180] satmenu.c:1722:13: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1722 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1732:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1732 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1732:31: note: directive argument in the range [117, 180] 1732 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1732:17: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1732 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1743:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1743 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1743:31: note: directive argument in the range [117, 180] 1743 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1743:17: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1743 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1754:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1754 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1754:31: note: directive argument in the range [117, 180] 1754 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1754:17: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1754 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1765:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1765 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1765:31: note: directive argument in the range [117, 180] 1765 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1765:17: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1765 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1776:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1776 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1776:31: note: directive argument in the range [117, 180] 1776 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1776:17: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1776 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1787:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1787 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1787:31: note: directive argument in the range [117, 180] 1787 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1787:17: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1787 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1798:33: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1798 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1798:31: note: directive argument in the range [117, 180] 1798 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1798:17: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1798 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1809:29: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1809 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1809:27: note: directive argument in the range [117, 180] 1809 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1809:13: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1809 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c:1819:29: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 1819 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ ~~~ satmenu.c:1819:27: note: directive argument in the range [-2147483571, 2147483647] 1819 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ satmenu.c:1819:27: note: directive argument in the range [117, 180] satmenu.c:1819:13: note: 'sprintf' output between 15 and 1048 bytes into a destination of size 256 1819 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c: In function 'sm_da_input_cb': satmenu.c:1431:42: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 1431 | (void) sprintf (buf2, " RA: %s", buf); | ^~ ~~~ In function 'sm_fill_popup', inlined from 'sm_da_input_cb' at satmenu.c:1369:2, inlined from 'sm_da_input_cb' at satmenu.c:1335:1: satmenu.c:1431:20: note: 'sprintf' output between 7 and 70 bytes into a destination of size 64 1431 | (void) sprintf (buf2, " RA: %s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ satmenu.c: In function 'sm_da_input_cb': satmenu.c:1437:42: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 1437 | (void) sprintf (buf2, " Dec: %s", buf); | ^~ ~~~ In function 'sm_fill_popup', inlined from 'sm_da_input_cb' at satmenu.c:1369:2, inlined from 'sm_da_input_cb' at satmenu.c:1335:1: satmenu.c:1437:20: note: 'sprintf' output between 7 and 70 bytes into a destination of size 64 1437 | (void) sprintf (buf2, " Dec: %s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o saveres.o saveres.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o scope.o scope.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o sites.o sites.c sites.c: In function 'read_file': sites.c:678:20: warning: 'strncpy' output may be truncated copying 63 bytes from a string of length 127 [-Wstringop-truncation] 678 | (void) strncpy (sp->si_tzdefn, tzdefn, sizeof(sp->si_tzdefn)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sites.c:679:20: warning: 'strncpy' output may be truncated copying 39 bytes from a string of length 511 [-Wstringop-truncation] 679 | (void) strncpy (sp->si_name, name, sizeof(sp->si_name)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:932:24: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ sites.c: In function 'buildNewSite': sites.c:932:9: warning: 'strncpy' output may be truncated copying 39 bytes from a string of length 127 [-Wstringop-truncation] 932 | strncpy (sp->si_name, getTF(nsn_w,buf,bl), sizeof(sp->si_name)-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:938:14: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:941:14: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:944:32: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:948:8: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ sites.c: In function 'buildNewSite': sites.c:948:15: warning: '%s' directive writing up to 127 bytes into a region of size 64 [-Wformat-overflow=] 948 | zl += sprintf (sp->si_tzdefn+zl, "%s", nows(getTF(nzn_w,buf,bl))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sites.c:948:15: note: 'sprintf' output between 1 and 128 bytes into a destination of size 64 948 | zl += sprintf (sp->si_tzdefn+zl, "%s", nows(getTF(nzn_w,buf,bl))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:950:14: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ sites.c: In function 'buildNewSite': sites.c:953:15: warning: '%s' directive writing up to 127 bytes into a region of size 64 [-Wformat-overflow=] 953 | zl += sprintf (sp->si_tzdefn+zl, "%s", nows(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sites.c:953:15: note: 'sprintf' output between 1 and 128 bytes into a destination of size 64 953 | zl += sprintf (sp->si_tzdefn+zl, "%s", nows(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:957:7: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:961:18: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ sites.c: In function 'buildNewSite': sites.c:964:19: warning: '%s' directive writing up to 127 bytes into a region of size 64 [-Wformat-overflow=] 964 | zl += sprintf (sp->si_tzdefn+zl, "%s", nows(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sites.c:964:19: note: 'sprintf' output between 1 and 128 bytes into a destination of size 64 964 | zl += sprintf (sp->si_tzdefn+zl, "%s", nows(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:970:18: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ sites.c: In function 'buildNewSite': sites.c:973:23: warning: '%s' directive writing up to 127 bytes into a region of size 63 [-Wformat-overflow=] 973 | zl += sprintf (sp->si_tzdefn+zl, "/%s", nows(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sites.c:973:23: note: 'sprintf' output between 2 and 129 bytes into a destination of size 64 973 | zl += sprintf (sp->si_tzdefn+zl, "/%s", nows(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'getTF', inlined from 'buildNewSite' at sites.c:978:18: sites.c:1000:9: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 1000 | strncpy (buf, txt, bl); | ^~~~~~~~~~~~~~~~~~~~~~ sites.c: In function 'buildNewSite': sites.c:981:23: warning: '%s' directive writing up to 127 bytes into a region of size 63 [-Wformat-overflow=] 981 | zl += sprintf (sp->si_tzdefn+zl, "/%s", nows(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sites.c:981:23: note: 'sprintf' output between 2 and 129 bytes into a destination of size 64 981 | zl += sprintf (sp->si_tzdefn+zl, "/%s", nows(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skybinary.o skybinary.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skyeyep.o skyeyep.c skyeyep.c: In function 'se_addFavEyeP': skyeyep.c:1558:31: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 31 [-Wformat-overflow=] 1558 | sprintf (buf, "%s %s %c %c", wstr, hstr, | ^~ ~~~~ skyeyep.c:1558:13: note: 'sprintf' output between 7 and 69 bytes into a destination of size 32 1558 | sprintf (buf, "%s %s %c %c", wstr, hstr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1559 | fp->isE ? 'E' : 'R', fp->isS ? 'S' : 'O'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skyfifos.o skyfifos.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skyfiltmenu.o skyfiltmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skyfits.o skyfits.c skyfits.c: In function 'sf_readFile.isra': skyfits.c:270:34: warning: '%s' directive writing up to 2047 bytes into a region of size 2044 [-Wformat-overflow=] 270 | sprintf (cmd, "cp %s %s; fdecompress -r %s", fn, tmp, tmp); | ^~ ~~~ In function 'prepOpen', inlined from 'sf_readFile.isra' at skyfits.c:304:7: skyfits.c:270:13: note: 'sprintf' output 22 or more bytes (assuming 4116) into a destination of size 2048 270 | sprintf (cmd, "cp %s %s; fdecompress -r %s", fn, tmp, tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyfits.c: In function 'sf_readFile.isra': skyfits.c:273:52: warning: '%s' directive writing up to 2047 bytes into a region of size 1007 [-Wformat-overflow=] 273 | sprintf (errmsg, "Can not execute `%s' ", cmd); | ^~ ~~~ In function 'prepOpen', inlined from 'sf_readFile.isra' at skyfits.c:304:7: skyfits.c:273:17: note: 'sprintf' output between 20 and 2067 bytes into a destination of size 1024 273 | sprintf (errmsg, "Can not execute `%s' ", cmd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skyhist.o skyhist.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skyip.o skyip.c skyip.c: In function 'si_createdialog': skyip.c:2183:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2183 | if (XmToggleButtonGetState(glrow_w)) | ^~ skyip.c:2190:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2190 | n = 0; | ^ skyip.c:2200:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2200 | if (XmToggleButtonGetState(glcol_w)) | ^~ skyip.c:2203:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2203 | n = 0; | ^ skyip.c: In function 'si_motion_eh': skyip.c:2613:22: warning: variable 'b1r' set but not used [-Wunused-but-set-variable] 2613 | int m1, b1p, b1r; | ^~~ skyip.c: In function 'printImageStats': skyip.c:1163:29: warning: ' Max: ' directive writing 9 bytes into a region of size between 0 and 1024 [-Wformat-overflow=] 1163 | sprintf (buf, "%*s%s\n Max: %5d at:%4d,%4d\n Min: %5d Mean: %8.1f\nMedian: %5d StDev: %8.1f", | ^~~~~~~~~~ skyip.c:1163:23: note: directive argument in the range [0, 65535] 1163 | sprintf (buf, "%*s%s\n Max: %5d at:%4d,%4d\n Min: %5d Mean: %8.1f\nMedian: %5d StDev: %8.1f", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyip.c:1163:23: note: directive argument in the range [0, 65535] skyip.c:1163:23: note: directive argument in the range [0, 65535] skyip.c:1163:9: note: 'sprintf' output between 91 and 1073743560 bytes into a destination of size 1024 1163 | sprintf (buf, "%*s%s\n Max: %5d at:%4d,%4d\n Min: %5d Mean: %8.1f\nMedian: %5d StDev: %8.1f", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1164 | (columns-centerl)/2, "", center, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1165 | wims.max, wims.maxatx, wims.maxaty, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1166 | wims.min, wims.mean, | ~~~~~~~~~~~~~~~~~~~~ 1167 | wims.median, wims.std); | ~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skylist.o skylist.c skylist.c: In function 'sl_so_cb': skylist.c:668:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 668 | sprintf (buf, "%d", nsortorder); | ^~ skylist.c:668:23: note: directive argument in the range [-2147483647, 2147483647] 668 | sprintf (buf, "%d", nsortorder); | ^~~~ skylist.c:668:9: note: 'sprintf' output between 2 and 12 bytes into a destination of size 10 668 | sprintf (buf, "%d", nsortorder); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skylist.c: In function 'sl_sort': skylist.c:1326:36: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1326 | l = sprintf (buf, "%s\n", lbuf); | ^ In function 'fill_edbfmt', inlined from 'sl_sort' at skylist.c:1528:6: skylist.c:1326:17: note: 'sprintf' output between 2 and 257 bytes into a destination of size 256 1326 | l = sprintf (buf, "%s\n", lbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ skylist.c: In function 'sl_sort': skylist.c:1513:13: warning: 'strncpy' specified bound 30 equals destination size [-Wstringop-truncation] 1513 | strncpy (lp->ura, um_atlas(op->s_ra, op->s_dec), sizeof(lp->ura)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skylist.c:1514:13: warning: 'strncpy' specified bound 30 equals destination size [-Wstringop-truncation] 1514 | strncpy (lp->u2k, u2k_atlas(op->s_ra, op->s_dec), sizeof(lp->u2k)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skylist.c:1515:13: warning: 'strncpy' specified bound 30 equals destination size [-Wstringop-truncation] 1515 | strncpy (lp->msa, msa_atlas(op->s_ra, op->s_dec), sizeof(lp->msa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skytoolbar.o skytoolbar.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o skyviewmenu.o skyviewmenu.c skyviewmenu.c: In function 'sv_riset': skyviewmenu.c:6213:38: warning: '%s' directive writing up to 63 bytes into a region of size 51 [-Wformat-overflow=] 6213 | (void) sprintf (buf2, "%*s: %s", PUTW, "Rise at", buf1); | ^~ ~~~~ skyviewmenu.c:6213:16: note: 'sprintf' output between 14 and 77 bytes into a destination of size 64 6213 | (void) sprintf (buf2, "%*s: %s", PUTW, "Rise at", buf1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyviewmenu.c:6217:38: warning: '%s' directive writing up to 63 bytes into a region of size 51 [-Wformat-overflow=] 6217 | (void) sprintf (buf2, "%*s: %s", PUTW, "Trans at", buf1); | ^~ ~~~~ skyviewmenu.c:6217:16: note: 'sprintf' output between 14 and 77 bytes into a destination of size 64 6217 | (void) sprintf (buf2, "%*s: %s", PUTW, "Trans at", buf1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyviewmenu.c:6221:37: warning: '%s' directive writing up to 63 bytes into a region of size 52 [-Wformat-overflow=] 6221 | (void) sprintf (buf2, "%*s: %s", PUTW, "Trans alt", buf1); | ^~ ~~~~ skyviewmenu.c:6221:16: note: 'sprintf' output between 13 and 76 bytes into a destination of size 64 6221 | (void) sprintf (buf2, "%*s: %s", PUTW, "Trans alt", buf1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyviewmenu.c:6225:37: warning: '%s' directive writing up to 63 bytes into a region of size 52 [-Wformat-overflow=] 6225 | (void) sprintf (buf2, "%*s: %s", PUTW, "Trans az", buf1); | ^~ ~~~~ skyviewmenu.c:6225:16: note: 'sprintf' output between 13 and 76 bytes into a destination of size 64 6225 | (void) sprintf (buf2, "%*s: %s", PUTW, "Trans az", buf1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyviewmenu.c:6229:38: warning: '%s' directive writing up to 63 bytes into a region of size 51 [-Wformat-overflow=] 6229 | (void) sprintf (buf2, "%*s: %s", PUTW, "Set at", buf1); | ^~ ~~~~ skyviewmenu.c:6229:16: note: 'sprintf' output between 14 and 77 bytes into a destination of size 64 6229 | (void) sprintf (buf2, "%*s: %s", PUTW, "Set at", buf1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyviewmenu.c: In function 'sv_set_scale': skyviewmenu.c:4422:43: warning: '%s' directive writing up to 31 bytes into a region of size between 24 and 55 [-Wformat-overflow=] 4422 | sprintf (buf, "FOV: %sW x %sH", hbuf, vbuf); | ^~ ~~~~ skyviewmenu.c:4422:17: note: 'sprintf' output between 11 and 73 bytes into a destination of size 64 4422 | sprintf (buf, "FOV: %sW x %sH", hbuf, vbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyviewmenu.c: In function 'sv_ps_annotate': skyviewmenu.c:4150:40: warning: '%s' directive writing up to 1023 bytes into a region of size 255 [-Wformat-overflow=] 4150 | (void) sprintf (dir, "(%s %s) %d %d cstr", fn, buf, ctr, y); | ^~ ~~ skyviewmenu.c:4150:24: note: 'sprintf' output between 17 and 1295 bytes into a destination of size 256 4150 | (void) sprintf (dir, "(%s %s) %d %d cstr", fn, buf, ctr, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ skyviewmenu.c:4188:57: warning: '%s' directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] 4188 | (void) sprintf (dir, "(Center RA:) 124 %d rstr (%s) 134 %d lstr\n", | ^~ skyviewmenu.c:4188:16: note: 'sprintf' output between 43 and 298 bytes into a destination of size 256 4188 | (void) sprintf (dir, "(Center RA:) 124 %d rstr (%s) 134 %d lstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4189 | y, bp, y); | ~~~~~~~~~ skyviewmenu.c:4195:59: warning: '%s' directive writing up to 255 bytes into a region of size 227 [-Wformat-overflow=] 4195 | (void) sprintf (dir, "(Declination:) 124 %d rstr (%s) 134 %d lstr\n", | ^~ skyviewmenu.c:4195:16: note: 'sprintf' output between 45 and 300 bytes into a destination of size 256 4195 | (void) sprintf (dir, "(Declination:) 124 %d rstr (%s) 134 %d lstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4196 | y, bp, y); | ~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o solsysmenu.o solsysmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o splash.o splash.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o srchmenu.o srchmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o sunmenu.o sunmenu.c sunmenu.c: In function 'sun_motion_eh': sunmenu.c:867:37: warning: '%s' directive writing up to 31 bytes into a region of size between 23 and 54 [-Wformat-overflow=] 867 | sprintf (cbuf, "RA, Dec: %s %s", rbuf, dbuf); | ^~ ~~~~ sunmenu.c:867:9: note: 'sprintf' output between 11 and 73 bytes into a destination of size 64 867 | sprintf (cbuf, "RA, Dec: %s %s", rbuf, dbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sunmenu.c: In function 'readSOHOImage': sunmenu.c:903:37: warning: '%s' directive writing up to 1023 bytes into a region of size 1013 [-Wformat-overflow=] 903 | sprintf (get, "GET http://%s%s HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n", sohohost, fn, PATCHLEVEL); | ^~ ~~ sunmenu.c:903:9: note: 'sprintf' output 46 or more bytes (assuming 1069) into a destination of size 1024 903 | sprintf (get, "GET http://%s%s HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n", sohohost, fn, PATCHLEVEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o time.o time.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o tips.o tips.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o trailmenu.o trailmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o uranusmenu.o uranusmenu.c uranusmenu.c: In function 'um_ps_annotate': uranusmenu.c:1554:45: warning: '%s' directive writing up to 255 bytes into a region of size 233 [-Wformat-overflow=] 1554 | sprintf(dir,"(XEphem Uranus View at %s %s %s, JD %13.5f) %d %d cstr\n", | ^~ 1555 | buf, buf2, bp, mjd+MJD0, ctrx, y); | ~~~ uranusmenu.c:1554:9: note: 'sprintf' output between 59 and 655 bytes into a destination of size 256 1554 | sprintf(dir,"(XEphem Uranus View at %s %s %s, JD %13.5f) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1555 | buf, buf2, bp, mjd+MJD0, ctrx, y); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1577:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1577 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, AROWY(PRTR-4)); | ^~ uranusmenu.c:1577:13: note: 'sprintf' output between 17 and 272 bytes into a destination of size 256 1577 | sprintf (dir, "(%s) %d %d cstr\n", buf, ctrx, AROWY(PRTR-4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1593:27: warning: ' Moon Positions, XYZ in Uran...' directive writing 38 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1593 | sprintf (dir, "(%s Moon Positions, XYZ in Uranus radii) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1593:9: note: 'sprintf' output between 53 and 308 bytes into a destination of size 256 1593 | sprintf (dir, "(%s Moon Positions, XYZ in Uranus radii) %d %d cstr\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1594 | buf, ctrx,y); | ~~~~~~~~~~~~ uranusmenu.c:1608:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1608 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1608:17: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 1608 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1619:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1619 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1619:27: note: directive argument in the range [-2147483573, 2147483647] 1619 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1619:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1619 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1706:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1706 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1706:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1706 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1716:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1716 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1716:27: note: directive argument in the range [-2147483571, 2147483647] 1716 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1716:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1716 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1725:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1725 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1725:27: note: directive argument in the range [-2147483494, 2147483647] 1725 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1725:27: note: directive argument in the range [117, 162] uranusmenu.c:1725:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1725 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1608:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1608 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1608:31: note: directive argument in the range [117, 153] 1608 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1608:17: note: 'sprintf' output between 16 and 271 bytes into a destination of size 256 1608 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1619:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1619 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1619:27: note: directive argument in the range [-2147483573, 2147483647] 1619 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1619:27: note: directive argument in the range [117, 153] uranusmenu.c:1619:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1619 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1629:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1629 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1629:31: note: directive argument in the range [117, 153] 1629 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1629:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1629 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1640:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1640 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1640:31: note: directive argument in the range [117, 153] 1640 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1640:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1640 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1651:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1651 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1651:31: note: directive argument in the range [117, 153] 1651 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1651:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1651 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1662:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1662 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1662:31: note: directive argument in the range [117, 153] 1662 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1662:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1662 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1673:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1673 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1673:31: note: directive argument in the range [117, 153] 1673 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1673:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1673 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1684:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1684 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1684:31: note: directive argument in the range [117, 153] 1684 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1684:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1684 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1695:35: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1695 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1695:31: note: directive argument in the range [117, 153] 1695 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1695:17: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1695 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1706:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1706 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1706:27: note: directive argument in the range [117, 153] 1706 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1706:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1706 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c:1716:31: warning: ') ' directive writing 2 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1716 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~ uranusmenu.c:1716:27: note: directive argument in the range [-2147483571, 2147483647] 1716 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~ uranusmenu.c:1716:27: note: directive argument in the range [117, 153] uranusmenu.c:1716:13: note: 'sprintf' output between 15 and 280 bytes into a destination of size 256 1716 | sprintf (dir, "(%s) %d %d lstr\n", buf, x, y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c: In function 'um_da_input_cb': uranusmenu.c:1339:38: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 1339 | (void) sprintf (buf2, " RA: %s", buf); | ^~ ~~~ In function 'um_fill_popup', inlined from 'um_da_input_cb' at uranusmenu.c:1285:2, inlined from 'um_da_input_cb' at uranusmenu.c:1256:1: uranusmenu.c:1339:16: note: 'sprintf' output between 7 and 70 bytes into a destination of size 64 1339 | (void) sprintf (buf2, " RA: %s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uranusmenu.c: In function 'um_da_input_cb': uranusmenu.c:1343:38: warning: '%s' directive writing up to 63 bytes into a region of size 58 [-Wformat-overflow=] 1343 | (void) sprintf (buf2, " Dec: %s", buf); | ^~ ~~~ In function 'um_fill_popup', inlined from 'um_da_input_cb' at uranusmenu.c:1285:2, inlined from 'um_da_input_cb' at uranusmenu.c:1256:1: uranusmenu.c:1343:16: note: 'sprintf' output between 7 and 70 bytes into a destination of size 64 1343 | (void) sprintf (buf2, " Dec: %s", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o ucac.o ucac.c In function 'jkspect', inlined from 'crack4' at ucac.c:567:2, inlined from 'add4Bin' at ucac.c:456:3: ucac.c:974:17: warning: 'strncpy' specified bound 2 equals destination size [-Wstringop-truncation] 974 | strncpy (op->f_spect, jkmag[i-1].sp, sizeof(op->f_spect)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ucac.c: In function 'add4Bin': ucac.c:569:42: warning: '%06d' directive writing between 6 and 11 bytes into a region of size between 3 and 11 [-Wformat-overflow=] 569 | sprintf (op->o_name, "UCAC4-%03d-%06d", dz, znm); | ^~~~ In function 'crack4', inlined from 'add4Bin' at ucac.c:456:3: ucac.c:569:30: note: directive argument in the range [-2147483647, 2147483647] 569 | sprintf (op->o_name, "UCAC4-%03d-%06d", dz, znm); | ^~~~~~~~~~~~~~~~~ ucac.c:569:9: note: 'sprintf' output between 17 and 30 bytes into a destination of size 21 569 | sprintf (op->o_name, "UCAC4-%03d-%06d", dz, znm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'jkspect', inlined from 'crack2' at ucac.c:900:2, inlined from 'add2Bin' at ucac.c:827:3: ucac.c:974:17: warning: 'strncpy' specified bound 2 equals destination size [-Wstringop-truncation] 974 | strncpy (op->f_spect, jkmag[i-1].sp, sizeof(op->f_spect)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'jkspect', inlined from 'crack5' at ucac.c:401:2, inlined from 'add5Bin' at ucac.c:298:3: ucac.c:974:17: warning: 'strncpy' specified bound 2 equals destination size [-Wstringop-truncation] 974 | strncpy (op->f_spect, jkmag[i-1].sp, sizeof(op->f_spect)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'jkspect', inlined from 'crack3' at ucac.c:763:2, inlined from 'add3Bin' at ucac.c:671:3: ucac.c:974:17: warning: 'strncpy' specified bound 2 equals destination size [-Wstringop-truncation] 974 | strncpy (op->f_spect, jkmag[i-1].sp, sizeof(op->f_spect)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o usno.o usno.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o versionmenu.o versionmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o webdbmenu.o webdbmenu.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o xe2.o xe2.c xe2.c: In function 'unpackObj.isra': xe2.c:231:16: warning: 'strncpy' output may be truncated copying 20 bytes from a string of length 20 [-Wstringop-truncation] 231 | (void) strncpy (op->o_name, name, MAXNM-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o xe3.o xe3.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o xephem.o xephem.c gcc -I../../libastro -I../../libip -I../../liblilxml -I../../libjpegd -I../../libpng -I../../libz -g -O2 -Wall -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c -o xmisc.o xmisc.c gcc -L../../libastro -L../../libip -L../../liblilxml -L../../libjpegd -L../../libpng -L../../libz -g -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -o xephem aavso.o annotmenu.o broadcast.o calmenu.o closemenu.o compiler.o coordsmenu.o datamenu.o db.o dbmenu.o earthmap.o earthmenu.o fallbacks.o favmenu.o formats.o fsmenu.o gallerymenu.o glance.o gsc.o gscnet.o helpmenu.o homeio.o hznmenu.o indimenu.o imregmenu.o jpeg2pm.o jupmenu.o listmenu.o mainmenu.o marsmenu.o marsmmenu.o moonmenu.o moviemenu.o msgmenu.o netmenu.o objmenu.o obslog.o patchlevel.o plot_aux.o plotmenu.o preferences.o progress.o ps.o query.o rotated.o satmenu.o saveres.o scope.o sites.o skybinary.o skyeyep.o skyfifos.o skyfiltmenu.o skyfits.o skyhist.o skyip.o skylist.o skytoolbar.o skyviewmenu.o solsysmenu.o splash.o srchmenu.o sunmenu.o time.o tips.o trailmenu.o uranusmenu.o ucac.o usno.o versionmenu.o webdbmenu.o xe2.o xe3.o xephem.o xmisc.o -lXm -lXt -lXext -lXmu -lX11 -lastro -lip -llilxml -ljpegd -lpng -lz -lm -lssl Undefined first referenced symbol in file gethostbyname netmenu.o (symbol belongs to implicit dependency /lib/amd64/libnsl.so.1) socket netmenu.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) getsockopt netmenu.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) connect netmenu.o (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1) h_errno netmenu.o (symbol belongs to implicit dependency /lib/amd64/libnsl.so.1) ld: fatal: symbol referencing errors. No output written to xephem collect2: error: ld returned 1 exit status gmake: *** [Makefile:192: xephem] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xephem *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xephem