warning: user build does not exist - using root warning: group build does not exist - using root warning: user build does not exist - using root warning: group build does not exist - using root warning: user build does not exist - using root warning: group build does not exist - using root Installing shapelib-1.2.10-5.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.37799 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/redhat/BUILD + rm -rf shapelib-1.2.10 + /usr/bin/gzip -dc /usr/src/redhat/SOURCES/shapelib-1.2.10.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd shapelib-1.2.10 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (shapelib-1.2.10.patch):' Patch #0 (shapelib-1.2.10.patch): + patch -p1 -b --suffix .buildroot -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.37799 + umask 022 + cd /usr/src/redhat/BUILD + cd shapelib-1.2.10 + LANG=C + export LANG + unset DISPLAY + make libdir=/usr/lib 'CFLAGS=-O2 -g -pipe -m32 -fsigned-char' lib /bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c shpopen.c mkdir .libs gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c -fPIC -DPIC shpopen.c -o .libs/shpopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c shpopen.c -o shpopen.o >/dev/null 2>&1 mv -f .libs/shpopen.lo shpopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c -fPIC -DPIC shpopen.c -o .libs/shpopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -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.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c shptree.c rm -f .libs/shptree.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c -fPIC -DPIC shptree.c -o .libs/shptree.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -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.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c -fPIC -DPIC shptree.c -o .libs/shptree.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -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.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c dbfopen.c rm -f .libs/dbfopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c -fPIC -DPIC dbfopen.c -o .libs/dbfopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -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.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -c -fPIC -DPIC dbfopen.c -o .libs/dbfopen.lo gcc -DPACKAGE=\"libshp\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -I. -O2 -g -pipe -m32 -fsigned-char -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 -m32 -fsigned-char -o libshp.la -rpath /usr/lib -version-info 1:1:0 shpopen.lo shptree.lo dbfopen.lo rm -fr .libs/libshp.la .libs/libshp.* .libs/libshp.* gcc -shared shpopen.lo shptree.lo dbfopen.lo -lc -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) + make libdir=/usr/lib 'CFLAGS=-O2 -g -pipe -m32 -fsigned-char' all gcc -O2 -g -pipe -m32 -fsigned-char shpcreate.c shpopen.o -o shpcreate gcc -O2 -g -pipe -m32 -fsigned-char shpadd.c shpopen.o -o shpadd gcc -O2 -g -pipe -m32 -fsigned-char shpdump.c shpopen.o -o shpdump gcc -O2 -g -pipe -m32 -fsigned-char shprewind.c shpopen.o -o shprewind gcc -O2 -g -pipe -m32 -fsigned-char dbfcreate.c dbfopen.o -o dbfcreate gcc -O2 -g -pipe -m32 -fsigned-char dbfadd.c dbfopen.o -o dbfadd gcc -O2 -g -pipe -m32 -fsigned-char dbfdump.c dbfopen.o -o dbfdump gcc -O2 -g -pipe -m32 -fsigned-char shptest.c shpopen.o -o shptest + cd contrib + make libdir=/usr/lib 'EXTRACFLAGS=-O2 -g -pipe -m32 -fsigned-char' gcc -O2 -g -pipe -m32 -fsigned-char -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 shpdxf.c ../shpopen.o ../dbfopen.o -o shpdxf gcc -O2 -g -pipe -m32 -fsigned-char -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2 -c shpgeo.c In file included from shpgeo.c:61: my_nan.h:33:1: warning: "__nan_bytes" redefined my_nan.h:30:1: warning: this is the location of the previous definition In file included from /usr/include/endian.h:37, from /usr/include/sys/types.h:213, from /usr/include/stdlib.h:433, from /usr/include/proj_api.h:69, from shpgeo.h:70, from shpgeo.c:64: /usr/include/bits/endian.h:27:4: #error Both BIG_ENDIAN and LITTLE_ENDIAN defined! make: *** [shpgeo.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.37799 (%build) RPM build errors: user build does not exist - using root group build does not exist - using root user build does not exist - using root group build does not exist - using root user build does not exist - using root group build does not exist - using root Bad exit status from /var/tmp/rpm-tmp.37799 (%build)