Package Details: redumper 751-1

Git Clone URL: https://aur.archlinux.org/redumper.git (read-only, click to copy)
Package Base: redumper
Description: Low level CD dumper utility
Upstream URL: https://github.com/superg/redumper
Licenses: GPL-3.0-only
Submitter: jjm
Maintainer: jjm
Last Packager: jjm
Votes: 3
Popularity: 0.044583
First Submitted: 2024-03-25 18:58 (UTC)
Last Updated: 2026-09-12 19:45 (UTC)

Latest Comments

1 2 3 Next › Last »

ToadKing commented on 2026-08-19 04:54 (UTC) (edited on 2026-08-19 04:57 (UTC) by ToadKing)

Two fixes this package needs:

  • The REDUMPER_CLANG_USE_LIBCPP=ON line added a while back doesn't seem to be needed anymore according to the original commenter, and it is the cause of the gtest errors other users and myself are seeing. It should be removed.

  • For some reason the build step unsets all the CFLAGS and CXXFLAGS. This effectively disables optimizations for the build and it makes some analysis steps that should take ten seconds instead take ten minutes on my machine. The entire unset ... line should be removed, since we don't want to clear C/CXX flags and the other variables get overridden manually on the cmake line anyways.

crunk1 commented on 2026-08-18 16:56 (UTC) (edited on 2026-08-18 16:56 (UTC) by crunk1)

Due to some conflict with gtest, I have to add -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=NEVER to every update.

Any actions to take to fix the gtest conflict?

FAILED: [code=1] tests/gtest/gtest_bcd 
: && /usr/sbin/clang++  -fuse-ld=lld -stdlib=libc++ -Xlinker --dependency-file=tests/gtest/CMakeFiles/gtest_bcd.dir/link.d tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o tests/gtest/CMakeFiles/gtest_bcd.dir/__/__/cd/cd.ixx.o -o tests/gtest/gtest_bcd  /usr/lib/libgtest_main.so.1.17.0  /usr/lib/libgtest.so.1.17.0 && :
ld.lld: error: undefined symbol: testing::internal::MakeAndRegisterTestInfo(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(testing::internal::ParameterizedTestSuiteInfo<Bcd>::RegisterTests())

ld.lld: error: undefined symbol: testing::internal::InsertSyntheticTestCase(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, testing::internal::CodeLocation, bool)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(testing::internal::ParameterizedTestSuiteInfo<Bcd>::RegisterTests())

ld.lld: error: undefined symbol: testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::__1::basic_ostream<char, std::__1::char_traits<char>>*)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(void testing::internal::RawBytesPrinter::PrintValue<BcdCase, 2ul>(BcdCase const&, std::__1::basic_ostream<char, std::__1::char_traits<char>>*))

ld.lld: error: undefined symbol: testing::internal::EqFailure(char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned char, unsigned char>(char const*, char const*, unsigned char const&, unsigned char const&))

ld.lld: error: undefined symbol: testing::internal::PrintTo(unsigned char, std::__1::basic_ostream<char, std::__1::char_traits<char>>*)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(testing::internal::UniversalPrinter<unsigned char>::Print(unsigned char const&, std::__1::basic_ostream<char, std::__1::char_traits<char>>*))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

simona commented on 2026-08-14 21:16 (UTC)


/usr/bin/../include/c++/v1/__locale_dir/wstring_convert.h:34:7: note: 'wstring_convert<std::codecvt_utf8<char32_t>, char32_t>'has been explicitly marked deprecated here
34 | class _LIBCPP_DEPRECATED_IN_CXX17 wstring_convert {
|       ^
/usr/bin/../include/c++/v1/__config:540:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
540 | #    define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
|                                         ^
/usr/bin/../include/c++/v1/__config:504:49: note: expanded from macro '_LIBCPP_DEPRECATED'
504 | #      define _LIBCPP_DEPRECATED __attribute__((__deprecated__))
|                                                 ^
3 warnings generated.
ninja: build stopped: subcommand failed.
==> ERRORE: Si è verificato un errore in build().

simona commented on 2026-07-24 13:46 (UTC)

ninja: build stopped: subcommand failed.

OdinVex commented on 2026-07-20 21:19 (UTC)

@ToadKing, Thank you.

ToadKing commented on 2026-07-20 00:00 (UTC)

Update to my issue: I was able to build correctly if I removed the -DREDUMPER_CLANG_USE_LIBCPP=ON line from the build script.

yigitsalar commented on 2026-07-19 15:46 (UTC) (edited on 2026-07-19 15:47 (UTC) by yigitsalar)

[257/316] /usr/bin/clang++ -DREDUMPER_VERSION_BUILD=\"734\" -I/build/redumper/src/redumper-b734 -I/build/redumper/src/redumper-dist -I/build/redumper/src/redumper-b734/utils -std=gnu++20 -stdlib=libc++ -MD -MT CMa
keFiles/redumper.dir/dvd/bd.ixx.o -MF CMakeFiles/redumper.dir/dvd/bd.ixx.o.d @CMakeFiles/redumper.dir/dvd/bd.ixx.o.modmap -o CMakeFiles/redumper.dir/dvd/bd.ixx.o -c /build/redumper/src/redumper-b734/dvd/bd.ixx
FAILED: [code=1] CMakeFiles/redumper.dir/dvd/bd.ixx.o CMakeFiles/redumper.dir/bd.pcm
/usr/bin/clang++ -DREDUMPER_VERSION_BUILD=\"734\" -I/build/redumper/src/redumper-b734 -I/build/redumper/src/redumper-dist -I/build/redumper/src/redumper-b734/utils -std=gnu++20 -stdlib=libc++ -MD -MT CMakeFiles/re
dumper.dir/dvd/bd.ixx.o -MF CMakeFiles/redumper.dir/dvd/bd.ixx.o.d @CMakeFiles/redumper.dir/dvd/bd.ixx.o.modmap -o CMakeFiles/redumper.dir/dvd/bd.ixx.o -c /build/redumper/src/redumper-b734/dvd/bd.ixx
fatal error: error in backend: IO failure on output stream: No space left on device
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.  Program arguments: /usr/bin/clang++ -DREDUMPER_VERSION_BUILD=\"734\" -I/build/redumper/src/redumper-b734 -I/build/redumper/src/redumper-dist -I/build/redumper/src/redumper-b734/utils -std=gnu++20 -stdlib=l
ibc++ -MD -MT CMakeFiles/redumper.dir/dvd/bd.ixx.o -MF CMakeFiles/redumper.dir/dvd/bd.ixx.o.d @CMakeFiles/redumper.dir/dvd/bd.ixx.o.modmap -o CMakeFiles/redumper.dir/dvd/bd.ixx.o -c /build/redumper/src/redumper-b7
34/dvd/bd.ixx
1.  <eof> parser at end of file
 #0 0x00007fc090b98297 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/libLLVM.so.22.1+0x998297)
 #1 0x00007fc090b95c27 llvm::sys::CleanupOnSignal(unsigned long) (/usr/lib/libLLVM.so.22.1+0x995c27)
 #2 0x00007fc090a46f34 llvm::CrashRecoveryContext::HandleExit(int) (/usr/lib/libLLVM.so.22.1+0x846f34)
 #3 0x00007fc090b8e586 llvm::sys::Process::Exit(int, bool) (/usr/lib/libLLVM.so.22.1+0x98e586)
 #4 0x000056180e591b1b (/usr/bin/clang+++0x13b1b)
 #5 0x00007fc090a6b2f0 llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/lib/libLLVM.so.22.1+0x86b2f0)
 #6 0x00007fc090a6b60f (/usr/lib/libLLVM.so.22.1+0x86b60f)
 #7 0x00007fc090b68b4d (/usr/lib/libLLVM.so.22.1+0x968b4d)
 #8 0x00007fc09d7dab6b clang::CXX20ModulesGenerator::HandleTranslationUnit(clang::ASTContext&) (/usr/lib/libclang-cpp.so.22.1+0x2fdab6b)
 #9 0x00007fc09d9545ed clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) (/usr/lib/libclang-cpp.so.22.1+0x31545ed)
#10 0x00007fc09b0d0f24 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/libclang-cpp.so.22.1+0x8d0f24)
#11 0x00007fc09d8f8aeb clang::FrontendAction::Execute() (/usr/lib/libclang-cpp.so.22.1+0x30f8aeb)
#12 0x00007fc09d869ef1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/libclang-cpp.so.22.1+0x3069ef1)
#13 0x00007fc09d9ca581 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/libclang-cpp.so.22.1+0x31ca581)
#14 0x000056180e594b64 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang+++0x16b64)
#15 0x000056180e58b09a (/usr/bin/clang+++0xd09a)
#16 0x000056180e58b244 (/usr/bin/clang+++0xd244)
#17 0x00007fc09d3e9ea5 (/usr/lib/libclang-cpp.so.22.1+0x2be9ea5)
#18 0x00007fc090a46e28 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/usr/lib/libLLVM.so.22.1+0x846e28)
#19 0x00007fc09d3ea917 (/usr/lib/libclang-cpp.so.22.1+0x2bea917)
#20 0x00007fc09d39c4c1 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/usr/lib/libclang-cpp.so.22.1+0x2b9c4c1)
#21 0x00007fc09d39d46c clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/usr/lib/libclang-cpp.so.22.1+0x2b9
d46c)
#22 0x00007fc09d3b5af6 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/usr/lib/libclang-cpp.so.22.1+0x2bb5af6)
#23 0x000056180e590434 clang_main(int, char**, llvm::ToolContext const&) (/usr/bin/clang+++0x12434)
#24 0x000056180e58a74f main (/usr/bin/clang+++0xc74f)
#25 0x00007fc08fa27741 (/usr/lib/libc.so.6+0x27741)
#26 0x00007fc08fa27879 __libc_start_main (/usr/lib/libc.so.6+0x27879)
#27 0x000056180e58a7a5 _start (/usr/bin/clang+++0xc7a5)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

This error on a clean chroot.

ToadKing commented on 2026-07-18 21:20 (UTC)

I'm getting a different build error on 734:

FAILED: [code=1] tests/gtest/gtest_bcd 
: && /usr/bin/clang++  -fuse-ld=lld -stdlib=libc++ -Xlinker --dependency-file=tests/gtest/CMakeFiles/gtest_bcd.dir/link.d tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o tests/gtest/CMakeFiles/gtest_bcd.dir/__/__/cd/cd.ixx.o -o tests/gtest/gtest_bcd  /usr/lib/libgtest_main.so.1.17.0  /usr/lib/libgtest.so.1.17.0 && :
ld.lld: error: undefined symbol: testing::internal::MakeAndRegisterTestInfo(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(testing::internal::ParameterizedTestSuiteInfo<Bcd>::RegisterTests())

ld.lld: error: undefined symbol: testing::internal::InsertSyntheticTestCase(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, testing::internal::CodeLocation, bool)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(testing::internal::ParameterizedTestSuiteInfo<Bcd>::RegisterTests())

ld.lld: error: undefined symbol: testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::__1::basic_ostream<char, std::__1::char_traits<char>>*)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(void testing::internal::RawBytesPrinter::PrintValue<BcdCase, 2ul>(BcdCase const&, std::__1::basic_ostream<char, std::__1::char_traits<char>>*))

ld.lld: error: undefined symbol: testing::internal::EqFailure(char const*, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned char, unsigned char>(char const*, char const*, unsigned char const&, unsigned char const&))

ld.lld: error: undefined symbol: testing::internal::PrintTo(unsigned char, std::__1::basic_ostream<char, std::__1::char_traits<char>>*)
>>> referenced by test_bcd.cc
>>>               tests/gtest/CMakeFiles/gtest_bcd.dir/test_bcd.cc.o:(testing::internal::UniversalPrinter<unsigned char>::Print(unsigned char const&, std::__1::basic_ostream<char, std::__1::char_traits<char>>*))
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

myon commented on 2026-07-18 13:10 (UTC) (edited on 2026-07-18 13:48 (UTC) by myon)

EDIT: this was already fixed on 734 and now it builds without any modification

This is the current diff I needed to be able to compile 733 on my system with pkgctl build:

diff --git a/PKGBUILD b/PKGBUILD
index d0f2689..f012127 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,6 +21,7 @@ makedepends=(
     llvm
     clang
     lld
+    git
 )
 source=(
     "$pkgname-$pkgver.tar.gz::https://github.com/superg/redumper/archive/refs/tags/b$pkgver.tar.gz"
@@ -35,7 +36,8 @@ build() {
         -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
         -DCMAKE_BUILD_TYPE=None \
         -DREDUMPER_VERSION_BUILD=$pkgver \
-        -DREDUMPER_CLANG_LINK_OPTIONS=-lc++ \
+        -DREDUMPER_CLANG_LINK_OPTIONS=-lc++abi \
+        -DREDUMPER_CLANG_USE_LIBCPP=ON \
         ;
     ninja -C $pkgname-dist -v
 }

simona commented on 2026-07-18 12:05 (UTC)

[207/308] /usr/bin/clang++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/home/simona/.cache/yay/redumper/src/redumper-b734 -I/home/simona/.cache/yay/redumper/src/redumper-b734/utils -std=gnu++20 -stdlib=libc++ -MD -MT tests/gtest/CMakeFiles/gtest_bit_copy.dir///utils/misc.ixx.o -MF tests/gtest/CMakeFiles/gtest_bit_copy.dir///utils/misc.ixx.o.d @tests/gtest/CMakeFiles/gtest_bit_copy.dir///utils/misc.ixx.o.modmap -o tests/gtest/CMakeFiles/gtest_bit_copy.dir///utils/misc.ixx.o -c /home/simona/.cache/yay/redumper/src/redumper-b734/utils/misc.ixx
[208/308] /usr/bin/clang++ -DREDUMPER_VERSION_BUILD=\"734\" -I/home/simona/.cache/yay/redumper/src/redumper-b734 -I/home/simona/.cache/yay/redumper/src/redumper-dist -I/home/simona/.cache/yay/redumper/src/redumper-b734/utils -std=gnu++20 -stdlib=libc++-MD -MT CMakeFiles/redumper.dir/cd/subcode.ixx.o -MF CMakeFiles/redumper.dir/cd/subcode.ixx.o.d @CMakeFiles/redumper.dir/cd/subcode.ixx.o.modmap -o CMakeFiles/redumper.dir/cd/subcode.ixx.o -c /home/simona/.cache/yay/redumper/src/redumper-b734/cd/subcode.ixx
ninja: build stopped: subcommand failed.