Summary: | sci-libs/caffe2-2.4.0 lib/libtorch_cpu.so: undefined reference to `httplib::Server::Post(std::__cxx11::basic _string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void (httplib::Request const&, httplib::Response&)>)' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benjamin Schulz <schulz.benjamin> |
Component: | Current packages | Assignee: | Tupone Alfredo <tupone> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | schulz.benjamin |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log in tar.gz format |
Description
Benjamin Schulz
2024-08-11 23:00:07 UTC
Created attachment 899923 [details]
build log in tar.gz format
build log in tar.gz format
In the future, please compress the build log using gzip directly instead of sticking it inside of a pointless tar file. FAILED: bin/torch_shm_manager : && /usr/bin/x86_64-pc-linux-gnu-g++ -march=native -O3 -pipe -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DUSE_FBGEMM -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -Wal l -Wextra -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-funct ion -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new - Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -rdynam ic -Wl,--no-as-needed caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o -o bin/torch_shm_manager -Wl,-rpath,/var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib: lib/libshm.so -lrt l ib/libc10.so /usr/lib64/libglog.so.0.6.0 /usr/lib64/libgflags.so.2.2.2 -Wl,-rpath-link,/var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib && /usr/bin/cmake -E __run_co_compile --lwyu="ldd;-u;-r" --source=bi n/torch_shm_manager && : /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::Post(std::__cxx11::basic _string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void (httplib::Request const&, httplib::Response&)>)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::set_address_family(int)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::bind_to_port(std::__cxx1 1::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Response::set_content(std::__cxx 11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::stop()' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::set_keep_alive_max_count (unsigned long)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::set_keep_alive_timeout(l ong)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::listen_after_bind()' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::Get(std::__cxx11::basic_ string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void (httplib::Request const&, httplib::Response&)>)' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::~Server()' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-libs/caffe2-2.4.0/work/pytorch-2.4.0_build/lib/libtorch_cpu.so: undefined reference to `httplib::Server::Server()' collect2: error: ld returned 1 exit status The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c347f7335b65811fbf73dad70d68b84b6788b764 commit c347f7335b65811fbf73dad70d68b84b6788b764 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2024-09-04 04:40:36 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2024-09-04 04:58:52 +0000 sci-libs/caffe2: req cpp-httplib Closes: https://bugs.gentoo.org/937635 Closes: https://bugs.gentoo.org/937788 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> .../caffe2/{caffe2-2.4.0.ebuild => caffe2-2.4.0-r1.ebuild} | 6 +++++- sci-libs/caffe2/files/caffe2-2.4.0-cpp-httplib.patch | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) |