Hide Forgot
Description of problem: kdepim fails to re-prep from src rpm Version-Release number of selected component (if applicable): kdepim-4.4.9-2.fc14.src.rpm How reproducible: once Steps to Reproduce: 1.rpmbuild --rebuild -bp kdepim-4.4.9-2.fc14.src.rpm 2. 3. Actual results: failure Expected results: success Additional info: $ rpmbuild --rebuild -bp kdepim-4.4.9-2.fc14.src.rpm Installing kdepim-4.4.9-2.fc14.src.rpm warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0q34nP + umask 022 + cd /home/jerry/rpmbuild/BUILD + cd /home/jerry/rpmbuild/BUILD + rm -rf kdepim-4.4.9 + /usr/bin/bzip2 -dc /home/jerry/rpmbuild/SOURCES/kdepim-4.4.9.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd kdepim-4.4.9 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (kdepim-4.4.0-install-headers.patch):' Patch #0 (kdepim-4.4.0-install-headers.patch): + /usr/bin/patch -s -p0 -b --suffix .install-headers --fuzz=0 + /bin/cat /home/jerry/rpmbuild/SOURCES/kdepim-4.4.0-install-headers.patch + echo 'Patch #1 (kdepim-4.3.1-kmail-saveAttachments.patch):' Patch #1 (kdepim-4.3.1-kmail-saveAttachments.patch): + /usr/bin/patch -s -p0 -b --suffix .kmail-saveAttachments --fuzz=0 + /bin/cat /home/jerry/rpmbuild/SOURCES/kdepim-4.3.1-kmail-saveAttachments.patch + echo 'Patch #2 (kdepim-4.4.5-libassuan1.patch):' Patch #2 (kdepim-4.4.5-libassuan1.patch): + /usr/bin/patch -s -p1 -b --suffix .libassuan1 --fuzz=0 + /bin/cat /home/jerry/rpmbuild/SOURCES/kdepim-4.4.5-libassuan1.patch + echo 'Patch #100 (kdepim-4.4.9-kde248256.patch):' Patch #100 (kdepim-4.4.9-kde248256.patch): + /usr/bin/patch -s -p4 -b --suffix .kde258256 --fuzz=0 + /bin/cat /home/jerry/rpmbuild/SOURCES/kdepim-4.4.9-kde248256.patch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s1kMtL + umask 022 + cd /home/jerry/rpmbuild/BUILD + cd kdepim-4.4.9 + mkdir -p i386-redhat-linux + pushd i386-redhat-linux ~/rpmbuild/BUILD/kdepim-4.4.9/i386-redhat-linux ~/rpmbuild/BUILD/kdepim-4.4.9 + QTDIR=/usr/lib/qt4 + export QTDIR + PATH=/usr/lib/qt4/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:/home/jerry/bin + export PATH + CFLAGS='-O2 -g -march=i386 -mtune=i686' + export CFLAGS + CXXFLAGS='-O2 -g -march=i386 -mtune=i686' + export CXXFLAGS + FFLAGS='-O2 -g -march=i386 -mtune=i686' + export FFLAGS + /usr/bin/cmake -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DDATA_INSTALL_DIR:PATH=/usr/share/kde4/apps -DINCLUDE_INSTALL_DIR:PATH=/usr/include/kde4 -DLIB_INSTALL_DIR:PATH=/usr/lib -DLIBEXEC_INSTALL_DIR:PATH=/usr/libexec/kde4 -DSYSCONF_INSTALL_DIR:PATH=/etc .. -- The C compiler identification is GNU -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Enterprise build is disabled. -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.7.1 (using /usr/lib/qt4/bin/qmake) -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXpm.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXpm.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/libX11.so -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found OpenSSL: /usr/lib/libssl.so -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl -- Found Phonon: /usr/include -- Performing Test _OFFT_IS_64BIT CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:35 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Performing Test _OFFT_IS_64BIT - Failed -- Found KDE 4.5 include dir: /usr/include/kde4 -- Found KDE 4.5 library dir: /usr/lib/kde4/devel -- Found the KDE4 kconfig_compiler4 preprocessor: /usr/bin/kconfig_compiler4 -- Found automoc4: /usr/bin/automoc4 -- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake -- Boost version: 1.44.0 -- Found ZLIB: /usr/include -- Strigi API needs 'signed char' -- Found Strigi: /usr/lib/libstreams.so -- Found gpgme-config at /usr/bin/gpgme-config -- Found gpgme v1.2.0, checking for flavours... -- Found flavour 'vanilla', checking whether it's usable...yes -- Found flavour 'pthread', checking whether it's usable...yes -- Found flavour 'pth', checking whether it's usable...yes -- Usable gpgme flavours found: vanilla pthread pth -- Found QGpgme: /usr/lib/libqgpgme.so -- Found SharedDesktopOntologies: /usr/share/ontology (found version "0.5.0", required is "0.2") -- Found Soprano: /usr/include -- Found Nepomuk: /usr/lib/kde4/devel/libnepomuk.so -- Found libassuan1-config at /usr/bin/libassuan1-config -- Found assuan v1.0.5, checking for flavours... -- Found flavour 'vanilla', checking whether it's usable...yes -- Found flavour 'pthread', checking whether it's usable...yes -- Found flavour 'pth', checking whether it's usable...yes -- Usable assuan flavours found: vanilla pthread pth -- Performing Test HAVE_ASSUAN_FD_T CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:35 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Performing Test HAVE_ASSUAN_FD_T - Failed -- Looking for assuan_inquire_ext -- Looking for assuan_inquire_ext - found -- Performing Test HAVE_NEW_STYLE_ASSUAN_INQUIRE_EXT CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:35 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Performing Test HAVE_NEW_STYLE_ASSUAN_INQUIRE_EXT - Failed -- Performing Test HAVE_GPG_ERR_SOURCE_KLEO CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:35 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Performing Test HAVE_GPG_ERR_SOURCE_KLEO - Failed -- Performing Test HAVE_ASSUAN_SOCK_GET_NONCE CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:35 (GET_FILENAME_COMPONENT): get_filename_component called with incorrect number of arguments Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Performing Test HAVE_ASSUAN_SOCK_GET_NONCE - Failed -- Usable assuan found for Kleopatra -- Checking whether libassuan can be linked against from DSO's -- --> Assuming that it can. If compilation of libkleopatraclient fails on AMD64, check that libassuan is compiled with -fPIC and try again. Otherwise, pass -DBUILD_libkleopatraclient=OFF. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Looking for include files HAVE_SYS_POLL_H -- Looking for include files HAVE_SYS_POLL_H - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned long -- Check size of unsigned long - done CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Looking for include files HAVE_FCNTL_H -- Looking for include files HAVE_FCNTL_H - found -- Looking for include files HAVE_BYTESWAP_H -- Looking for include files HAVE_BYTESWAP_H - found -- Looking for include files HAVE_PATHS_H -- Looking for include files HAVE_PATHS_H - found -- Looking for include files SYS_INOTIFY_H_FOUND -- Looking for include files SYS_INOTIFY_H_FOUND - found -- Looking for mmap -- Looking for mmap - found -- checking for module 'indicate-qt>=0.2.1' -- package 'indicate-qt>=0.2.1' not found CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Check size of long -- Check size of long - done CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. -- Looking for include files HAVE_SYS_LIMITS_H -- Looking for include files HAVE_SYS_LIMITS_H - not found. -- Looking for include files HAVE_VALUES_H -- Looking for include files HAVE_VALUES_H - found ----------------------------------------------------------------------------- -- The following external packages were located on your system. -- This installation will have the extra features provided by these packages. ----------------------------------------------------------------------------- * Boost - Boost C++ Libraries * The Boost Topological_sort header - topological_sort.hpp (part of Boost_graph) * Akonadi - Akonadi server libraries * ZLib - The Zlib compression library * Strigi - Index metadata of files * gpgme - GnuPG Made Easy Development Libraries * QGpgME - The QGpgME library * Shared desktop ontologies - Desktop ontologies * Soprano - Semantic Desktop Storing * Nepomuk - The Nepomuk libraries * assuan - Assuan IPC library * X11 screensaver extension - X Window Screen Saver Development Library ----------------------------------------------------------------------------- -- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. ----------------------------------------------------------------------------- * indicate-qt (0.2.1 or higher) <http://launchpad.net/libindicate-qt> Qt bindings for libindicate Needed for KMail integration with libindicate Indicators. ----------------------------------------------------------------------------- -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.s1kMtL (%build) RPM build errors: user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root Bad exit status from /var/tmp/rpm-tmp.s1kMtL (%build) [jerry@walnut Downloads]$ more /var/tmp/rpm-tmp.s1kMtL #!/bin/sh RPM_SOURCE_DIR="/home/jerry/rpmbuild/SOURCES" RPM_BUILD_DIR="/home/jerry/rpmbuild/BUILD" RPM_OPT_FLAGS="-O2 -g -march=i386 -mtune=i686" RPM_ARCH="i386" RPM_OS="linux" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="kdepim" RPM_PACKAGE_VERSION="4.4.9" RPM_PACKAGE_RELEASE="2.fc14" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C export LANG unset CDPATH DISPLAY ||: RPM_BUILD_ROOT="/home/jerry/rpmbuild/BUILDROOT/kdepim-4.4.9-2.fc14.i386" export RPM_BUILD_ROOT PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH set -x umask 022 cd "/home/jerry/rpmbuild/BUILD" cd 'kdepim-4.4.9' mkdir -p i386-redhat-linux pushd i386-redhat-linux QTDIR="/usr/lib/qt4" ; export QTDIR ; PATH="/usr/lib/qt4/bin:$PATH" ; export PATH ; CFLAGS="${CFLAGS:--O2 -g -march=i386 -mtune=i686}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--O2 -g -march=i386 -mtune=i686}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--O2 -g -march=i386 -mtune=i686}" ; export FFLAGS ; /usr/bin/cmake \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DCMAKE_BUILD_TYPE=release \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DDATA_INSTALL_DIR:PATH=/usr/share/kde4/apps \ -DINCLUDE_INSTALL_DIR:PATH=/usr/include/kde4 \ -DLIB_INSTALL_DIR:PATH=/usr/lib \ -DLIBEXEC_INSTALL_DIR:PATH=/usr/libexec/kde4 \ -DSYSCONF_INSTALL_DIR:PATH=/etc .. popd make -j3 -C i386-redhat-linux exit 0
You don't have gcc-c++ installed, which is part of the minimal build requirements: https://fedoraproject.org/wiki/Packaging:Guidelines#Exceptions_2