Package Details: backintime 1.4.1-2

Git Clone URL: https://aur.archlinux.org/backintime.git (read-only, click to copy)
Package Base: backintime
Description: Simple backup system inspired from the Flyback Project and TimeVault. Qt5 GUI version.
Upstream URL: https://github.com/bit-team/backintime
Licenses: GPL
Submitter: None
Maintainer: graysky
Last Packager: graysky
Votes: 298
Popularity: 1.23
First Submitted: 2009-01-09 20:46 (UTC)
Last Updated: 2023-10-22 17:38 (UTC)

Dependencies (17)

Required by (1)

Sources (1)

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

1 2 3 4 5 6 .. 70 Next › Last »

leonardof commented on 2023-10-29 15:19 (UTC) (edited on 2023-10-29 16:54 (UTC) by leonardof)

@dev_aryoda

Indeed it was something to do with QGnomepPlatform. I use GNOME, and some time ago Back In Time stopped displaying the toolbar icons so I installed this both the Qt5 and the Qt6 versions (although in hindsight none of my apps use Qt6 yet) and it solved this problem back then. Now uninstalling the QGnomepPlatform packages allowed me to finally make the backintime packages and install them without error, and the icons are displaying just fine.

I was going to install QGnomePlatform again to look into this qqc2-desktop-style thing. Apparently just using adwaita-qt5-git and qgnomeplatform-qt5-git should work if I set QT_STYLE_OVERRIDE=adwaita. Apparently I installed such packages back when there were in the extras repository and now they are not anymore? Perhaps my problem was because they were old versions? Anyway, I was not able to install qgnomeplatform-qt5-git because its build script is failing for some strange reason; notifying its maintainer.

Thanks for your help!

UPDATE: Finally installed QGnomePlatform (and Qt-Adwaita) back, from the -git repositories linked to from the wiki page you linked to. My difficulty with installing then was solved by installing extra/qqc2-desktop-style5, which was also mentioned in the error message. Then I was able to compile Back In Time successfully and installing it without any problem.

dev_aryoda commented on 2023-10-23 07:20 (UTC) (edited on 2023-10-23 21:22 (UTC) by dev_aryoda)

@leonardof THX for the full unit test run output! I can see an unexpected INFO that causes the unit test to fail:

Create info file qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken.

I don't know this specific Qt5 info and cannot reproduce it.

  • Which desktop environment are you using?
  • Have you changed the default desktop style to some other style (which one)?

I guess you can install a possibly missing qt5 package ("qqc2-desktop-style"?) to fix this:

https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#QGnomePlatform

It can be installed with the qgnomeplatform-qt5-git It does not provide a Qt style itself, instead it requires a style that support both Qt and GTK.

The source code of QGnomePlatform tells it is looking for a style name containing "org.kde.desktop":

https://github.com/FedoraQt/QGnomePlatform/blob/d86d6baab74c3e69094083715ffef4aef2e516dd/src/theme/qgnomeplatformtheme.cpp#L105-L111

#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
    // Unfortunately we only have a way to check this on Qt5
    if (!QQuickStyle::availableStyles().contains(QStringLiteral("org.kde.desktop"))) {
        qCWarning(QGnomePlatformThemeLog) << "The desktop style for QtQuick Controls 2 applications"
                                          << "is not available on the system (qqc2-desktop-style)."
                                          << "The application may look broken.";
        return;
    }

leonardof commented on 2023-10-22 20:46 (UTC)

@dev_aryoda, thanks for checking!

The output follows. I don't know of any special configuration, I just git pull, makepkg --clean and, hopefully, sudo pacman -U. Optional dependencies meld, python-keyring and sshfs are installed, but kompare, enfs and pm-utils are not.

$ LC_ALL=C makepkg --clean
==> Making package: backintime 1.4.1-2 (Sun Oct 22 17:39:26 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found backintime-1.4.1.tar.gz
==> Validating source files with sha256sums...
    backintime-1.4.1.tar.gz ... Passed
==> Extracting sources...
  -> Extracting backintime-1.4.1.tar.gz with bsdtar
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Unknown Arguments:  --no-fuse-group
All OK. Now run:
    make
    sudo make install
#man pages
for i in $(ls -1 man/C/); do case $i in *.gz|*~) continue;; *) gzip -n --best -c man/C/$i > man/C/${i}.gz;; esac; done
#config-examples
gzip -n --best -c config-example-local > config-example-local.gz
gzip -n --best -c config-example-ssh > config-example-ssh.gz
All OK. Now run:
    make
    sudo make install
#man pages
for i in $(ls -1 man/C/); do case $i in *.gz|*~) continue;; *) gzip -n --best -c man/C/$i > man/C/${i}.gz;; esac; done
==> Starting check()...
/usr/bin/pytest 
============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
rootdir: /home/leonardof/aur/backintime/src/backintime-1.4.1/common
plugins: pyfakefs-5.3.0
collected 359 items                                                                                                                                                                                                                          

test/test_applicationinstance.py ...................                                                                                                                                                                                   [  5%]
test/test_argparser.py .....................                                                                                                                                                                                           [ 11%]
test/test_backintime.py .Fs                                                                                                                                                                                                            [ 11%]
test/test_backup.py ...............                                                                                                                                                                                                    [ 16%]
test/test_config.py ...........                                                                                                                                                                                                        [ 19%]
test/test_configfile.py ......................................................                                                                                                                                                         [ 34%]
test/test_diagnostics.py .....                                                                                                                                                                                                         [ 35%]
test/test_encfstools.py .                                                                                                                                                                                                              [ 35%]
test/test_restore.py .........ss                                                                                                                                                                                                       [ 38%]
test/test_sid.py ...........................................                                                                                                                                                                           [ 50%]
test/test_snapshotlog.py ..........                                                                                                                                                                                                    [ 53%]
test/test_snapshots.py ..................................................ssss                                                                                                                                                          [ 68%]
test/test_sshtools.py sssssssssssssssssssssss...ssssss                                                                                                                                                                                 [ 77%]
test/test_takeSnapshot.py .........sssssssss                                                                                                                                                                                           [ 82%]
test/test_tools.py ..............................................................                                                                                                                                                      [100%]

================================================================================================================== FAILURES ==================================================================================================================
______________________________________________________________________________________________ TestBackInTime.test_local_snapshot_is_successful ______________________________________________________________________________________________

self = <test.test_backintime.TestBackInTime testMethod=test_local_snapshot_is_successful>

>   ???
E   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' 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\nqt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken.\nINFO: Unlock'

/home/leonardof/Linux/arch/backintime/src/backintime-1.4.1/common/test/test_backintime.py:182: AssertionError
========================================================================================================== short test summary info ===========================================================================================================
FAILED test/test_backintime.py::TestBackInTime::test_local_snapshot_is_successful - 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' not fou...
================================================================================================= 1 failed, 313 passed, 45 skipped in 43.67s =================================================================================================
make: *** [Makefile:562: unittest] Error 1
==> ERROR: A failure occurred in check().
    Aborting...

graysky commented on 2023-10-20 13:50 (UTC)

I see them... posted here. Maybe a post_remove is needed. https://bbs.archlinux.org/viewtopic.php?pid=2127295

YrGVyFszGuSBeVLK commented on 2023-10-19 14:43 (UTC) (edited on 2023-10-19 14:45 (UTC) by YrGVyFszGuSBeVLK)

@graysky First of all thanks for maintaining the package.

This package leaves residue when uninstalled: at /usr/share/backintime/

Maziar commented on 2023-10-11 11:35 (UTC)

@spsf64

Does your link show? Yes, AUR helper is not supported by Arch Linux officially. But it does not mean "Using an AUR helper such as yay to build packages including backintime is HIGHLY discouraged"

Sorry, The Graysky comment is a totally fault message

  1. for many years, I haven't seen any good & updated AUR package that can not be built by Yay or a similar helper

Can you show me otherwise?

dev_aryoda commented on 2023-10-09 22:48 (UTC)

@leonardof I have built successfully the latest version on two VMs (one console-only and one with Plasma/Wayland) so I need more info (stacktrace, relevant log output, any special configuration...) to diagnose this

graysky commented on 2023-10-09 20:31 (UTC)

Please do not flag this out-of-date unless upstream has a new release. You're free to stop using this PKGBUILD and rewrite it yourself if feel it is of poor quality.

Best advice is to build as described in the pinned post which you feel is unacceptable.

spsf64 commented on 2023-10-09 15:11 (UTC)

@Maziar, your lack of politeness is unacceptable too... Check the warning here: https://wiki.archlinux.org/title/AUR_helpers

But, there is an easy solution for you:

1- download snapshot and extract to some dir, 2- cd into extracted dir and "makepkg -rs", 3- pacman -U package-name.pkg.tar.zst. Better than complaining about aurhelpers.

BTW, I just rebuilt this package and it works perfectly...

Maziar commented on 2023-10-09 05:49 (UTC) (edited on 2023-10-09 05:52 (UTC) by Maziar)

@graysky "Using an AUR helper such as yay to build packages including backintime is HIGHLY discouraged"

This isn't an acceptable comment. And the first time Hear for over 80,000 aur package!

Yes! This package needs to be rewritten from the start!

@dev_aryoda
sure, this is as the commented problem is between the test & pkgbuid