D: [iurt_root_command] chroot warning: Macro expanded in comment on line 63: %-doc %{_docdir}/libyui-ncurses%{major} Installing /home/iurt/rpmbuild/SRPMS/libyui-ncurses-2.55.0-1.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XurQy0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf libyui-ncurses-2.55.0 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/libyui-ncurses-2.55.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libyui-ncurses-2.55.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.n3hSf2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd libyui-ncurses-2.55.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./bootstrap.sh checking for /usr/share/libyui/buildtools/CMakeLists.common... OK: linked to /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/./CMakeLists.txt. + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -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=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DYPREFIX=/usr -DDOC_DIR=/usr/share/doc -DLIB_DIR=lib64 -DENABLE_DEBUG=1 -DINSTALL_DOCS=no -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Curses6: /usr/lib64/libncursesw.so;/usr/lib64/libpanelw.so -- Found Libyui: (Version: 3.10.0) -- USE_C_STD not set, defaulting to gnu99 -- Found Doxygen: /usr/bin/doxygen (found version "1.8.20") found components: doxygen dot -- Found Dot: /usr/bin/dot -- Found LATEX: /usr/bin/latex -- Found LaTeX: /usr/bin/pdflatex -- Found LaTeX: /usr/bin/makeindex -- -- ******************************************************************************** -- -- libyui-ncurses has been configured with following options: -- -- Plugin-Name: ncurses -- Extension-Name: -- Library-Dependencies: Curses6;Libyui -- Plugin is for use with: -- targetlib to build: yui-ncurses -- -- Version: 2.55.0 -- SO-Version: 12.0.0 -- -- Used Build-Option: RELWITHDEBINFO -- Used Compiler-Flags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -- linking against: -- using includes from: /usr/include/yui;/usr/include/yui/..;/usr/include -- -- !!! WARNING !!! THIS MAY RESULT IN FAT LIBS !!! -- MAKE SURE YOU REALLY NEED THIS -- (e.g. packaging or development) -- -- Install to Prefix: /usr -- use Shared-Dir: /usr/share -- use Library-Dir: /usr/lib64/yui -- use Include-Dir: /usr/include/yui/ncurses -- use CMake Plugin-InstallDir: /usr/lib64/cmake/libyui-ncurses -- use Doc-Dir: /usr/share/doc/libyui-ncurses12 -- Data-Dir: /usr/share/libyui -- Theme-Dir: /usr/share/libyui/theme -- -- Disable shared library: OFF -- Include Debug-Symbols in library: ON -- Build a static library, too: OFF -- Build the examples, too: ON -- Build the tests, too: ON -- Generate test code coverage: OFF -- -- ******************************************************************************** -- -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_RUNSTATEDIR CMAKE_INSTALL_SYSCONFDIR INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build + /usr/bin/cmake --build build -j8 --verbose /usr/bin/cmake -S/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0 -B/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/CMakeFiles /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build' /usr/bin/gmake -f src/CMakeFiles/yui-ncurses.dir/build.make src/CMakeFiles/yui-ncurses.dir/depend gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build' cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0 /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src/CMakeFiles/yui-ncurses.dir/DependInfo.cmake --color= Dependee "/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src/CMakeFiles/yui-ncurses.dir/DependInfo.cmake" is newer than depender "/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src/CMakeFiles/yui-ncurses.dir/depend.internal". Dependee "/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src/CMakeFiles/yui-ncurses.dir/depend.internal". Scanning dependencies of target yui-ncurses gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build' /usr/bin/gmake -f src/CMakeFiles/yui-ncurses.dir/build.make src/CMakeFiles/yui-ncurses.dir/build gmake[2]: Entering directory '/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build' [ 1%] Building CXX object src/CMakeFiles/yui-ncurses.dir/position.cc.o [ 2%] Building CXX object src/CMakeFiles/yui-ncurses.dir/YNCursesUI.cc.o cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/position.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/position.cc cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/YNCursesUI.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.cc [ 5%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCApplication.cc.o [ 5%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCtoY2Event.cc.o cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/NCtoY2Event.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.cc [ 7%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCWidgetFactory.cc.o cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/NCApplication.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCApplication.cc [ 8%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCOptionalWidgetFactory.cc.o [ 10%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCPackageSelectorPluginStub.cc.o cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/NCWidgetFactory.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.cc cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/NCOptionalWidgetFactory.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.cc cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/NCPackageSelectorPluginStub.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCPackageSelectorPluginStub.cc [ 11%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCtext.cc.o cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/NCtext.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.cc [ 12%] Building CXX object src/CMakeFiles/yui-ncurses.dir/NCstring.cc.o cd /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src && /usr/bin/c++ -DNCURSES_INTERNALS=1 -DVERSION=\"2.55.0\" -D_XOPEN_SOURCE=500 -Dyui_ncurses_EXPORTS -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src -I/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build/src -I/usr/include/yui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++0x -fmessage-length=0 -g3 -Wall -Werror -O3 -g3 -fPIC -o CMakeFiles/yui-ncurses.dir/NCstring.cc.o -c /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCstring.cc In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCApplication.cc:30: /usr/include/etip.h:143:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesPanel' has incomplete type and cannot be defined 143 | class NCURSES_CXX_IMPEXP NCursesPanel; | ^~~~~~~~~~~~ /usr/include/etip.h:144:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesMenu' has incomplete type and cannot be defined 144 | class NCURSES_CXX_IMPEXP NCursesMenu; | ^~~~~~~~~~~ /usr/include/etip.h:145:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesForm' has incomplete type and cannot be defined 145 | class NCURSES_CXX_IMPEXP NCursesForm; | ^~~~~~~~~~~ /usr/include/etip.h:147:26: error: variable 'NCURSES_CXX_IMPEXP NCursesException' has initializer but incomplete type 147 | class NCURSES_CXX_IMPEXP NCursesException | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:149:1: error: expected primary-expression before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h:149:1: error: expected '}' before 'public' /usr/include/etip.h:148:1: note: to match this '{' 148 | { | ^ /usr/include/etip.h:149:1: error: expected ',' or ';' before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*, int)': /usr/include/etip.h:154:7: error: only constructors take member initializers 154 | : message(msg), errorno (err) | ^~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*)': /usr/include/etip.h:158:7: error: only constructors take member initializers 158 | : message(msg), errorno (E_SYSTEM_ERROR) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:161:3: error: 'NCursesException' does not name a type 161 | NCursesException& operator=(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:167:26: error: 'NCursesException' does not name a type 167 | NCursesException(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const int&)': /usr/include/etip.h:168:7: error: only constructors take member initializers 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:19: error: request for member 'message' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:41: error: request for member 'errorno' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:172:3: error: 'virtual' outside class declaration 172 | virtual const char *classname() const { | ^~~~~~~ /usr/include/etip.h:172:35: error: non-member function 'const char* classname()' cannot have cv-qualifier 172 | virtual const char *classname() const { | ^~~~~ /usr/include/etip.h:176:28: error: expected class-name before '(' token 176 | virtual ~NCursesException() | ^ /usr/include/etip.h:179:1: error: expected declaration before '}' token 179 | }; | ^ /usr/include/etip.h:181:48: error: expected initializer before ':' token 181 | class NCURSES_CXX_IMPEXP NCursesPanelException : public NCursesException | ^ /usr/include/etip.h:232:47: error: expected initializer before ':' token 232 | class NCURSES_CXX_IMPEXP NCursesMenuException : public NCursesException | ^ /usr/include/etip.h:283:47: error: expected initializer before ':' token 283 | class NCURSES_CXX_IMPEXP NCursesFormException : public NCursesException | ^ /usr/include/etip.h:346:25: error: 'NCursesException' does not name a type 346 | inline void THROW(const NCursesException *e) { | ^~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCApplication.cc:30: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:908:5: error: friend declaration does not name a class or function 908 | friend class NCursesMenu; | ^~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:909:5: error: friend declaration does not name a class or function 909 | friend class NCursesForm; | ^~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCDumbTab.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.h:30, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.cc:25: /usr/include/etip.h:143:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesPanel' has incomplete type and cannot be defined 143 | class NCURSES_CXX_IMPEXP NCursesPanel; | ^~~~~~~~~~~~ /usr/include/etip.h:144:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesMenu' has incomplete type and cannot be defined 144 | class NCURSES_CXX_IMPEXP NCursesMenu; | ^~~~~~~~~~~ /usr/include/etip.h:145:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesForm' has incomplete type and cannot be defined 145 | class NCURSES_CXX_IMPEXP NCursesForm; | ^~~~~~~~~~~ /usr/include/etip.h:147:26: error: variable 'NCURSES_CXX_IMPEXP NCursesException' has initializer but incomplete type 147 | class NCURSES_CXX_IMPEXP NCursesException | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:149:1: error: expected primary-expression before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h:149:1: error: expected '}' before 'public' /usr/include/etip.h:148:1: note: to match this '{' 148 | { | ^ /usr/include/etip.h:149:1: error: expected ',' or ';' before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*, int)': /usr/include/etip.h:154:7: error: only constructors take member initializers 154 | : message(msg), errorno (err) | ^~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*)': /usr/include/etip.h:158:7: error: only constructors take member initializers 158 | : message(msg), errorno (E_SYSTEM_ERROR) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:161:3: error: 'NCursesException' does not name a type 161 | NCursesException& operator=(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:167:26: error: 'NCursesException' does not name a type 167 | NCursesException(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const int&)': /usr/include/etip.h:168:7: error: only constructors take member initializers 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:19: error: request for member 'message' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:41: error: request for member 'errorno' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:172:3: error: 'virtual' outside class declaration 172 | virtual const char *classname() const { | ^~~~~~~ /usr/include/etip.h:172:35: error: non-member function 'const char* classname()' cannot have cv-qualifier 172 | virtual const char *classname() const { | ^~~~~ /usr/include/etip.h:176:28: error: expected class-name before '(' token 176 | virtual ~NCursesException() | ^ /usr/include/etip.h:179:1: error: expected declaration before '}' token 179 | }; | ^ /usr/include/etip.h:181:48: error: expected initializer before ':' token 181 | class NCURSES_CXX_IMPEXP NCursesPanelException : public NCursesException | ^ /usr/include/etip.h:232:47: error: expected initializer before ':' token 232 | class NCURSES_CXX_IMPEXP NCursesMenuException : public NCursesException | ^ /usr/include/etip.h:283:47: error: expected initializer before ':' token 283 | class NCURSES_CXX_IMPEXP NCursesFormException : public NCursesException | ^ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:41, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCApplication.cc:30: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:288:1: error: expected class-name before '{' token 288 | { | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(int, int, int, int, const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:300:4: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 300 | : NCursesPanel( lines, cols, begin_y, begin_x ) | ^~~~~~~~~~~~ /usr/include/etip.h:346:25: error: 'NCursesException' does not name a type 346 | inline void THROW(const NCursesException *e) { | ^~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:302:7: error: 'p' was not declared in this scope 302 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 303 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:310:57: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 310 | NCursesUserPanel( const T* p_UserData = ( T* )0 ) : NCursesPanel() | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:312:7: error: 'p' was not declared in this scope 312 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:313:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 313 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'T* NCursesUserPanel::UserData() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:323:15: error: there are no arguments to 'get_user' that depend on a template parameter, so a declaration of 'get_user' must be available [-fpermissive] 323 | return ( T* )get_user(); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'virtual void NCursesUserPanel::setUserData(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:331:7: error: 'p' was not declared in this scope 331 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:332:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 332 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In static member function 'static T* NCursesUserPanel::UserDataOf(const PANEL&)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:340:76: error: there are no arguments to 'get_Panel_of' that depend on a template parameter, so a declaration of 'get_Panel_of' must be available [-fpermissive] 340 | const NCursesUserPanel * p = dynamic_cast*>( get_Panel_of( pan ) ); | ^~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.h:29, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.cc:26: /usr/include/etip.h:143:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesPanel' has incomplete type and cannot be defined 143 | class NCURSES_CXX_IMPEXP NCursesPanel; | ^~~~~~~~~~~~ /usr/include/etip.h:144:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesMenu' has incomplete type and cannot be defined 144 | class NCURSES_CXX_IMPEXP NCursesMenu; | ^~~~~~~~~~~ /usr/include/etip.h:145:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesForm' has incomplete type and cannot be defined 145 | class NCURSES_CXX_IMPEXP NCursesForm; | ^~~~~~~~~~~ /usr/include/etip.h:147:26: error: variable 'NCURSES_CXX_IMPEXP NCursesException' has initializer but incomplete type 147 | class NCURSES_CXX_IMPEXP NCursesException | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:149:1: error: expected primary-expression before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h:149:1: error: expected '}' before 'public' /usr/include/etip.h:148:1: note: to match this '{' 148 | { | ^ /usr/include/etip.h:149:1: error: expected ',' or ';' before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*, int)': /usr/include/etip.h:154:7: error: only constructors take member initializers 154 | : message(msg), errorno (err) | ^~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*)': /usr/include/etip.h:158:7: error: only constructors take member initializers 158 | : message(msg), errorno (E_SYSTEM_ERROR) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:161:3: error: 'NCursesException' does not name a type 161 | NCursesException& operator=(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCDumbTab.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.h:30, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.cc:25: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:908:5: error: friend declaration does not name a class or function 908 | friend class NCursesMenu; | ^~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:909:5: error: friend declaration does not name a class or function 909 | friend class NCursesForm; | ^~~~~~ /usr/include/etip.h:167:26: error: 'NCursesException' does not name a type 167 | NCursesException(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const int&)': /usr/include/etip.h:168:7: error: only constructors take member initializers 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:19: error: request for member 'message' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:41: error: request for member 'errorno' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:172:3: error: 'virtual' outside class declaration 172 | virtual const char *classname() const { | ^~~~~~~ /usr/include/etip.h:172:35: error: non-member function 'const char* classname()' cannot have cv-qualifier 172 | virtual const char *classname() const { | ^~~~~ /usr/include/etip.h:176:28: error: expected class-name before '(' token 176 | virtual ~NCursesException() | ^ /usr/include/etip.h:179:1: error: expected declaration before '}' token 179 | }; | ^ /usr/include/etip.h:181:48: error: expected initializer before ':' token 181 | class NCURSES_CXX_IMPEXP NCursesPanelException : public NCursesException | ^ /usr/include/etip.h:232:47: error: expected initializer before ':' token 232 | class NCURSES_CXX_IMPEXP NCursesMenuException : public NCursesException | ^ /usr/include/etip.h:283:47: error: expected initializer before ':' token 283 | class NCURSES_CXX_IMPEXP NCursesFormException : public NCursesException | ^ /usr/include/etip.h:346:25: error: 'NCursesException' does not name a type 346 | inline void THROW(const NCursesException *e) { | ^~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:41, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCDumbTab.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.h:30, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.cc:25: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:288:1: error: expected class-name before '{' token 288 | { | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(int, int, int, int, const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:300:4: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 300 | : NCursesPanel( lines, cols, begin_y, begin_x ) | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:302:7: error: 'p' was not declared in this scope 302 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 303 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:310:57: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 310 | NCursesUserPanel( const T* p_UserData = ( T* )0 ) : NCursesPanel() | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:312:7: error: 'p' was not declared in this scope 312 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:313:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 313 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'T* NCursesUserPanel::UserData() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:323:15: error: there are no arguments to 'get_user' that depend on a template parameter, so a declaration of 'get_user' must be available [-fpermissive] 323 | return ( T* )get_user(); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'virtual void NCursesUserPanel::setUserData(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:331:7: error: 'p' was not declared in this scope 331 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:332:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 332 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In static member function 'static T* NCursesUserPanel::UserDataOf(const PANEL&)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:340:76: error: there are no arguments to 'get_Panel_of' that depend on a template parameter, so a declaration of 'get_Panel_of' must be available [-fpermissive] 340 | const NCursesUserPanel * p = dynamic_cast*>( get_Panel_of( pan ) ); | ^~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCApplication.cc:30: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: At global scope: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:170:5: error: 'NCursesPanel' does not name a type; did you mean 'NCursesPad'? 170 | NCursesPanel * stdpan; | ^~~~~~~~~~~~ | NCursesPad In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.h:29, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.cc:26: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:908:5: error: friend declaration does not name a class or function 908 | friend class NCursesMenu; | ^~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:909:5: error: friend declaration does not name a class or function 909 | friend class NCursesForm; | ^~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: In member function 'bool NCurses::initialized() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:173:39: error: 'stdpan' was not declared in this scope; did you mean 'stdin'? 173 | bool initialized() const { return stdpan; } | ^~~~~~ | stdin In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.h:33, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.cc:28: /usr/include/etip.h:143:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesPanel' has incomplete type and cannot be defined 143 | class NCURSES_CXX_IMPEXP NCursesPanel; | ^~~~~~~~~~~~ /usr/include/etip.h:144:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesMenu' has incomplete type and cannot be defined 144 | class NCURSES_CXX_IMPEXP NCursesMenu; | ^~~~~~~~~~~ /usr/include/etip.h:145:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesForm' has incomplete type and cannot be defined 145 | class NCURSES_CXX_IMPEXP NCursesForm; | ^~~~~~~~~~~ /usr/include/etip.h:147:26: error: variable 'NCURSES_CXX_IMPEXP NCursesException' has initializer but incomplete type 147 | class NCURSES_CXX_IMPEXP NCursesException | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:149:1: error: expected primary-expression before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h:149:1: error: expected '}' before 'public' /usr/include/etip.h:148:1: note: to match this '{' 148 | { | ^ /usr/include/etip.h:149:1: error: expected ',' or ';' before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*, int)': /usr/include/etip.h:154:7: error: only constructors take member initializers 154 | : message(msg), errorno (err) | ^~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*)': /usr/include/etip.h:158:7: error: only constructors take member initializers 158 | : message(msg), errorno (E_SYSTEM_ERROR) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:161:3: error: 'NCursesException' does not name a type 161 | NCursesException& operator=(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:41, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.h:29, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.cc:26: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:288:1: error: expected class-name before '{' token 288 | { | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(int, int, int, int, const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:300:4: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 300 | : NCursesPanel( lines, cols, begin_y, begin_x ) | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:302:7: error: 'p' was not declared in this scope 302 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 303 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:310:57: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 310 | NCursesUserPanel( const T* p_UserData = ( T* )0 ) : NCursesPanel() | ^~~~~~~~~~~~ /usr/include/etip.h:167:26: error: 'NCursesException' does not name a type 167 | NCursesException(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const int&)': /usr/include/etip.h:168:7: error: only constructors take member initializers 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:19: error: request for member 'message' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:312:7: error: 'p' was not declared in this scope 312 | if ( p ) | ^ /usr/include/etip.h:168:41: error: request for member 'errorno' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:313:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 313 | set_user(( void * )p_UserData ); | ^~~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:172:3: error: 'virtual' outside class declaration 172 | virtual const char *classname() const { | ^~~~~~~ /usr/include/etip.h:172:35: error: non-member function 'const char* classname()' cannot have cv-qualifier 172 | virtual const char *classname() const { | ^~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'T* NCursesUserPanel::UserData() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:323:15: error: there are no arguments to 'get_user' that depend on a template parameter, so a declaration of 'get_user' must be available [-fpermissive] 323 | return ( T* )get_user(); | ^~~~~~~~ /usr/include/etip.h:176:28: error: expected class-name before '(' token 176 | virtual ~NCursesException() | ^ /usr/include/etip.h:179:1: error: expected declaration before '}' token 179 | }; | ^ /usr/include/etip.h:181:48: error: expected initializer before ':' token 181 | class NCURSES_CXX_IMPEXP NCursesPanelException : public NCursesException | ^ /usr/include/etip.h:232:47: error: expected initializer before ':' token 232 | class NCURSES_CXX_IMPEXP NCursesMenuException : public NCursesException | ^ /usr/include/etip.h:283:47: error: expected initializer before ':' token 283 | class NCURSES_CXX_IMPEXP NCursesFormException : public NCursesException | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'virtual void NCursesUserPanel::setUserData(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:331:7: error: 'p' was not declared in this scope 331 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:332:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 332 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In static member function 'static T* NCursesUserPanel::UserDataOf(const PANEL&)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:340:76: error: there are no arguments to 'get_Panel_of' that depend on a template parameter, so a declaration of 'get_Panel_of' must be available [-fpermissive] 340 | const NCursesUserPanel * p = dynamic_cast*>( get_Panel_of( pan ) ); | ^~~~~~~~~~~~ /usr/include/etip.h:346:25: error: 'NCursesException' does not name a type 346 | inline void THROW(const NCursesException *e) { | ^~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCAlignment.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.h:32, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.cc:27: /usr/include/etip.h:143:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesPanel' has incomplete type and cannot be defined 143 | class NCURSES_CXX_IMPEXP NCursesPanel; | ^~~~~~~~~~~~ /usr/include/etip.h:144:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesMenu' has incomplete type and cannot be defined 144 | class NCURSES_CXX_IMPEXP NCursesMenu; | ^~~~~~~~~~~ /usr/include/etip.h:145:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesForm' has incomplete type and cannot be defined 145 | class NCURSES_CXX_IMPEXP NCursesForm; | ^~~~~~~~~~~ /usr/include/etip.h:147:26: error: variable 'NCURSES_CXX_IMPEXP NCursesException' has initializer but incomplete type 147 | class NCURSES_CXX_IMPEXP NCursesException | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:149:1: error: expected primary-expression before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h:149:1: error: expected '}' before 'public' /usr/include/etip.h:148:1: note: to match this '{' 148 | { | ^ /usr/include/etip.h:149:1: error: expected ',' or ';' before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*, int)': /usr/include/etip.h:154:7: error: only constructors take member initializers 154 | : message(msg), errorno (err) | ^~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*)': /usr/include/etip.h:158:7: error: only constructors take member initializers 158 | : message(msg), errorno (E_SYSTEM_ERROR) | ^~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCDumbTab.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.h:30, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCOptionalWidgetFactory.cc:25: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: At global scope: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:170:5: error: 'NCursesPanel' does not name a type; did you mean 'NCursesPad'? 170 | NCursesPanel * stdpan; | ^~~~~~~~~~~~ | NCursesPad /usr/include/etip.h: At global scope: /usr/include/etip.h:161:3: error: 'NCursesException' does not name a type 161 | NCursesException& operator=(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: In member function 'bool NCurses::initialized() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:173:39: error: 'stdpan' was not declared in this scope; did you mean 'stdin'? 173 | bool initialized() const { return stdpan; } | ^~~~~~ | stdin /usr/include/etip.h:167:26: error: 'NCursesException' does not name a type 167 | NCursesException(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const int&)': /usr/include/etip.h:168:7: error: only constructors take member initializers 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:19: error: request for member 'message' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:41: error: request for member 'errorno' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:172:3: error: 'virtual' outside class declaration 172 | virtual const char *classname() const { | ^~~~~~~ /usr/include/etip.h:172:35: error: non-member function 'const char* classname()' cannot have cv-qualifier 172 | virtual const char *classname() const { | ^~~~~ /usr/include/etip.h:176:28: error: expected class-name before '(' token 176 | virtual ~NCursesException() | ^ /usr/include/etip.h:179:1: error: expected declaration before '}' token 179 | }; | ^ /usr/include/etip.h:181:48: error: expected initializer before ':' token 181 | class NCURSES_CXX_IMPEXP NCursesPanelException : public NCursesException | ^ /usr/include/etip.h:232:47: error: expected initializer before ':' token 232 | class NCURSES_CXX_IMPEXP NCursesMenuException : public NCursesException | ^ /usr/include/etip.h:283:47: error: expected initializer before ':' token 283 | class NCURSES_CXX_IMPEXP NCursesFormException : public NCursesException | ^ /usr/include/etip.h:346:25: error: 'NCursesException' does not name a type 346 | inline void THROW(const NCursesException *e) { | ^~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.h:29, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtoY2Event.cc:26: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: At global scope: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:170:5: error: 'NCursesPanel' does not name a type; did you mean 'NCursesPad'? 170 | NCursesPanel * stdpan; | ^~~~~~~~~~~~ | NCursesPad /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: In member function 'bool NCurses::initialized() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:173:39: error: 'stdpan' was not declared in this scope; did you mean 'stdin'? 173 | bool initialized() const { return stdpan; } | ^~~~~~ | stdin In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.h:33, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.cc:28: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:908:5: error: friend declaration does not name a class or function 908 | friend class NCursesMenu; | ^~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:909:5: error: friend declaration does not name a class or function 909 | friend class NCursesForm; | ^~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCAlignment.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.h:32, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.cc:27: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:908:5: error: friend declaration does not name a class or function 908 | friend class NCursesMenu; | ^~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:909:5: error: friend declaration does not name a class or function 909 | friend class NCursesForm; | ^~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:41, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCAlignment.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.h:32, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.cc:27: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:288:1: error: expected class-name before '{' token 288 | { | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(int, int, int, int, const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:300:4: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 300 | : NCursesPanel( lines, cols, begin_y, begin_x ) | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:302:7: error: 'p' was not declared in this scope 302 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 303 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:310:57: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 310 | NCursesUserPanel( const T* p_UserData = ( T* )0 ) : NCursesPanel() | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:312:7: error: 'p' was not declared in this scope 312 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:313:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 313 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'T* NCursesUserPanel::UserData() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:323:15: error: there are no arguments to 'get_user' that depend on a template parameter, so a declaration of 'get_user' must be available [-fpermissive] 323 | return ( T* )get_user(); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'virtual void NCursesUserPanel::setUserData(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:331:7: error: 'p' was not declared in this scope 331 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:332:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 332 | set_user(( void * )p_UserData ); | ^~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:41, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.h:33, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.cc:28: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:288:1: error: expected class-name before '{' token 288 | { | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In static member function 'static T* NCursesUserPanel::UserDataOf(const PANEL&)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:340:76: error: there are no arguments to 'get_Panel_of' that depend on a template parameter, so a declaration of 'get_Panel_of' must be available [-fpermissive] 340 | const NCursesUserPanel * p = dynamic_cast*>( get_Panel_of( pan ) ); | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(int, int, int, int, const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:300:4: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 300 | : NCursesPanel( lines, cols, begin_y, begin_x ) | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:302:7: error: 'p' was not declared in this scope 302 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 303 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:310:57: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 310 | NCursesUserPanel( const T* p_UserData = ( T* )0 ) : NCursesPanel() | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:312:7: error: 'p' was not declared in this scope 312 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:313:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 313 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'T* NCursesUserPanel::UserData() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:323:15: error: there are no arguments to 'get_user' that depend on a template parameter, so a declaration of 'get_user' must be available [-fpermissive] 323 | return ( T* )get_user(); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'virtual void NCursesUserPanel::setUserData(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:331:7: error: 'p' was not declared in this scope 331 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:332:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 332 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In static member function 'static T* NCursesUserPanel::UserDataOf(const PANEL&)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:340:76: error: there are no arguments to 'get_Panel_of' that depend on a template parameter, so a declaration of 'get_Panel_of' must be available [-fpermissive] 340 | const NCursesUserPanel * p = dynamic_cast*>( get_Panel_of( pan ) ); | ^~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCAlignment.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.h:32, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidgetFactory.cc:27: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: At global scope: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:170:5: error: 'NCursesPanel' does not name a type; did you mean 'NCursesPad'? 170 | NCursesPanel * stdpan; | ^~~~~~~~~~~~ | NCursesPad /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: In member function 'bool NCurses::initialized() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:173:39: error: 'stdpan' was not declared in this scope; did you mean 'stdin'? 173 | bool initialized() const { return stdpan; } | ^~~~~~ | stdin In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.h:33, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/YNCursesUI.cc:28: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: At global scope: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:170:5: error: 'NCursesPanel' does not name a type; did you mean 'NCursesPad'? 170 | NCursesPanel * stdpan; | ^~~~~~~~~~~~ | NCursesPad /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: In member function 'bool NCurses::initialized() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:173:39: error: 'stdpan' was not declared in this scope; did you mean 'stdin'? 173 | bool initialized() const { return stdpan; } | ^~~~~~ | stdin gmake[2]: *** [src/CMakeFiles/yui-ncurses.dir/build.make:150: src/CMakeFiles/yui-ncurses.dir/NCOptionalWidgetFactory.cc.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [src/CMakeFiles/yui-ncurses.dir/build.make:111: src/CMakeFiles/yui-ncurses.dir/NCtoY2Event.cc.o] Error 1 gmake[2]: *** [src/CMakeFiles/yui-ncurses.dir/build.make:124: src/CMakeFiles/yui-ncurses.dir/NCApplication.cc.o] Error 1 In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCPackageSelectorPluginStub.cc:30: /usr/include/etip.h:143:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesPanel' has incomplete type and cannot be defined 143 | class NCURSES_CXX_IMPEXP NCursesPanel; | ^~~~~~~~~~~~ /usr/include/etip.h:144:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesMenu' has incomplete type and cannot be defined 144 | class NCURSES_CXX_IMPEXP NCursesMenu; | ^~~~~~~~~~~ /usr/include/etip.h:145:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesForm' has incomplete type and cannot be defined 145 | class NCURSES_CXX_IMPEXP NCursesForm; | ^~~~~~~~~~~ /usr/include/etip.h:147:26: error: variable 'NCURSES_CXX_IMPEXP NCursesException' has initializer but incomplete type 147 | class NCURSES_CXX_IMPEXP NCursesException | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:149:1: error: expected primary-expression before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h:149:1: error: expected '}' before 'public' /usr/include/etip.h:148:1: note: to match this '{' 148 | { | ^ /usr/include/etip.h:149:1: error: expected ',' or ';' before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*, int)': /usr/include/etip.h:154:7: error: only constructors take member initializers 154 | : message(msg), errorno (err) | ^~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*)': /usr/include/etip.h:158:7: error: only constructors take member initializers 158 | : message(msg), errorno (E_SYSTEM_ERROR) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:161:3: error: 'NCursesException' does not name a type 161 | NCursesException& operator=(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:167:26: error: 'NCursesException' does not name a type 167 | NCursesException(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const int&)': /usr/include/etip.h:168:7: error: only constructors take member initializers 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:19: error: request for member 'message' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:41: error: request for member 'errorno' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:172:3: error: 'virtual' outside class declaration 172 | virtual const char *classname() const { | ^~~~~~~ /usr/include/etip.h:172:35: error: non-member function 'const char* classname()' cannot have cv-qualifier 172 | virtual const char *classname() const { | ^~~~~ /usr/include/etip.h:176:28: error: expected class-name before '(' token 176 | virtual ~NCursesException() | ^ /usr/include/etip.h:179:1: error: expected declaration before '}' token 179 | }; | ^ /usr/include/etip.h:181:48: error: expected initializer before ':' token 181 | class NCURSES_CXX_IMPEXP NCursesPanelException : public NCursesException | ^ /usr/include/etip.h:232:47: error: expected initializer before ':' token 232 | class NCURSES_CXX_IMPEXP NCursesMenuException : public NCursesException | ^ /usr/include/etip.h:283:47: error: expected initializer before ':' token 283 | class NCURSES_CXX_IMPEXP NCursesFormException : public NCursesException | ^ /usr/include/etip.h:346:25: error: 'NCursesException' does not name a type 346 | inline void THROW(const NCursesException *e) { | ^~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCPackageSelectorPluginStub.cc:30: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:908:5: error: friend declaration does not name a class or function 908 | friend class NCursesMenu; | ^~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:909:5: error: friend declaration does not name a class or function 909 | friend class NCursesForm; | ^~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:41, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCPackageSelectorPluginStub.cc:30: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:288:1: error: expected class-name before '{' token 288 | { | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(int, int, int, int, const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:300:4: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 300 | : NCursesPanel( lines, cols, begin_y, begin_x ) | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:302:7: error: 'p' was not declared in this scope 302 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 303 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:310:57: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 310 | NCursesUserPanel( const T* p_UserData = ( T* )0 ) : NCursesPanel() | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:312:7: error: 'p' was not declared in this scope 312 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:313:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 313 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'T* NCursesUserPanel::UserData() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:323:15: error: there are no arguments to 'get_user' that depend on a template parameter, so a declaration of 'get_user' must be available [-fpermissive] 323 | return ( T* )get_user(); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'virtual void NCursesUserPanel::setUserData(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:331:7: error: 'p' was not declared in this scope 331 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:332:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 332 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In static member function 'static T* NCursesUserPanel::UserDataOf(const PANEL&)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:340:76: error: there are no arguments to 'get_Panel_of' that depend on a template parameter, so a declaration of 'get_Panel_of' must be available [-fpermissive] 340 | const NCursesUserPanel * p = dynamic_cast*>( get_Panel_of( pan ) ); | ^~~~~~~~~~~~ gmake[2]: *** [src/CMakeFiles/yui-ncurses.dir/build.make:137: src/CMakeFiles/yui-ncurses.dir/NCWidgetFactory.cc.o] Error 1 In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCPackageSelectorPluginStub.cc:30: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: At global scope: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:170:5: error: 'NCursesPanel' does not name a type; did you mean 'NCursesPad'? 170 | NCursesPanel * stdpan; | ^~~~~~~~~~~~ | NCursesPad /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: In member function 'bool NCurses::initialized() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:173:39: error: 'stdpan' was not declared in this scope; did you mean 'stdin'? 173 | bool initialized() const { return stdpan; } | ^~~~~~ | stdin In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.h:32, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.cc:27: /usr/include/etip.h:143:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesPanel' has incomplete type and cannot be defined 143 | class NCURSES_CXX_IMPEXP NCursesPanel; | ^~~~~~~~~~~~ /usr/include/etip.h:144:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesMenu' has incomplete type and cannot be defined 144 | class NCURSES_CXX_IMPEXP NCursesMenu; | ^~~~~~~~~~~ /usr/include/etip.h:145:26: error: aggregate 'NCURSES_CXX_IMPEXP NCursesForm' has incomplete type and cannot be defined 145 | class NCURSES_CXX_IMPEXP NCursesForm; | ^~~~~~~~~~~ /usr/include/etip.h:147:26: error: variable 'NCURSES_CXX_IMPEXP NCursesException' has initializer but incomplete type 147 | class NCURSES_CXX_IMPEXP NCursesException | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:149:1: error: expected primary-expression before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h:149:1: error: expected '}' before 'public' /usr/include/etip.h:148:1: note: to match this '{' 148 | { | ^ /usr/include/etip.h:149:1: error: expected ',' or ';' before 'public' 149 | public: | ^~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*, int)': /usr/include/etip.h:154:7: error: only constructors take member initializers 154 | : message(msg), errorno (err) | ^~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const char*)': /usr/include/etip.h:158:7: error: only constructors take member initializers 158 | : message(msg), errorno (E_SYSTEM_ERROR) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:161:3: error: 'NCursesException' does not name a type 161 | NCursesException& operator=(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h:167:26: error: 'NCursesException' does not name a type 167 | NCursesException(const NCursesException& rhs) | ^~~~~~~~~~~~~~~~ /usr/include/etip.h: In function 'int NCursesException(const int&)': /usr/include/etip.h:168:7: error: only constructors take member initializers 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:19: error: request for member 'message' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h:168:41: error: request for member 'errorno' in 'rhs', which is of non-class type 'const int' 168 | : message(rhs.message), errorno(rhs.errorno) | ^~~~~~~ /usr/include/etip.h: At global scope: /usr/include/etip.h:172:3: error: 'virtual' outside class declaration 172 | virtual const char *classname() const { | ^~~~~~~ /usr/include/etip.h:172:35: error: non-member function 'const char* classname()' cannot have cv-qualifier 172 | virtual const char *classname() const { | ^~~~~ /usr/include/etip.h:176:28: error: expected class-name before '(' token 176 | virtual ~NCursesException() | ^ /usr/include/etip.h:179:1: error: expected declaration before '}' token 179 | }; | ^ /usr/include/etip.h:181:48: error: expected initializer before ':' token 181 | class NCURSES_CXX_IMPEXP NCursesPanelException : public NCursesException | ^ /usr/include/etip.h:232:47: error: expected initializer before ':' token 232 | class NCURSES_CXX_IMPEXP NCursesMenuException : public NCursesException | ^ /usr/include/etip.h:283:47: error: expected initializer before ':' token 283 | class NCURSES_CXX_IMPEXP NCursesFormException : public NCursesException | ^ /usr/include/etip.h:346:25: error: 'NCursesException' does not name a type 346 | inline void THROW(const NCursesException *e) { | ^~~~~~~~~~~~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:40, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.h:32, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.cc:27: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:908:5: error: friend declaration does not name a class or function 908 | friend class NCursesMenu; | ^~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesw.h:909:5: error: friend declaration does not name a class or function 909 | friend class NCursesForm; | ^~~~~~ In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:41, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.h:32, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.cc:27: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:288:1: error: expected class-name before '{' token 288 | { | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(int, int, int, int, const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:300:4: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 300 | : NCursesPanel( lines, cols, begin_y, begin_x ) | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:302:7: error: 'p' was not declared in this scope 302 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 303 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:303:6: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In constructor 'NCursesUserPanel::NCursesUserPanel(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:310:57: error: class 'NCursesUserPanel' does not have any field named 'NCursesPanel' 310 | NCursesUserPanel( const T* p_UserData = ( T* )0 ) : NCursesPanel() | ^~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:312:7: error: 'p' was not declared in this scope 312 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:313:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 313 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'T* NCursesUserPanel::UserData() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:323:15: error: there are no arguments to 'get_user' that depend on a template parameter, so a declaration of 'get_user' must be available [-fpermissive] 323 | return ( T* )get_user(); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In member function 'virtual void NCursesUserPanel::setUserData(const T*)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:331:7: error: 'p' was not declared in this scope 331 | if ( p ) | ^ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:332:6: error: there are no arguments to 'set_user' that depend on a template parameter, so a declaration of 'set_user' must be available [-fpermissive] 332 | set_user(( void * )p_UserData ); | ^~~~~~~~ /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h: In static member function 'static T* NCursesUserPanel::UserDataOf(const PANEL&)': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/ncursesp.h:340:76: error: there are no arguments to 'get_Panel_of' that depend on a template parameter, so a declaration of 'get_Panel_of' must be available [-fpermissive] 340 | const NCursesUserPanel * p = dynamic_cast*>( get_Panel_of( pan ) ); | ^~~~~~~~~~~~ gmake[2]: *** [src/CMakeFiles/yui-ncurses.dir/build.make:163: src/CMakeFiles/yui-ncurses.dir/NCPackageSelectorPluginStub.cc.o] Error 1 In file included from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCWidget.h:31, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.h:32, from /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCtext.cc:27: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: At global scope: /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:170:5: error: 'NCursesPanel' does not name a type; did you mean 'NCursesPad'? 170 | NCursesPanel * stdpan; | ^~~~~~~~~~~~ | NCursesPad /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h: In member function 'bool NCurses::initialized() const': /home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/src/NCurses.h:173:39: error: 'stdpan' was not declared in this scope; did you mean 'stdin'? 173 | bool initialized() const { return stdpan; } | ^~~~~~ | stdin gmake[2]: *** [src/CMakeFiles/yui-ncurses.dir/build.make:98: src/CMakeFiles/yui-ncurses.dir/YNCursesUI.cc.o] Error 1 gmake[2]: *** [src/CMakeFiles/yui-ncurses.dir/build.make:176: src/CMakeFiles/yui-ncurses.dir/NCtext.cc.o] Error 1 gmake[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build' gmake[1]: *** [CMakeFiles/Makefile2:256: src/CMakeFiles/yui-ncurses.dir/all] Error 2 gmake[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/libyui-ncurses-2.55.0/build' gmake: *** [Makefile:185: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.n3hSf2 (%build) RPM build errors: Macro expanded in comment on line 63: %-doc %{_docdir}/libyui-ncurses%{major} Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.n3hSf2 (%build) I: [iurt_root_command] ERROR: chroot