Package Base Details: backintime

Git Clone URL: https://aur.archlinux.org/backintime.git (read-only, click to copy)
Submitter: None
Maintainer: graysky
Last Packager: graysky
Votes: 298
Popularity: 0.33
First Submitted: 2009-01-09 20:46 (UTC)
Last Updated: 2024-02-03 12:23 (UTC)

Pinned Comments

graysky commented on 2023-10-07 12:15 (UTC)

Using an AUR helper such as yay to build packages including backintime is HIGHLY discouraged. The recommended build method is to use a clean chroot. See: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

I wrote a script that automates much of that called clean-chroot-manager offered here in the AUR.

Please stop posting build failures because you insist on building with yay or other AUR helpers.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 70 Next › Last »

leonardof commented on 2023-05-08 19:28 (UTC)

Post-compilation check fails since Python 3.11:

==> Iniciando check()...
python -m unittest  -b test/test_applicationinstance.py
...................
----------------------------------------------------------------------
Ran 19 tests in 0.034s

OK
python -m unittest  -b test/test_argparser.py
.....................
----------------------------------------------------------------------
Ran 21 tests in 2.561s

OK
python -m unittest  -b test/test_backintime.py
.Fs
======================================================================
FAIL: test_local_snapshot_is_successful (test.test_backintime.TestBackInTime.test_local_snapshot_is_successful)
end to end test - from BIT initialization through snapshot
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/leonardof/Linux/arch/backintime/src/backintime-1.3.3/common/test/test_backintime.py", line 147, in test_local_snapshot_is_successful
    self.assertRegex(filtered_log_output, re.compile(r'''INFO: Lock
AssertionError: Regex didn't match: 'INFO: Lock\nINFO: Take a new snapshot. Profile: 1 Main profile\nINFO: Call rsync to take the snapshot\nINFO: Save config file\nINFO: Save permissions\nINFO: Create info file\nINFO: Unlock\n' not found in 'INFO: Lock\nINFO: Take a new snapshot. Profile: 1 Main profile\nINFO: Call rsync to take the snapshot\nINFO: Save config file\nINFO: Save permissions\nINFO: Create info file\nWarning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.\nINFO: Unlock\n'

----------------------------------------------------------------------
Ran 3 tests in 3.158s

FAILED (failures=1, skipped=1)
make: *** [Makefile:570: unittest] Error 1

JoaoMachado commented on 2023-05-03 18:00 (UTC)

@dev_aryoda My sincere apologies, this was a fresh install of Arch and apparently locale was not generated properly, I should have checked that. Once I fixed the locale issue, everything compiled on first try.

-Joao

dev_aryoda commented on 2023-05-03 09:17 (UTC)

@JoaoMachado

Gtk-WARNING **: 20:56:30.052: Locale not supported by C library.\n\tUsing the fallback 'C' locale.

It looks like a different problem that reported by others and is related to a different locale. Which are you using?

May I suggest that you open a new issue at https://github.com/bit-team/backintime/issues so that the BiT dev team can track it better (I am most probably the only one following the discussions here...). THX :-)

dev_aryoda commented on 2023-05-03 09:12 (UTC) (edited on 2023-05-03 09:17 (UTC) by dev_aryoda)

I have just merged the fix for the failing unit test into the BiT DEV branch:

The fix is merged into the dev branch now: https://github.com/bit-team/backintime/commit/66d248fe8f2bb7e1c3189a14d1f73eb54949ef2a

Since the PKGBUILD "pins" the released version 1.3.3 (if I interpret it right) the fix will be used only if

  1. we create a new BiT release and
  2. the PKGBUILD will be updated to pin the new BiT release.

There is currently no fixed release date for the next version, I will discuss this internally with the BiT dev team...

JoaoMachado commented on 2023-05-03 03:59 (UTC)

I am trying to build BIT and I keep getting this error: Any ideas?


Ran 21 tests in 1.619s

OK python -m unittest -b test/test_backintime.py WARNING: Failed to connect to Udev serviceHelper daemon via D-Bus: org.freedesktop.DBus.Error.ServiceUnknown WARNING: D-Bus message: The name net.launchpad.backintime.serviceHelper was not provided by any .service files WARNING: Udev-based profiles cannot be changed or checked due to Udev serviceHelper connection failure .Fs ====================================================================== FAIL: test_local_snapshot_is_successful (test.test_backintime.TestBackInTime) end to end test - from BIT initialization through snapshot


Traceback (most recent call last): File "/home/joao/Build/builddir/backintime/src/backintime-1.3.3/common/test/test_backintime.py", line 147, in test_local_snapshot_is_successful self.assertRegex(filtered_log_output, re.compile(r'''INFO: Lock AssertionError: Regex didn't match: 'INFO: Lock\nINFO: Take a new snapshot. Profile: 1 Main profile\nINFO: Call rsync to take the snapshot\nINFO: Save config file\nINFO: Save permissions\nINFO: Create info file\nINFO: Unlock\n' not found in "INFO: Lock\nINFO: Take a new snapshot. Profile: 1 Main profile\nINFO: Call rsync to take the snapshot\nINFO: Save config file\nINFO: Save permissions\nINFO: Create info file\n\n(process:118866): Gtk-WARNING **: 20:56:30.052: Locale not supported by C library.\n\tUsing the fallback 'C' locale.\nINFO: Unlock\n"


Ran 3 tests in 2.636s

FAILED (failures=1, skipped=1) make: *** [Makefile:570: unittest] Error 1 ==> ERROR: A failure occurred in check().


Aborting...

dev_aryoda commented on 2023-04-25 23:50 (UTC) (edited on 2023-04-28 23:47 (UTC) by dev_aryoda)

I have added two more warnings to the exclusion list of the failing unit test (Qt5 warnings should not make BiT CLI unit tests fail):

https://github.com/bit-team/backintime/issues/1429

The change is based on the DEV branch (NOT the newest released version).

It would be great if someone (who is affected by the failing unit test due to these warnings) could test my modifications (see the commit/branch referenced in above issue).

dev_aryoda commented on 2023-04-25 07:39 (UTC)

I will add the warning qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" to the exclusion list of the unit test today as easiest solution since it is irrelevant for the success of this unit test (which is testing the CLI backend only and triggers the system tray icon to be shown - if this plugin of BiT is installed too via the BiT-qt part).

When we (the BiT developers) will have stabilized all major issues in BiT we plan to do a code refactoring to improve e.g. the testability of the Qt5 GUI parts and will hopefully get rid of unwanted side-effects like triggering above plugin...

yochananmarqos commented on 2023-04-24 20:47 (UTC) (edited on 2023-04-24 20:47 (UTC) by yochananmarqos)

@topas-rec: qt5-wayland is already an optional dependency for qt5-base. Wayland users that use Qt applications should already have it installed. It could be added as an optional dependency, perhaps. It is of no use to Xorg users.

topas-rec commented on 2023-04-24 20:15 (UTC)

Please consider adding qt5-wayland to the dependencies as discussed here: https://github.com/bit-team/backintime/issues/1421#issuecomment-1509761121

killajoe commented on 2023-04-18 10:13 (UTC)

from my testings i need to start xorg session also in addition to set qt platform theming.. on wayland session it still fails to do the test. Also running the applications GUI is no püroblem under wayland once builded and installed. (all on GNOME)