[code:1]
[root@jlover files]# rpmbuild --rebuild xpdf-2.02-1.src.rpm --target=i686
Installing xpdf-2.02-1.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2515
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf xpdf-2.02
+ /bin/gzip -dc /usr/src/redhat/SOURCES/xpdf-2.02.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xpdf-2.02
+ /bin/gzip -dc /usr/src/redhat/SOURCES/t1lib-1.3.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/gzip -dc /usr/src/redhat/SOURCES/freetype-2.1.4.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/gzip -dc /usr/src/redhat/SOURCES/xpdf-chinese-simplified.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/gzip -dc /usr/src/redhat/SOURCES/xpdf-chinese-traditional.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ echo 'Patch #1 (xpdf-nonumericlocale.patch):'
Patch #1 (xpdf-nonumericlocale.patch):
+ patch -p1 -s
+ echo 'Patch #2 (xpdf-1.00-redhat.patch):'
Patch #2 (xpdf-1.00-redhat.patch):
+ patch -p1 -b --suffix .redhat -s
+ echo 'Patch #3 (xpdf-2.00-lang.patch):'
Patch #3 (xpdf-2.00-lang.patch):
+ patch -p1 -s
+ echo 'Patch #4 (xpdf-2.01-locale.patch):'
Patch #4 (xpdf-2.01-locale.patch):
+ patch -p1 -b --suffix .locale -s
+ echo 'Patch #5 (xpdf-2.01-redhat.patch):'
Patch #5 (xpdf-2.01-redhat.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.97507
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd xpdf-2.02
+ cd T1Lib-1.3
+ CFLAGS=-O2 -g -march=i686
+ export CFLAGS
+ CXXFLAGS=-O2 -g -march=i686
+ export CXXFLAGS
+ FFLAGS=-O2 -g -march=i686
+ export FFLAGS
+ ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-shared --enable-static
creating cache ./config.cache
checking whether make sets ${MAKE}... no
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -g -march=i686 ) works... yes
checking whether the C compiler (gcc -O2 -g -march=i686 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for X... no
checking for Athena... libraries /usr/X11R6/lib, headers in default path
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether char is unsigned... no
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 12
checking size of void *... 4
checking for gcc strength-reduce bug... no
checking whether external symbols need an underscore prefix... no
checking which ANSI integer type is 16 bit... short
checking which ANSI integer type is 32 bit... int
checking which ANSI integer type is 64 bit... <none>
checking whether stat file-mode macros are broken... no
checking for working const... yes
checking for ANSI C header files... yes
checking for size_t... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating lib/type1/Makefile
creating lib/t1lib/Makefile
creating type1afm/Makefile
creating examples/Makefile
creating doc/Makefile
creating lib/t1lib/sysconf.h
Configure finished!
Do: 'make' to compile the t1lib-package.
Do: 'make without_doc' to compile if you do not have LaTeX.
Do: 'make install' to install the t1lib-package.
+ make without_doc
/var/tmp/rpm-tmp.97507: line 44: make: command not found
error: Bad exit status from /var/tmp/rpm-tmp.97507 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.97507 (%build)
[/code:1]