Mock Version: 1.2.7 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/shapelib.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-1666/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/shapelib.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False warning: Could not canonicalize hostname: i-00036e1d Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libshp1-1.2.10-11.2.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/shapelib.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-1666/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/shapelib.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UuAptw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shapelib-1.2.10 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/shapelib-1.2.10.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd shapelib-1.2.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (shapelib-endian-destdir-combined.diff): + echo 'Patch #1 (shapelib-endian-destdir-combined.diff):' + /usr/bin/cat /builddir/build/SOURCES/shapelib-endian-destdir-combined.diff + /usr/bin/patch -p0 --fuzz=0 patching file Makefile patching file contrib/Makefile patching file contrib/my_nan.h Patch #2 (shapelib-fix-contrib.diff): + echo 'Patch #2 (shapelib-fix-contrib.diff):' + /usr/bin/cat /builddir/build/SOURCES/shapelib-fix-contrib.diff + /usr/bin/patch -p0 --fuzz=0 patching file contrib/shpgeo.c patching file contrib/shpproj.c patching file contrib/dbfcat.c patching file contrib/shpfix.c patching file contrib/shpcat.c patching file contrib/shpcentrd.c patching file contrib/shpinfo.c patching file contrib/dbfinfo.c patching file contrib/shpdxf.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bnUHFd + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.2.10 + /usr/bin/make libdir=/usr/lib64 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' lib all /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c shpopen.c mkdir .libs gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -fPIC -DPIC shpopen.c -o .libs/shpopen.lo shpopen.c:161:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ shpopen.c: In function 'SHPOpen': shpopen.c:437:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( pabyBuf, 100, 1, psSHP->fpSHP ); ^ shpopen.c:447:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( pabyBuf, 100, 1, psSHP->fpSHX ); ^ shpopen.c:526:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( pabyBuf, 8, psSHP->nRecords, psSHP->fpSHX ); ^ shpopen.c: In function 'SHPReadObject': shpopen.c:1300:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psSHP->pabyRec, psSHP->panRecSize[hEntity]+8, 1, psSHP->fpSHP ); ^ gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c shpopen.c -o shpopen.o >/dev/null 2>&1 mv -f .libs/shpopen.lo shpopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -fPIC -DPIC shpopen.c -o .libs/shpopen.lo shpopen.c:161:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ shpopen.c: In function 'SHPOpen': shpopen.c:437:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( pabyBuf, 100, 1, psSHP->fpSHP ); ^ shpopen.c:447:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( pabyBuf, 100, 1, psSHP->fpSHX ); ^ shpopen.c:526:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( pabyBuf, 8, psSHP->nRecords, psSHP->fpSHX ); ^ shpopen.c: In function 'SHPReadObject': shpopen.c:1300:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psSHP->pabyRec, psSHP->panRecSize[hEntity]+8, 1, psSHP->fpSHP ); ^ gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c shpopen.c -o shpopen.o >/dev/null 2>&1 mv -f .libs/shpopen.lo shpopen.lo /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c shptree.c rm -f .libs/shptree.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -fPIC -DPIC shptree.c -o .libs/shptree.lo shptree.c:66:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c shptree.c -o shptree.o >/dev/null 2>&1 mv -f .libs/shptree.lo shptree.lo rm -f .libs/shptree.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -fPIC -DPIC shptree.c -o .libs/shptree.lo shptree.c:66:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c shptree.c -o shptree.o >/dev/null 2>&1 mv -f .libs/shptree.lo shptree.lo /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c dbfopen.c rm -f .libs/dbfopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -fPIC -DPIC dbfopen.c -o .libs/dbfopen.lo dbfopen.c:185:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ dbfopen.c: In function 'DBFClose': dbfopen.c:461:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( abyFileHeader, 32, 1, psDBF->fp ); ^ dbfopen.c: In function 'DBFWriteAttributeDirectly': dbfopen.c:1181:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp ); ^ dbfopen.c: In function 'DBFWriteAttribute': dbfopen.c:1012:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp ); ^ dbfopen.c: In function 'DBFWriteTuple': dbfopen.c:1327:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp ); ^ dbfopen.c: In function 'DBFReadTuple': dbfopen.c:1371:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp ); ^ gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c dbfopen.c -o dbfopen.o >/dev/null 2>&1 mv -f .libs/dbfopen.lo dbfopen.lo rm -f .libs/dbfopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -fPIC -DPIC dbfopen.c -o .libs/dbfopen.lo dbfopen.c:185:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ dbfopen.c: In function 'DBFClose': dbfopen.c:461:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( abyFileHeader, 32, 1, psDBF->fp ); ^ dbfopen.c: In function 'DBFWriteAttributeDirectly': dbfopen.c:1181:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp ); ^ dbfopen.c: In function 'DBFWriteAttribute': dbfopen.c:1012:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp ); ^ dbfopen.c: In function 'DBFWriteTuple': dbfopen.c:1327:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp ); ^ dbfopen.c: In function 'DBFReadTuple': dbfopen.c:1371:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( psDBF->pszCurrentRecord, psDBF->nRecordLength, 1, psDBF->fp ); ^ gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.10\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c dbfopen.c -o dbfopen.o >/dev/null 2>&1 mv -f .libs/dbfopen.lo dbfopen.lo /bin/sh ./libtool --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o libshp.la -rpath /usr/lib64 -version-info 1:1:0 shpopen.lo shptree.lo dbfopen.lo rm -fr .libs/libshp.la .libs/libshp.* .libs/libshp.* *** Warning: This library needs some functionality provided by -lc. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. gcc -shared shpopen.lo shptree.lo dbfopen.lo -Wl,-soname -Wl,libshp.so.1 -o .libs/libshp.so.1.0.1 (cd .libs && rm -f libshp.so.1 && ln -s libshp.so.1.0.1 libshp.so.1) (cd .libs && rm -f libshp.so && ln -s libshp.so.1.0.1 libshp.so) ar cru .libs/libshp.a shpopen.o shptree.o dbfopen.o ranlib .libs/libshp.a creating libshp.la (cd .libs && rm -f libshp.la && ln -s ../libshp.la libshp.la) rm -fr .libs/libshp.la .libs/libshp.* .libs/libshp.* rm -fr .libs/libshp.lax mkdir .libs/libshp.lax /usr/bin/ld -G -h libshp.so.1 -o .libs/libshp.so.1.0.1 shpopen.lo shptree.lo dbfopen.lo -lc (cd .libs && rm -f libshp.so.1 && ln -s libshp.so.1.0.1 libshp.so.1) (cd .libs && rm -f libshp.so && ln -s libshp.so.1.0.1 libshp.so) ar cru .libs/libshp.a shpopen.o shptree.o dbfopen.o ranlib .libs/libshp.a rm -fr .libs/libshp.lax (cd .libs && rm -f libshp.la && ln -s ../libshp.la libshp.la) gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic shpcreate.c shpopen.o -o shpcreate shpcreate.c: In function 'main': shpcreate.c:68:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit( 1 ); ^ shpcreate.c:68:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] shpcreate.c:74:5: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( strcmp(argv[2],"POINT") == 0 || strcmp(argv[2],"point") == 0 ) ^ shpcreate.c:85:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit( 2 ); ^ shpcreate.c:96:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit( 3 ); ^ shpcreate.c: At top level: shpcreate.c:51:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic shpadd.c shpopen.o -o shpadd shpadd.c:75:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic shpdump.c shpopen.o -o shpdump shpdump.c: In function 'main': shpdump.c:80:5: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( argc > 1 && strcmp(argv[1],"-validate") == 0 ) ^ shpdump.c:93:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit( 1 ); ^ shpdump.c:93:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] shpdump.c:104:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit( 1 ); ^ shpdump.c:198:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit( 0 ); ^ shpdump.c: At top level: shpdump.c:67:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic shprewind.c shpopen.o -o shprewind shprewind.c: In function 'main': shprewind.c:61:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit( 1 ); ^ shprewind.c:61:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] shprewind.c:72:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit( 1 ); ^ shprewind.c:85:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit( 1 ); ^ shprewind.c:93:7: warning: unused variable 'j' [-Wunused-variable] int j; ^ shprewind.c:108:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit( 0 ); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic dbfcreate.c dbfopen.o -o dbfcreate dbfcreate.c:54:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic dbfadd.c dbfopen.o -o dbfadd dbfadd.c: In function 'main': dbfadd.c:107:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( strcmp( argv[i+2], "" ) == 0 ) ^ dbfadd.c: At top level: dbfadd.c:57:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic dbfdump.c dbfopen.o -o dbfdump dbfdump.c:63:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic shptest.c shpopen.o -o shptest shptest.c:58:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ + pushd contrib ~/build/BUILD/shapelib-1.2.10/contrib ~/build/BUILD/shapelib-1.2.10 + /usr/bin/make libdir=/usr/lib64 'EXTRACFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 shpdxf.c ../shpopen.o ../dbfopen.o -o shpdxf shpdxf.c: In function 'dxf_ent_preamble': shpdxf.c:142:3: warning: too many arguments for format [-Wformat-extra-args] fprintf( df, " 8\r\n", df); ^ shpdxf.c: In function 'dxf_ent_postamble': shpdxf.c:194:5: warning: too many arguments for format [-Wformat-extra-args] fprintf( df, " 0\r\nSEQEND\r\n 8\r\n0\r\n", df); ^ shpdxf.c: In function 'main': shpdxf.c:209:29: warning: variable 'nParts' set but not used [-Wunused-but-set-variable] int parts, *panParts, nParts, nVertices; ^ shpdxf.c:209:11: warning: unused variable 'parts' [-Wunused-variable] int parts, *panParts, nParts, nVertices; ^ shpdxf.c:335:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ shpdxf.c:279:13: warning: 'idfld_type' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (idfld_type) { ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 -c shpgeo.c shpgeo.c: In function 'SHPReadSHPStream': shpgeo.c:275:5: warning: unused variable 'obj_storage' [-Wunused-variable] int obj_storage; ^ shpgeo.c: In function 'SHPWriteSHPStream': shpgeo.c:334:30: warning: unused variable 'GeoType' [-Wunused-variable] int need_swap = 0, my_order, GeoType; ^ shpgeo.c:334:20: warning: unused variable 'my_order' [-Wunused-variable] int need_swap = 0, my_order, GeoType; ^ shpgeo.c: In function 'SHPReadOGisWKB': shpgeo.c:415:19: warning: unused variable 'use_M' [-Wunused-variable] int use_Z = 0, use_M = 0; ^ shpgeo.c:415:8: warning: unused variable 'use_Z' [-Wunused-variable] int use_Z = 0, use_M = 0; ^ shpgeo.c:414:8: warning: unused variable 'need_swap' [-Wunused-variable] int need_swap = 0, my_order, GeoType = 0; ^ shpgeo.c:412:14: warning: variable 'psCShape' set but not used [-Wunused-but-set-variable] SHPObject *psCShape; ^ shpgeo.c: In function 'SHPWriteOGisWKB': shpgeo.c:461:3: warning: "/*" within comment [-Wcomment] /* rather have it predicatable system-to-system */ ^ shpgeo.c:479:4: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] ( sizeof(double) * 2 * psCShape->nVertices ) + 10 ); ^ shpgeo.c:497:5: warning: format '%d' expects a matching 'int' argument [-Wformat=] printf ("this system in (%d) LSB \n"); ^ shpgeo.c:456:19: warning: unused variable 'use_M' [-Wunused-variable] int use_Z = 0, use_M = 0; ^ shpgeo.c:456:8: warning: unused variable 'use_Z' [-Wunused-variable] int use_Z = 0, use_M = 0; ^ shpgeo.c:455:8: warning: unused variable 'need_swap' [-Wunused-variable] int need_swap = 0, my_order, GeoType, thisDim; ^ shpgeo.c: In function 'SHPWriteOGisPolygon': shpgeo.c:538:59: warning: unused variable 'i' [-Wunused-variable] int rPart, ring, rVertices, cpart, cParts, nextring, i, j; ^ shpgeo.c:537:13: warning: variable 'pcur' set but not used [-Wunused-but-set-variable] SHPObject* pcur; ^ shpgeo.c: In function 'SHPReadOGisPolygon': shpgeo.c:645:59: warning: unused variable 'i' [-Wunused-variable] int rPart, ring, rVertices, cpart, cParts, nextring, i, j; ^ shpgeo.c:645:49: warning: unused variable 'nextring' [-Wunused-variable] int rPart, ring, rVertices, cpart, cParts, nextring, i, j; ^ shpgeo.c:643:17: warning: unused variable 'ppsC' [-Wunused-variable] SHPObject **ppsC; ^ shpgeo.c: In function 'SHPReadOGisLine': shpgeo.c:712:59: warning: unused variable 'i' [-Wunused-variable] int rPart, ring, rVertices, cpart, cParts, nextring, i, j; ^ shpgeo.c:712:49: warning: unused variable 'nextring' [-Wunused-variable] int rPart, ring, rVertices, cpart, cParts, nextring, i, j; ^ shpgeo.c:710:17: warning: unused variable 'ppsC' [-Wunused-variable] SHPObject **ppsC; ^ shpgeo.c: In function 'SHPPointsinPoly_2d': shpgeo.c:909:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while ( psO = SHPUnCompound (psCShape, &cRing)) { ^ shpgeo.c: In function 'RingCentroid_2d': shpgeo.c:1051:10: warning: unused variable 'dy_Area' [-Wunused-variable] double dy_Area, dx_Area, Cx_accum, Cy_accum, ppx, ppy; ^ shpgeo.c:1050:16: warning: unused variable 'sign_y' [-Wunused-variable] int sign_x, sign_y; ^ shpgeo.c:1050:8: warning: unused variable 'sign_x' [-Wunused-variable] int sign_x, sign_y; ^ shpgeo.c:1049:11: warning: unused variable 'jv' [-Wunused-variable] int iv,jv; ^ shpgeo.c: In function 'SHPRingDir_2d': shpgeo.c:1154:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) ^ shpgeo.c:1124:35: warning: unused variable 'v2' [-Wunused-variable] double dx0, dx1, dy0, dy1, v1, v2 ,v3; ^ shpgeo.c:1124:31: warning: unused variable 'v1' [-Wunused-variable] double dx0, dx1, dy0, dy1, v1, v2 ,v3; ^ shpgeo.c: In function 'SHPArea_2d': shpgeo.c:1193:26: warning: unused variable 'ringDir' [-Wunused-variable] int ring, ring_vtx, ringDir, ring_nVertices; ^ shpgeo.c: In function 'RingLength_2d': shpgeo.c:1271:13: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j; ^ shpgeo.c: In function 'RingArea_2d': shpgeo.c:1294:11: warning: unused variable 'jv' [-Wunused-variable] int iv,jv; ^ shpgeo.c: In function 'SHPClone': shpgeo.c:1484:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if ( highPart = psCShape->nParts ) ^ shpgeo.c: In function 'SwapG': shpgeo.c:1541:19: warning: unused variable 'temp' [-Wunused-variable] unsigned char temp; ^ shpgeo.c: In function 'SHPWriteSHPStream': shpgeo.c:341:11: warning: ignoring return value of 'realloc', declared with attribute warn_unused_result [-Wunused-result] realloc (stream_obj, obj_storage ); ^ shpgeo.c: In function 'SHPRingDir_2d': shpgeo.c:1154:43: warning: 'ti' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( ti > psCShape->panPartStart[Ring] & ti < last_vtx ) ^ shpgeo.c: In function 'SHPPointsinPoly_2d': shpgeo.c:958:9: warning: 'nPIP' may be used uninitialized in this function [-Wmaybe-uninitialized] PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; ^ shpgeo.c:947:11: warning: 'rLenMax' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( rLen > rLenMax ) ^ shpgeo.c:943:13: warning: 'rLen' may be used uninitialized in this function [-Wmaybe-uninitialized] rLen += RingLength_2d ( ring_nVertices, ^ shpgeo.c:958:35: warning: 'rMpart' may be used uninitialized in this function [-Wmaybe-uninitialized] PIP[nPIP].x = (psInt ->padfX [rMpart] + psInt ->padfX [rMpart]) * 0.5; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 shpproj.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -lm -lproj -o shpproj shpproj.c: In function 'main': shpproj.c:219:7: warning: unused variable 'j' [-Wunused-variable] int j; ^ shpproj.c:92:21: warning: unused variable 'moargs' [-Wunused-variable] va_list myargs, moargs; ^ shpproj.c:92:13: warning: unused variable 'myargs' [-Wunused-variable] va_list myargs, moargs; ^ shpproj.c:78:12: warning: unused variable 'apeture' [-Wunused-variable] double apeture[4]; ^ shpproj.c:75:10: warning: unused variable 'dbfFileName' [-Wunused-variable] char dbfFileName[120] = ""; ^ shpproj.c:74:10: warning: unused variable 'shpFileName' [-Wunused-variable] char shpFileName[120] = ""; ^ shpproj.c:73:10: warning: unused variable 'fldName' [-Wunused-variable] char fldName[120] = ""; ^ shpproj.c:72:10: warning: unused variable 'idfldName' [-Wunused-variable] char idfldName[120] = ""; ^ shpproj.c:71:10: warning: unused variable 'kv' [-Wunused-variable] char kv[257] = ""; ^ shpproj.c:70:17: warning: unused variable 'nflds' [-Wunused-variable] int idfld, nflds; ^ shpproj.c:70:10: warning: unused variable 'idfld' [-Wunused-variable] int idfld, nflds; ^ shpproj.c:67:19: warning: unused variable 'idfld_type' [-Wunused-variable] DBFFieldType idfld_type; ^ shpproj.c:66:18: warning: unused variable 'pszPlus' [-Wunused-variable] const char *pszPlus; ^ shpproj.c:65:26: warning: unused variable 'adBounds' [-Wunused-variable] double *padVertices, adBounds[4]; ^ shpproj.c:65:13: warning: unused variable 'padVertices' [-Wunused-variable] double *padVertices, adBounds[4]; ^ shpproj.c:64:66: warning: unused variable 'iPart' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart, j; ^ shpproj.c:64:53: warning: unused variable 'panParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart, j; ^ shpproj.c:64:44: warning: unused variable 'nParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart, j; ^ shpproj.c:64:33: warning: unused variable 'nVertices' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart, j; ^ shpproj.c:254:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 dbfinfo.c ../shpopen.o ../dbfopen.o -o dbfinfo dbfinfo.c: In function 'main': dbfinfo.c:62:5: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf ("%ld Columns, %ld Records in file\n",i,DBFGetRecordCount(hDBF)); ^ dbfinfo.c:62:5: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] dbfinfo.c:74:15: warning: unused variable 'eType' [-Wunused-variable] DBFFieldType eType; ^ dbfinfo.c:35:14: warning: unused variable 'ciRecord' [-Wunused-variable] int ci, ciRecord; ^ dbfinfo.c:35:10: warning: unused variable 'ci' [-Wunused-variable] int ci, ciRecord; ^ dbfinfo.c:34:24: warning: unused variable 'cType' [-Wunused-variable] DBFFieldType hType,cType; ^ dbfinfo.c:34:18: warning: unused variable 'hType' [-Wunused-variable] DBFFieldType hType,cType; ^ dbfinfo.c:33:15: warning: unused variable 'cDBF' [-Wunused-variable] DBFHandle cDBF; ^ dbfinfo.c:32:19: warning: unused variable 'cnDecimals' [-Wunused-variable] int cnWidth, cnDecimals; ^ dbfinfo.c:32:10: warning: unused variable 'cnWidth' [-Wunused-variable] int cnWidth, cnDecimals; ^ dbfinfo.c:30:33: warning: unused variable 'nTitle' [-Wunused-variable] char ftype[15], cTitle[32], nTitle[32]; ^ dbfinfo.c:30:21: warning: unused variable 'cTitle' [-Wunused-variable] char ftype[15], cTitle[32], nTitle[32]; ^ dbfinfo.c:29:24: warning: unused variable 'szField' [-Wunused-variable] char szFormat[32], szField[1024]; ^ dbfinfo.c:29:10: warning: unused variable 'szFormat' [-Wunused-variable] char szFormat[32], szField[1024]; ^ dbfinfo.c:28:24: warning: unused variable 'iRecord' [-Wunused-variable] int *panWidth, i, iRecord; ^ dbfinfo.c:28:11: warning: variable 'panWidth' set but not used [-Wunused-but-set-variable] int *panWidth, i, iRecord; ^ In file included from /usr/include/string.h:638:0, from dbfinfo.c:21: In function 'strcpy', inlined from 'main' at dbfinfo.c:90:14: /usr/include/bits/string3.h:104:3: warning: call to __builtin___memcpy_chk will always overflow destination buffer [enabled by default] return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 shpcentrd.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -o shpcentrd shpcentrd.c: In function 'main': shpcentrd.c:106:7: warning: unused variable 'res' [-Wunused-variable] int res ; ^ shpcentrd.c:67:10: warning: unused variable 'Cpan' [-Wunused-variable] int Cpan[2] = { 0,0 }; ^ shpcentrd.c:65:12: warning: unused variable 'apeture' [-Wunused-variable] double apeture[4]; ^ shpcentrd.c:64:10: warning: unused variable 'dbfFileName' [-Wunused-variable] char dbfFileName[120] = ""; ^ shpcentrd.c:63:10: warning: unused variable 'shpFileName' [-Wunused-variable] char shpFileName[120] = ""; ^ shpcentrd.c:62:10: warning: unused variable 'fldName' [-Wunused-variable] char fldName[120] = ""; ^ shpcentrd.c:61:10: warning: unused variable 'idfldName' [-Wunused-variable] char idfldName[120] = ""; ^ shpcentrd.c:60:10: warning: unused variable 'kv' [-Wunused-variable] char kv[257] = ""; ^ shpcentrd.c:59:17: warning: unused variable 'nflds' [-Wunused-variable] int idfld, nflds; ^ shpcentrd.c:59:10: warning: unused variable 'idfld' [-Wunused-variable] int idfld, nflds; ^ shpcentrd.c:58:19: warning: unused variable 'idfld_type' [-Wunused-variable] DBFFieldType idfld_type; ^ shpcentrd.c:57:18: warning: unused variable 'pszPlus' [-Wunused-variable] const char *pszPlus; ^ shpcentrd.c:56:26: warning: unused variable 'adBounds' [-Wunused-variable] double *padVertices, adBounds[4]; ^ shpcentrd.c:56:13: warning: unused variable 'padVertices' [-Wunused-variable] double *padVertices, adBounds[4]; ^ shpcentrd.c:55:66: warning: unused variable 'iPart' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpcentrd.c:55:53: warning: unused variable 'panParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpcentrd.c:55:44: warning: unused variable 'nParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpcentrd.c:55:33: warning: unused variable 'nVertices' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpcentrd.c:155:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 shpdata.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -o shpdata shpdata.c: In function 'main': shpdata.c:90:11: warning: unused variable 'j' [-Wunused-variable] int j, numVtx, rStart; ^ shpdata.c:84:25: warning: variable 'prevStart' set but not used [-Wunused-but-set-variable] int ring, prevStart, ringDir; ^ shpdata.c:79:7: warning: unused variable 'res' [-Wunused-variable] int res ; ^ shpdata.c:59:27: warning: unused variable 'cent_pt' [-Wunused-variable] SHPObject *psCShape, *cent_pt; ^ shpdata.c:56:10: warning: unused variable 'Cpan' [-Wunused-variable] int Cpan[2] = { 0,0 }; ^ shpdata.c:55:11: warning: unused variable 'DBFRow' [-Wunused-variable] char *DBFRow = NULL; ^ shpdata.c:54:10: warning: unused variable 'dbfFileName' [-Wunused-variable] char dbfFileName[120] = ""; ^ shpdata.c:53:10: warning: unused variable 'shpFileName' [-Wunused-variable] char shpFileName[120] = ""; ^ shpdata.c:52:10: warning: unused variable 'fldName' [-Wunused-variable] char fldName[120] = ""; ^ shpdata.c:51:10: warning: unused variable 'idfldName' [-Wunused-variable] char idfldName[120] = ""; ^ shpdata.c:50:10: warning: unused variable 'kv' [-Wunused-variable] char kv[257] = ""; ^ shpdata.c:49:17: warning: unused variable 'nflds' [-Wunused-variable] int idfld, nflds; ^ shpdata.c:49:10: warning: unused variable 'idfld' [-Wunused-variable] int idfld, nflds; ^ shpdata.c:48:19: warning: unused variable 'idfld_type' [-Wunused-variable] DBFFieldType idfld_type; ^ shpdata.c:47:18: warning: unused variable 'pszPlus' [-Wunused-variable] const char *pszPlus; ^ shpdata.c:46:26: warning: unused variable 'adBounds' [-Wunused-variable] double *padVertices, adBounds[4]; ^ shpdata.c:46:13: warning: unused variable 'padVertices' [-Wunused-variable] double *padVertices, adBounds[4]; ^ shpdata.c:45:66: warning: unused variable 'iPart' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpdata.c:45:53: warning: unused variable 'panParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpdata.c:45:44: warning: unused variable 'nParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpdata.c:45:33: warning: unused variable 'nVertices' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpdata.c:44:26: warning: unused variable 'new_DBF' [-Wunused-variable] DBFHandle old_DBF, new_DBF; ^ shpdata.c:43:24: warning: unused variable 'new_SHP' [-Wunused-variable] SHPHandle old_SHP, new_SHP; ^ shpdata.c:129:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 shpwkb.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -o shpwkb shpwkb.c: In function 'main': shpwkb.c:93:11: warning: unused variable 'j' [-Wunused-variable] int j, numVtx, rStart; ^ shpwkb.c:88:13: warning: unused variable 'ringArea' [-Wunused-variable] double ringArea; ^ shpwkb.c:87:36: warning: unused variable 'ringDir' [-Wunused-variable] int ring, prevStart, ringDir; ^ shpwkb.c:87:25: warning: variable 'prevStart' set but not used [-Wunused-but-set-variable] int ring, prevStart, ringDir; ^ shpwkb.c:82:7: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res ; ^ shpwkb.c:58:25: warning: unused variable 'oLen' [-Wunused-variable] double oArea = 0.0, oLen = 0.0; ^ shpwkb.c:58:12: warning: unused variable 'oArea' [-Wunused-variable] double oArea = 0.0, oLen = 0.0; ^ shpwkb.c:57:27: warning: unused variable 'cent_pt' [-Wunused-variable] SHPObject *psCShape, *cent_pt; ^ shpwkb.c:56:18: warning: unused variable 'ringCentrd' [-Wunused-variable] PT oCentrd, ringCentrd; ^ shpwkb.c:56:9: warning: unused variable 'oCentrd' [-Wunused-variable] PT oCentrd, ringCentrd; ^ shpwkb.c:54:10: warning: unused variable 'Cpan' [-Wunused-variable] int Cpan[2] = { 0,0 }; ^ shpwkb.c:53:11: warning: unused variable 'DBFRow' [-Wunused-variable] char *DBFRow = NULL; ^ shpwkb.c:52:10: warning: unused variable 'dbfFileName' [-Wunused-variable] char dbfFileName[120] = ""; ^ shpwkb.c:51:10: warning: unused variable 'shpFileName' [-Wunused-variable] char shpFileName[120] = ""; ^ shpwkb.c:50:10: warning: unused variable 'fldName' [-Wunused-variable] char fldName[120] = ""; ^ shpwkb.c:49:10: warning: unused variable 'idfldName' [-Wunused-variable] char idfldName[120] = ""; ^ shpwkb.c:48:10: warning: unused variable 'kv' [-Wunused-variable] char kv[257] = ""; ^ shpwkb.c:47:17: warning: unused variable 'nflds' [-Wunused-variable] int idfld, nflds; ^ shpwkb.c:47:10: warning: unused variable 'idfld' [-Wunused-variable] int idfld, nflds; ^ shpwkb.c:46:19: warning: unused variable 'idfld_type' [-Wunused-variable] DBFFieldType idfld_type; ^ shpwkb.c:45:18: warning: unused variable 'pszPlus' [-Wunused-variable] const char *pszPlus; ^ shpwkb.c:44:26: warning: unused variable 'adBounds' [-Wunused-variable] double *padVertices, adBounds[4]; ^ shpwkb.c:44:13: warning: unused variable 'padVertices' [-Wunused-variable] double *padVertices, adBounds[4]; ^ shpwkb.c:43:66: warning: unused variable 'iPart' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpwkb.c:43:53: warning: unused variable 'panParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpwkb.c:43:44: warning: unused variable 'nParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpwkb.c:43:33: warning: unused variable 'nVertices' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpwkb.c:42:26: warning: unused variable 'new_DBF' [-Wunused-variable] DBFHandle old_DBF, new_DBF; ^ shpwkb.c:41:24: warning: unused variable 'new_SHP' [-Wunused-variable] SHPHandle old_SHP, new_SHP; ^ shpwkb.c:123:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 dbfcat.c ../shpopen.o ../dbfopen.o -o dbfcat dbfcat.c: In function 'main': dbfcat.c:134:6: warning: enumeration value 'FTLogical' not handled in switch [-Wswitch] switch( cType ) ^ dbfcat.c:134:6: warning: enumeration value 'FTInvalid' not handled in switch [-Wswitch] dbfcat.c:127:9: warning: unused variable 'cf' [-Wunused-variable] double cf; ^ dbfcat.c:38:17: warning: unused variable 'j' [-Wunused-variable] int hflds, j, cflds; ^ dbfcat.c:30:24: warning: unused variable 'szField' [-Wunused-variable] char szFormat[32], szField[1024]; ^ dbfcat.c:30:10: warning: unused variable 'szFormat' [-Wunused-variable] char szFormat[32], szField[1024]; ^ dbfcat.c:29:11: warning: unused variable 'panWidth' [-Wunused-variable] int *panWidth, i, iRecord; ^ dbfcat.c: At top level: dbfcat.c:18:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 shpinfo.c ../shpopen.o ../dbfopen.o ./shpgeo.o -lm -lproj -o shpinfo shpinfo.c: In function 'main': shpinfo.c:99:4: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=] printf ("%s(%d), %ld Records in file\n",sType,nShapeType,nEntities); ^ shpinfo.c:55:18: warning: unused variable 'cpszPlus' [-Wunused-variable] const char *cpszPlus; ^ shpinfo.c:54:27: warning: unused variable 'cadBounds' [-Wunused-variable] double *cpadVertices, cadBounds[4]; ^ shpinfo.c:54:13: warning: unused variable 'cpadVertices' [-Wunused-variable] double *cpadVertices, cadBounds[4]; ^ shpinfo.c:53:68: warning: unused variable 'cPart' [-Wunused-variable] int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; ^ shpinfo.c:53:64: warning: unused variable 'ci' [-Wunused-variable] int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; ^ shpinfo.c:53:53: warning: unused variable 'cpanParts' [-Wunused-variable] int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; ^ shpinfo.c:53:44: warning: unused variable 'cParts' [-Wunused-variable] int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; ^ shpinfo.c:53:33: warning: unused variable 'cVertices' [-Wunused-variable] int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; ^ shpinfo.c:53:22: warning: unused variable 'cEntities' [-Wunused-variable] int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; ^ shpinfo.c:53:10: warning: unused variable 'cShapeType' [-Wunused-variable] int cShapeType, cEntities, cVertices, cParts, *cpanParts, ci, cPart; ^ shpinfo.c:52:18: warning: unused variable 'pszPlus' [-Wunused-variable] const char *pszPlus; ^ shpinfo.c:51:13: warning: unused variable 'padVertices' [-Wunused-variable] double *padVertices, adfBndsMin[4], adfBndsMax[4]; ^ shpinfo.c:50:66: warning: unused variable 'iPart' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpinfo.c:50:63: warning: unused variable 'i' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpinfo.c:50:53: warning: unused variable 'panParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpinfo.c:50:44: warning: unused variable 'nParts' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpinfo.c:50:33: warning: unused variable 'nVertices' [-Wunused-variable] int nShapeType, nEntities, nVertices, nParts, *panParts, i, iPart; ^ shpinfo.c:49:21: warning: unused variable 'cSHP' [-Wunused-variable] SHPHandle hSHP, cSHP; ^ shpinfo.c:110:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 shpfix.c ../shpopen.o ../dbfopen.o -o shpfix shpfix.c: In function 'main': shpfix.c:109:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I.. -DPROJ4 -DDEBUG -DDEBUG2 shpcat.c ../shpopen.o ../dbfopen.o -o shpcat + popd ~/build/BUILD/shapelib-1.2.10 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.k9x3Df + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64 ++ dirname /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64 + cd shapelib-1.2.10 + /usr/bin/make bindir=/builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/bin libdir=/builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64 includedir=/builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/include install mkdir -p /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/bin install dbfadd dbfcreate dbfdump shpadd shpcreate shpdump shptest /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/bin/ cp .libs/libshp.la .libs/libshp.lai mkdir -p /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64 /bin/sh ./libtool --mode=install install -c libshp.la /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.la install -c .libs/libshp.so.1.0.1 /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.so.1.0.1 (cd /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64 && rm -f libshp.so.1 && ln -s libshp.so.1.0.1 libshp.so.1) (cd /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64 && rm -f libshp.so && ln -s libshp.so.1.0.1 libshp.so) install -c .libs/libshp.lai /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.la install -c .libs/libshp.a /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.a ranlib /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.a chmod 644 /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' install -c .libs/libshp.so.1.0.1 /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.so.1.0.1 (cd /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64 && rm -f libshp.so.1 && ln -s libshp.so.1.0.1 libshp.so.1) (cd /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64 && rm -f libshp.so && ln -s libshp.so.1.0.1 libshp.so) chmod +x /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.so.1.0.1 install -c .libs/libshp.la /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.la install -c .libs/libshp.a /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.a ranlib /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.a chmod 644 /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64/libshp.a mkdir -p /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/include/libshp install -c -m 644 shapefil.h /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/include/libshp/shapefil.h ~/build/BUILD/shapelib-1.2.10/contrib ~/build/BUILD/shapelib-1.2.10 + pushd contrib + /usr/bin/make bindir=/builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/bin libdir=/builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/lib64 includedir=/builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/include install install dbfcat dbfinfo shpcat shpcentrd shpdata shpdxf shpfix shpinfo shpwkb shpproj \ /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/bin ~/build/BUILD/shapelib-1.2.10 + popd + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress Processing files: libshp1-1.2.10-11.2.x86_64 Provides: libshp.so.1()(64bit) libshp1 = 1.2.10-11.2 libshp1(x86-64) = 1.2.10-11.2 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) Processing files: libshp-devel-1.2.10-11.2.x86_64 Provides: libshp-devel = 1.2.10-11.2 libshp-devel(x86-64) = 1.2.10-11.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libshp.so.1()(64bit) Processing files: shapelib-1.2.10-11.2.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5BDJ2h + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.2.10 + DOCDIR=/builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/share/doc/shapelib-1.2.10 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/share/doc/shapelib-1.2.10 + cp -pr ChangeLog /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/share/doc/shapelib-1.2.10 + cp -pr dbf_api.html /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/share/doc/shapelib-1.2.10 + cp -pr LICENSE.LGPL /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/share/doc/shapelib-1.2.10 + cp -pr README /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/share/doc/shapelib-1.2.10 + cp -pr makeshape.sh /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64/usr/share/doc/shapelib-1.2.10 + exit 0 Provides: shapelib = 1.2.10-11.2 shapelib(x86-64) = 1.2.10-11.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libproj.so.0()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64 warning: Could not canonicalize hostname: i-00036e1d Wrote: /builddir/build/RPMS/libshp1-1.2.10-11.2.x86_64.rpm Wrote: /builddir/build/RPMS/libshp-devel-1.2.10-11.2.x86_64.rpm Wrote: /builddir/build/RPMS/shapelib-1.2.10-11.2.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZM8kHu + umask 022 + cd /builddir/build/BUILD + cd shapelib-1.2.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libshp1-1.2.10-11.2.x86_64 + exit 0 Child return code was: 0 LEAVE do -->