<86>Oct 26 10:48:17 userdel[3481870]: delete user 'rooter' <86>Oct 26 10:48:17 userdel[3481870]: removed group 'rooter' owned by 'rooter' <86>Oct 26 10:48:17 userdel[3481870]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 26 10:48:17 groupadd[3481876]: group added to /etc/group: name=rooter, GID=531 <86>Oct 26 10:48:17 groupadd[3481876]: group added to /etc/gshadow: name=rooter <86>Oct 26 10:48:17 groupadd[3481876]: new group: name=rooter, GID=531 <86>Oct 26 10:48:17 useradd[3481883]: new user: name=rooter, UID=531, GID=531, home=/root, shell=/bin/bash <86>Oct 26 10:48:17 userdel[3481897]: delete user 'builder' <86>Oct 26 10:48:17 userdel[3481897]: removed group 'builder' owned by 'builder' <86>Oct 26 10:48:17 userdel[3481897]: removed shadow group 'builder' owned by 'builder' <86>Oct 26 10:48:17 groupadd[3481907]: group added to /etc/group: name=builder, GID=532 <86>Oct 26 10:48:17 groupadd[3481907]: group added to /etc/gshadow: name=builder <86>Oct 26 10:48:17 groupadd[3481907]: new group: name=builder, GID=532 <86>Oct 26 10:48:17 useradd[3481914]: new user: name=builder, UID=532, GID=532, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/telegram-desktop-2.3.1-alt1.src.rpm: exception not found in '/usr/share/license-exception' directory: OpenSSL /usr/src/in/srpm/telegram-desktop-2.3.1-alt1.src.rpm: license not found in '/usr/share/license' directory: exception <13>Oct 26 10:48:21 rpmi: rpm-build-compat-2.2.2-alt1 sisyphus+259388.100.1.1 1602097151 installed <13>Oct 26 10:48:21 rpmi: qt5-base-common-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:21 rpmi: rpm-macros-qt5-5.15.1-alt2 sisyphus+259307.100.1.1 1601986371 installed <13>Oct 26 10:48:21 rpmi: rpm-build-intro-2.2.2-alt1 sisyphus+259388.100.1.1 1602097151 installed <13>Oct 26 10:48:21 rpmi: rpm-macros-cmake-3.18.4-alt1 sisyphus+259334.100.2.1 1602011542 installed warning: Macro %_Kservices not found <13>Oct 26 10:48:24 rpmi: qt5-declarative-common-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:24 rpmi: libxkbcommon-1.0.1-alt1 sisyphus+257936.100.1.1 1599867868 installed <13>Oct 26 10:48:24 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Oct 26 10:48:24 rpmi: libwayland-client-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Oct 26 10:48:24 rpmi: xorg-proto-devel-2020.1-alt1 sisyphus+250406.100.1.1 1587554810 installed <13>Oct 26 10:48:24 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Oct 26 10:48:24 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Oct 26 10:48:24 rpmi: libogg-1.3.4-alt1 sisyphus+247109.100.1.1 1582849994 installed <13>Oct 26 10:48:24 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Oct 26 10:48:24 rpmi: libwayland-server-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Oct 26 10:48:24 rpmi: perl-HTTP-Date-6.05-alt1 sisyphus+258981.100.1.1 1601542386 installed <13>Oct 26 10:48:24 rpmi: libopus-1.3.1-alt3 sisyphus+248017.100.1.1 1584520433 installed <13>Oct 26 10:48:24 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Oct 26 10:48:24 rpmi: vapi-common-0.50.1-alt1 sisyphus+258823.100.1.1 1601302339 installed <13>Oct 26 10:48:24 rpmi: libsqlite3-3.33.0-alt1 sisyphus+256344.100.1.1 1597522272 installed <13>Oct 26 10:48:24 rpmi: liblcms2-2.11-alt1 sisyphus+253499.100.1.1 1592287020 installed <13>Oct 26 10:48:24 rpmi: udev-rules-1:246.6-alt4 sisyphus+260111.200.2.1 1603281990 installed <13>Oct 26 10:48:24 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Oct 26 10:48:24 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Oct 26 10:48:25 rpmi: libicu67-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Oct 26 10:48:25 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Oct 26 10:48:25 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Oct 26 10:48:25 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Oct 26 10:48:25 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Oct 26 10:48:25 rpmi: libvorbis-1.3.7-alt1 sisyphus+256535.100.1.1 1597965510 installed <13>Oct 26 10:48:25 rpmi: libwayland-cursor-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Oct 26 10:48:25 rpmi: wayland-devel-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Oct 26 10:48:25 rpmi: libwayland-client-devel-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Oct 26 10:48:25 rpmi: qt5-wayland-common-5.15.1-alt1 sisyphus+257838.3000.3.1 1600072372 installed <13>Oct 26 10:48:26 rpmi: libhunspell-1.7.0-alt1 sisyphus+226731.100.2.1 1554585904 installed <13>Oct 26 10:48:26 rpmi: libmtdev-1.1.6-alt1 sisyphus+250141.100.1.1 1587131316 installed <13>Oct 26 10:48:26 rpmi: libts0-1.22-alt3 sisyphus+259302.100.1.1 1601981878 installed <13>Oct 26 10:48:26 rpmi: libvpx6-1.9.0-alt1 sisyphus+259077.100.2.1 1601616092 installed <13>Oct 26 10:48:26 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Oct 26 10:48:26 rpmi: libfribidi-1.0.10-alt1 sisyphus+254557.100.1.1 1594020362 installed <13>Oct 26 10:48:26 rpmi: libgudev-1:234-alt1 sisyphus+258314.700.14.2 1600844807 installed <13>Oct 26 10:48:26 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Oct 26 10:48:26 rpmi: perl-Compress-Raw-Zlib-2.096-alt1 sisyphus+258375.500.14.2 1600904345 installed <13>Oct 26 10:48:26 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Oct 26 10:48:26 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Oct 26 10:48:26 rpmi: libproxy-0.4.15-alt3.1 sisyphus+249308.100.1.1 1585930360 installed <13>Oct 26 10:48:26 rpmi: libnettle8-3.6-alt1 sisyphus+251637.100.3.1 1590060253 installed <13>Oct 26 10:48:26 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Oct 26 10:48:26 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Oct 26 10:48:26 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Oct 26 10:48:26 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Oct 26 10:48:26 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Oct 26 10:48:26 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Oct 26 10:48:26 rpmi: libgraphite2-devel-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Oct 26 10:48:26 rpmi: libhogweed6-3.6-alt1 sisyphus+251637.100.3.1 1590060253 installed <13>Oct 26 10:48:26 rpmi: libgnutls30-3.6.15-alt1 sisyphus+257742.200.2.1 1599668978 installed <13>Oct 26 10:48:26 rpmi: libwayland-server-devel-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Oct 26 10:48:26 rpmi: libe2fs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Oct 26 10:48:26 rpmi: icu-utils-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Oct 26 10:48:26 rpmi: libicu-devel-1:6.7.1-alt2 sisyphus+252432.100.2.2 1590796126 installed <13>Oct 26 10:48:26 rpmi: libmng-2.0.3-alt2 sisyphus+222619.100.1.1 1550943853 installed <13>Oct 26 10:48:26 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Oct 26 10:48:26 rpmi: perl-File-Listing-6.11-alt1 sisyphus+260303.100.1.1 1603547135 installed <13>Oct 26 10:48:26 rpmi: libOpenGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Oct 26 10:48:26 rpmi: libGLES-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Oct 26 10:48:26 rpmi: libtheora-2:1.1.1-alt6 sisyphus+223372.100.2.1 1551525762 installed <13>Oct 26 10:48:26 rpmi: libflac8-1.3.3-alt1 sisyphus+247112.100.1.1 1582855667 installed <13>Oct 26 10:48:26 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Oct 26 10:48:26 rpmi: libjasper-2.0.22-alt1 sisyphus+259396.40.3.1 1602110527 installed <13>Oct 26 10:48:26 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Oct 26 10:48:26 rpmi: qt5-imageformats-common-5.15.1-alt3 sisyphus+259893.100.1.1 1602677383 installed <13>Oct 26 10:48:26 rpmi: xxd-4:8.2.0011-alt2 sisyphus+258375.2100.14.3 1600986704 installed <13>Oct 26 10:48:26 rpmi: libxxhash-0.8.0-alt1 sisyphus+255893.100.1.1 1596626823 installed <13>Oct 26 10:48:26 rpmi: librlottie-0.1.1-alt2 sisyphus+256531.100.1.1 1597958240 installed <13>Oct 26 10:48:26 rpmi: libqrcodegen-cpp-1.5.0-alt1.git67c6246 sisyphus+253610.100.1.1 1592512977 installed <13>Oct 26 10:48:26 rpmi: libpcre16-8.44-alt1 sisyphus+246874.100.1.1 1582587781 installed <13>Oct 26 10:48:26 rpmi: pcretest-8.44-alt1 sisyphus+246874.100.1.1 1582587781 installed <13>Oct 26 10:48:26 rpmi: libopenal1-1.19.1-alt1 sisyphus+222956.100.1.1 1551298524 installed <13>Oct 26 10:48:26 rpmi: libminizip-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Oct 26 10:48:26 rpmi: libwacom-data-1.5-alt1 sisyphus+257055.100.1.1 1598866900 installed <13>Oct 26 10:48:26 rpmi: libwacom-1.5-alt1 sisyphus+257055.100.1.1 1598866888 installed <13>Oct 26 10:48:26 rpmi: libevdev-1.9.1-alt1 sisyphus+254991.100.1.1 1594900927 installed <13>Oct 26 10:48:26 rpmi: libinput-1.16.2-alt1 sisyphus+260255.100.1.1 1603463669 installed <13>Oct 26 10:48:26 rpmi: libpcre2-10.35-alt1 sisyphus+251510.100.1.1 1589115526 installed <13>Oct 26 10:48:27 rpmi: libqt5-core-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:27 rpmi: libqt5-sql-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:27 rpmi: libqt5-test-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:27 rpmi: libqt5-concurrent-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:27 rpmi: libqt5-xml-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:27 rpmi: libzeromq-4.2.3-alt1 1513846894 installed <13>Oct 26 10:48:27 rpmi: libgme-0.6.1-alt1 1521318055 installed <13>Oct 26 10:48:27 rpmi: libudfread-1.1.0-alt1 sisyphus+254309.100.1.1 1593595611 installed <13>Oct 26 10:48:27 rpmi: vulkan-filesystem-1.2.152-alt1 sisyphus+257666.300.3.1 1599632436 installed <13>Oct 26 10:48:27 rpmi: libvulkan1-1.2.152-alt1 sisyphus+257666.300.3.1 1599632437 installed <13>Oct 26 10:48:27 rpmi: libsoxr-0.1.2-alt4 sisyphus+222649.100.1.1 1550964843 installed <13>Oct 26 10:48:27 rpmi: libxvid-1.3.4-alt1 1507033991 installed <13>Oct 26 10:48:27 rpmi: libx265-192-3.4-alt1 sisyphus+254160.100.7.1 1593756037 installed <13>Oct 26 10:48:27 rpmi: libx264-148-alt2 1496163832 installed <13>Oct 26 10:48:27 rpmi: libwavpack-5.3.0-alt1 sisyphus+251276.100.1.1 1588785031 installed <13>Oct 26 10:48:27 rpmi: libtwolame-0.4.0-alt1 sisyphus+239176.100.2.1 1571294398 installed <13>Oct 26 10:48:27 rpmi: libspeex-1.2-alt1 1528115225 installed <13>Oct 26 10:48:27 rpmi: libsnappy-1.1.7-alt1 sisyphus+227320.100.1.3 1555618694 installed <13>Oct 26 10:48:27 rpmi: libopenjpeg2.0-2.3.1-alt1 sisyphus+226454.100.1.1 1554284337 installed <13>Oct 26 10:48:27 rpmi: libopencore-amrwb0-0.1.5-alt1 1529659346 installed <13>Oct 26 10:48:27 rpmi: libopencore-amrnb0-0.1.5-alt1 1529659346 installed <13>Oct 26 10:48:27 rpmi: liblame-3.100-alt1 1527082574 installed <13>Oct 26 10:48:27 rpmi: libdav1d-0.5.2-alt1 sisyphus+245080.100.1.1 1580063364 installed <13>Oct 26 10:48:27 rpmi: libcodec2-0.9.2-alt1 sisyphus+254267.100.1.1 1593522407 installed <13>Oct 26 10:48:27 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Oct 26 10:48:27 rpmi: libaspell-0.60.6.1-alt3 1534002619 installed <13>Oct 26 10:48:27 rpmi: libenchant2-2.2.11-alt1 sisyphus+257661.100.1.2 1599627779 installed <13>Oct 26 10:48:27 rpmi: rpm-build-vala-0.3-alt1 1332324961 installed <13>Oct 26 10:48:27 rpmi: vala-0.50.1-alt1 sisyphus+258823.100.1.1 1601302478 installed <13>Oct 26 10:48:27 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Oct 26 10:48:28 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Oct 26 10:48:28 rpmi: libepoxy-1.5.4-alt1 sisyphus+242061.100.1.1 1575190160 installed <13>Oct 26 10:48:28 rpmi: libpixman-3:0.40.0-alt1 sisyphus+250700.100.1.1 1587971055 installed <13>Oct 26 10:48:28 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059905 installed <13>Oct 26 10:48:28 rpmi: libaom2-2.0.0-alt1 sisyphus+254346.100.1.1 1593682592 installed <13>Oct 26 10:48:28 rpmi: libSDL2-2.0.12-alt3 sisyphus+255549.100.1.1 1596105266 installed <13>Oct 26 10:48:28 rpmi: tslib-1.22-alt3 sisyphus+259302.100.1.1 1601981878 installed <13>Oct 26 10:48:28 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Oct 26 10:48:28 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Oct 26 10:48:28 rpmi: libdrm-1:2.4.102-alt1 sisyphus+252307.100.1.1 1590574828 installed <13>Oct 26 10:48:28 rpmi: libgbm-4:20.2.1-alt1 sisyphus+259922.200.1.1 1602742791 installed <13>Oct 26 10:48:28 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Oct 26 10:48:28 rpmi: perl-IO-Socket-IP-0.41-alt1 sisyphus+259012.100.1.2 1601553446 installed <13>Oct 26 10:48:28 rpmi: perl-Compress-Raw-Bzip2-2.096-alt1 sisyphus+258375.600.14.2 1600904372 installed <13>Oct 26 10:48:28 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Oct 26 10:48:28 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Oct 26 10:48:28 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Oct 26 10:48:28 rpmi: perl-Filter-1.60-alt1 sisyphus+258375.300.14.2 1600904226 installed <13>Oct 26 10:48:28 rpmi: perl-Encode-3.07-alt1 sisyphus+258375.400.14.2 1600904306 installed <13>Oct 26 10:48:28 rpmi: perl-URI-5.05-alt1 sisyphus+260330.100.1.1 1603548554 installed <13>Oct 26 10:48:28 rpmi: perl-IO-Compress-2.096-alt1 sisyphus+257145.100.2.1 1599037634 installed <13>Oct 26 10:48:28 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed <13>Oct 26 10:48:28 rpmi: perl-HTML-Parser-3.75-alt1 sisyphus+258375.1000.14.2 1600904431 installed <13>Oct 26 10:48:28 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Oct 26 10:48:28 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Oct 26 10:48:28 rpmi: perl-IO-HTML-1.004-alt1 sisyphus+258983.100.1.1 1601542619 installed <13>Oct 26 10:48:28 rpmi: perl-HTTP-Message-6.26-alt1 sisyphus+258982.100.1.2 1601546057 installed <13>Oct 26 10:48:28 rpmi: perl-HTTP-Cookies-6.08-alt1 sisyphus+242242.100.1.1 1575454022 installed <13>Oct 26 10:48:28 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Oct 26 10:48:28 rpmi: perl-libwww-6.49-alt1 sisyphus+258986.100.1.2 1601547042 installed <13>Oct 26 10:48:28 rpmi: perl-XML-LibXML-2.0205-alt2 sisyphus+258727.100.1.2 1601156312 installed <13>Oct 26 10:48:28 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed <13>Oct 26 10:48:28 rpmi: perl-XML-Simple-2.25-alt2 sisyphus+257498.100.1.1 1599324034 installed <13>Oct 26 10:48:28 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Oct 26 10:48:29 rpmi: icon-theme-adwaita-3.38.0-alt1 sisyphus+258314.1700.14.2 1600844421 installed <13>Oct 26 10:48:29 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Oct 26 10:48:29 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Oct 26 10:48:29 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Oct 26 10:48:29 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Oct 26 10:48:31 rpmi: glibc-devel-static-6:2.30-alt2 sisyphus+252278.200.2.1 1591028296 installed <13>Oct 26 10:48:31 rpmi: gcc-c++-common-1.4.25-alt1 sisyphus+255450.100.1.1 1595851517 installed <13>Oct 26 10:48:31 rpmi: libstdc++9-devel-9.3.1-alt1 sisyphus+251917.40.3.1 1589812684 installed <13>Oct 26 10:48:32 rpmi: gcc9-c++-9.3.1-alt1 sisyphus+251917.40.3.1 1589812684 installed <13>Oct 26 10:48:32 rpmi: gcc-c++-9-alt2 sisyphus+251923.100.2.2 1589881401 installed <13>Oct 26 10:48:32 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Oct 26 10:48:32 rpmi: xml-utils-1:2.9.10-alt3 sisyphus+245000.16400.79.1 1583230501 installed <13>Oct 26 10:48:32 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Oct 26 10:48:32 rpmi: rmt-0.4b44-alt2 sisyphus+250767.100.1.1 1588080613 installed <13>Oct 26 10:48:32 rpmi: dump-0.4b44-alt2 sisyphus+250767.100.1.1 1588080613 installed <13>Oct 26 10:48:32 rpmi: cmake-modules-3.18.4-alt1 sisyphus+259334.100.2.1 1602011520 installed <13>Oct 26 10:48:32 rpmi: libuv-1.40.0-alt1 sisyphus+259303.100.2.1 1602003324 installed <13>Oct 26 10:48:32 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>Oct 26 10:48:32 rpmi: libjsoncpp19-1.8.4-alt5 sisyphus+243670.100.1.1 1577521267 installed <13>Oct 26 10:48:32 rpmi: publicsuffix-list-dafsa-20200909-alt1 sisyphus+257852.100.1.1 1599760590 installed <13>Oct 26 10:48:32 rpmi: libpsl-0.21.1-alt1 sisyphus+255206.100.1.1 1595348938 installed <13>Oct 26 10:48:32 rpmi: libnghttp2-1.41.0-alt1 sisyphus+253680.100.1.1 1592642271 installed <13>Oct 26 10:48:32 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Oct 26 10:48:32 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Oct 26 10:48:32 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Oct 26 10:48:32 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Oct 26 10:48:32 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Oct 26 10:48:33 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Oct 26 10:48:33 rpmi: libfreetype-2.10.4-alt1 sisyphus+260149.100.1.1 1603219746 installed <13>Oct 26 10:48:33 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed Updating fonts cache: <29>Oct 26 10:48:34 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Oct 26 10:48:34 rpmi: libbluray-1.2.0-alt1 sisyphus+254309.200.1.1 1593595699 installed <13>Oct 26 10:48:34 rpmi: libharfbuzz-icu-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Oct 26 10:48:34 rpmi: libharfbuzz-gobject-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Oct 26 10:48:34 rpmi: libatk-locales-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed <13>Oct 26 10:48:34 rpmi: libatk-2.36.0-alt1 sisyphus+249208.100.1.1 1585840406 installed <13>Oct 26 10:48:34 rpmi: shared-mime-info-2.0-alt1 sisyphus+251302.100.1.1 1588847607 installed <13>Oct 26 10:48:34 rpmi: gsettings-desktop-schemas-data-3.38.0-alt1 sisyphus+258314.500.14.2 1600843028 installed <13>Oct 26 10:48:34 rpmi: libgio-2.66.2-alt1 sisyphus+260251.100.1.1 1603457334 installed <13>Oct 26 10:48:34 rpmi: gsettings-desktop-schemas-3.38.0-alt1 sisyphus+258314.500.14.2 1600843530 installed <13>Oct 26 10:48:34 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Oct 26 10:48:34 rpmi: libdbusmenu-16.04.0-alt2 sisyphus+248273.100.1.1 1584865111 installed <13>Oct 26 10:48:34 rpmi: libgusb-0.3.5-alt1 sisyphus+255577.100.1.1 1596150494 installed <13>Oct 26 10:48:34 rpmi: libcolord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606569 installed <13>Oct 26 10:48:34 rpmi: gtk-update-icon-cache-3.24.23-alt2 sisyphus+258314.2000.14.2 1600845597 installed <13>Oct 26 10:48:34 rpmi: libdconf-0.38.0-alt1 sisyphus+258314.1000.14.2 1600844866 installed <13>Oct 26 10:48:34 rpmi: libjson-glib-1.6.0-alt1 sisyphus+258314.2200.14.2 1600846193 installed <13>Oct 26 10:48:34 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Oct 26 10:48:34 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Oct 26 10:48:34 rpmi: libsystemd-1:246.6-alt4 sisyphus+260111.200.2.1 1603281931 installed <13>Oct 26 10:48:34 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Oct 26 10:48:34 rpmi: libqt5-dbus-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:34 rpmi: dbus-tools-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <86>Oct 26 10:48:34 groupadd[3505276]: group added to /etc/group: name=messagebus, GID=499 <86>Oct 26 10:48:34 groupadd[3505276]: group added to /etc/gshadow: name=messagebus <86>Oct 26 10:48:34 groupadd[3505276]: new group: name=messagebus, GID=499 <86>Oct 26 10:48:34 useradd[3505285]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Oct 26 10:48:34 rpmi: dbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Oct 26 10:48:34 rpmi: dconf-0.38.0-alt1 sisyphus+258314.1000.14.2 1600844866 installed <13>Oct 26 10:48:34 rpmi: libgtk+3-schemas-3.24.23-alt2 sisyphus+258314.2000.14.2 1600844695 installed <13>Oct 26 10:48:34 rpmi: libavahi-0.8-alt1 sisyphus+255349.240.4.1 1595604514 installed <13>Oct 26 10:48:34 rpmi: libcups-2.3.1-alt2 sisyphus+255816.100.2.1 1596533556 installed <13>Oct 26 10:48:34 rpmi: libpolkit-0.118-alt1 sisyphus+257894.100.1.1 1599828367 installed <86>Oct 26 10:48:34 groupadd[3505560]: group added to /etc/group: name=colord, GID=498 <86>Oct 26 10:48:34 groupadd[3505560]: group added to /etc/gshadow: name=colord <86>Oct 26 10:48:34 groupadd[3505560]: new group: name=colord, GID=498 <86>Oct 26 10:48:34 useradd[3505568]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Oct 26 10:48:34 rpmi: colord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606569 installed <13>Oct 26 10:48:34 rpmi: libX11-locales-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed <13>Oct 26 10:48:34 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Oct 26 10:48:34 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Oct 26 10:48:35 rpmi: libX11-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Oct 26 10:48:35 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Oct 26 10:48:35 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Oct 26 10:48:35 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Oct 26 10:48:37 rpmi: libxcb-devel-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Oct 26 10:48:37 rpmi: libX11-devel-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Oct 26 10:48:37 rpmi: libXrender-devel-0.9.8-alt1 1371312112 installed <13>Oct 26 10:48:37 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Oct 26 10:48:37 rpmi: libvdpau-1:1.4-alt1 sisyphus+258594.100.1.1 1600934674 installed <13>Oct 26 10:48:37 rpmi: libat-spi2-core-2.38.0-alt1 sisyphus+258314.1440.14.2 1600845165 installed <13>Oct 26 10:48:37 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Oct 26 10:48:37 rpmi: libvdpau-devel-1:1.4-alt1 sisyphus+258594.100.1.1 1600934674 installed <13>Oct 26 10:48:37 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Oct 26 10:48:37 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Oct 26 10:48:37 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Oct 26 10:48:37 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Oct 26 10:48:37 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Oct 26 10:48:37 rpmi: libGLX-mesa-4:20.2.1-alt1 sisyphus+259922.200.1.1 1602742791 installed <13>Oct 26 10:48:37 rpmi: libEGL-mesa-4:20.2.1-alt1 sisyphus+259922.200.1.1 1602742791 installed <13>Oct 26 10:48:37 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Oct 26 10:48:37 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Oct 26 10:48:37 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Oct 26 10:48:37 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Oct 26 10:48:38 rpmi: libglvnd-devel-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Oct 26 10:48:38 rpmi: libpango-1.46.2-alt1 sisyphus+258333.100.1.1 1600459998 installed <13>Oct 26 10:48:38 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Oct 26 10:48:38 rpmi: libva-2.9.0-alt1 sisyphus+258075.100.1.1 1600174724 installed <13>Oct 26 10:48:38 rpmi: libavutil56-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:48:38 rpmi: libswresample3-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:48:38 rpmi: libswscale5-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:48:38 rpmi: libva-devel-2.9.0-alt1 sisyphus+258075.100.1.1 1600174724 installed <13>Oct 26 10:48:38 rpmi: librsvg-1:2.50.0-alt1 sisyphus+258314.2300.14.2 1600846432 installed <13>Oct 26 10:48:38 rpmi: libEGL-devel-4:20.2.1-alt1 sisyphus+259922.200.1.1 1602742791 installed <13>Oct 26 10:48:38 rpmi: libGL-devel-4:20.2.1-alt1 sisyphus+259922.200.1.1 1602742791 installed <13>Oct 26 10:48:38 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Oct 26 10:48:38 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Oct 26 10:48:38 rpmi: dbus-tools-gui-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Oct 26 10:48:38 rpmi: at-spi2-core-2.38.0-alt1 sisyphus+258314.1440.14.2 1600845165 installed <13>Oct 26 10:48:38 rpmi: at-spi2-atk-2.38.0-alt1 sisyphus+258314.1500.14.2 1600845211 installed <13>Oct 26 10:48:38 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Oct 26 10:48:38 rpmi: libgdk-pixbuf-xlib-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Oct 26 10:48:38 rpmi: libzvbi-0.2.35-alt2 sisyphus+254029.100.2.1 1593111433 installed <13>Oct 26 10:48:39 rpmi: libavcodec58-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:48:39 rpmi: libchromaprint1-1.4.3-alt3 sisyphus+232863.100.1.1 1561234869 installed <13>Oct 26 10:48:39 rpmi: libxcbutil-icccm-0.4.1-alt2 sisyphus+229000.100.1.1 1557152221 installed <13>Oct 26 10:48:39 rpmi: libxcbutil-1:0.4.0-alt1 1413392888 installed <13>Oct 26 10:48:39 rpmi: libxcbutil-image-0.4.0-alt1 1446204182 installed <13>Oct 26 10:48:39 rpmi: libxcbutil-keysyms-0.4.0-alt1 1446204124 installed <13>Oct 26 10:48:39 rpmi: libxcb-render-util-0.3.9-alt3 sisyphus+222674.100.1.1 1550989886 installed <13>Oct 26 10:48:39 rpmi: libxkbcommon-x11-1.0.1-alt1 sisyphus+257936.100.1.1 1599867868 installed <13>Oct 26 10:48:39 rpmi: libpulseaudio-13.99.2-alt1 sisyphus+258563.100.1.2 1600905327 installed <13>Oct 26 10:48:39 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 26 10:48:39 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 26 10:48:39 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Oct 26 10:48:39 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Oct 26 10:48:39 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Oct 26 10:48:40 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Oct 26 10:48:40 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <86>Oct 26 10:48:40 groupadd[3516426]: group added to /etc/group: name=_keytab, GID=497 <86>Oct 26 10:48:40 groupadd[3516426]: group added to /etc/gshadow: name=_keytab <86>Oct 26 10:48:40 groupadd[3516426]: new group: name=_keytab, GID=497 <13>Oct 26 10:48:40 rpmi: libkrb5-1.18.2-alt2 sisyphus+254565.100.4.1 1594375666 installed <13>Oct 26 10:48:40 rpmi: libqt5-network-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:40 rpmi: libqt5-eglfsdeviceintegration-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:40 rpmi: libqt5-xcbqpa-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:40 rpmi: libqt5-eglfskmssupport-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:41 rpmi: libqt5-gui-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:41 rpmi: libqt5-widgets-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:41 rpmi: libqt5-qmlmodels-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:41 rpmi: libqt5-qmlworkerscript-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:42 rpmi: libqt5-quick-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:42 rpmi: libqt5-quickshapes-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:42 rpmi: libqt5-qml-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:42 rpmi: libpython3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Oct 26 10:48:42 rpmi: python3-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Oct 26 10:48:43 rpmi: python3-base-3.8.6-alt1 sisyphus+259085.100.2.1 1601904174 installed <13>Oct 26 10:48:43 rpmi: glib2-devel-2.66.2-alt1 sisyphus+260251.100.1.1 1603457334 installed <13>Oct 26 10:48:44 rpmi: libfreetype-devel-2.10.4-alt1 sisyphus+260149.100.1.1 1603219746 installed <13>Oct 26 10:48:44 rpmi: libharfbuzz-devel-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Oct 26 10:48:44 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed <13>Oct 26 10:48:44 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Oct 26 10:48:44 rpmi: libgio-devel-2.66.2-alt1 sisyphus+260251.100.1.1 1603457334 installed <13>Oct 26 10:48:44 rpmi: libvulkan-devel-1.2.152-alt1 sisyphus+257666.300.3.1 1599632437 installed <13>Oct 26 10:48:44 rpmi: libavutil-devel-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:48:44 rpmi: libavcodec-devel-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:48:44 rpmi: libgdk-pixbuf-devel-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Oct 26 10:48:44 rpmi: libcairo-gobject-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Oct 26 10:48:44 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Oct 26 10:48:44 rpmi: libpango-devel-1.46.2-alt1 sisyphus+258333.100.1.1 1600459998 installed <13>Oct 26 10:48:44 rpmi: libatk-devel-2.36.0-alt1 sisyphus+249208.100.1.1 1585840406 installed <13>Oct 26 10:48:44 rpmi: libdbusmenu-devel-16.04.0-alt2 sisyphus+248273.100.1.1 1584865111 installed <13>Oct 26 10:48:44 rpmi: libpulseaudio-devel-13.99.2-alt1 sisyphus+258563.100.1.2 1600905327 installed <13>Oct 26 10:48:44 rpmi: gtk-builder-convert-2.24.32-alt4 sisyphus+255972.200.2.1 1596837957 installed <13>Oct 26 10:48:44 rpmi: libqt5-quickparticles-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:44 rpmi: libqt5-quicktest-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:44 rpmi: libqt5-quickwidgets-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:44 rpmi: libqt5-waylandcompositor-5.15.1-alt1 sisyphus+257838.3000.3.1 1600073428 installed <13>Oct 26 10:48:44 rpmi: rpm-build-qml-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:44 rpmi: libdbusmenu-qt52-0.9.3-alt0.3 1463760060 installed <13>Oct 26 10:48:44 rpmi: libqt5-opengl-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:44 rpmi: libqt5-printsupport-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:44 rpmi: libqt5-waylandclient-5.15.1-alt1 sisyphus+257838.3000.3.1 1600073428 installed <86>Oct 26 10:48:44 groupadd[3522097]: group added to /etc/group: name=sasl, GID=496 <86>Oct 26 10:48:44 groupadd[3522097]: group added to /etc/gshadow: name=sasl <86>Oct 26 10:48:44 groupadd[3522097]: new group: name=sasl, GID=496 <13>Oct 26 10:48:44 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Oct 26 10:48:44 rpmi: libldap-2.4.54-alt1 sisyphus+260267.100.2.1 1603571517 installed <13>Oct 26 10:48:44 rpmi: libcurl-7.73.0-alt1 sisyphus+260186.100.1.1 1603294039 installed <13>Oct 26 10:48:44 rpmi: libssh-0.9.3-alt2 sisyphus+247315.100.1.2 1583840783 installed <13>Oct 26 10:48:44 rpmi: librabbitmq-c-0.9.0-alt1 sisyphus+223349.100.1.2 1551468904 installed <13>Oct 26 10:48:44 rpmi: libavformat58-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:48:44 rpmi: libssl-devel-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Oct 26 10:48:45 rpmi: qt5-base-devel-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:48:45 rpmi: qt5-declarative-devel-5.15.1-alt1 sisyphus+257838.200.3.1 1600068979 installed <13>Oct 26 10:48:45 rpmi: libarchive13-3.4.3-alt1 sisyphus+258566.100.1.2 1600916107 installed <13>Oct 26 10:48:46 rpmi: libtgvoip-2.4.4-alt5.6e82b6e4 sisyphus+256531.200.2.1 1598002605 installed <13>Oct 26 10:48:46 rpmi: libzip5-1.7.3-alt1 sisyphus+257223.100.1.1 1599048740 installed <13>Oct 26 10:48:46 rpmi: glib-networking-2.66.0-alt1 sisyphus+258314.1200.14.2 1600845027 installed <13>Oct 26 10:48:46 rpmi: libsoup-2.72.0-alt1 sisyphus+258314.1100.14.2 1600844978 installed <13>Oct 26 10:48:46 rpmi: libsoup-gnome-2.72.0-alt1 sisyphus+258314.1100.14.2 1600844978 installed <13>Oct 26 10:48:46 rpmi: librest-0.8.1-alt1 1508266400 installed <13>Oct 26 10:48:47 rpmi: libgtk+3-3.24.23-alt2 sisyphus+258314.2000.14.2 1600845597 installed <13>Oct 26 10:48:47 rpmi: libdbusmenu-gtk3-16.04.0-alt2 sisyphus+248273.100.1.1 1584865111 installed <13>Oct 26 10:48:47 rpmi: libindicator-gtk3-12.10.1-alt1_16 sisyphus+242530.100.1.1 1575751386 installed <13>Oct 26 10:48:47 rpmi: libappindicator-gtk3-12.10.0-alt11 sisyphus+221027.100.2.2 1549709773 installed <13>Oct 26 10:48:47 rpmi: libgtk+3-devel-3.24.23-alt2 sisyphus+258314.2000.14.2 1600845597 installed <13>Oct 26 10:48:47 rpmi: alsa-ucm-conf-1.2.4-alt1 sisyphus+260180.200.1.1 1603282405 installed <13>Oct 26 10:48:47 rpmi: alsa-topology-conf-1.2.4-alt1 sisyphus+260180.100.1.1 1603282384 installed <13>Oct 26 10:48:47 rpmi: libalsa-1:1.2.4-alt1 sisyphus+260180.300.1.1 1603282509 installed <13>Oct 26 10:48:47 rpmi: libalsa-devel-1:1.2.4-alt1 sisyphus+260180.300.1.1 1603282509 installed <13>Oct 26 10:48:47 rpmi: libtgvoip-devel-2.4.4-alt5.6e82b6e4 sisyphus+256531.200.2.1 1598002605 installed <13>Oct 26 10:48:47 rpmi: libappindicator-gtk3-devel-12.10.0-alt11 sisyphus+221027.100.2.2 1549709773 installed <13>Oct 26 10:48:47 rpmi: libzip-devel-1.7.3-alt1 sisyphus+257223.100.1.1 1599048740 installed <13>Oct 26 10:48:48 rpmi: cmake-3.18.4-alt1 sisyphus+259334.100.2.1 1602011542 installed <13>Oct 26 10:48:48 rpmi: qt5-wayland-devel-5.15.1-alt1 sisyphus+257838.3000.3.1 1600073428 installed <13>Oct 26 10:49:02 rpmi: qt5-base-devel-static-5.15.1-alt2 sisyphus+259307.100.1.1 1601986832 installed <13>Oct 26 10:49:02 rpmi: libavformat-devel-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:49:02 rpmi: libdbusmenu-qt5-devel-0.9.3-alt0.3 1463760060 installed <13>Oct 26 10:49:02 rpmi: libswresample-devel-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:49:02 rpmi: libswscale-devel-2:4.3.1-alt3 sisyphus+256927.200.1.1 1598604146 installed <13>Oct 26 10:49:02 rpmi: libenchant2-devel-2.2.11-alt1 sisyphus+257661.100.1.2 1599627779 installed <13>Oct 26 10:49:02 rpmi: qt5-imageformats-5.15.1-alt3 sisyphus+259893.100.1.1 1602677380 installed <13>Oct 26 10:49:02 rpmi: libstdc++-devel-9-alt2 sisyphus+251923.100.2.2 1589881406 installed <13>Oct 26 10:49:02 rpmi: libdrm-devel-1:2.4.102-alt1 sisyphus+252307.100.1.1 1590574828 installed <13>Oct 26 10:49:02 rpmi: libminizip-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Oct 26 10:49:02 rpmi: libopenal-devel-1.19.1-alt1 sisyphus+222956.100.1.1 1551298524 installed <13>Oct 26 10:49:03 rpmi: libpcre-devel-8.44-alt1 sisyphus+246874.100.1.1 1582587781 installed <13>Oct 26 10:49:03 rpmi: libqrcodegen-cpp-devel-1.5.0-alt1.git67c6246 sisyphus+253610.100.1.1 1592512977 installed <13>Oct 26 10:49:03 rpmi: librlottie-devel-0.1.1-alt2 sisyphus+256531.100.1.1 1597958240 installed <13>Oct 26 10:49:03 rpmi: libxxhash-devel-0.8.0-alt1 sisyphus+255893.100.1.1 1596626823 installed <13>Oct 26 10:49:03 rpmi: liblz4-devel-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Oct 26 10:49:03 rpmi: libvpx-devel-1.9.0-alt1 sisyphus+259077.100.2.1 1601616092 installed <13>Oct 26 10:49:03 rpmi: libhunspell-devel-1.7.0-alt1 sisyphus+226731.100.2.1 1554585904 installed <13>Oct 26 10:49:03 rpmi: libopus-devel-1.3.1-alt3 sisyphus+248017.100.1.1 1584520433 installed <13>Oct 26 10:49:03 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Oct 26 10:49:03 rpmi: libexpat-devel-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Oct 26 10:49:03 rpmi: libxkbcommon-devel-1.0.1-alt1 sisyphus+257936.100.1.1 1599867868 installed <13>Oct 26 10:49:03 rpmi: libvariant-devel-1.2.0-alt1 sisyphus+260290.100.1.1 1603541125 installed <13>Oct 26 10:49:03 rpmi: librange-v3-devel-0.11.0-alt1 sisyphus+256525.40.23.1 1599329707 installed <13>Oct 26 10:49:11 rpmi: libowt-tg-devel-4.3.0.1-alt1 sisyphus+256525.420.26.1 1599341814 installed <13>Oct 26 10:49:11 rpmi: libmicrosoft-gsl-devel-1:3.0.1-alt1 sisyphus+251161.100.1.1 1588622212 installed <13>Oct 26 10:49:11 rpmi: liblzma-devel-5.2.5-alt1 sisyphus+249564.100.1.1 1586298206 installed <13>Oct 26 10:49:11 rpmi: libexpected-devel-1.0.0-alt1 sisyphus+245714.100.1.1 1581165657 installed warning: Macro %_Kservices not found Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/telegram-desktop-2.3.1-alt1.nosrc.rpm warning: Macro %_Kservices not found Installing telegram-desktop-2.3.1-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.76972 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf telegram-desktop-2.3.1 + echo 'Source #0 (telegram-desktop-2.3.1.tar):' Source #0 (telegram-desktop-2.3.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/telegram-desktop-2.3.1.tar + cd telegram-desktop-2.3.1 + /bin/chmod -c -Rf u+rwX,go-w . + /usr/bin/subst 's|set(webrtc_build_loc.*|set(webrtc_build_loc /usr/lib)|' cmake/external/webrtc/CMakeLists.txt + rm -rf Telegram/ThirdParty/variant Telegram/ThirdParty/GSL Telegram/ThirdParty/Catch Telegram/ThirdParty/xxHash Telegram/ThirdParty/lz4 Telegram/ThirdParty/libtgvoip Telegram/ThirdParty/rlottie Telegram/ThirdParty/QR Telegram/ThirdParty/expected + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.62129 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd telegram-desktop-2.3.1 + export CCACHE_SLOPPINESS=pch_defines,time_macros + CCACHE_SLOPPINESS=pch_defines,time_macros + cmake . -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g0 -O2 -march=i586 -mtune=generic -fpermissive -Wno-strict-aliasing -Wno-unused-variable -Wno-sign-compare -Wno-switch' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g0 -O2 -march=i586 -mtune=generic -fpermissive -Wno-strict-aliasing -Wno-unused-variable -Wno-sign-compare -Wno-switch' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g0 -O2 -march=i586 -mtune=generic -fpermissive -Wno-strict-aliasing -Wno-unused-variable -Wno-sign-compare -Wno-switch' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX= -DLIB_DESTINATION=lib -DDESKTOP_APP_USE_PACKAGED=ON -DTDESKTOP_API_ID=182015 -DTDESKTOP_API_HASH=bb6c3f8fffd8fe6804fc5131a08e1c44 -DVARIANT_INCLUDE_DIRS=/usr/include/libvariant -DDESKTOP_APP_USE_PACKAGED_FONTS:BOOL=ON -DDESKTOP_APP_DISABLE_SPELLCHECK:BOOL=OFF -DTDESKTOP_DISABLE_GTK_INTEGRATION:BOOL=OFF -DTDESKTOP_USE_PACKAGED_TGVOIP:BOOL=ON -DDESKTOP_APP_WEBRTC_LOCATION=/usr/src/libowt-tg -DDESKTOP_APP_DISABLE_WEBRTC_INTEGRATION:BOOL=OFF -DDESKTOP_APP_USE_GLIBC_WRAPS:BOOL=OFF -DDESKTOP_APP_DISABLE_CRASH_REPORTS:BOOL=ON -DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME:BOOL=ON -DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION:BOOL=ON -DTDESKTOP_FORCE_GTK_FILE_DIALOG:BOOL=ON Version: 2.3.1 -- The C compiler identification is GNU 9.3.1 -- The CXX compiler identification is GNU 9.3.1 -- 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 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for lzma_auto_decoder in /usr/lib/liblzma.so -- Looking for lzma_auto_decoder in /usr/lib/liblzma.so - found -- Looking for lzma_easy_encoder in /usr/lib/liblzma.so -- Looking for lzma_easy_encoder in /usr/lib/liblzma.so - found -- Looking for lzma_lzma_preset in /usr/lib/liblzma.so -- Looking for lzma_lzma_preset in /usr/lib/liblzma.so - found -- Found LibLZMA: /usr/lib/liblzma.so (found version "5.2.5") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'libavcodec' -- Found libavcodec, version 58.91.100 -- Checking for module 'libavformat' -- Found libavformat, version 58.45.100 -- Checking for module 'libavutil' -- Found libavutil, version 56.51.100 -- Checking for module 'libswscale' -- Found libswscale, version 5.7.100 -- Checking for module 'libswresample' -- Found libswresample, version 3.7.100 -- Checking for module 'hunspell' -- Found hunspell, version 1.7.0 -- Checking for module 'liblz4' -- Found liblz4, version 1.9.2 -- Checking for module 'minizip' -- Found minizip, version 1.2.11 -- Found OpenAL: /usr/lib/libopenal.so -- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1g") -- Checking for module 'opus' -- Found opus, version 1.3.1 -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found Python: /usr/bin/python3.8 (found version "3.8.6") found components: Interpreter -- Checking for module 'tgvoip' -- Found tgvoip, version 2.4.4 -- Checking for module 'xcb-screensaver' -- Found xcb-screensaver, version 1.14 Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found -- Checking for module 'xcb' -- Found xcb, version 1.14 Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found -- Checking for module 'glib-2.0' -- Found glib-2.0, version 2.66.2 -- Checking for module 'gobject-2.0' -- Found gobject-2.0, version 2.66.2 Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found -- Checking for module 'gio-2.0' -- Found gio-2.0, version 2.66.2 Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found -- Checking for module 'gtk+-3.0' -- Found gtk+-3.0, version 3.24.23 Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable Package 'libffi', required by 'gobject-2.0', not found -- Checking for module 'x11' -- Found x11, version 1.6.12 Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found Package xdmcp was not found in the pkg-config search path. Perhaps you should add the directory containing `xdmcp.pc' to the PKG_CONFIG_PATH environment variable Package 'xdmcp', required by 'xcb', not found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR TDESKTOP_DISABLE_DESKTOP_FILE_GENERATION TDESKTOP_FORCE_GTK_FILE_DIALOG TDESKTOP_USE_PACKAGED_TGVOIP -- Build files have been written to: /usr/src/RPM/BUILD/telegram-desktop-2.3.1 + make -j8 make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_scheme_scheme make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target external_statusnotifieritem_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target codegen_common make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_crl make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_tgcalls make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 1%] Automatic MOC for target external_statusnotifieritem make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 2%] Built target external_statusnotifieritem_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 2%] Generating statusnotifieritemadaptor.cpp, statusnotifieritemadaptor.h make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Generating statusnotifieritemadaptor.moc make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 0%] Generating scheme (lib_scheme) make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Built target lib_scheme_scheme make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target external_statusnotifieritem make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 1%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/common/crl_common_list.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 2%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/common/crl_common_on_main.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/dispatch/crl_dispatch_async.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/dispatch/crl_dispatch_queue.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/dispatch/crl_dispatch_semaphore.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/linux/crl_linux_time.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 1%] Building CXX object Telegram/codegen/codegen/common/CMakeFiles/codegen_common.dir/checked_utf8_string.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 2%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/Instance.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 1%] Building CXX object Telegram/codegen/codegen/common/CMakeFiles/codegen_common.dir/clean_file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 1%] Building CXX object Telegram/codegen/codegen/common/CMakeFiles/codegen_common.dir/basic_tokenized_file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/winapi/crl_winapi_async.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/winapi/crl_winapi_list.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/winapi/crl_winapi_semaphore.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/winapi/crl_winapi_time.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Building CXX object Telegram/codegen/codegen/common/CMakeFiles/codegen_common.dir/cpp_file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/common/crl_common_queue.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/crl_time.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/qt/crl_qt_semaphore.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 4%] Building CXX object Telegram/codegen/codegen/common/CMakeFiles/codegen_common.dir/logging.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Built target codegen_common make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/qt/crl_qt_async.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object Telegram/lib_crl/CMakeFiles/lib_crl.dir/crl/crl_object_on_thread.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/CryptoHelper.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Built target lib_crl make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target codegen_lang make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target codegen_numbers make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 3%] Building CXX object cmake/external/statusnotifieritem/CMakeFiles/external_statusnotifieritem.dir/external_statusnotifieritem_autogen/mocs_compilation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object cmake/external/statusnotifieritem/CMakeFiles/external_statusnotifieritem.dir/__/__/__/Telegram/ThirdParty/statusnotifieritem/dbustypes.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/numbers/CMakeFiles/codegen_numbers.dir/main.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/numbers/CMakeFiles/codegen_numbers.dir/generator.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object cmake/external/statusnotifieritem/CMakeFiles/external_statusnotifieritem.dir/statusnotifieritemadaptor.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 4%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/CodecSelectHelper.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 5%] Building CXX object cmake/external/statusnotifieritem/CMakeFiles/external_statusnotifieritem.dir/__/__/__/Telegram/ThirdParty/statusnotifieritem/statusnotifieritem.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Linking CXX static library libexternal_statusnotifieritem.a make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Built target external_statusnotifieritem make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target codegen_emoji make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/numbers/CMakeFiles/codegen_numbers.dir/options.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/LogSinkImpl.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/EncryptedConnection.h:5, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp:1: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.h: In instantiation of 'std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]:: mutable [with auto:5 = tgcalls::CandidatesListMessage&; auto:6 = std::integral_constant]': /usr/include/c++/9/bits/invoke.h:60:36: required from 'constexpr _Res std::__invoke_impl(std::__invoke_other, _Fn&&, _Args&& ...) [with _Res = std::__detail::__variant::__variant_idx_cookie; _Fn = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::; _Args = {tgcalls::CandidatesListMessage&, std::integral_constant}]' /usr/include/c++/9/bits/invoke.h:95:40: required from 'constexpr typename std::__invoke_result<_Functor, _ArgTypes>::type std::__invoke(_Callable&&, _Args&& ...) [with _Callable = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::; _Args = {tgcalls::CandidatesListMessage&, std::integral_constant}; typename std::__invoke_result<_Functor, _ArgTypes>::type = std::__detail::__variant::__variant_idx_cookie]' /usr/include/c++/9/variant:961:24: required from 'static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<__same_return_types, std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::tuple<_Variants ...>, std::integer_sequence >::__visit_invoke_impl(_Visitor&&, _Variants ...) [with bool __same_return_types = true; _Result_type = std::__detail::__variant::__variant_idx_cookie; _Visitor = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&; _Variants = {std::variant&}; unsigned int ...__indices = {0}]' /usr/include/c++/9/variant:980:28: required from 'static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<__same_return_types, std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::tuple<_Variants ...>, std::integer_sequence >::__do_visit_invoke(_Visitor&&, _Variants ...) [with bool __same_return_types = true; _Result_type = std::__detail::__variant::__variant_idx_cookie; _Visitor = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&; _Variants = {std::variant&}; unsigned int ...__indices = {0}]' /usr/include/c++/9/variant:996:28: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/9/variant:915:56: required from 'static constexpr void std::__detail::__variant::__gen_vtable_impl<__same_return_types, std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...), __dimensions ...>, std::tuple<_Variants ...>, std::integer_sequence >::_S_apply_single_alt(_Tp&, _Tp*) [with bool __do_cookie = true; unsigned int __index = 0; _Tp = std::__detail::__variant::_Multi_array, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&, std::variant&)>; bool __same_return_types = true; _Result_type = std::__detail::__variant::__variant_idx_cookie; _Visitor = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&; unsigned int ...__dimensions = {9}; _Variants = {std::variant&}; unsigned int ...__indices = {}]' /usr/include/c++/9/variant:896:47: required from 'constexpr const _Array_type std::__detail::__variant::__gen_vtable, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&, std::variant&>::_S_vtable' /usr/include/c++/9/variant:1638:23: required from 'constexpr decltype(auto) std::__do_visit(_Visitor&&, _Variants&& ...) [with bool __use_index = true; bool __same_return_types = true; _Visitor = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::; _Variants = {std::variant&}]' /usr/include/c++/9/variant:645:32: required from 'std::__detail::__variant::_Move_assign_base<, _Types>& std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]' /usr/include/c++/9/variant:681:12: required from 'std::enable_if_t<__and_v, typename std::remove_cv::type>::type> >, std::__not_, std::is_same<_Tp, typename std::decay<_Functor>::type> > >, std::is_constructible<_Tp, _Up>, std::is_assignable<_T1&, _U1> >, std::optional<_Tp>&> std::optional<_Tp>::operator=(_Up&&) [with _Up = tgcalls::EncryptedConnection::DecryptedPacket; _Tp = tgcalls::EncryptedConnection::DecryptedPacket; std::enable_if_t<__and_v, typename std::remove_cv::type>::type> >, std::__not_, std::is_same<_Tp, typename std::decay<_Functor>::type> > >, std::is_constructible<_Tp, _Up>, std::is_assignable<_T1&, _U1> >, std::optional<_Tp>&> = std::optional&]' /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp:448:46: required from here /usr/include/c++/9/variant:1019:40: in 'constexpr' expansion of 'std::__detail::__variant::__gen_vtable_impl, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&, std::variant&), 9>, std::tuple&>, std::integer_sequence >::_S_apply()' /usr/include/c++/9/variant:885:19: in 'constexpr' expansion of 'std::__detail::__variant::__gen_vtable_impl, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&, std::variant&), 9>, std::tuple&>, std::integer_sequence >::_S_apply_all_alts<0, 1, 2, 3, 4, 5, 6, 7, 8>(__vtable, (std::make_index_sequence<9>(), std::make_index_sequence<9>()))' /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.h:36:8: warning: implicitly-declared 'tgcalls::PeerIceParameters& tgcalls::PeerIceParameters::operator=(const tgcalls::PeerIceParameters&)' is deprecated [-Wdeprecated-copy] 36 | struct CandidatesListMessage { | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.h:30:5: note: because 'tgcalls::PeerIceParameters' has user-provided 'tgcalls::PeerIceParameters::PeerIceParameters(const tgcalls::PeerIceParameters&)' 30 | PeerIceParameters(const PeerIceParameters &other) : | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/libowt-tg/third_party/abseil-cpp/absl/types/variant.h:50, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.h:6, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/EncryptedConnection.h:5, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/EncryptedConnection.cpp:1: /usr/include/c++/9/variant:652:42: note: synthesized method 'tgcalls::CandidatesListMessage& tgcalls::CandidatesListMessage::operator=(tgcalls::CandidatesListMessage&&)' first required here 652 | __variant::__get<__rhs_index>(*this) = std::move(__rhs_mem); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/numbers/CMakeFiles/codegen_numbers.dir/parsed_file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/numbers/CMakeFiles/codegen_numbers.dir/processor.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/lang/CMakeFiles/codegen_lang.dir/generator.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Linking CXX executable codegen_numbers make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Built target codegen_numbers make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_base make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/InstanceImpl.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/Message.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.cpp:1: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.h: In instantiation of 'std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]:: mutable [with auto:5 = tgcalls::CandidatesListMessage&; auto:6 = std::integral_constant]': /usr/include/c++/9/bits/invoke.h:60:36: required from 'constexpr _Res std::__invoke_impl(std::__invoke_other, _Fn&&, _Args&& ...) [with _Res = std::__detail::__variant::__variant_idx_cookie; _Fn = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::; _Args = {tgcalls::CandidatesListMessage&, std::integral_constant}]' /usr/include/c++/9/bits/invoke.h:95:40: required from 'constexpr typename std::__invoke_result<_Functor, _ArgTypes>::type std::__invoke(_Callable&&, _Args&& ...) [with _Callable = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::; _Args = {tgcalls::CandidatesListMessage&, std::integral_constant}; typename std::__invoke_result<_Functor, _ArgTypes>::type = std::__detail::__variant::__variant_idx_cookie]' /usr/include/c++/9/variant:961:24: required from 'static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<__same_return_types, std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::tuple<_Variants ...>, std::integer_sequence >::__visit_invoke_impl(_Visitor&&, _Variants ...) [with bool __same_return_types = true; _Result_type = std::__detail::__variant::__variant_idx_cookie; _Visitor = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&; _Variants = {std::variant&}; unsigned int ...__indices = {0}]' /usr/include/c++/9/variant:980:28: required from 'static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<__same_return_types, std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::tuple<_Variants ...>, std::integer_sequence >::__do_visit_invoke(_Visitor&&, _Variants ...) [with bool __same_return_types = true; _Result_type = std::__detail::__variant::__variant_idx_cookie; _Visitor = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&; _Variants = {std::variant&}; unsigned int ...__indices = {0}]' /usr/include/c++/9/variant:996:28: required from 'static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<__same_return_types, std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::tuple<_Variants ...>, std::integer_sequence >::__visit_invoke(_Visitor&&, _Variants ...) [with bool __same_return_types = true; _Result_type = std::__detail::__variant::__variant_idx_cookie; _Visitor = std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&; _Variants = {std::variant&}; unsigned int ...__indices = {0}]' /usr/include/c++/9/variant:1005:28: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/9/variant:645:32: required from 'std::__detail::__variant::_Move_assign_base<, _Types>& std::__detail::__variant::_Move_assign_base<, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]' /usr/include/c++/9/variant:681:12: required from 'std::enable_if_t<__and_v, typename std::remove_cv::type>::type> >, std::__not_, std::is_same<_Tp, typename std::decay<_Functor>::type> > >, std::is_constructible<_Tp, _Up>, std::is_assignable<_T1&, _U1> >, std::optional<_Tp>&> std::optional<_Tp>::operator=(_Up&&) [with _Up = tgcalls::Message; _Tp = tgcalls::Message; std::enable_if_t<__and_v, typename std::remove_cv::type>::type> >, std::__not_, std::is_same<_Tp, typename std::decay<_Functor>::type> > >, std::is_constructible<_Tp, _Up>, std::is_assignable<_T1&, _U1> >, std::optional<_Tp>&> = std::optional&]' /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.cpp:290:5: required from 'tgcalls::{anonymous}::TryResult tgcalls::{anonymous}::TryDeserialize(std::optional&, rtc::ByteBufferReader&, bool) [with T = tgcalls::CandidatesListMessage]' /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.cpp:313:40: required from 'static bool tgcalls::{anonymous}::TryDeserializeNext::Call(std::optional&, rtc::ByteBufferReader&, bool) [with T = tgcalls::CandidatesListMessage; Other = {tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]' /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.cpp:326:43: required from 'bool tgcalls::{anonymous}::TryDeserializeRecursive(std::optional&, rtc::ByteBufferReader&, bool, std::variant<_Types ...>*) [with Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]' /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.cpp:357:87: required from here /usr/include/c++/9/variant:1019:40: in 'constexpr' expansion of 'std::__detail::__variant::__gen_vtable_impl, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&, std::variant&), 9>, std::tuple&>, std::integer_sequence >::_S_apply()' /usr/include/c++/9/variant:885:19: in 'constexpr' expansion of 'std::__detail::__variant::__gen_vtable_impl, _Types>::operator=(std::__detail::__variant::_Move_assign_base<, _Types>&&) [with bool = false; _Types = {tgcalls::CandidatesListMessage, tgcalls::VideoFormatsMessage, tgcalls::RequestVideoMessage, tgcalls::RemoteMediaStateMessage, tgcalls::AudioDataMessage, tgcalls::VideoDataMessage, tgcalls::UnstructuredDataMessage, tgcalls::VideoParametersMessage, tgcalls::RemoteBatteryLevelIsLowMessage}]::&&, std::variant&), 9>, std::tuple&>, std::integer_sequence >::_S_apply_all_alts<0, 1, 2, 3, 4, 5, 6, 7, 8>(__vtable, (std::make_index_sequence<9>(), std::make_index_sequence<9>()))' /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.h:36:8: warning: implicitly-declared 'tgcalls::PeerIceParameters& tgcalls::PeerIceParameters::operator=(const tgcalls::PeerIceParameters&)' is deprecated [-Wdeprecated-copy] 36 | struct CandidatesListMessage { | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.h:30:5: note: because 'tgcalls::PeerIceParameters' has user-provided 'tgcalls::PeerIceParameters::PeerIceParameters(const tgcalls::PeerIceParameters&)' 30 | PeerIceParameters(const PeerIceParameters &other) : | ^~~~~~~~~~~~~~~~~ In file included from /usr/src/libowt-tg/third_party/abseil-cpp/absl/types/variant.h:50, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.h:6, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/ThirdParty/tgcalls/tgcalls/Message.cpp:1: /usr/include/c++/9/variant:652:42: note: synthesized method 'tgcalls::CandidatesListMessage& tgcalls::CandidatesListMessage::operator=(tgcalls::CandidatesListMessage&&)' first required here 652 | __variant::__get<__rhs_index>(*this) = std::move(__rhs_mem); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/lang/CMakeFiles/codegen_lang.dir/main.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/emoji/CMakeFiles/codegen_emoji.dir/data.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/Manager.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/VideoCaptureInterface.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/lang/CMakeFiles/codegen_lang.dir/options.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/NetworkManager.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/MediaManager.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/emoji/CMakeFiles/codegen_emoji.dir/data_read.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/VideoCaptureInterfaceImpl.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/codegen/codegen/lang/CMakeFiles/codegen_lang.dir/parsed_file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/platform/tdesktop/DesktopInterface.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/platform/tdesktop/VideoCameraCapturer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/platform/tdesktop/VideoCapturerTrackSource.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/platform/tdesktop/VideoCapturerInterfaceImpl.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 8%] Linking CXX static library liblib_tgcalls.a make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 8%] Built target lib_tgcalls make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target Telegram_numbers make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 8%] Generating numbers (Telegram) make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/cmake_pch.hxx.gch make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 8%] Built target Telegram_numbers make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_tgcalls_legacy make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/codegen/codegen/emoji/CMakeFiles/codegen_emoji.dir/options.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/codegen/codegen/lang/CMakeFiles/codegen_lang.dir/processor.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 8%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/platform/linux/base_file_utilities_linux.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 9%] Linking CXX executable codegen_lang make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 9%] Built target codegen_lang make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target Telegram_lang make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 9%] Generating lang (Telegram) make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 9%] Built target Telegram_lang make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/codegen/codegen/emoji/CMakeFiles/codegen_emoji.dir/main.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 8%] Building CXX object Telegram/CMakeFiles/lib_tgcalls_legacy.dir/ThirdParty/tgcalls/tgcalls/legacy/InstanceImplLegacy.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 9%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/platform/linux/base_last_input_linux.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 10%] Linking CXX static library liblib_tgcalls_legacy.a make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 11%] Built target lib_tgcalls_legacy make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 9%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/platform/linux/base_layout_switch_linux.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 8%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/platform/linux/base_info_linux.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/platform/linux/base_info_linux.cpp: In function 'QString Platform::SystemVersionPretty()': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/platform/linux/base_info_linux.cpp:73:46: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations] 73 | const auto list = value.split(':', QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/base_pch.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/CMakeFiles/lib_base.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qstring.h:600:9: note: declared here 600 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/platform/linux/base_info_linux.cpp:73:46: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations] 73 | const auto list = value.split(':', QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/base_pch.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/CMakeFiles/lib_base.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qstring.h:600:9: note: declared here 600 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/platform/linux/base_info_linux.cpp:73:60: warning: 'QStringList QString::split(QChar, QString::SplitBehavior, Qt::CaseSensitivity) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 73 | const auto list = value.split(':', QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/base_pch.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/CMakeFiles/lib_base.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qstring.h:610:17: note: declared here 610 | QStringList split(QChar sep, SplitBehavior behavior, | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 9%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/platform/linux/base_process_linux.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 11%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/assertion.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 11%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/crc32hash.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 11%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/call_delayed.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 11%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/event_filter.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 11%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/platform/linux/base_url_scheme_linux.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 11%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/base_file_utilities.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 12%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/file_lock_posix.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 12%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/last_user_input.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 12%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/integration.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 11%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/concurrent_timer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 12%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/parse_helper.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 7%] Building CXX object Telegram/codegen/codegen/emoji/CMakeFiles/codegen_emoji.dir/generator.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 12%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/runtime_composer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 12%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/observer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 8%] Building CXX object Telegram/codegen/codegen/emoji/CMakeFiles/codegen_emoji.dir/replaces.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/emoji/replaces.cpp: In lambda function: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/emoji/replaces.cpp:327:49: warning: 'QMap::iterator QMap::insertMulti(const Key&, const T&) [with Key = QString; T = codegen::emoji::Replace]' is deprecated: Use QMultiMap for maps storing multiple values with the same key. [-Wdeprecated-declarations] 327 | auto inserted = sorted.insertMulti(id, replace); | ^ In file included from /usr/include/qt5/QtCore/QMap:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/emoji/data.h:17, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/emoji/replaces.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/emoji/replaces.cpp:7: /usr/include/qt5/QtCore/qmap.h:1362:33: note: declared here 1362 | typename QMap::iterator QMap::insertMulti(const Key &key, const T &value) | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/timer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 12%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/qthelp_url.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/unixtime.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 12%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base.dir/base/single_instance.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/single_instance.cpp:20:65: warning: 'void QLocalSocket::error(QLocalSocket::LocalSocketError)' is deprecated: Use QLocalSocket::errorOccurred(QLocalSocket::LocalSocketError) instead [-Wdeprecated-declarations] 20 | const auto QLocalSocket_error = ErrorSignal(&QLocalSocket::error); | ^ In file included from /usr/include/qt5/QtNetwork/QLocalSocket:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/single_instance.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/single_instance.cpp:7: /usr/include/qt5/QtNetwork/qlocalsocket.h:122:10: note: declared here 122 | void error(QLocalSocket::LocalSocketError socketError); | ^~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/single_instance.cpp:20:65: warning: 'void QLocalSocket::error(QLocalSocket::LocalSocketError)' is deprecated: Use QLocalSocket::errorOccurred(QLocalSocket::LocalSocketError) instead [-Wdeprecated-declarations] 20 | const auto QLocalSocket_error = ErrorSignal(&QLocalSocket::error); | ^ In file included from /usr/include/qt5/QtNetwork/QLocalSocket:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/single_instance.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_base/base/single_instance.cpp:7: /usr/include/qt5/QtNetwork/qlocalsocket.h:122:10: note: declared here 122 | void error(QLocalSocket::LocalSocketError socketError); | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Linking CXX static library liblib_base.a make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Built target lib_base make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_tl make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_qr make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_ffmpeg make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_base_crash_report_writer make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target codegen_style make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_storage make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base_crash_report_writer.dir/base/crash_report_writer.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Building CXX object Telegram/lib_base/CMakeFiles/lib_base_crash_report_writer.dir/base/crash_report_header.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Linking CXX static library liblib_base_crash_report_writer.a make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Built target lib_base_crash_report_writer make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Building CXX object Telegram/lib_tl/CMakeFiles/lib_tl.dir/tl/tl_basic_types.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Built target lib_tl make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_scheme make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/codegen/codegen/style/CMakeFiles/codegen_style.dir/main.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Building CXX object Telegram/CMakeFiles/lib_ffmpeg.dir/SourceFiles/ffmpeg/ffmpeg_utility.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp: In function 'FFmpeg::CodecPointer FFmpeg::MakeCodecPointer(gsl::not_null)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp:177:54: warning: 'void av_codec_set_pkt_timebase(AVCodecContext*, AVRational)' is deprecated [-Wdeprecated-declarations] 177 | av_codec_set_pkt_timebase(context, stream->time_base); | ^ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp:8: /usr/include/libavcodec/avcodec.h:2365:12: note: declared here 2365 | void av_codec_set_pkt_timebase (AVCodecContext *avctx, AVRational val); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp:177:54: warning: 'void av_codec_set_pkt_timebase(AVCodecContext*, AVRational)' is deprecated [-Wdeprecated-declarations] 177 | av_codec_set_pkt_timebase(context, stream->time_base); | ^ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/SourceFiles/ffmpeg/ffmpeg_utility.cpp:8: /usr/include/libavcodec/avcodec.h:2365:12: note: declared here 2365 | void av_codec_set_pkt_timebase (AVCodecContext *avctx, AVRational val); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Built target lib_ffmpeg make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 13%] Building CXX object Telegram/lib_qr/CMakeFiles/lib_qr.dir/qr/qr_generate.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_qr/qr/qr_generate.cpp: In function 'void Qr::PrepareForRound(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_qr/qr/qr_generate.cpp:72:15: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 72 | | QPainter::HighQualityAntialiasing); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_qr/qr/qr_generate.cpp:12: /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_qr/qr/qr_generate.cpp:72:15: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 72 | | QPainter::HighQualityAntialiasing); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_qr/qr/qr_generate.cpp:12: /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Built target lib_qr make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_webrtc make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/codegen/codegen/style/CMakeFiles/codegen_style.dir/module.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/codegen/codegen/style/CMakeFiles/codegen_style.dir/options.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 6%] Building CXX object Telegram/codegen/codegen/emoji/CMakeFiles/codegen_emoji.dir/data_old.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Linking CXX executable codegen_emoji make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Built target codegen_emoji make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_ui_emoji make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Generating emoji (lib_ui) make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Built target lib_ui_emoji make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/codegen/codegen/style/CMakeFiles/codegen_style.dir/generator.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/style/generator.cpp: In lambda function: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/style/generator.cpp:777:54: warning: 'QByteArray& QByteArray::append(const QString&)' is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations] 777 | checksumString.append('&' + name + ':' + assignment); | ^ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/style/generator.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/codegen/codegen/style/generator.cpp:7: /usr/include/qt5/QtCore/qstring.h:1502:20: note: declared here 1502 | inline QByteArray &QByteArray::append(const QString &s) | ^~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/codegen/codegen/style/CMakeFiles/codegen_style.dir/processor.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/codegen/codegen/style/CMakeFiles/codegen_style.dir/structure_types.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/cmake_pch.hxx.gch make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 15%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/storage_clear_legacy_posix.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 15%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/storage_encrypted_file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 15%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/storage_databases.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 15%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/storage_clear_legacy.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 15%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/storage_encryption.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/codegen/codegen/style/CMakeFiles/codegen_style.dir/parsed_file.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/lib_webrtc/CMakeFiles/lib_webrtc.dir/cmake_pch.hxx.gch make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 15%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/cache/storage_cache_binlog_reader.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Linking CXX executable codegen_style make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Built target codegen_style make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target Telegram_styles make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/cache/storage_cache_compactor.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_storage/storage/cache/storage_cache_compactor.cpp: In instantiation of 'Storage::Cache::details::CompactorObject::fillList(Storage::Cache::details::CompactorObject::RawSpan):: [with auto:89 = const std::vector]': /usr/include/mapbox/variant.hpp:203:72: required by substitution of 'template struct mapbox::util::detail::deduced_result_type()((declval)()...)))> [with F = mapbox::util::visitor >&&; Args = {const std::vector >&}]' /usr/include/mapbox/variant.hpp:209:8: required from 'struct mapbox::util::detail::visitor_result_type >&&(const std::vector&), void>' /usr/include/mapbox/variant.hpp:220:7: required by substitution of 'template using result_of_unary_visit = typename mapbox::util::detail::visitor_result_type::type [with F = mapbox::util::visitor >; T = const std::vector&]' /usr/include/mapbox/variant.hpp:835:15: required by substitution of 'template static R mapbox::util::variant >, std::vector > >::visit(V&&, F&&) [with F = mapbox::util::visitor >; V = const mapbox::util::variant >, std::vector > >&; T0 = const std::vector&; R = ]' /usr/include/mapbox/variant.hpp:854:25: required by substitution of 'template decltype (((const mapbox::util::variant >, std::vector > >*)this)->mapbox::util::variant >, std::vector > >::visit((*(const mapbox::util::variant >, std::vector > >*)this), mapbox::util::make_visitor((forward)(mapbox::util::variant::match::fs)...))) mapbox::util::variant >, std::vector > >::match(Fs&& ...) const & [with Fs = {Storage::Cache::details::CompactorObject::fillList(Storage::Cache::details::CompactorObject::RawSpan)::}]' /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_storage/storage/cache/storage_cache_compactor.cpp:336:3: required from here /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_storage/storage/cache/storage_cache_compactor.cpp:335:31: error: no matching function for call to 'Storage::Cache::details::CompactorObject::fillList(const std::vector&, Storage::Cache::details::CompactorObject::RawSpan&)' 335 | return fillList(list, values); | ^ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_storage/storage/cache/storage_cache_compactor.cpp:333:6: note: candidate: 'Storage::Cache::details::CompactorObject::RawSpan Storage::Cache::details::CompactorObject::fillList(Storage::Cache::details::CompactorObject::RawSpan)' 333 | auto CompactorObject::fillList(RawSpan values) -> RawSpan { | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_storage/storage/cache/storage_cache_compactor.cpp:333:6: note: candidate expects 1 argument, 2 provided /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_storage/storage/cache/storage_cache_compactor.cpp:56:10: note: candidate: 'template Storage::Cache::details::CompactorObject::RawSpan Storage::Cache::details::CompactorObject::fillList(std::vector&, Storage::Cache::details::CompactorObject::RawSpan)' 56 | RawSpan fillList(std::vector &list, RawSpan values); | ^~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_storage/storage/cache/storage_cache_compactor.cpp:56:10: note: template argument deduction/substitution failed: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_storage/storage/cache/storage_cache_compactor.cpp:335:31: note: types 'std::vector' and 'const std::vector' have incompatible cv-qualifiers 335 | return fillList(list, values); | ^ make[2]: *** [Telegram/lib_storage/CMakeFiles/lib_storage.dir/build.make:203: Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/cache/storage_cache_compactor.cpp.o] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_ui_styles make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Generating styles (lib_ui) make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 15%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/cache/storage_cache_cleaner.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Built target lib_ui_styles make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_ui_palette make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Generating palette (lib_ui) make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Built target lib_ui_palette make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_ui_autogen make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Building CXX object Telegram/lib_webrtc/CMakeFiles/lib_webrtc.dir/webrtc/webrtc_media_devices.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 17%] Automatic MOC for target lib_ui make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 18%] Built target lib_ui_autogen make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' Scanning dependencies of target lib_ui make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Building CXX object Telegram/lib_webrtc/CMakeFiles/lib_webrtc.dir/webrtc/webrtc_audio_input_tester.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/cache/storage_cache_database.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Generating styles (Telegram) make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 18%] Built target Telegram_styles make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 16%] Building CXX object Telegram/lib_storage/CMakeFiles/lib_storage.dir/storage/cache/storage_cache_database_object.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: *** [CMakeFiles/Makefile2:1982: Telegram/lib_storage/CMakeFiles/lib_storage.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 18%] Building CXX object Telegram/lib_webrtc/CMakeFiles/lib_webrtc.dir/webrtc/webrtc_video_track.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp: In function 'void Webrtc::{anonymous}::PaintFrameInner(QPainter&, QRect, const QImage&, bool, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp:99:13: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 99 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp:12: /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp:99:13: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 99 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_webrtc/webrtc/webrtc_video_track.cpp:12: /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 18%] Built target lib_webrtc make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 18%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx.gch make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 19%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/gen/styles/style_layers.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_layers.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_layers.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_layers.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_layers.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 18%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/gen/styles/style_basic.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_basic.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_basic.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_basic.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_basic.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 19%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/animation_value.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 19%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/gen/emoji_suggestions_data.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 19%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/cross_animation.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/cross_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 19%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/gen/styles/style_widgets.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 20%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/fade_animation.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/fade_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 18%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/lib_ui_autogen/mocs_compilation.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/../../ui/layers/box_content.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/moc_box_content.cpp:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/../../ui/layers/box_content.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/moc_box_content.cpp:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/../../ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/moc_box_content.cpp:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/../../ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/moc_box_content.cpp:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/../../ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/moc_box_content.cpp:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/../../ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/moc_box_content.cpp:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/../../ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/Q6HNKDKCGI/moc_box_content.cpp:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/lib_ui_autogen/mocs_compilation.cpp:2: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 19%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/animations.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 20%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/radial_animation.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/radial_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 20%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/panel_animation.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/panel_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/panel_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/panel_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/panel_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 20%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/numbers_animation.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp: In constructor 'Ui::NumbersAnimation::NumbersAnimation(const font&, Fn)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:22:48: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 22 | accumulate_max(_digitWidth, _font->m.width(ch)); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp: In member function 'void Ui::NumbersAnimation::realSetText(QString, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/numbers_animation.cpp:70:63: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 70 | digit.toWidth = digit.to.unicode() ? _font->m.width(digit.to) : 0; | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 20%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/slide_animation.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/slide_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/slide_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/slide_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/slide_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 20%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/effects/ripple_animation.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/ripple_animation.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 18%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/gen/styles/palette.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/palette.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/palette.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/palette.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/palette.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 20%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/image/image_prepare.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.cpp:11: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.cpp:11: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.cpp:11: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.cpp:11: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/image/image_prepare.cpp:11: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 21%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/layers/layer_manager.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_manager.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_manager.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_manager.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_manager.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 21%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/platform/linux/ui_window_linux.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 21%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/layers/box_content.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp: In member function 'virtual void Ui::BoxContent::paintEvent(QPaintEvent*)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.cpp:248:38: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] 248 | for (auto rect : e->region().rects()) { | ^ In file included from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpen.h:45, from /usr/include/qt5/QtGui/QPen:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:14, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 21%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/platform/linux/ui_utility_linux.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp: In function 'bool Ui::Platform::TranslucentWindowsSupported(QPoint)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp:31:59: warning: 'int QDesktopWidget::screenNumber(const QPoint&) const' is deprecated: Use QGuiApplication::screenAt() [-Wdeprecated-declarations] 31 | const auto index = desktop->screenNumber(globalPosition); | ^ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/platform/linux/ui_utility_linux.cpp:15: /usr/include/qt5/QtWidgets/qdesktopwidget.h:75:60: note: declared here 75 | QT_DEPRECATED_X("Use QGuiApplication::screenAt()") int screenNumber(const QPoint &) const; | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 21%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/layers/box_layer_widget.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp: In member function 'virtual void Ui::BoxLayerWidget::paintEvent(QPaintEvent*)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.cpp:120:32: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] 120 | for (auto rect : other.rects()) { | ^ In file included from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpen.h:45, from /usr/include/qt5/QtGui/QPen:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:14, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 21%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/layers/generic_box.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/generic_box.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 21%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/platform/ui_platform_window.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/window.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/platform/ui_platform_window.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/window.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/platform/ui_platform_window.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 22%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/style/style_core_custom_font.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_custom_font.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_custom_font.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 22%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/style/style_core_color.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/palette.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_color.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/palette.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_color.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 22%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/style/style_core_direction.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 22%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/style/style_core_scale.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 22%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/style/style_core_font.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.cpp: In lambda function: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.cpp:273:32: warning: 'int QFontMetrics::charWidth(const QString&, int) const' is deprecated [-Wdeprecated-declarations] 273 | || (metrics.charWidth("i", 0) == metrics.charWidth("W", 0)); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:117:23: note: declared here 117 | QT_DEPRECATED int charWidth(const QString &str, int pos) const; | ^~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.cpp:273:61: warning: 'int QFontMetrics::charWidth(const QString&, int) const' is deprecated [-Wdeprecated-declarations] 273 | || (metrics.charWidth("i", 0) == metrics.charWidth("W", 0)); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:117:23: note: declared here 117 | QT_DEPRECATED int charWidth(const QString &str, int pos) const; | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 23%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/style/style_core_types.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 22%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/style/style_core_icon.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_icon.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_icon.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 21%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/layers/layer_widget.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_content.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/box_layer_widget.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp: In member function 'virtual void Ui::LayerStackWidget::BackgroundWidget::paintEvent(QPaintEvent*)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/layers/layer_widget.cpp:284:33: warning: 'QVector QRegion::rects() const' is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] 284 | for (auto rect : region.rects()) { | ^ In file included from /usr/include/qt5/QtGui/qmatrix.h:45, from /usr/include/qt5/QtGui/qbrush.h:49, from /usr/include/qt5/QtGui/qpen.h:45, from /usr/include/qt5/QtGui/QPen:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:14, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qregion.h:125:20: note: declared here 125 | QVector rects() const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 23%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/text/qtextitemint.cpp.o /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/qtextitemint.cpp: In constructor 'QTextItemInt::QTextItemInt(const QGlyphLayout&, QFont*, const QChar*, int, QFontEngine*, const QTextCharFormat&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/qtextitemint.cpp:26:16: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QTextItem::RenderFlag; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 26 | , fontEngine(fe) { | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/qtextitemint.cpp: In member function 'void QTextItemInt::initWithScriptItem(const QScriptItem&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/qtextitemint.cpp:32:10: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QTextItem::RenderFlag; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 32 | flags = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 22%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/style/style_core.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 23%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/text/text_utilities.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 23%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/text/text_block.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_block.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_block.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_block.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_block.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 24%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/toast/toast_manager.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_manager.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 23%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/toast/toast.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 23%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/text/text.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_block.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_block.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 24%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/toast/toast_widget.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/toast/toast_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 23%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/text/text_entity.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_block.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:12: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_block.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:12: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:12: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:12: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:12: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:12: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:12: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp: In function 'QStringList TextUtilities::PrepareSearchWords(const QString&, const QRegularExpression*)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:1406:13: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations] 1406 | QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qstring.h:600:9: note: declared here 600 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:1406:13: warning: 'QString::SkipEmptyParts' is deprecated [-Wdeprecated-declarations] 1406 | QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qstring.h:600:9: note: declared here 600 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text_entity.cpp:1406:27: warning: 'QStringList QString::split(const QRegularExpression&, QString::SplitBehavior) const' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 1406 | QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qstring.h:623:17: note: declared here 623 | QStringList split(const QRegularExpression &sep, SplitBehavior behavior) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 24%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/box_content_divider.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/box_content_divider.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/box_content_divider.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/box_content_divider.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/box_content_divider.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 24%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/dropdown_menu.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/dropdown_menu.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/dropdown_menu.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/dropdown_menu.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/dropdown_menu.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 24%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/checkbox.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 25%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/menu.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/menu.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 24%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/inner_dropdown.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/inner_dropdown.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/inner_dropdown.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/inner_dropdown.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/inner_dropdown.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 25%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/labels.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/labels.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 24%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/buttons.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/checkbox.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 19%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/gen/emoji.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/CMakeFiles/lib_scheme.dir/gen/scheme-dump_to_text.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 25%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/shadow.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/shadow.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/shadow.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/shadow.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/shadow.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 25%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/side_bar_button.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/buttons.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/side_bar_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 26%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/window.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/window.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/window.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/window.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/window.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 25%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/scroll_area.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/scroll_area.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 25%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/popup_menu.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/popup_menu.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/popup_menu.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/gen/styles/style_widgets.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/popup_menu.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/popup_menu.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/popup_menu.cpp: In member function 'void Ui::PopupMenu::showMenu(const QPoint&, Ui::PopupMenu*, Ui::PopupMenu::TriggeredSource)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/popup_menu.cpp:479:52: warning: 'const QRect QDesktopWidget::screenGeometry(const QPoint&) const' is deprecated: Use QGuiApplication::screenAt() [-Wdeprecated-declarations] 479 | auto r = QApplication::desktop()->screenGeometry(p); | ^ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/popup_menu.cpp:19: /usr/include/qt5/QtWidgets/qdesktopwidget.h:80:68: note: declared here 80 | QT_DEPRECATED_X("Use QGuiApplication::screenAt()") const QRect screenGeometry(const QPoint &point) const | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 25%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/tooltip.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp: In member function 'void Ui::Tooltip::popup(const QPoint&, const QString&, const style::Tooltip*)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:111:51: warning: 'const QRect QDesktopWidget::screenGeometry(const QPoint&) const' is deprecated: Use QGuiApplication::screenAt() [-Wdeprecated-declarations] 111 | QRect r(QApplication::desktop()->screenGeometry(m)); | ^ In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.cpp:15: /usr/include/qt5/QtWidgets/qdesktopwidget.h:80:68: note: declared here 80 | QT_DEPRECATED_X("Use QGuiApplication::screenAt()") const QRect screenGeometry(const QPoint &point) const | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 26%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/wrap/padding_wrap.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/padding_wrap.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 25%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/widgets/input_fields.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/input_fields.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 26%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/wrap/vertical_layout.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/vertical_layout.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/vertical_layout.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/vertical_layout.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/vertical_layout.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 27%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/delayed_activation.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 27%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/click_handler.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 27%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/basic_click_handlers.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/basic_click_handlers.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/basic_click_handlers.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/basic_click_handlers.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/basic_click_handlers.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/basic_click_handlers.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/basic_click_handlers.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/text/text.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/widgets/tooltip.h:12, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/basic_click_handlers.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 26%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/wrap/fade_wrap.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/fade_wrap.cpp:10: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 26%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/wrap/vertical_layout_reorder.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/vertical_layout_reorder.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/vertical_layout_reorder.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/vertical_layout_reorder.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/vertical_layout_reorder.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 26%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/abstract_button.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/abstract_button.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 27%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/inactive_press.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 27%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/integration.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/ui_log.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/ph.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/round_rect.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/round_rect.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/round_rect.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/round_rect.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/round_rect.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 26%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/wrap/slide_wrap.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/slide_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/slide_wrap.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animation_value.h:11, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/effects/animations.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/slide_wrap.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/wrap/slide_wrap.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 27%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/main_queue_processor.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/ui_utility.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_utility.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_utility.cpp:9: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/emoji_suggestions/emoji_suggestions.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 27%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/emoji_config.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/emoji_config.cpp:13: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/emoji_config.cpp:13: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/emoji_config.cpp:14: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextLeft(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:21:70: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 21 | if (style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/emoji_config.cpp:14: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In member function 'void Painter::drawTextRight(int, int, int, const QString&, int)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:26:71: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 26 | if (!style::RightToLeft() && textWidth < 0) textWidth = m.width(text); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/emoji_config.cpp:14: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: At global scope: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:115:33: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = QPainter::RenderHint; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 115 | QPainter::RenderHints _hints = 0; | ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1304, from /usr/include/qt5/QtCore/qchar.h:43, from /usr/include/qt5/QtCore/qstring.h:49, from /usr/include/qt5/QtCore/QString:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:8, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/emoji_config.cpp:14: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h: In constructor 'PainterHighQualityEnabler::PainterHighQualityEnabler(QPainter&)': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/emoji_config.cpp:14: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/painter.h:88:14: warning: 'QPainter::HighQualityAntialiasing' is deprecated: Use Antialiasing instead [-Wdeprecated-declarations] 88 | QPainter::HighQualityAntialiasing | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtGui/QPainter:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:19, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qpainter.h:92:9: note: declared here 92 | HighQualityAntialiasing Q_DECL_ENUMERATOR_DEPRECATED_X("Use Antialiasing instead") = 0x08, | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/rp_widget.cpp.o In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(const QString&) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:72:21: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 72 | return m.width(str); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ In file included from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_types.h:16, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_direction.h:9, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.h:10, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/rp_widget.cpp:7: /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h: In member function 'int style::internal::FontData::width(QChar) const': /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/style/style_core_font.h:78:20: warning: 'int QFontMetrics::width(QChar) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 78 | return m.width(ch); | ^ In file included from /usr/include/qt5/QtGui/QFontMetrics:1, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/ui/ui_pch.h:18, from /usr/src/RPM/BUILD/telegram-desktop-2.3.1/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx:5, from : /usr/include/qt5/QtGui/qfontmetrics.h:110:9: note: declared here 110 | int width(QChar) const; | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Linking CXX static library liblib_ui.a make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Built target lib_ui make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[2]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 14%] Building CXX object Telegram/CMakeFiles/lib_scheme.dir/gen/scheme.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make[1]: Entering directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' [ 28%] Built target lib_scheme make[1]: Leaving directory '/usr/src/RPM/BUILD/telegram-desktop-2.3.1' make: *** [Makefile:149: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.62129 (%build) RPM build errors: Macro %_Kservices not found Bad exit status from /usr/src/tmp/rpm-tmp.62129 (%build) Command exited with non-zero status 1 453.48user 24.89system 1:48.98elapsed 438%CPU (0avgtext+0avgdata 1036668maxresident)k 0inputs+0outputs (0major+7762528minor)pagefaults 0swaps hsh-rebuild: rebuild of `telegram-desktop-2.3.1-alt1.src.rpm' failed. Command exited with non-zero status 1 511.31user 32.60system 2:56.03elapsed 308%CPU (0avgtext+0avgdata 1036668maxresident)k 318056inputs+0outputs (0major+8297069minor)pagefaults 0swaps