From: Reindl H. <h.r...@th...> - 2014-07-02 19:07:11
|
Am 02.07.2014 20:57, schrieb Dyno Hongjun Fu: > have you tried to call "autoreconf -i" which will regenerate the configure file? thanks, yes now configure works but buid fails without additional changes :-( open-vm-tools-9.4.0.1280544 contains "configure" and builds just fine on the same machine (Fedora 20 x86_64) add -Wno-sizeof-pointer-memaccess and it builds but given that we now need *three* error-supressions leaves a bad taste in context of code-quality * -Wno-unused-local-typedefs * -Wno-deprecated-declarations * -Wno-sizeof-pointer-memaccess In file included from /usr/include/string.h:631:0, from /home/builduser/rpmbuild/BUILD/open-vm-tools-9.4.6-1770165/lib/include/dynbuf.h:28, from syncDriverPosix.c:30: syncDriverPosix.c: In function 'SyncDriverIsRemoteFSType': syncDriverPosix.c:76:30: error: argument to 'sizeof' in 'strncmp' call is the same expression as the second source; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess] sizeof gRemoteFSTypes[i]) == 0) { ^ syncDriverPosix.c:75:11: note: in expansion of macro 'Str_Strncmp' if (Str_Strncmp(fsType, gRemoteFSTypes[i], ^ cc1: all warnings being treated as errors make[2]: *** [syncDriverPosix.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/home/builduser/rpmbuild/BUILD/open-vm-tools-9.4.6-1770165/lib/syncDriver' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/builduser/rpmbuild/BUILD/open-vm-tools-9.4.6-1770165/lib' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.BCLFgY (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.BCLFgY (%build) > On Wed, Jul 2, 2014 at 11:49 AM, Reindl Harald <h.r...@th... <mailto:h.r...@th...>> wrote: > > something is terrible wrong with open-vm-tools-9.4.6-1770165 > > there is no ./configure and calling "autoconf" before > ./configure in the SPEC leades to a lot of other errors > > [builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb vmware-tools.spec > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mXaiCw > + umask 022 > + cd /home/builduser/rpmbuild/BUILD > + cd /home/builduser/rpmbuild/BUILD > + rm -rf open-vm-tools-9.4.6-1770165 > + /usr/bin/gzip -dc /home/builduser/rpmbuild/SOURCES/open-vm-tools-9.4.6-1770165.tar.gz > + /usr/bin/tar -xf - > + STATUS=0 > + '[' 0 -ne 0 ']' > + cd open-vm-tools-9.4.6-1770165 > + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . > + exit 0 > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kOwJ28 > + umask 022 > + cd /home/builduser/rpmbuild/BUILD > + cd open-vm-tools-9.4.6-1770165 > + autoconf > configure.ac:86 <http://configure.ac:86>: error: possibly undefined macro: AC_MSG_ERROR > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:137 <http://configure.ac:137>: error: possibly undefined macro: AC_MSG_WARN > configure.ac:210 <http://configure.ac:210>: error: possibly undefined macro: AM_INIT_AUTOMAKE > configure.ac:243 <http://configure.ac:243>: error: possibly undefined macro: AM_PROG_CC_C_O > configure.ac:252 <http://configure.ac:252>: error: possibly undefined macro: AC_PROG_LIBTOOL > configure.ac:295 <http://configure.ac:295>: error: possibly undefined macro: AC_VMW_CHECK_LIB > configure.ac:379 <http://configure.ac:379>: error: possibly undefined macro: AC_VMW_DEFAULT_FLAGS > configure.ac:388 <http://configure.ac:388>: error: possibly undefined macro: AC_VMW_LIB_ERROR > configure.ac:532 <http://configure.ac:532>: error: possibly undefined macro: AC_VMW_CHECK_LIBXX > configure.ac:657 <http://configure.ac:657>: error: possibly undefined macro: AC_DEFINE > configure.ac:1016 <http://configure.ac:1016>: error: possibly undefined macro: AM_CONDITIONAL > error: Bad exit status from /var/tmp/rpm-tmp.kOwJ28 (%build) |