Package Details: rdiff-backup 2.2.6-2

Git Clone URL: https://aur.archlinux.org/rdiff-backup.git (read-only, click to copy)
Package Base: rdiff-backup
Description: Reverse differential backup tool, over a network or locally
Upstream URL: https://github.com/rdiff-backup/rdiff-backup
Licenses: GPL-2.0-only
Submitter: arojas
Maintainer: carsme
Last Packager: carsme
Votes: 17
Popularity: 0.126642
First Submitted: 2023-04-01 17:24 (UTC)
Last Updated: 2024-01-28 22:56 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

apocalyptech commented on 2023-06-26 15:29 (UTC)

FYI, I was just looking into this myself -- on my machine, the package-build fails due to those testing failures as well.

It turns out that at least some of the "ERROR" messages output during that process are actually to be expected. The unit tests seem to output an awful lot of noise while being run. For instance, the first "ERROR" messages that pop up:

test_action_backup_errorcases (__main__.ActionBackupRestoreTest.test_action_backup_errorcases)
test the "backup" actions in error cases ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
ERROR:   The last backup is not in the past. Aborting.
ERROR:   Action backup failed on step setup
ERROR:   Fatal Error: The file specification 'b'not-in-from''
cannot match any files in the base directory 'b'/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from2''.
Useful file specifications begin with the base directory or some
pattern (such as '**') which matches the base directory
ERROR:   Fatal Error: Last selection expression Command-line include glob: b'**'
only specifies that files be included.  Because the default is to
include all files, the expression is redundant.  Exiting because this
probably isn't what you meant
ok

The "ok" afterwards indicates that the test actually succeeded -- the error messages are being printed because that test is specifically triggering behavior which is considered an error by the app, and making sure that the app returns an error when it happens.

It's not until the testing gets down to ActionListTest.test_action_listincrements when an actual test failure happens, which is what I'm currently looking into.

exuvo commented on 2023-06-14 21:51 (UTC)

works great!

James-T commented on 2023-05-09 08:18 (UTC)

On Manjaro (which is still using python 3.10) I see the same (or at least very similar) error messages as @zany130, starting with the one about the backup not being in the past.

So: a question. Are these errors likely to be real errors that mean that the installation of rdiff-backup would not work, or only a defective test suite that could be circumvented by disabling the check phase?

gvegidy commented on 2023-05-06 22:11 (UTC)

A few comments below was a patch to change the hardcoded python path in the PKGBUILD. I suggest to make this version independent instead: https://gitlab.com/systemrescue/systemrescue-custompkg/-/commit/53630da83ed5dfc226d95768b38a6291083e82a9

Also I have adapted the PKGBUILD to the most recent upstream version 2.2.5: https://gitlab.com/systemrescue/systemrescue-custompkg/-/commit/ec8fe0956742142b5becf17ac1259cb72e01aee5

I'm part of the team developing the Arch derivative SystemRescue https://www.system-rescue.org/ We previously had rdiff-backup integraded and want to keep it, so I copied the AUR package into our custom repo and made the changes outlined above. If anyone prefers that over using AUR, they can add this to their /etc/pacman.conf:

[sysrescuerepo]
Server = https://sysrescuerepo.system-rescue.org/$arch
SigLevel = Optional TrustAll

zany130 commented on 2023-05-05 16:06 (UTC) (edited on 2023-05-05 16:08 (UTC) by zany130)

@rgacogne

still fails with these errors

makepkg -si PKGBUILD
==> Making package: rdiff-backup 2.2.4-1 (Fri 05 May 2023 12:07:50 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found rdiff-backup-2.2.4.tar.gz
  -> Found rdiff-backup-filesrepo-6139d14cd60e62ded4281a30e1d64b66d8a42797.tar.gz
==> Validating source files with sha256sums...
    rdiff-backup-2.2.4.tar.gz ... Passed
    rdiff-backup-filesrepo-6139d14cd60e62ded4281a30e1d64b66d8a42797.tar.gz ... Passed
==> Extracting sources...
  -> Extracting rdiff-backup-2.2.4.tar.gz with bsdtar
  -> Extracting rdiff-backup-filesrepo-6139d14cd60e62ded4281a30e1d64b66d8a42797.tar.gz with bsdtar
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
running build
running build_py
running pre_build_exec
running pre_build_templates
running egg_info
writing src/rdiff_backup.egg-info/PKG-INFO
writing dependency_links to src/rdiff_backup.egg-info/dependency_links.txt
writing entry points to src/rdiff_backup.egg-info/entry_points.txt
writing requirements to src/rdiff_backup.egg-info/requires.txt
writing top-level names to src/rdiff_backup.egg-info/top_level.txt
adding license file 'COPYING'
writing manifest file 'src/rdiff_backup.egg-info/SOURCES.txt'
running build_ext
==> Starting check()...
/usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
running install
/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
running install_lib
writing byte-compilation script '/tmp/tmpfa3z9pil.py'
/usr/bin/python /tmp/tmpfa3z9pil.py
removing /tmp/tmpfa3z9pil.py
running install_data
running install_egg_info
running egg_info
writing src/rdiff_backup.egg-info/PKG-INFO
writing dependency_links to src/rdiff_backup.egg-info/dependency_links.txt
writing entry points to src/rdiff_backup.egg-info/entry_points.txt
writing requirements to src/rdiff_backup.egg-info/requires.txt
writing top-level names to src/rdiff_backup.egg-info/top_level.txt
adding license file 'COPYING'
writing manifest file 'src/rdiff_backup.egg-info/SOURCES.txt'
removing 'test-install/usr/lib/python3.11/site-packages/rdiff_backup-2.2.4-py3.11.egg-info' (and everything under it)
Copying src/rdiff_backup.egg-info to test-install/usr/lib/python3.11/site-packages/rdiff_backup-2.2.4-py3.11.egg-info
running install_scripts
Installing rdiff-backup script to test-install/usr/bin
Installing rdiff-backup-delete script to test-install/usr/bin
Installing rdiff-backup-statistics script to test-install/usr/bin
test_action_backup_errorcases (__main__.ActionBackupRestoreTest.test_action_backup_errorcases)
test the "backup" actions in error cases ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
ERROR:   The last backup is not in the past. Aborting.
ERROR:   Action backup failed on step setup
ERROR:   Fatal Error: The file specification 'b'not-in-from''
cannot match any files in the base directory 'b'/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from2''.
Useful file specifications begin with the base directory or some
pattern (such as '**') which matches the base directory
ERROR:   Fatal Error: Last selection expression Command-line include glob: b'**'
only specifies that files be included.  Because the default is to
include all files, the expression is redundant.  Exiting because this
probably isn't what you meant
ok
test_action_backuprestore (__main__.ActionBackupRestoreTest.test_action_backuprestore)
test the "backup" and "restore" actions ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from2 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
NOTE:    Starting restore operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to1
NOTE:    Starting restore operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to2
NOTE:    Starting restore operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to3
ok
test_action_backuprestore_quoted (__main__.ActionBackupRestoreTest.test_action_backuprestore_quoted)
test the backup and restore actions with quoted repository ... NOTE:    File system at '/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak' suggested quoting 'b''' but override quoting 'b'A:'' will be used. Assuming you know what
         you are doing
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
NOTE:    Starting restore operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to1
NOTE:    Starting restore operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to2
ok
test_action_restore_errorcases (__main__.ActionBackupRestoreTest.test_action_restore_errorcases)
test the "restore" actions in error cases ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from2 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
ERROR:   Time string 'xyz' couldn't be parsed due to 'Bad time string "xyz"

The acceptable time strings are intervals (like "3D64s"), w3-datetime
strings, like "2002-04-26T04:22:01-07:00" (strings like
"2002-04-26T04:22:01" are also acceptable - rdiff-backup will use the
current time zone), or ordinary dates like 2/4/1997 or 2001-04-23
(various combinations are acceptable, but the month always precedes
the day).'
ERROR:   Action restore failed on step setup
ERROR:   Target path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to4 exists and is not a directory, call with '--force' to overwrite
ERROR:   Action restore failed on step check
WARNING: Target path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to4 exists but isn't a directory, and will be force deleted
NOTE:    Starting restore operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to4
usage: rdiff-backup restore [-h] [--create-full-path] [--compression | --no-compression] [--not-compressed-regexp REGEXP] [--exclude GLOB] [--exclude-device-files] [--exclude-fifos]
                            [--exclude-filelist LIST_FILE] [--exclude-filelist-stdin] [--exclude-symbolic-links] [--exclude-sockets] [--exclude-globbing-filelist GLOBS_FILE] [--exclude-globbing-filelist-stdin]
                            [--exclude-other-filesystems] [--exclude-regexp REGEXP] [--exclude-if-present FILENAME] [--exclude-special-files] [--max-file-size SIZE] [--min-file-size SIZE] [--acls | --no-acls]
                            [--carbonfile | --no-carbonfile] [--compare-inode | --no-compare-inode] [--eas | --no-eas] [--hard-links | --no-hard-links] [--resource-forks | --no-resource-forks]
                            [--never-drop-acls] [--group-mapping-file MAP_FILE] [--preserve-numerical-ids] [--user-mapping-file MAP_FILE] [--at TIME | --increment]
                            [[USER@]SERVER::]PATH [[USER@]SERVER::]PATH
rdiff-backup restore: error: argument --increment: not allowed with argument --at
ERROR:   You can't use the --increment option and _not_ give an increment file
ERROR:   Action restore failed on step check
ERROR:   Path '/does-not-exist' couldn't be identified as being within an existing backup repository
ERROR:   Invalid restore directory 'b'/does-not-exist''
ERROR:   Path '/does-not-exist' couldn't be identified as being within an existing backup repository
ERROR:   Action restore failed on step check
ERROR:   Path '/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to4' couldn't be identified as being within an existing backup repository
ERROR:   Invalid restore directory 'b'/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to4''
ERROR:   Path '/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to4' couldn't be identified as being within an existing backup repository
ERROR:   Action restore failed on step check
ERROR:   You can't combine restoring of a sub-path and file selection, result would be unpredictable and could lead to data loss
ERROR:   Action restore failed on step check
ok
test_pre_quoted_files (__main__.PreQuotingTest.test_pre_quoted_files) ... NOTE:    File system at '/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak' suggested quoting 'b''' but override quoting 'b'A-Z:'' will be used. Assuming you know
         what you are doing
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
NOTE:    File system at '/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak' suggested quoting 'b''' but override quoting 'b'A-Z:'' will be used. Assuming you know
         what you are doing
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/from2 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak
NOTE:    Starting restore operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to1
NOTE:    Starting restore operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/bak to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_backuprestore/to2
ok

----------------------------------------------------------------------
Ran 5 tests in 5.196s

OK
test_action_calculate (__main__.ActionCalculateTest.test_action_calculate)
test the "calculate" action ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_calculate/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_calculate/bak
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_calculate/from2 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_calculate/bak
ok

----------------------------------------------------------------------
Ran 1 test in 0.994s

OK
test_action_compare (__main__.ActionCompareTest.test_action_compare)
test different ways of comparing directories ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_compare/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_compare/bak
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_compare/from2 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_compare/bak
changed: fileChanged
deleted: fileNew
new: fileOld
WARNING: Directory has 3 file differences to backup
WARNING: Action compare emitted a warning on one or more files, see previous messages for details
NOTE:    No changes found. Directory matches backup data
NOTE:    No changes found. Directory matches backup data
changed: fileChanged
new: fileNew
deleted: fileOld
WARNING: Directory has 3 file differences to backup
WARNING: Action compare emitted a warning on one or more files, see previous messages for details
metadata changed, data changed: fileChanged
deleted: fileNew
new: fileOld
WARNING: Directory has 3 file differences to backup
WARNING: Action compare emitted a warning on one or more files, see previous messages for details
NOTE:    No changes found. Directory matches backup data
WARNING: Directory has 1 file differences to backup
WARNING: Action compare emitted a warning on one or more files, see previous
         messages for details
metadata changed, data changed: fileChanged
deleted: fileNew
new: fileOld
WARNING: Directory has 3 file differences to backup
WARNING: Action compare emitted a warning on one or more files, see previous messages for details
NOTE:    No changes found. Directory matches backup data
WARNING: Directory has 1 file differences to backup
WARNING: Action compare emitted a warning on one or more files, see previous
         messages for details
ok

----------------------------------------------------------------------
Ran 1 test in 2.112s

OK
test_action_complete (__main__.ActionCompleteTest.test_action_complete)
test different ways of comparing directories ... ERROR:   There must be at least one word, the command rdiff-backup itself, to complete
ERROR:   The word count -1 isn't within range of the words list []
ERROR:   Action complete failed on step pre_check
ERROR:   The word count 1 isn't within range of the words list ['rdiff-backup']
ERROR:   Action complete failed on step pre_check
ok

----------------------------------------------------------------------
Ran 1 test in 0.733s

OK
test_action_listfilesattime (__main__.ActionListTest.test_action_listfilesattime)
test the list files at time action ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from2 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
ok
test_action_listfileschangedsince (__main__.ActionListTest.test_action_listfileschangedsince)
test the list files at time action ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from2 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
ok
test_action_listincrements (__main__.ActionListTest.test_action_listincrements)
test the list increments action, without and with size ... NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from1 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
NOTE:    Starting backup operation from source path /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from2 to destination path
         /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
FAIL

Stdout:
Executing:  /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/test-install/usr/bin/rdiff-backup --api-version 201 --current-time 10000 backup /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from1 /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
Executing:  /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/test-install/usr/bin/rdiff-backup --api-version 201 --current-time 20000 backup /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from2 /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
Executing:  /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/test-install/usr/bin/rdiff-backup --api-version 201 --parsable --remote-schema '{h}' list increments 'cd /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/remote1 ; /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/test-install/usr/bin/rdiff-backup server::/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak'

======================================================================
FAIL: test_action_listincrements (__main__.ActionListTest.test_action_listincrements)
test the list increments action, without and with size
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/testing/action_list_test.py", line 131, in test_action_listincrements
    self.assertRegex(comtst.rdiff_backup_action(
AssertionError: Regex didn't match: b'---\n- base: increments.1970-01-0[12]T[0-9][0-9][:-][14]6[:-]40.*.dir\n  time: 10000\n  type: directory\n- base: bak\n  time: 20000\n  type: directory\n...\n\n' not found in b'---\n- base: increments.1969-12-31T21:46:40-05:00.dir\n  time: 10000\n  type: directory\n- base: bak\n  time: 20000\n  type: directory\n...\n\n'

Stdout:
Executing:  /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/test-install/usr/bin/rdiff-backup --api-version 201 --current-time 10000 backup /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from1 /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
Executing:  /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/test-install/usr/bin/rdiff-backup --api-version 201 --current-time 20000 backup /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/from2 /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak
Executing:  /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/test-install/usr/bin/rdiff-backup --api-version 201 --parsable --remote-schema '{h}' list increments 'cd /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/remote1 ; /home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/test-install/usr/bin/rdiff-backup server::/home/zany130/.git/rdiff-backup/src/rdiff-backup-2.2.4/build/testfiles/action_list/bak'

----------------------------------------------------------------------
Ran 3 tests in 2.019s

FAILED (failures=1)
==> ERROR: A failure occurred in check().
    Aborting...

rgacogne commented on 2023-05-04 13:57 (UTC)

The following patch is needed for python 3.11:

--- PKGBUILD    2023-05-04 15:56:54.795992919 +0200
+++ PKGBUILD.new    2023-05-04 15:56:12.945369049 +0200
@@ -68,7 +68,7 @@

   python setup.py install --root=test-install --optimize=1 --skip-build
   export PATH="$PWD/test-install/usr/bin:$PATH"
-  export PYTHONPATH="$PWD/test-install/usr/lib/python3.10/site-packages"
+  export PYTHONPATH="$PWD/test-install/usr/lib/python3.11/site-packages"

   # Must be the first command to setup the test environment
   python testing/commontest.py

Jack12816 commented on 2023-05-03 12:40 (UTC)

Looks like the package fails to build with the latest config:

byte-compiling test-install/usr/lib/python3.10/site-packages/rdiff_backup/win_acls.py to win_acls.cpython-310.pyc
writing byte-compilation script '/tmp/tmpwsogvnha.py'
/usr/bin/python /tmp/tmpwsogvnha.py
removing /tmp/tmpwsogvnha.py
running install_data
creating test-install/usr/share
creating test-install/usr/share/man
creating test-install/usr/share/man/man1
error: can't copy 'dist/rdiff-backup.1': doesn't exist or not a regular file
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: rdiff-backup-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
rdiff-backup - exit status 4

Althorion commented on 2023-04-25 06:47 (UTC)

Build fails at testing with the following failures:

======================================================================
FAIL: testBasic (__main__.EATest)
Test basic writing and reading of extended attributes
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/makepkg/rdiff-backup/src/rdiff-backup-2.2.4/testing/eas_aclstest.py", line 79, in testBasic
    self.assertEqual(new_ea.attr_dict, self.sample_ea.attr_dict)
AssertionError: {} != {b'user.empty': b'', b'user.not_empty': b'[1417 chars]xb1'}
Diff is 2186 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: testIterate (__main__.EATest)
Test writing several records and then reading them back
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/makepkg/rdiff-backup/src/rdiff-backup-2.2.4/testing/eas_aclstest.py", line 194, in testIterate
    self.assertEqual(sample_ea_reread, self.sample_ea)
AssertionError: <rdiff_backup.eas_acls.ExtendedAttributes object at 0x7f80938f6260> != <rdiffbackup.meta.ea.ExtendedAttributes object at 0x7f809434eb00>

----------------------------------------------------------------------
Ran 20 tests in 20.931s

FAILED (failures=2)

exuvo commented on 2023-04-10 19:20 (UTC)

No idea, i did not find any discussion about it in the forum but i have to assume the previous maintainer did not want to maintain it anymore.

jancici commented on 2023-04-10 18:21 (UTC)

well, I am trying to find it in packages but it is not there https://archlinux.org/packages/?sort=&q=rdiff-backup&maintainer=&flagged=

what happen?