<86>Jan 26 00:18:41 userdel[17157]: delete user 'rooter' <86>Jan 26 00:18:41 userdel[17157]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 00:18:41 groupadd[17164]: group added to /etc/group: name=rooter, GID=582 <86>Jan 26 00:18:41 groupadd[17164]: group added to /etc/gshadow: name=rooter <86>Jan 26 00:18:41 groupadd[17164]: new group: name=rooter, GID=582 <86>Jan 26 00:18:41 useradd[17176]: new user: name=rooter, UID=582, GID=582, home=/root, shell=/bin/bash <86>Jan 26 00:18:41 userdel[17189]: delete user 'builder' <86>Jan 26 00:18:41 userdel[17189]: removed group 'builder' owned by 'builder' <86>Jan 26 00:18:41 groupadd[17194]: group added to /etc/group: name=builder, GID=583 <86>Jan 26 00:18:41 groupadd[17194]: group added to /etc/gshadow: name=builder <86>Jan 26 00:18:41 groupadd[17194]: new group: name=builder, GID=583 <86>Jan 26 00:18:41 useradd[17203]: new user: name=builder, UID=583, GID=583, home=/usr/src, shell=/bin/bash <13>Jan 26 00:18:46 rpmi: xorg-xproto-devel-7.0.31-alt1 1480491055 installed <13>Jan 26 00:18:46 rpmi: libjpeg-2:1.3.1-alt0.1 1388074039 installed <13>Jan 26 00:18:46 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Jan 26 00:18:46 rpmi: xorg-xextproto-devel-2:7.3.0-alt1 1389258977 installed <13>Jan 26 00:18:46 rpmi: libpng15-1.5.28-alt1 1484572069 installed <13>Jan 26 00:18:46 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jan 26 00:18:46 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Jan 26 00:18:46 rpmi: libSM-1.2.2-alt1 1391072690 installed <13>Jan 26 00:18:46 rpmi: xorg-fixesproto-devel-1:5.0-alt1 1300091058 installed <13>Jan 26 00:18:46 rpmi: libsqlite3-3.15.2-alt1 1480432278 installed <13>Jan 26 00:18:46 rpmi: qt4-mobility-common-1.2.2-alt3 1432058524 installed <13>Jan 26 00:18:46 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed <13>Jan 26 00:18:46 rpmi: qt4-common-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: libqt4-core-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: libqt4-sql-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: libqt4-xml-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Jan 26 00:18:47 rpmi: xorg-videoproto-devel-2.3.3-alt1 1480491098 installed <13>Jan 26 00:18:47 rpmi: xorg-randrproto-devel-1:1.5.0-alt1 1431936131 installed <13>Jan 26 00:18:47 rpmi: xorg-renderproto-devel-0.11.1-alt3 1303465056 installed <13>Jan 26 00:18:47 rpmi: xorg-inputproto-devel-1:2.3.2-alt1 1480491157 installed <13>Jan 26 00:18:47 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531929 installed <13>Jan 26 00:18:47 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 26 00:18:47 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 00:18:47 rpmi: libXau-devel-1.0.8-alt1 1369565808 installed <13>Jan 26 00:18:47 rpmi: libverto-devel-0.2.6-alt1_6 1455633232 installed <13>Jan 26 00:18:47 rpmi: libqt4-sql-sqlite-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: libqt4-clucene-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: libqt4-test-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: rpm-macros-qt4-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: libpng-devel-1.5.28-alt1 1484572069 installed <13>Jan 26 00:18:47 rpmi: libSM-devel-1.2.2-alt1 1391072690 installed <13>Jan 26 00:18:47 rpmi: libcom_err-devel-1.42.13-alt2 1449075923 installed <13>Jan 26 00:18:47 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Jan 26 00:18:47 rpmi: libwebp6-0.5.2-alt1 1482953285 installed <13>Jan 26 00:18:47 rpmi: libalsa-1:1.1.3-alt3 1482850950 installed <13>Jan 26 00:18:47 rpmi: libwrap-1:7.6-alt11 1297041303 installed <13>Jan 26 00:18:47 rpmi: libsndfile-1.0.27-alt1 1479128605 installed <13>Jan 26 00:18:47 rpmi: libltdl7-2.4.2-alt5 1450059754 installed <13>Jan 26 00:18:47 rpmi: libunixODBC2-2.3.4-alt1 1470328266 installed <13>Jan 26 00:18:47 rpmi: libunixODBC-devel-compat-2.3.4-alt1 1470328266 installed <13>Jan 26 00:18:47 rpmi: libunixODBC-devel-2.3.4-alt1 1470328266 installed <13>Jan 26 00:18:47 rpmi: liblcms2-2.8-alt1 1471601532 installed <13>Jan 26 00:18:47 rpmi: libmng-1.0.10-alt3 1476962452 installed <13>Jan 26 00:18:47 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 00:18:47 rpmi: liborc-0.4.26-alt1 1473004961 installed <13>Jan 26 00:18:47 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Jan 26 00:18:47 rpmi: shared-mime-info-1.8-alt1 1482128522 installed <13>Jan 26 00:18:47 rpmi: liblz4-r131-alt1 1447866716 installed <13>Jan 26 00:18:47 rpmi: libgpg-error-1.20-alt1.1 1449204244 installed <13>Jan 26 00:18:47 rpmi: libgcrypt20-1.6.6-alt1 1471552782 installed <13>Jan 26 00:18:47 rpmi: libsystemd-1:232-alt1 1485301381 installed <13>Jan 26 00:18:47 rpmi: libdbus-1.10.12-alt1 1476116348 installed <13>Jan 26 00:18:47 rpmi: libqt4-dbus-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:47 rpmi: libqt4-network-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:48 rpmi: libqt4-script-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:48 rpmi: libqt4-xmlpatterns-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:48 rpmi: libdbus-devel-1.10.12-alt1 1476116348 installed <13>Jan 26 00:18:48 rpmi: libxslt-1.1.28-alt4 1448210408 installed <13>Jan 26 00:18:48 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Jan 26 00:18:48 rpmi: xorg-recordproto-devel-1:1.14.2-alt1 1332531993 installed <13>Jan 26 00:18:48 rpmi: xorg-xineramaproto-devel-1:1.2.1-alt1 1294328562 installed <13>Jan 26 00:18:48 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Jan 26 00:18:48 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Jan 26 00:18:48 rpmi: libdrm-1:2.4.74-alt1 1484221443 installed <13>Jan 26 00:18:48 rpmi: libX11-locales-3:1.6.4-alt1 1480493483 installed <13>Jan 26 00:18:48 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 26 00:18:48 rpmi: libxcb-1.12-alt1 1471592579 installed <13>Jan 26 00:18:48 rpmi: libX11-3:1.6.4-alt1 1480493483 installed <13>Jan 26 00:18:48 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 26 00:18:48 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 26 00:18:48 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Jan 26 00:18:48 rpmi: libXcursor-1.1.14-alt1 1369901598 installed <13>Jan 26 00:18:48 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 26 00:18:48 rpmi: libXi-1.7.4-alt1 1409902879 installed <13>Jan 26 00:18:48 rpmi: libXinerama-1.1.3-alt1 1369984572 installed <13>Jan 26 00:18:48 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Jan 26 00:18:48 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Jan 26 00:18:48 rpmi: libXv-1.0.10-alt1 1391072327 installed <13>Jan 26 00:18:48 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 26 00:18:48 rpmi: libGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 00:18:48 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Jan 26 00:18:49 rpmi: libxcb-devel-1.12-alt1 1471592579 installed <13>Jan 26 00:18:50 rpmi: libX11-devel-3:1.6.4-alt1 1480493483 installed <13>Jan 26 00:18:50 rpmi: libXext-devel-1.3.3-alt1 1409902959 installed <13>Jan 26 00:18:50 rpmi: libGL-devel-4:13.0.3-alt1 1484223040 installed <13>Jan 26 00:18:50 rpmi: libXfixes-devel-5.0.1-alt1 1369809608 installed <13>Jan 26 00:18:50 rpmi: libXi-devel-1.7.4-alt1 1409902879 installed <13>Jan 26 00:18:50 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Jan 26 00:18:50 rpmi: libXrandr-devel-1.5.0-alt1 1431936189 installed <13>Jan 26 00:18:50 rpmi: libXtst-devel-1.2.2-alt1 1369984893 installed <13>Jan 26 00:18:50 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Jan 26 00:18:50 rpmi: libXv-devel-1.0.10-alt1 1391072327 installed <13>Jan 26 00:18:50 rpmi: libXcursor-devel-1.1.14-alt1 1369901598 installed <13>Jan 26 00:18:50 rpmi: libXinerama-devel-1.1.3-alt1 1369984572 installed <13>Jan 26 00:18:50 rpmi: libpulseaudio-10.0-alt1 1484840383 installed <13>Jan 26 00:18:50 rpmi: gsettings-desktop-schemas-data-3.22.0-alt1 1474999772 installed <13>Jan 26 00:18:50 rpmi: libgio-2.50.2-alt1 1478537771 installed <13>Jan 26 00:18:50 rpmi: gsettings-desktop-schemas-3.22.0-alt1 1474999772 installed <13>Jan 26 00:18:50 rpmi: libgstreamer1.0-1.10.2-alt1 1480434262 installed <13>Jan 26 00:18:50 rpmi: libgst-plugins1.0-1.10.2-alt1 1480434656 installed <13>Jan 26 00:18:50 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 00:18:51 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 00:18:51 rpmi: libgraphite2-1.3.9-alt1 1482128024 installed <13>Jan 26 00:18:51 rpmi: libharfbuzz-1.4.2-alt1 1485254798 installed <13>Jan 26 00:18:51 rpmi: libfreetype-2.6.3-alt1 1455987209 installed <13>Jan 26 00:18:51 rpmi: fontconfig-2.12.1-alt1 1471005373 installed Updating fonts cache: <29>Jan 26 00:18:52 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 26 00:18:53 rpmi: libqt4-gui-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:53 rpmi: libqt4-designer-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:53 rpmi: libqt4-opengl-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:53 rpmi: libqt4-declarative-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:54 rpmi: libfreetype-devel-2.6.3-alt1 1455987209 installed <13>Jan 26 00:18:54 rpmi: fontconfig-devel-2.12.1-alt1 1471005373 installed <13>Jan 26 00:18:54 rpmi: libqt4-location-1.2.2-alt3 1432058524 installed <13>Jan 26 00:18:54 rpmi: libqt4-sensors-1.2.2-alt3 1432058524 installed <13>Jan 26 00:18:55 rpmi: libqt4-webkit-1:2.3.4-alt3 1453755747 installed <13>Jan 26 00:18:55 rpmi: libphonon-4.8.3-alt1 1418134069 installed <13>Jan 26 00:18:55 rpmi: libphononexperimental-4.8.3-alt1 1418134069 installed <13>Jan 26 00:18:55 rpmi: libqt4-qt3support-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:55 rpmi: libqt4-svg-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:56 rpmi: libqt4-uitools-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:56 rpmi: libqt4-multimedia-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:56 rpmi: libqt4-help-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:56 rpmi: libqt4-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:56 rpmi: libqt4-scripttools-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:56 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 00:18:56 rpmi: libcrypto10-1.0.2j-alt1 1474898021 installed <13>Jan 26 00:18:56 rpmi: libssl10-1.0.2j-alt1 1474898021 installed <13>Jan 26 00:18:56 rpmi: libkrb5-1.14.2-alt2 1465464128 installed <86>Jan 26 00:18:56 groupadd[28278]: group added to /etc/group: name=sasl, GID=499 <86>Jan 26 00:18:56 groupadd[28278]: group added to /etc/gshadow: name=sasl <86>Jan 26 00:18:56 groupadd[28278]: new group: name=sasl, GID=499 <13>Jan 26 00:18:56 rpmi: libsasl2-3-2.1.26-alt7 1479477448 installed <13>Jan 26 00:18:56 rpmi: libldap-2.4.42-alt4 1471466295 installed <13>Jan 26 00:18:56 rpmi: libkrb5-ldap-1.14.2-alt2 1465464128 installed <13>Jan 26 00:18:56 rpmi: libkrb5-devel-1.14.2-alt2 1465464128 installed <13>Jan 26 00:18:56 rpmi: libssl-devel-1.0.2j-alt1 1474898021 installed <13>Jan 26 00:18:56 rpmi: phonon-devel-4.8.3-alt1 1418134069 installed <13>Jan 26 00:18:56 rpmi: libqt4-webkit-devel-1:2.3.4-alt3 1453755747 installed <13>Jan 26 00:18:57 rpmi: libqt4-devel-4.8.7-alt8 1461777479 installed <13>Jan 26 00:18:58 rpmi: gcc6-c++-6.3.1-alt1 1484277945 installed Installing scrap2rtf-0.4-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.28476 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf scrap2rtf + echo 'Source #0 (scrap2rtf-0.4.tar.gz):' Source #0 (scrap2rtf-0.4.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/scrap2rtf-0.4.tar.gz + /bin/tar -xf - + cd scrap2rtf + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (scrap2rtf-0.4-build-fix.patch):' Patch #1 (scrap2rtf-0.4-build-fix.patch): + /usr/bin/patch -p2 patching file src/common_func.cpp + qmake-qt4 scrap2rtf.pro + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.51958 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd scrap2rtf + make make: Entering directory `/usr/src/RPM/BUILD/scrap2rtf' g++ -c -pipe -O2 -Wall -W -DQT_WEBKIT -I../../../../share/qt4/mkspecs/linux-g++ -I. -o src/main.o src/main.cpp src/main.cpp:40:13: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] cout << _("Try '"PROGRAM_NAME" --help' for more information.") << endl; ^ src/main.cpp:43:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] cout << _("Usage: "PROGRAM_NAME" [OPTION]... [FILE]...") << endl << endl; ^ src/main.cpp:50:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] cout << _("Report "PROGRAM_NAME" bugs to ivnitsky.a@gmail.com") << endl; ^ src/main.cpp:227:9: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] cout << "Copyright (C) 2009-2012 "AUTHORS << endl; ^ src/main.cpp: In function 'int scrapAnalize(std::__cxx11::string)': src/main.cpp:69:26: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(szSystem.c_str()); ^ g++ -c -pipe -O2 -Wall -W -DQT_WEBKIT -I../../../../share/qt4/mkspecs/linux-g++ -I. -o src/common_func.o src/common_func.cpp src/common_func.cpp: In function 'void MyCopyFile(std::__cxx11::string, std::__cxx11::string)': src/common_func.cpp:95:38: error: no match for 'operator<<' (operand types are 'std::basic_ostream' and 'std::ofstream {aka std::basic_ofstream}') cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ src/common_func.cpp:95:38: note: candidate: operator<<(int, int) src/common_func.cpp:95:38: note: no known conversion for argument 2 from 'std::ofstream {aka std::basic_ofstream}' to 'int' In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:108:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(__ostream_type& (*__pf)(__ostream_type&)) ^~~~~~~~ /usr/include/c++/6/ostream:108:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&) {aka std::basic_ostream& (*)(std::basic_ostream&)}' /usr/include/c++/6/ostream:117:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios] operator<<(__ios_type& (*__pf)(__ios_type&)) ^~~~~~~~ /usr/include/c++/6/ostream:117:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&) {aka std::basic_ios& (*)(std::basic_ios&)}' /usr/include/c++/6/ostream:127:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(ios_base& (*__pf) (ios_base&)) ^~~~~~~~ /usr/include/c++/6/ostream:127:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'std::ios_base& (*)(std::ios_base&)' /usr/include/c++/6/ostream:166:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(long __n) ^~~~~~~~ /usr/include/c++/6/ostream:166:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'long int' /usr/include/c++/6/ostream:170:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(unsigned long __n) ^~~~~~~~ /usr/include/c++/6/ostream:170:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'long unsigned int' /usr/include/c++/6/ostream:174:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(bool __n) ^~~~~~~~ /usr/include/c++/6/ostream:174:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'bool' In file included from /usr/include/c++/6/ostream:638:0, from /usr/include/c++/6/iostream:39, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/bits/ostream.tcc:91:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits] basic_ostream<_CharT, _Traits>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/ostream.tcc:91:5: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'short int' In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:181:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(unsigned short __n) ^~~~~~~~ /usr/include/c++/6/ostream:181:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'short unsigned int' In file included from /usr/include/c++/6/ostream:638:0, from /usr/include/c++/6/iostream:39, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/bits/ostream.tcc:105:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits] basic_ostream<_CharT, _Traits>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/ostream.tcc:105:5: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'int' In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:192:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(unsigned int __n) ^~~~~~~~ /usr/include/c++/6/ostream:192:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'unsigned int' /usr/include/c++/6/ostream:201:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(long long __n) ^~~~~~~~ /usr/include/c++/6/ostream:201:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'long long int' /usr/include/c++/6/ostream:205:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(unsigned long long __n) ^~~~~~~~ /usr/include/c++/6/ostream:205:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'long long unsigned int' /usr/include/c++/6/ostream:220:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(double __f) ^~~~~~~~ /usr/include/c++/6/ostream:220:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'double' /usr/include/c++/6/ostream:224:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(float __f) ^~~~~~~~ /usr/include/c++/6/ostream:224:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'float' /usr/include/c++/6/ostream:232:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(long double __f) ^~~~~~~~ /usr/include/c++/6/ostream:232:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'long double' /usr/include/c++/6/ostream:245:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(const void* __p) ^~~~~~~~ /usr/include/c++/6/ostream:245:7: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'const void*' In file included from /usr/include/c++/6/ostream:638:0, from /usr/include/c++/6/iostream:39, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/bits/ostream.tcc:119:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf] basic_ostream<_CharT, _Traits>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/ostream.tcc:119:5: note: no known conversion for argument 1 from 'std::ofstream {aka std::basic_ofstream}' to 'std::basic_ostream::__streambuf_type* {aka std::basic_streambuf*}' In file included from /usr/include/c++/6/string:52:0, from /usr/include/c++/6/bits/locale_classes.h:40, from /usr/include/c++/6/bits/ios_base.h:41, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/bits/basic_string.h:5325:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) operator<<(basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/6/bits/basic_string.h:5325:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: 'std::ofstream {aka std::basic_ofstream}' is not derived from 'const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/bits/ios_base.h:46:0, from /usr/include/c++/6/ios:42, from /usr/include/c++/6/ostream:38, from /usr/include/c++/6/iostream:39, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/system_error:209:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&) operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) ^~~~~~~~ /usr/include/c++/6/system_error:209:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'const std::error_code&' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:497:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT) operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) ^~~~~~~~ /usr/include/c++/6/ostream:497:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: deduced conflicting types for parameter '_CharT' ('char' and 'std::basic_ofstream') cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:502:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char) operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) ^~~~~~~~ /usr/include/c++/6/ostream:502:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'char' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:508:5: note: candidate: template std::basic_ostream& std::operator<<(std::basic_ostream&, char) operator<<(basic_ostream& __out, char __c) ^~~~~~~~ /usr/include/c++/6/ostream:508:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'char' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:514:5: note: candidate: template std::basic_ostream& std::operator<<(std::basic_ostream&, signed char) operator<<(basic_ostream& __out, signed char __c) ^~~~~~~~ /usr/include/c++/6/ostream:514:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'signed char' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:519:5: note: candidate: template std::basic_ostream& std::operator<<(std::basic_ostream&, unsigned char) operator<<(basic_ostream& __out, unsigned char __c) ^~~~~~~~ /usr/include/c++/6/ostream:519:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'unsigned char' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:539:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*) operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) ^~~~~~~~ /usr/include/c++/6/ostream:539:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: mismatched types 'const _CharT*' and 'std::basic_ofstream' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/ostream:638:0, from /usr/include/c++/6/iostream:39, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/bits/ostream.tcc:321:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*) operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) ^~~~~~~~ /usr/include/c++/6/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'const char*' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:556:5: note: candidate: template std::basic_ostream& std::operator<<(std::basic_ostream&, const char*) operator<<(basic_ostream& __out, const char* __s) ^~~~~~~~ /usr/include/c++/6/ostream:556:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'const char*' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:569:5: note: candidate: template std::basic_ostream& std::operator<<(std::basic_ostream&, const signed char*) operator<<(basic_ostream& __out, const signed char* __s) ^~~~~~~~ /usr/include/c++/6/ostream:569:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'const signed char*' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:574:5: note: candidate: template std::basic_ostream& std::operator<<(std::basic_ostream&, const unsigned char*) operator<<(basic_ostream& __out, const unsigned char* __s) ^~~~~~~~ /usr/include/c++/6/ostream:574:5: note: template argument deduction/substitution failed: src/common_func.cpp:95:41: note: cannot convert 'fDestFile' (type 'std::ofstream {aka std::basic_ofstream}') to type 'const unsigned char*' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ^~~~~~~~~ In file included from /usr/include/c++/6/iostream:39:0, from src/common_head.h:23, from src/common_func.h:19, from src/common_func.cpp:19: /usr/include/c++/6/ostream:628:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&&, const _Tp&) [with _CharT = char; _Traits = std::char_traits; _Tp = std::basic_ofstream] operator<<(basic_ostream<_CharT, _Traits>&& __os, const _Tp& __x) ^~~~~~~~ /usr/include/c++/6/ostream:628:5: note: conversion of argument 1 would be ill-formed: src/common_func.cpp:95:30: error: cannot bind 'std::basic_ostream' lvalue to 'std::basic_ostream&&' cerr << PROGRAM_NAME << ": " << fDestFile << ": " << _("Cannot create file") << endl; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make: *** [src/common_func.o] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/scrap2rtf' error: Bad exit status from /usr/src/tmp/rpm-tmp.51958 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.51958 (%build) Command exited with non-zero status 1 1.66user 0.18system 0:01.88elapsed 98%CPU (0avgtext+0avgdata 49052maxresident)k 0inputs+0outputs (0major+31564minor)pagefaults 0swaps hsh-rebuild: rebuild of `scrap2rtf-0.4-alt1.src.rpm' failed. Command exited with non-zero status 1 32.12user 6.64system 0:39.55elapsed 98%CPU (0avgtext+0avgdata 134000maxresident)k 0inputs+0outputs (0major+444149minor)pagefaults 0swaps