Overview

Request 865356 superseded

No description set
Loading...

Markéta Machová's avatar

ping @StefanBruens, if this is not enough for you I will be glad to make the changelog entry more explanatory


Benjamin Greiner's avatar

@StefanBruens, the reason for this is this failure in Staging:A:

[  112s] + /usr/bin/cmake /home/abuild/rpmbuild/BUILD/opencv-3.4.10/. '-GUnix Makefiles' -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR=/usr/libexec -DCMAKE_BUILD_TYPE=RelWithDebInfo '-DCMAKE_C_FLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG' '-DCMAKE_CXX_FLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG' '-DCMAKE_Fortran_FLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG' '-DCMAKE_EXE_LINKER_FLAGS=-flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now' '-DCMAKE_MODULE_LINKER_FLAGS=-flto=auto -Wl,--as-needed' '-DCMAKE_SHARED_LINKER_FLAGS=-flto=auto -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now' -DLIB_SUFFIX=64 -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/lib64/cmake/opencv3 -DINSTALL_C_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON -DENABLE_OMIT_FRAME_POINTER=OFF -DWITH_QT=ON -DWITH_OPENGL=ON -DWITH_UNICAP=ON -DWITH_XINE=ON -DWITH_IPP=OFF -DWITH_TBB=ON -DCPU_BASELINE=SSE2 -DCPU_DISPATCH=SSE3,SSE4_1,SSE4_2,AVX,FP16,AVX2 -DPYTHON_DEFAULT_EXECUTABLE=/usr/bin/python3 -DOPENCV_SKIP_PYTHON_LOADER=ON '-DOPENCV_PYTHON2_INSTALL_PATH=!!/usr/bin/python2' not 'installed!!' -DOPENCV_PYTHON3_INSTALL_PATH=/usr/lib64/python3.8/site-packages -DWITH_JASPER=OFF
[  112s] CMake Error: The source directory "/home/abuild/rpmbuild/BUILD/opencv-3.4.10/build/installed!!" does not exist.

If the build environment does not have python2, %python2_sitearch does not point to any existing path. Naturally, OPENCV_PYTHON2_INSTALL_PATH should not be set. Do you agree? (I know you don't like singlespec. But python2_sitearch is a macro from python-rpm-macros and does exactly what it is intended to do here)

@mcalabkova: Maybe write "only provide existing python install paths to cmake" in the changelog?


Markéta Machová's avatar

Thanks for the explanation! I superseeded with a different changelog entry, but this is only result of my (bad) habit "fix acute thing first, read emails later".


Request History
Markéta Machová's avatar

mcalabkova created request


Stefan Brüns's avatar

StefanBruens declined request

What for?
The changelog does not match the change


Markéta Machová's avatar

mcalabkova reopened request

it does, this package fails in Staging:A with new python-rpm-macros (https://build.opensuse.org/package/show/openSUSE:Factory:Staging:A/opencv3 now it is blocked, but it failed in the morning and nothing important changed)


openSUSE Build Service is sponsored by