Some of rpmbuild output: > $ rpmbuild -bb wine.spec > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3590 > + umask 022 > + cd /home/user/rpmbuild/BUILD > + LANG=C > + export LANG > + unset DISPLAY > + cd /home/user/rpmbuild/BUILD > + rm -rf wine-1.1.15 > + /usr/bin/bzip2 -dc /home/user/rpmbuild/SOURCES/wine-1.1.15.tar.bz2 > + tar -xf - > + STATUS=0 > + '[' 0 -ne 0 ']' > + cd wine-1.1.15 > ++ /usr/bin/id -u > + '[' 500 = 0 ']' > ++ /usr/bin/id -u > + '[' 500 = 0 ']' > + /bin/chmod -Rf a+rX,u+w,g-w,o-w . > + echo 'Patch #1 (wine-rpath.patch):' > Patch #1 (wine-rpath.patch): > + patch -p0 -s > + echo 'Patch #2 (wine-desktop-mime.patch):' > Patch #2 (wine-desktop-mime.patch): > + patch -p0 -s > + exit 0 > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.94571 > + umask 022 > + cd /home/user/rpmbuild/BUILD > + cd wine-1.1.15 > + LANG=C > + export LANG > + unset DISPLAY > + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack > -protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchron > ous-unwind-tables' > + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protec > tor --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unw > ind-tables' > + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protec > tor --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unw > ind-tables' > + export CFLAGS > + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-prot > ector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-u > nwind-tables' > + export CXXFLAGS > + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protec > tor --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unw > ind-tables' > + export FFLAGS > ++ find . -name config.guess -o -name config.sub > + for i in '$(find . -name config.guess -o -name config.sub)' > ++ basename ./tools/config.guess > + '[' -f /usr/lib/rpm/redhat/config.guess ']' > + /bin/rm -f ./tools/config.guess > ++ basename ./tools/config.guess > + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./tools/config.guess > `/usr/lib/rpm/redhat/config.guess' -> `./tools/config.guess' > + for i in '$(find . -name config.guess -o -name config.sub)' > ++ basename ./tools/config.sub > + '[' -f /usr/lib/rpm/redhat/config.sub ']' > + /bin/rm -f ./tools/config.sub > ++ basename ./tools/config.sub > + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./tools/config.sub > `/usr/lib/rpm/redhat/config.sub' -> `./tools/config.sub' > + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --targe > t=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bin > dir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includ > edir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/v > ar --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info - > -sysconfdir=/etc/wine --disable-static --x-includes=/usr/include --x-libraries=/ > usr/lib > configure: WARNING: unrecognized options: --disable-static > checking build system type... i686-redhat-linux-gnu > checking host system type... i686-redhat-linux-gnu > checking whether make sets $(MAKE)... yes > checking for i686-redhat-linux-gnu-gcc... no > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for i686-redhat-linux-gnu-g++... no > checking for i686-redhat-linux-gnu-c++... no > checking for i686-redhat-linux-gnu-gpp... no > checking for i686-redhat-linux-gnu-aCC... no > checking for i686-redhat-linux-gnu-CC... no > checking for i686-redhat-linux-gnu-cxx... no > checking for i686-redhat-linux-gnu-cc++... no > checking for i686-redhat-linux-gnu-cl.exe... no > checking for i686-redhat-linux-gnu-FCC... no > checking for i686-redhat-linux-gnu-KCC... no > checking for i686-redhat-linux-gnu-RCC... no > checking for i686-redhat-linux-gnu-xlC_r... no > checking for i686-redhat-linux-gnu-xlC... no > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for i686-redhat-linux-gnu-cpp... no > checking for cpp... cpp > checking for the directory containing the Wine tools... $(TOPOBJDIR) > checking for flex... flex > checking for bison... bison > checking for i686-redhat-linux-gnu-gas... no > checking for i686-redhat-linux-gnu-as... no > checking for gas... no > checking for as... as > checking for i686-redhat-linux-gnu-ld... no > checking for i686-redhat-linux-gnu-gld... no > checking for ld... ld > checking for i686-redhat-linux-gnu-nm... no > checking for i686-redhat-linux-gnu-gnm... no > checking for nm... nm > checking for i686-redhat-linux-gnu-ar... no > checking for i686-redhat-linux-gnu-gar... no > checking for ar... ar > checking for i686-redhat-linux-gnu-ranlib... no > checking for ranlib... ranlib > checking for i686-redhat-linux-gnu-strip... no > checking for strip... strip > checking for i686-redhat-linux-gnu-windres... no wine-rpath.patch - from previous fedora rpm > --- configure.orig 2008-11-05 12:25:10.000000000 +0300 > +++ configure 2008-11-06 22:22:27.000000000 +0300 > @@ -9306,14 +9306,14 @@ > fi > > > - as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh` > -{ $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5 > -$as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; } > + as_ac_var=`$as_echo "ac_cv_cflags_-fPIC" | $as_tr_sh` > +{ $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC" >&5 > +$as_echo_n "checking whether the compiler supports -fPIC" >&6; } > if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then > $as_echo_n "(cached) " >&6 > else > ac_wine_try_cflags_saved=$CFLAGS > -CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib" > +CFLAGS="$CFLAGS -fPIC" > cat >conftest.$ac_ext <<_ACEOF > /* confdefs.h. */ > _ACEOF > @@ -9369,8 +9369,8 @@ > $as_echo "$ac_res" >&6; } > if test `eval 'as_val=${'$as_ac_var'} > $as_echo "$as_val"'` = yes; then > - LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`" > - LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine" > + LDRPATH_INSTALL="" > + LDRPATH_LOCAL="" > else > as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh` > { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5