Package Details: bedup-fork-git 0.10.1-2

Git Clone URL: https://aur.archlinux.org/bedup-fork-git.git (read-only, click to copy)
Package Base: bedup-fork-git
Description: Offline deduplication utility for the BTRFS filesystem. Git, forked to fix some issues
Upstream URL: https://github.com/g2p/bedup
Licenses: GPL
Conflicts: bedup, bedup-git, vpaint-git
Submitter: Saren
Maintainer: Saren
Last Packager: Saren
Votes: 2
Popularity: 0.184743
First Submitted: 2019-03-15 07:32 (UTC)
Last Updated: 2019-03-15 07:32 (UTC)

Latest Comments

gonciarz commented on 2023-06-29 07:51 (UTC)

Actually, building bedup in in isolated virtual python env also fails:

  1. source bin/activate
  2. pip install cffi
  3. pip install bedup

gonciarz commented on 2023-06-29 07:39 (UTC)

There is compilation error for both bedup-fork-git and bedup.git packages. gcc --version gcc (GCC) 13.1.1 2023042

bedup/platform/pycache/_cffi__x60defbacxcd6ff1fb.c: In function ‘_cffi_layout_struct_fiemap’: bedup/platform/pycache/_cffi__x60defbacxcd6ff1fb.c:524:11: error: invalid application of ‘sizeof’ to incomplete type ‘struct fiemap_extent[]’ 524 | sizeof(((struct fiemap )0)->fm_extents), | ^ Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn spawn(cmd, dry_run=self.dry_run, *kwargs) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/spawn.py", line 70, in spawn raise DistutilsExecError( distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/cffi/ffiplatform.py", line 51, in _build dist.run_command('build_ext') File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1234, in run_command super().run_command(command) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 84, in run _build_ext.run(self) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run self.build_extensions() File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "/usr/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension objects = self.compiler.compile( ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/unixccompiler.py", line 187, in _compile raise CompileError(msg) distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/rob/.cache/yay/bedup-fork-git/src/bedup/setup.py", line 71, in <module> ext_modules=get_ext_modules(), ^^^^^^^^^^^^^^^^^ File "/home/rob/.cache/yay/bedup-fork-git/src/bedup/bedup/platform/cffi_support.py", line 57, in get_ext_modules return [mod.ffi.verifier.get_extension() for mod in get_mods()] ^^^^^^^^^^ File "/home/rob/.cache/yay/bedup-fork-git/src/bedup/bedup/platform/cffi_support.py", line 49, in get_mods from . import ( File "/home/rob/.cache/yay/bedup-fork-git/src/bedup/bedup/platform/btrfs.py", line 30, in <module> from .fiemap import same_extents File "/home/rob/.cache/yay/bedup-fork-git/src/bedup/bedup/platform/fiemap.py", line 83, in <module> lib = cffi_support.verify(ffi, ''' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/rob/.cache/yay/bedup-fork-git/src/bedup/bedup/platform/cffi_support.py", line 45, in verify return ffi.verify(source, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/cffi/api.py", line 468, in verify lib = self.verifier.load_library() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/cffi/verifier.py", line 105, in load_library self._compile_module() File "/usr/lib/python3.11/site-packages/cffi/verifier.py", line 202, in _compile_module outputfilename = ffiplatform.compile(tmpdir, self.get_extension()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/cffi/ffiplatform.py", line 22, in compile outputfilename = _build(tmpdir, ext, compiler_verbose, debug) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/cffi/ffiplatform.py", line 58, in _build raise VerificationError('%s: %s' % (e.class.name, e)) cffi.VerificationError: CompileError: command '/usr/bin/gcc' failed with exit code 1