typos within src/bindings/cxx/eina_cxx/eina_string_view.hh produce errors / fail compile Reproducible: Always Steps to Reproduce: select gcc-15 emerge -1 =dev-libs/efl-1.27.0-r1 Actual Results: FAILED: src/bindings/cxx/eolian_cxx/eolian_cxx.p/.._.._.._bin_eolian_cxx_eolian_cxx.cc.o x86_64-pc-linux-gnu-g++ -Isrc/bindings/cxx/eolian_cxx/eolian_cxx.p -Isrc/bindings/cxx/eolian_cxx -I../efl-1.27.0/src/bindings/cxx/eolian_cxx -I../efl-1.27.0/src/lib/eolian_cxx -Isrc/bindings/cxx/eina_cxx -I../efl-1.27.0/src/bindings/cxx/eina_cxx -Isrc/bindings/cxx -I../efl-1.27.0/src/bindings/cxx -Isrc/lib/eina -I../efl-1.27.0/src/lib/eina -I. -I../efl-1.27.0 -Isrc/lib/eo -I../efl-1.27.0/src/lib/eo -Isrc/lib/eolian -I../efl-1.27.0/src/lib/eolian -flto=auto -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1 -march=native -O3 -mprefer-vector-width=512 -fno-vect-cost-model -pipe -pthread '-DPACKAGE_DATA_DIR="/usr/share/eolian"' -DNEED_RUN_IN_TREE=1 -MD -MQ src/bindings/cxx/eolian_cxx/eolian_cxx.p/.._.._.._bin_eolian_cxx_eolian_cxx.cc.o -MF src/bindings/cxx/eolian_cxx/eolian_cxx.p/.._.._.._bin_eolian_cxx_eolian_cxx.cc.o.d -o src/bindings/cxx/eolian_cxx/eolian_cxx.p/.._.._.._bin_eolian_cxx_eolian_cxx.cc.o -c ../efl-1.27.0/src/bin/eolian_cxx/eolian_cxx.cc In file included from ../efl-1.27.0/src/bindings/cxx/eina_cxx/Eina.hh:31, from ../efl-1.27.0/src/bin/eolian_cxx/eolian_cxx.cc:37: ../efl-1.27.0/src/bindings/cxx/eina_cxx/eina_string_view.hh: In member function ‘efl::eina::basic_string_view<CharT, Traits>::size_type efl::eina::basic_string_view<CharT, Traits>::rfind(const efl::eina::basic_string_view<CharT, Traits>&) const’: ../efl-1.27.0/src/bindings/cxx/eina_cxx/eina_string_view.hh:184:77: error: ‘const class efl::eina::basic_string_view<CharT, Traits>’ has no member named ‘lenght’; did you mean ‘length’? [-Wtemplate-body] 184 | return iter == crend() ? npos : reverse_distance(crbegin(), iter) - s.lenght(); | ^~~~~~ | length ../efl-1.27.0/src/bindings/cxx/eina_cxx/eina_string_view.hh: In member function ‘efl::eina::basic_string_view<CharT, Traits>::size_type efl::eina::basic_string_view<CharT, Traits>::rfind(const efl::eina::basic_string_view<CharT, Traits>&, size_type) const’: ../efl-1.27.0/src/bindings/cxx/eina_cxx/eina_string_view.hh:192:77: error: ‘const class efl::eina::basic_string_view<CharT, Traits>’ has no member named ‘lenght’; did you mean ‘length’? [-Wtemplate-body] 192 | return iter == crend() ? npos : reverse_distance(crbegin(), iter) - s.lenght(); | ^~~~~~ |
Created attachment 900887 [details, diff] patch to fix typos
Created attachment 900888 [details] build fail log (truncated at top)
Created attachment 900889 [details] emerge--info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4779e590ed87759842067515bb7f6daa441bfd6 commit d4779e590ed87759842067515bb7f6daa441bfd6 Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2024-12-12 05:57:01 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-12-15 11:34:00 +0000 dev-libs/efl: fix build error for gcc 15 and clang 19 patch from https://git.enlightenment.org/enlightenment/efl/issues/71 Closes: https://bugs.gentoo.org/938278 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39692 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/efl/efl-1.27.0-r1.ebuild | 2 ++ dev-libs/efl/files/efl-1.27-eina_string_view.patch | 32 ++++++++++++++++++++++ 2 files changed, 34 insertions(+)
Sorry, looks like I've had the patch in /etc/portage/patches (to test probably) and forgot to push it to the tree :)
Thanks, this worked and I was able to remove my local patch, too.