From: Ivan Zakharyaschev <imz@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] I: grep-warnings Date: Mon, 9 Mar 2020 18:59:57 +0300 (MSK) Message-ID: <alpine.LFD.2.20.2003091841050.6363@imap.altlinux.org> (raw) [-- Attachment #1: Type: text/plain, Size: 1983 bytes --] On Mon, 9 Mar 2020, Igor Vlasenko wrote: > logoved-grep (в разработке) может помочь. > > примеры запуска на логах из ftbfs. Раз уж зашла речь про grep по логам, сообщу про нехитрый скрипт, который помогает мне отследить по логам, не появилось ли новых предупреждений. (Конечно, это не имеет прямого отношения к первоначальному вопросу о поиске сообщения об ошибке). Например, появилось 4 новых предупреждения: [imz@team ~]$ zstdcat /beehive/logs/Sisyphus-i586/archive/2019/0613/success/apt-0.5.15lorg2-alt67.zst | grep-warnings --rpmb c | wc -l 376 [imz@team ~]$ zstdcat /beehive/logs/Sisyphus-i586/archive/2019/0614/success/apt-0.5.15lorg2-alt68.zst | grep-warnings --rpmb c | wc -l 380 [imz@team ~]$ diff <(zstdcat /beehive/logs/Sisyphus-i586/archive/2019/0613/success/apt-0.5.15lorg2-alt67.zst |grep-warnings --rpmb c |sort) <(zstdcat /beehive/logs/Sisyphus-i586/archive/2019/0614/success/apt-0.5.15lorg2-alt68.zst |grep-warnings --rpmb c |sort) 234a235,236 > rpm/rpmlistparser.cc::76: warning: 'int headerGetEntry(Header, rpm_tag_t, rpm_tagtype_t*, void**, rpm_count_t*)' is deprecated [-Wdeprecated-declarations]!if (headerGetEntry(header, RPMTAG_DISTTAG, &type, (void **)&dtag, &count) == 1!^ > rpm/rpmlistparser.cc::76: warning: 'int headerGetEntry(Header, rpm_tag_t, rpm_tagtype_t*, void**, rpm_count_t*)' is deprecated [-Wdeprecated-declarations]!if (headerGetEntry(header, RPMTAG_DISTTAG, &type, (void **)&dtag, &count) == 1!^ 278a281,282 > rpm/rpmrecords.cc::76: warning: 'int headerGetEntry(Header, rpm_tag_t, rpm_tagtype_t*, void**, rpm_count_t*)' is deprecated [-Wdeprecated-declarations]!if (headerGetEntry(HeaderP, RPMTAG_DISTTAG, &type, (void **)&str, &count)==1) {!^ > rpm/rpmrecords.cc::76: warning: 'int headerGetEntry(Header, rpm_tag_t, rpm_tagtype_t*, void**, rpm_count_t*)' is deprecated [-Wdeprecated-declarations]!if (headerGetEntry(HeaderP, RPMTAG_DISTTAG, &type, (void **)&str, &count)==1) {!^ Лежит в пакете grep-warnings -- Best regards, Ivan
next reply other threads:[~2020-03-09 15:59 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-03-09 15:59 Ivan Zakharyaschev [this message] 2020-03-09 16:03 ` Ivan Zakharyaschev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=alpine.LFD.2.20.2003091841050.6363@imap.altlinux.org \ --to=imz@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git