[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1110598: miopen ftbfs with boost 1.88



Package: src:miopen
Version: 5.5.1+dfsg2-3
Severity: important
Tags: sid forky
User: debian-devel@lists.debian.org
Usertags: boost1.88

miopen ftbfs with boost 1.88:

[...]
/<<PKGBUILDDIR>>/src/lock_file.cpp:36:30: error: no type named 'filesystem_error' in namespace 'boost::filesystem'; did you mean 'std::system_error'? 36 | inline void LogFsError(const fs::filesystem_error& ex, const std::string& from)
      |                              ^~~~~~~~~~~~~~~~~~~~
      |                              std::system_error
/usr/bin/../lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/system_error:558:9: note: 'std::system_error' declared here
  558 |   class system_error : public std::runtime_error
      |         ^
[ 13%] Building CXX object src/CMakeFiles/MIOpen.dir/lrn_api.cpp.o
cd /<<PKGBUILDDIR>>/build/src && /usr/bin/clang++-17 -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DHIP_COMPILER_FLAGS=" -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -x hip -isystem /usr/include -D__HIP_PLATFORM_HCC__=1 -D__HIP_PLATFORM_AMD__=1 -isystem /usr/include --hip-link " -DMIOpen_EXPORTS -D__HIP_PLATFORM_AMD__=1 -D__HIP_PLATFORM_HCC__=1 -I/<<PKGBUILDDIR>>/src/include -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/build/include -gz -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Xarch_host -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Xarch_host -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/miopen-5.5.1+dfsg2-3build2 -Wdate-time -D_FORTIFY_SOURCE=3 -O3 -DNDEBUG -fPIC -fvisibility-inlines-hidden -U__HCC__ -Wall -Wextra -Wcomment -Wendif-labels -Wformat -Winit-self -Wreturn-type -Wsequence-point -Wswitch -Wtrigraphs -Wundef -Wuninitialized -Wunreachable-code -Wunused -Wno-ignored-qualifiers -Wno-sign-compare -Wno-missing-field-initializers -Wall -Wextra -Wcomment -Wendif-labels -Wformat -Winit-self -Wreturn-type -Wsequence-point -Wswitch -Wtrigraphs -Wundef -Wuninitialized -Wunreachable-code -Wunused -Wno-ignored-qualifiers -Wno-sign-compare -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-conversion -Wno-double-promotion -Wno-exit-time-destructors -Wno-extra-semi -Wno-extra-semi-stmt -Wno-float-conversion -Wno-gnu-anonymous-struct -Wno-gnu-zero-variadic-macro-arguments -Wno-missing-prototypes -Wno-nested-anon-types -Wno-option-ignored -Wno-padded -Wno-return-std-move-in-c++11 -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-weak-vtables -Wno-covered-switch-default -Wno-unused-result -std=c++17 -I/usr/include -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false -x hip -MD -MT src/CMakeFiles/MIOpen.dir/lrn_api.cpp.o -MF CMakeFiles/MIOpen.dir/lrn_api.cpp.o.d -o CMakeFiles/MIOpen.dir/lrn_api.cpp.o -c /<<PKGBUILDDIR>>/src/lrn_api.cpp /<<PKGBUILDDIR>>/src/lock_file.cpp:61:17: error: no type named 'filesystem_error' in namespace 'boost::filesystem'; did you mean 'std::system_error'?
   61 |     catch(const fs::filesystem_error& ex)
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 std::system_error
/usr/bin/../lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/system_error:558:9: note: 'std::system_error' declared here
  558 |   class system_error : public std::runtime_error
      |         ^
/<<PKGBUILDDIR>>/src/lock_file.cpp:80:17: error: no type named 'filesystem_error' in namespace 'boost::filesystem'; did you mean 'std::system_error'?
   80 |     catch(const fs::filesystem_error& ex)
      |                 ^~~~~~~~~~~~~~~~~~~~
      |                 std::system_error
/usr/bin/../lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/system_error:558:9: note: 'std::system_error' declared here
  558 |   class system_error : public std::runtime_error
      |         ^


Reply to: