See http://ci.opensuse.org/job/libyui-ncurses-pkg-master/147/display/redirect?pa...
Changes:
[aschnell] adapted to changes in libyui-ncurses
[aschnell] coding style
[aschnell] also change version in VERSION.cmake
------------------------------------------
[...truncated 43.65 KB...]
[ 27s] libxml2-devel-2.9.10-1.1 ########################################
[ 27s] libboost_test1_71_0-1.71.0-5.1 ########################################
[ 27s] libboost_test1_71_0-devel-1.71.0-5.1 ########################################
[ 27s] libboost_test-devel-1.71.0-1.1 ########################################
[ 27s] libyui-devel-3.9.0-1.1 ########################################
[ 27s] libboost_program_options1_71_0-1.71.0-########################################
[ 28s] libboost_program_options1_71_0-devel-1########################################
[ 28s] libboost_program_options-devel-1.71.0-########################################
[ 28s] libboost_date_time1_71_0-1.71.0-5.1 ########################################
[ 28s] libboost_date_time1_71_0-devel-1.71.0-########################################
[ 28s] libboost_chrono1_71_0-1.71.0-5.1 ########################################
[ 28s] libboost_chrono1_71_0-devel-1.71.0-5.1########################################
[ 28s] libboost_thread1_71_0-devel-1.71.0-5.1########################################
[ 28s] libboost_thread-devel-1.71.0-1.1 ########################################
[ 28s] libuv1-1.31.0-1.1 ########################################
[ 28s] librhash0-1.3.8-2.1 ########################################
[ 29s] libpython3_7m1_0-3.7.3-1.4 ########################################
[ 29s] python-rpm-macros-20191104.08e6493-1.1########################################
[ 30s] python3-base-3.7.3-1.4 ########################################
[ 33s] cmake-3.16.0-1.1 ########################################
[ 34s] libzypp-devel-17.17.0-1.1 ########################################
[ 34s] libyui-ncurses-devel-2.54.0-1.1 ########################################
[ 34s] gcc-c++-9-1.6 ########################################
[ 35s] removing nis flags from /var/tmp/build-root/openSUSE_Factory-x86_64/etc/nsswitch.conf...
[ 35s] now finalizing build dir...
[ 35s] unknown keyword in config: publishflags:
[ 35s] Warning: spec file parser line 62: can't expand %(...)
[ 35s] unknown keyword in config: publishflags:
[ 36s] unknown keyword in config: publishflags:
[ 36s] unknown keyword in config: publishflags:
[ 36s] -----------------------------------------------------------------
[ 36s] I have the following modifications for libyui-ncurses-pkg.spec:
[ 36s] 21c21
[ 36s] < Release: 0
[ 36s] ---
[ 36s] > Release: 1
[ 36s] 35c35
[ 36s] < BuildRequires: pkg-config
[ 36s] ---
[ 36s] > BuildRequires: pkgconf-pkg-config
[ 36s] -----------------------------------------------------------------
[ 36s] ----- building libyui-ncurses-pkg.spec (user abuild)
[ 36s] -----------------------------------------------------------------
[ 36s] -----------------------------------------------------------------
[ 36s] unknown keyword in config: publishflags:
[ 36s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature /home/abuild/rpmbuild/SOURCES/libyui-ncurses-pkg.spec
[ 36s] setting SOURCE_DATE_EPOCH=1576238400
[ 36s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0KmDYP
[ 36s] + umask 022
[ 36s] + cd /home/abuild/rpmbuild/BUILD
[ 36s] + cd /home/abuild/rpmbuild/BUILD
[ 36s] + rm -rf libyui-ncurses-pkg-2.50.2
[ 36s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/libyui-ncurses-pkg-2.50.2.tar.bz2
[ 36s] + /usr/bin/tar -xof -
[ 36s] + STATUS=0
[ 36s] + '[' 0 -ne 0 ']'
[ 36s] + cd libyui-ncurses-pkg-2.50.2
[ 36s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
[ 36s] + exit 0
[ 36s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gn4YiQ
[ 36s] + umask 022
[ 36s] + cd /home/abuild/rpmbuild/BUILD
[ 36s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/libyui-ncurses-pkg-2.50.2-1.x86_64
[ 36s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/libyui-ncurses-pkg-2.50.2-1.x86_64
[ 36s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT
[ 36s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/libyui-ncurses-pkg-2.50.2-1.x86_64
[ 36s] + cd libyui-ncurses-pkg-2.50.2
[ 36s] + export 'CFLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -DNDEBUG'
[ 36s] + CFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -DNDEBUG'
[ 36s] + export 'CXXFLAGS=-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -DNDEBUG'
[ 36s] + CXXFLAGS='-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -DNDEBUG'
[ 36s] + ./bootstrap.sh /usr
[ 36s] checking for /usr/share/libyui/buildtools/CMakeLists.common...
[ 36s] OK: linked to /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-2.50.2/./CMakeLists.txt.
[ 36s] + mkdir build
[ 36s] + cd build
[ 36s] + cmake .. -DYPREFIX=/usr -DDOC_DIR=/usr/share/doc/packages -DLIB_DIR=lib64 -DCMAKE_BUILD_TYPE=RELEASE
[ 36s] CMake Deprecation Warning at CMakeLists.txt:6 (cmake_policy):
[ 36s] The OLD behavior for policy CMP0053 will be removed from a future version
[ 36s] of CMake.
[ 36s]
[ 36s] The cmake-policies(7) manual explains that the OLD behaviors of all
[ 36s] policies are deprecated and that a policy should be set to OLD only under
[ 36s] specific short-term circumstances. Projects should be ported to the NEW
[ 36s] behavior and not rely on setting a policy to OLD.
[ 36s]
[ 36s]
[ 36s] CMake Deprecation Warning at CMakeLists.txt:12 (cmake_policy):
[ 36s] The OLD behavior for policy CMP0043 will be removed from a future version
[ 36s] of CMake.
[ 36s]
[ 36s] The cmake-policies(7) manual explains that the OLD behaviors of all
[ 36s] policies are deprecated and that a policy should be set to OLD only under
[ 36s] specific short-term circumstances. Projects should be ported to the NEW
[ 36s] behavior and not rely on setting a policy to OLD.
[ 36s]
[ 36s]
[ 36s] -- The C compiler identification is GNU 9.2.1
[ 37s] -- The CXX compiler identification is GNU 9.2.1
[ 37s] -- Check for working C compiler: /usr/bin/cc
[ 37s] -- Check for working C compiler: /usr/bin/cc -- works
[ 37s] -- Detecting C compiler ABI info
[ 37s] -- Detecting C compiler ABI info - done
[ 37s] -- Detecting C compile features
[ 37s] -- Detecting C compile features - done
[ 37s] -- Check for working CXX compiler: /usr/bin/c++
[ 37s] -- Check for working CXX compiler: /usr/bin/c++ -- works
[ 37s] -- Detecting CXX compiler ABI info
[ 38s] -- Detecting CXX compiler ABI info - done
[ 38s] -- Detecting CXX compile features
[ 38s] -- Detecting CXX compile features - done
[ 38s] -- Found Curses6: /usr/lib64/libncursesw.so;/usr/lib64/libpanelw.so
[ 38s] -- ZYpp path not set. Looking for it.
[ 38s] -- ZYpp found: includes in /usr/include, library in /usr/lib64/libzypp.so
[ 38s] -- Found Libyui: (Version: 3.9.0)
[ 38s] -- Found Libyui-ncurses: (Version: 2.54.0)
[ 38s] -- USE_C_STD not set, defaulting to gnu99
[ 38s] -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
[ 38s] --
[ 38s] -- ********************************************************************************
[ 38s] --
[ 38s] -- libyui-ncurses-pkg has been configured with following options:
[ 38s] --
[ 38s] -- Plugin-Name: ncurses-pkg
[ 38s] -- Extension-Name:
[ 38s] -- Library-Dependencies: Curses6;Zypp;Libyui;Libyui-ncurses
[ 38s] -- Plugin is for use with:
[ 38s] -- targetlib to build: yui-ncurses-pkg
[ 38s] --
[ 38s] -- Version: 2.50.2
[ 38s] -- SO-Version: 11.0.0
[ 38s] --
[ 38s] -- Used Build-Option: RELEASE
[ 38s] -- Used Compiler-Flags: -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -DNDEBUG -std=c++0x -fmessage-length=0 -Wall -Werror -O3
[ 38s] -- linking against:
[ 38s] -- using includes from: /usr/include/yui/ncurses;/usr/include/yui/ncurses/..;/usr/include/yui;/usr/include/yui/..;/usr/include;/usr/include
[ 38s] --
[ 38s] --
[ 38s] -- Install to Prefix: /usr
[ 38s] -- use Shared-Dir: /usr/share
[ 38s] -- use Library-Dir: /usr/lib64/yui
[ 38s] -- use Include-Dir: /usr/include/yui/ncurses-pkg
[ 38s] -- use CMake Plugin-InstallDir: /usr/lib64/cmake/libyui-ncurses-pkg
[ 38s] -- use Doc-Dir: /usr/share/doc/packages/libyui-ncurses-pkg11
[ 38s] -- Data-Dir: /usr/share/libyui
[ 38s] -- Theme-Dir: /usr/share/libyui/theme
[ 38s] --
[ 38s] -- Disable shared library: OFF
[ 38s] -- Include Debug-Symbols in library: OFF
[ 38s] -- Build a static library, too: OFF
[ 38s] -- Build the examples, too: ON
[ 38s] -- Build the tests, too: ON
[ 38s] -- Generate test code coverage: OFF
[ 38s] --
[ 38s] -- ********************************************************************************
[ 38s] --
[ 38s] -- Configuring done
[ 38s] -- Generating done
[ 38s] -- Build files have been written to: /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-2.50.2/build
[ 38s] + make -j2
[ 38s] Scanning dependencies of target yui-ncurses-pkg
[ 38s] [ 6%] Building CXX object src/CMakeFiles/yui-ncurses-pkg.dir/NCPackageSelector.cc.o
[ 38s] [ 6%] Building CXX object src/CMakeFiles/yui-ncurses-pkg.dir/NCPackageSelectorPluginImpl.cc.o
[ 42s] In file included from /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-2.50.2/src/NCPkgFilterInstSummary.h:50,
[ 42s] from /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-2.50.2/src/NCPackageSelector.h:64,
[ 42s] from /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-2.50.2/src/NCPackageSelectorStart.h:50,
[ 42s] from /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-2.50.2/src/NCPackageSelectorPluginImpl.cc:43:
[ 42s] /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-2.50.2/src/NCPkgTable.h:103:18: error: 'virtual void NCPkgTableSort::sort(std::vector