On Sat, May 16, 2015 at 01:27:06PM +0200, Bruno Friedmann wrote:
With this package https://build.opensuse.org/package/show/home:bruno_friedmann:branches:Applic...
I've a kind of interesting case where only one target is failing
osc remotebuildlog home:bruno_friedmann:branches:Application:Geo libght openSUSE_13.2 x86_64
[ 92s] + cd libght-0.1.0 [ 92s] + find . -name CMakeLists.txt -exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\)/{s/^/#IGNORE /}' '{}' + [ 92s] + mkdir -p build [ 92s] + cd build [ 92s] + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=None '-DCMAKE_C_FLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG' '-DCMAKE_CXX_FLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG' '-DCMAKE_Fortran_FLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG' '-DCMAKE_EXE_LINKER_FLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now' '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now' '-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now' -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_COLOR_MAKEFILE:BOOL=OFF -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_MODULES_INSTALL_DIR=/usr/share/cmake/Modules -DCMAKE_USER_MAKE_RULES_OVERRIDE=/usr/share/cmake/Modules/opensuse_rules.cmake '-DCMAKE_C_FLAGS_RELEASE=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -g -DNDEBUG' '-DCMAKE_CXX_FLAGS_RELEASE=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -g -DNDEBUG' -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_SKIP_RPAH=ON -DCMAKE_CXX_COMPILER=/usr/bin/c++ .. [ 95s] -- The C compiler identification is GNU 4.8.3 [ 95s] -- The CXX compiler identification is GNU 4.8.3 [ 95s] -- Check for working C compiler: cc [ 95s] -- Check for working C compiler: cc -- works [ 95s] -- Detecting C compiler ABI info [ 95s] -- Detecting C compiler ABI info - done [ 95s] -- Detecting C compile features [ 96s] -- Detecting C compile features - done [ 96s] CMake Error at CMakeLists.txt:7 (project): [ 96s] The CMAKE_CXX_COMPILER: [ 96s] [ 96s] /home/abuild/rpmbuild/BUILD/libght-0.1.0/build/c++
When under openSUSE_Factory it works perfect
[ 69s] + cd libght-0.1.0 [ 69s] + find . -name CMakeLists.txt -exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\)/{s/^/#IGNORE /}' '{}' + [ 69s] + mkdir -p build [ 69s] + cd build [ 69s] + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=None '-DCMAKE_C_FLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG' '-DCMAKE_CXX_FLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG' '-DCMAKE_Fortran_FLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG' '-DCMAKE_EXE_LINKER_FLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now' '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now' '-DCMAKE_SHARED_LINKER_FLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now' -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_COLOR_MAKEFILE:BOOL=OFF -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_MODULES_INSTALL_DIR=/usr/share/cmake/Modules -DCMAKE_USER_MAKE_RULES_OVERRIDE=/usr/share/cmake/Modules/opensuse_rules.cmake '-DCMAKE_C_FLAGS_RELEASE=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -g -DNDEBUG' '-DCMAKE_CXX_FLAGS_RELEASE=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fno-strict-aliasing -g -DNDEBUG' -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_SKIP_RPAH=ON -DCMAKE_CXX_COMPILER=/usr/bin/c++ .. [ 69s] -- The C compiler identification is GNU 4.8.3 [ 69s] -- The CXX compiler identification is GNU 4.8.3 [ 69s] -- Check for working C compiler: /usr/bin/gcc [ 69s] -- Check for working C compiler: /usr/bin/gcc -- works [ 69s] -- Detecting C compiler ABI info [ 69s] -- Detecting C compiler ABI info - done [ 69s] -- Detecting C compile features [ 69s] -- Detecting C compile features - done [ 69s] -- Check for working CXX compiler: /usr/bin/c++ [ 69s] -- Check for working CXX compiler: /usr/bin/c++ -- works [ 69s] -- Detecting CXX compiler ABI info [ 70s] -- Detecting CXX compiler ABI info - done [ 70s] -- Detecting CXX compile features [ 70s] -- Detecting CXX compile features - done [ 70s] -- Looking for include file stdint.h [ 70s] -- Looking for include file stdint.h - found [ 70s] -- Looking for include file getopt.h [ 70s] -- Looking for include file getopt.h - found [ 70s] -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.2") [ 70s] -- Searching for LibLAS + library [ 70s] -- Found libLAS version: 1.06.000 [ 70s] -- Found libLAS: /usr/lib64/liblas.so [ 70s] -- Found PROJ4: /usr/lib64/libproj.so [ 70s] -- Found CUnit: /usr/lib64/libcunit.so [ 70s] -- las2ght build enabled [ 70s] -- Configuring done [ 70s] -- Generating done [ 70s] CMake Warning: [ 70s] Manually-specified variables were not used by the project: [ 70s] [ 70s] BUILD_STATIC_LIBS [ 70s] CMAKE_Fortran_FLAGS [ 70s] CMAKE_INSTALL_DO_STRIP [ 70s] CMAKE_MODULES_INSTALL_DIR [ 70s] CMAKE_SKIP_RPAH [ 70s] INCLUDE_INSTALL_DIR [ 70s] LIB_SUFFIX [ 70s] SHARE_INSTALL_PREFIX [ 70s] SYSCONF_INSTALL_DIR [ 70s] [ 70s] [ 70s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/libght-0.1.0/build
Same for 13.1 and the most funny 13.2 i586
If some spyhawk eyes could have a look and tell me what's going wrong ?
perhaps just add buildrequires: gcc-c++ Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org