Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855140 - net-news/newsboat-2.23-r1 - src/itemlistformaction.cpp: error: strcasestr was not declared in this scope
Summary: net-news/newsboat-2.23-r1 - src/itemlistformaction.cpp: error: strcasestr was...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Cédric Krier
URL: https://github.com/newsboat/newsboat/...
Whiteboard:
Keywords: PATCH
Depends on: 881189
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-06-29 14:08 UTC by Toralf Förster
Modified: 2023-01-23 01:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.71 KB, text/plain)
2022-06-29 14:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,60.33 KB, text/plain)
2022-06-29 14:08 UTC, Toralf Förster
Details
environment (environment,75.39 KB, text/plain)
2022-06-29 14:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.47 KB, application/x-bzip)
2022-06-29 14:08 UTC, Toralf Förster
Details
net-news:newsboat-2.23-r1:20220629-140408.log (net-news:newsboat-2.23-r1:20220629-140408.log,123.37 KB, text/plain)
2022-06-29 14:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.29 KB, application/x-bzip)
2022-06-29 14:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-06-29 14:08:12 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-g++ -std=c++11 -Iinclude -Istfl -Ifilter -I. -Irss -Itarget/cxxbridge/libnewsboat-ffi/src/ -Wall -Wextra -Wunreachable-code -DLOCALEDIR='"/usr/share/locale"' -I/usr/include/libxml2  -I/usr/include/json-c  -I/usr/include/ncursesw  -pipe -march=native -fno-diagnostics-color -O
x86_64-gentoo-linux-musl-g++ -std=c++11 -Iinclude -Istfl -Ifilter -I. -Irss -Itarget/cxxbridge/libnewsboat-ffi/src/ -Wall -Wextra -Wunreachable-code -DLOCALEDIR='"/usr/share/locale"' -I/usr/include/libxml2  -I/usr/include/json-c  -I/usr/include/ncursesw  -pipe -march=native -fno-diagnostics-color -O
x86_64-gentoo-linux-musl-g++ -std=c++11 -Iinclude -Istfl -Ifilter -I. -Irss -Itarget/cxxbridge/libnewsboat-ffi/src/ -Wall -Wextra -Wunreachable-code -DLOCALEDIR='"/usr/share/locale"' -I/usr/include/libxml2  -I/usr/include/json-c  -I/usr/include/ncursesw  -pipe -march=native -fno-diagnostics-color -O
src/itemlistformaction.cpp: In member function 'void newsboat::ItemListFormAction::goto_item(const std::string&)':
src/itemlistformaction.cpp:1113:21: error: 'strcasestr' was not declared in this scope; did you mean 'xmlStrcasestr'?
 1113 |                 if (strcasestr(visible_items[i].first->title().c_str(),
      |                     ^~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220629-060005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-12.1.1 *
clang/llvm (if any):
Python 3.9.13
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.61.0 *
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit ba38493088574bbb953e5685fcaa676207cf7c2b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 29 12:46:29 2022 +0000

    2022-06-29 12:46:28 UTC

emerge -qpvO net-news/newsboat
[ebuild  N    ] net-news/newsboat-2.23-r1  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2022-06-29 14:08:13 UTC
Created attachment 788714 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-29 14:08:14 UTC
Created attachment 788717 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-06-29 14:08:16 UTC
Created attachment 788720 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-29 14:08:17 UTC
Created attachment 788723 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-29 14:08:18 UTC
Created attachment 788726 [details]
net-news:newsboat-2.23-r1:20220629-140408.log
Comment 6 Toralf Förster gentoo-dev 2022-06-29 14:08:19 UTC
Created attachment 788729 [details]
temp.tar.bz2
Comment 7 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-03 03:31:24 UTC
I can reproduce on a glibc system, so these would seem not musl-specific.
Comment 8 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-03 04:25:40 UTC
Whoops, the fix commit is in 2.28: https://github.com/newsboat/newsboat/commit/3e8b2ca1a1a7142cd75fa251b695eec12e4ff43a

commit 479641ef1af5e7ded4c382483270e3b4b0dec3e3
Author: John Helmert III <ajak@gentoo.org>
Date:   Tue Aug 2 23:20:14 2022 -0500

    net-news/newsboat: add 2.28

    Closes: https://bugs.gentoo.org/815661
    Signed-off-by: John Helmert III <ajak@gentoo.org>

This bug will be fixed with stabilization of 2.28.