Package Details: dwarfs 0.12.3-1

Git Clone URL: https://aur.archlinux.org/dwarfs.git (read-only, click to copy)
Package Base: dwarfs
Description: A fast high compression read-only file system
Upstream URL: https://github.com/mhx/dwarfs
Licenses: GPL-3.0-only
Submitter: KokaKiwi
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 16
Popularity: 0.65
First Submitted: 2020-11-30 11:57 (UTC)
Last Updated: 2025-04-28 22:26 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

yochananmarqos commented on 2025-04-28 17:50 (UTC)

@KokaKiwi: If you use -D CMAKE_INSTALL_SBINDIR=bin, then you don't have to manually move files.

milto commented on 2025-04-01 07:09 (UTC)

While trying to install 0.11.3-1

CMake Warning at cmake/need_gtest.cmake:35 (message):
  GTest does not support u8string.
Call Stack (most recent call first):
  CMakeLists.txt:176 (include)


CMake Error at folly/CMakeLists.txt:15 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

Work around the issue by adding -D CMAKE_POLICY_VERSION_MINIMUM=3.5 \ into the build function of the PKGBUILD somewhere around line 40

SteavenGamerYT commented on 2024-09-14 19:34 (UTC)

==> ERROR: binary dependency 'libfmt.so.10' not found for 'mount.dwarfs'

A8b commented on 2024-09-09 22:02 (UTC) (edited on 2024-09-09 22:02 (UTC) by A8b)

dwarfs 0.10.1-2

parallel-hashmap-1.3.12/tests/btree_test.cc:844:55:   required from ‘void phmap::priv::{anonymous}::MultiMapTest() [with K = std::__cxx11::basic_string<char>; int N = 256]’
  844 |         BtreeMultiTest<BtreeMMap, std::multimap<K, K>>();
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/parallel-hashmap-1.3.12/tests/btree_test.cc:855:61:   required from here
  855 |     TEST(Btree, multimap_string) { MultiMapTest<std::string>(); }
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~^~
/parallel-hashmap-1.3.12/tests/btree_test.cc:633:39: error: ‘GTEST_FLAG_GET’ was not declared in this scope; did you mean ‘GTEST_FLAG’?
  633 |             GTEST_FLAG_GET(random_seed));
      |                                       ^
      |                                       GTEST_FLAG
/parallel-hashmap-1.3.12/tests/btree_test.cc: In instantiation of ‘void phmap::priv::{anonymous}::BtreeMultiTest() [with T = phmap::btree_multimap<std::pair<int, int>, std::pair<int, int>, phmap::Less<std::pair<int, int> >, std::allocator<std::pair<const std::pair<int, int>, std::pair<int, int> > > >; C = std::multimap<std::pair<int, int>, std::pair<int, int>, std::less<std::pair<int, int> >, std::allocator<std::pair<const std::pair<int, int>, std::pair<int, int> > > >]’:
/parallel-hashmap-1.3.12/tests/btree_test.cc:844:55:   required from ‘void phmap::priv::{anonymous}::MultiMapTest() [with K = std::pair<int, int>; int N = 256]’
  844 |         BtreeMultiTest<BtreeMMap, std::multimap<K, K>>();
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/parallel-hashmap-1.3.12/tests/btree_test.cc:856:67:   required from here
  856 |     TEST(Btree, multimap_pair) { MultiMapTest<std::pair<int, int>>(); }
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/parallel-hashmap-1.3.12/tests/btree_test.cc:633:39: error: ‘GTEST_FLAG_GET’ was not declared in this scope; did you mean ‘GTEST_FLAG’?
  633 |             GTEST_FLAG_GET(random_seed));
      |                                       ^
      |                                       GTEST_FLAG
make[2]: *** [CMakeFiles/test_btree.dir/build.make:76: CMakeFiles/test_btree.dir/tests/btree_test.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:531: CMakeFiles/test_btree.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

I hope this helps

mhx commented on 2024-09-08 12:32 (UTC)

Actually, it seems it's already fixed in the 0.10.1-2 package. (Thanks @KokaKiwi!)

mhx commented on 2024-09-08 12:29 (UTC)

@zwastik, known problem due to a change in the latest Boost library. See https://github.com/mhx/dwarfs/issues/237. You can use this patch to fix the issue: https://github.com/mhx/dwarfs/commit/6c8a1cdbd3c889c9cdf8bbbfe7c39cc9c25202a0.diff

zwastik commented on 2024-09-07 17:03 (UTC)

[ 67%] Building CXX object CMakeFiles/dwarfsextract.dir/tools/src/dwarfsextract.cpp.o
[ 67%] Linking CXX executable dwarfsextract
{standard input}: Assembler messages:
{standard input}:24699: Warning: setting incorrect section attributes for .rodata.thrift.data
[ 67%] Built target dwarfsck
[ 67%] Building CXX object CMakeFiles/dwarfs_test_helpers.dir/test/test_helpers.cpp.o
{standard input}: Assembler messages:
{standard input}:26259: Warning: setting incorrect section attributes for .rodata.thrift.data
/usr/bin/ld: /tmp/ccK549Se.ltrans0.ltrans.o: in function `boost::filesystem::path boost::process::v2::environment::find_executable<boost::process::v2::environment::current_view>(boost::filesystem::path, boost::process::v2::environment::current_view&&)':
/usr/include/boost/process/v2/environment.hpp:1376:(.text+0x1137): undefined reference to `boost::process::v2::environment::detail::find_end(char const* const*)'
/usr/bin/ld: /usr/include/boost/process/v2/environment.hpp:1376:(.text+0x1219): undefined reference to `boost::process::v2::environment::detail::find_end(char const* const*)'
/usr/bin/ld: /usr/include/boost/process/v2/environment.hpp:1513:(.text+0x1389): undefined reference to `boost::process::v2::environment::detail::is_executable(boost::filesystem::path const&, boost::system::error_code&)'
/usr/bin/ld: /usr/include/boost/process/v2/environment.hpp:1353:(.text+0x1475): undefined reference to `boost::process::v2::environment::detail::next(char const* const*)'
/usr/bin/ld: /tmp/ccK549Se.ltrans0.ltrans.o: in function `dwarfs::tool::dwarfs_main(int, char**, dwarfs::tool::iolayer const&)':
/usr/include/boost/process/v2/environment.hpp:1334:(.text+0xb725): undefined reference to `boost::process::v2::environment::detail::load_native_handle()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/dwarfs-bin.dir/build.make:149: dwarfs] Error 1
make[1]: *** [CMakeFiles/Makefile2:999: CMakeFiles/dwarfs-bin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 67%] Building CXX object CMakeFiles/dwarfs_test_helpers.dir/test/test_iolayer.cpp.o
[ 69%] Building CXX object CMakeFiles/dwarfs_test_helpers.dir/test/loremipsum.cpp.o
[ 69%] Building CXX object CMakeFiles/dwarfs_test_helpers.dir/test/test_dirtree.cpp.o
[ 69%] Building CXX object CMakeFiles/dwarfs_test_helpers.dir/test/filter_test_data.cpp.o
[ 69%] Built target dwarfs_test_helpers
{standard input}: Assembler messages:
{standard input}:26048: Warning: setting incorrect section attributes for .rodata.thrift.data
[ 69%] Built target dwarfsextract
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

mhx commented on 2024-08-30 20:32 (UTC)

Hi @KokaKiwi! The 0001-... patch should no longer be needed. I've added a check to detect the issue as well as a workaround. Let me know if you you find that it still doesn't work without the patch. Thanks!

KokaKiwi commented on 2024-05-02 08:40 (UTC) (edited on 2024-05-02 09:44 (UTC) by KokaKiwi)

@mhx Oooh so that's why i was getting SIGSEGV when running my local build!

i thought it was something i messed up in my makepkg.conf since it ran fine when building from a clean chroot (maybe because i don't have mold in makedepends... uh)

Thanks, i'll add that :)

Update: I indeed also messed up my makepkg.conf since i manually added -fuse-ld=mold to my LDFLAGS x)

mhx commented on 2024-05-02 07:16 (UTC)

@KokaKiwi It might be worth setting -DDISABLE_MOLD=ON when building dwarfs. It seems there's a bug in the latest version of mold that sometimes causes the linked binaries to segfault. See https://github.com/mhx/dwarfs/issues/220 and https://github.com/rui314/mold/issues/1247.