Summary: | media-libs/opencv: ade/typed_graph.hpp:101:10: error: ‘uintptr_t’ in namespace ‘std’ does not name a type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | whitleystriber |
Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 906588 | ||
Bug Blocks: | 865117 | ||
Attachments: |
Build.Log
Emerge --info |
Created attachment 861814 [details]
Emerge --info
FAILED: CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -I/var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_32.x86/3rdparty/ade/ade-0.1.1f/sources/ade/include -isystem /var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_32.x86 -march=znver4 -O2 -pipe -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -flto -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx512f -mfpmath=sse -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -std=c++11 -fPIC -MD -MT CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o -MF CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o.d -o CMakeFiles/ade.dir/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp.o -c /var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_32.x86/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp In file included from /var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_32.x86/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/passes/topological_sort.hpp:17, from /var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_32.x86/3rdparty/ade/ade-0.1.1f/sources/ade/source/topological_sort.cpp:7: /var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_32.x86/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:101:10: error: ‘uintptr_t’ in namespace ‘std’ does not name a type 101 | std::uintptr_t m_srcGraph; | ^~~~~~~~~ /var/tmp/portage/media-libs/opencv-4.6.0-r4/work/opencv-4.6.0_build-abi_x86_32.x86/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:22:1: note: ‘std::uintptr_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? 21 | #include "typed_metadata.hpp" +++ |+#include <cstdint> 22 | [...] I'll take a look now. TYSM Sam as always. No problem! I can't reproduce this w/ 4.7.0 so let's asssume it's fixed in bug 906588. FWIW, I'd avoid using ~arch gcc w/ stable userland for now, just because not all fixes (like this one!) have yet propagated into stable. But it's ok if you're willing to hit bugs like this occasionally. Got 4.7.0 pulled into my machine and compiled with no issues. Thanks sam! |
Created attachment 861813 [details] Build.Log I have been trying to compile OpenCV the past few weeks and was hoping the issue would resolve itself after updating GCC to 13. Here are my logs