Summary: | media-tv/kodi-21.0-r1 ebuild fails due 'find_if' is not a memeber of 'std' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benjamin Réveillé <benjamin.reveille> |
Component: | Current packages | Assignee: | Craig Andrews <candrews> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | benjamin.reveille, parona |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/36811 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 914580 | ||
Attachments: | emerge--info |
Weird, this should be addressed by this https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2 Also can you include the build.log? If the patch was applied correctly could you try to build without ccache. (In reply to Alfred Wingate from comment #2) > Also can you include the build.log? If the patch was applied correctly could > you try to build without ccache. Trying but attachement upload page is giving me an ERR_ACCESS_DENIED when clicking submit... (In reply to Alfred Wingate from comment #1) > Weird, this should be addressed by this > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2 the patch has a typo ;-) ! "PATHCES" instead of "PATCHES" +PATHCES=( + "${FILESDIR}"/kodi-21-fix-gcc14.ebuild +) + (In reply to Benjamin Réveillé from comment #4) > (In reply to Alfred Wingate from comment #1) > > Weird, this should be addressed by this > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > > ?id=eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2 > > the patch has a typo ;-) ! "PATHCES" instead of "PATCHES" > > +PATHCES=( > + "${FILESDIR}"/kodi-21-fix-gcc14.ebuild > +) > + and ".ebuild" instead of ".patch" for the patch file name !!! Shouldve used git am... https://github.com/kodi-overlay/kodi-overlay/commit/a04f136ccc70b4ccff5657f03d4fe0c380344ebd :D Not sure how I didnt notice this as I was sure I run a sanity test build on the ::gentoo variant. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7c8f94381e3ee1b8a2c2e46344c83e6f6dbe3b commit 0c7c8f94381e3ee1b8a2c2e46344c83e6f6dbe3b Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2024-05-24 19:54:16 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-25 03:31:38 +0000 media-tv/kodi: fix typos in PATCHES Fixes: eef3a99ed8f0e12d70bb434ecb3715cd3c7c9ce2 Closes: https://bugs.gentoo.org/932651 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/36811 Signed-off-by: Sam James <sam@gentoo.org> media-tv/kodi/kodi-21.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) |
Created attachment 894271 [details] emerge--info media-tv/kodi-21.0-r1 emerge fails with FAILED: build/platform/posix/filesystem/CMakeFiles/platform_posix_filesystem.dir/SMBWSDiscoveryListener.cpp.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DCMS_NO_REGISTER_KEYWORD=1 -DFFMPEG_VER_SHA=6.0.1 -DFMT_SHARED -DHAS_ALSA=1 -DHAS_AVAHI=1 -DHAS_DBUS=1 -DHAS_EGL=1 -DHAS_FILESYSTEM_NFS -DHAS_GL=1 -DHAS_MYSQL=1 -DHAS_NFS_MOUNT_GETEXPORTS_TIMEOUT -DHAS_NFS_SET_TIMEOUT -DHAS_PULSEAUDIO=1 -DHAS_ZEROCONF=1 -DHAVE_DRM_MODIFIER_NAME=1 -DHAVE_EGLEXTANGLE=1 -DHAVE_HDR_OUTPUT_METADATA=1 -DHAVE_LCMS2=1 -DHAVE_LIBBLUETOOTH=1 -DHAVE_LIBCAP=1 -DHAVE_LIBUDEV=1 -DHAVE_LIBXRANDR=1 -DHAVE_LIBXSLT=1 -DHAVE_NEW_CROSSGUID -DHAVE_X11=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_DEBUG_ON -DSPDLOG_FMT_EXTERNAL -DSPDLOG_NO_ATOMIC_LEVELS -DSPDLOG_SHARED_LIB -DTINYXML2_IMPORT -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega -I/var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/lib -I/var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/xbmc -I/var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/xbmc/platform/linux -I/var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/xbmc/cores/VideoPlayer -I/var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega_build/build -I/var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/xbmc/platform/posix -isystem /var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega_build/build/include -isystem /usr/include/pipewire-0.3 -isystem /usr/include/spa-0.2 -isystem /usr/include/python3.11 -isystem /usr/include/samba-4.0 -isystem /usr/include/fribidi -isystem /usr/include/lzo -isystem /usr/include/dbus-1.0 -isystem /usr/lib64/dbus-1.0/include -isystem /usr/include/libxml2 -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega_build/build/cores/RetroPlayer/messages -isystem /usr/include/libdrm -O2 -march=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -fomit-frame-pointer -pipe -frecord-gcc-switches -DNDEBUG -Wall -Wdouble-promotion -Wmissing-field-initializers -Wsign-compare -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -std=c++17 -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -DHAVE_SSE4_2=1 -DHAVE_AVX=1 -DHAVE_AVX2=1 -D__STDC_CONSTANT_MACROS -D_FILE_OFFSET_BITS=64 -DHAS_POSIX_NETWORK -DHAS_LINUX_NETWORK -DHAS_BUILTIN_SYNC_ADD_AND_FETCH=1 -DHAS_BUILTIN_SYNC_SUB_AND_FETCH=1 -DHAS_BUILTIN_SYNC_VAL_COMPARE_AND_SWAP=1 -DHAVE_INOTIFY=1 -DHAVE_POSIX_FADVISE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_INTTYPES_H=1 -DHAS_ISO9660PP=1 -DHAS_WEB_SERVER=1 -DHAS_WEB_INTERFACE=1 -DHAS_PIPEWIRE=1 -DHAS_PYTHON=1 -DHAS_FILESYSTEM_SMB=1 -DHAVE_LIBVA=1 -DHAS_GLX=1 -DHAS_UPNP=1 -DHAS_OPTICAL_DRIVE -DHAS_CDDA_RIPPER -DBIN_INSTALL_PATH=\"/usr/lib64/kodi\" -DINSTALL_PATH=\"/usr/share/kodi\" -Werror=double-promotion -Werror=missing-field-initializers -Werror=sign-compare -MD -MT build/platform/posix/filesystem/CMakeFiles/platform_posix_filesystem.dir/SMBWSDiscoveryListener.cpp.o -MF build/platform/posix/filesystem/CMakeFiles/platform_posix_filesystem.dir/SMBWSDiscoveryListener.cpp.o.d -o build/platform/posix/filesystem/CMakeFiles/platform_posix_filesystem.dir/SMBWSDiscoveryListener.cpp.o -c /var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/xbmc/platform/posix/filesystem/SMBWSDiscoveryListener.cpp /var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/xbmc/platform/posix/filesystem/SMBWSDiscoveryListener.cpp: In member function ‘void WSDiscovery::CWSDiscoveryListenerUDP::ParseBuffer(const std::string&)’: /var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/xbmc/platform/posix/filesystem/SMBWSDiscoveryListener.cpp:449:28: error: ‘find_if’ is not a member of ‘std’; did you mean ‘find’? 449 | auto searchitem = std::find_if(m_vecWSDInfo.begin(), m_vecWSDInfo.end(), | ^~~~~~~ | find /var/tmp/portage/media-tv/kodi-21.0-r1/work/xbmc-21.0-Omega/xbmc/platform/posix/filesystem/SMBWSDiscoveryListener.cpp:472:31: error: ‘find_if’ is not a member of ‘std’; did you mean ‘find’? 472 | auto searchbye = std::find_if( | ^~~~~~~ | find