Skip to content

Instantly share code, notes, and snippets.

@pippep
Created May 20, 2023 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pippep/c7a67fd12f38b9654a3f092dd9d9ce37 to your computer and use it in GitHub Desktop.
Save pippep/c7a67fd12f38b9654a3f092dd9d9ce37 to your computer and use it in GitHub Desktop.
marco@arch ~ $ LANG=C yay
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> Flagged Out Of Date AUR Packages: tor-browser
:: 2 Packages to upgrade/install.
2 aur/backintime 1.3.3-3 -> 1.3.3-4
1 aur/backintime-cli 1.3.3-3 -> 1.3.3-4
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==>
AUR Explicit (1): backintime-1.3.3-4
AUR Dependency (1): backintime-cli-1.3.3-4
:: PKGBUILD up to date, skipping download: backintime
:: PKGBUILD up to date, skipping download: backintime
1 backintime (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/marco/.cache/yay/backintime
HEAD is now at 29cee9d Update to 1.3.3-4
warning: could not open directory 'pkg/': Permission denied
Removing backintime-1.3.3.tar.gz
Removing pkg/
Removing src/
1 backintime (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: backintime 1.3.3-4 (Sat May 20 07:15:12 2023)
==> Retrieving sources...
-> Downloading backintime-1.3.3.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 747k 0 747k 0 0 1082k 0 --:--:-- --:--:-- --:--:-- 1082k
-> Found python311-fix.patch
==> Validating source files with b2sums...
backintime-1.3.3.tar.gz ... Passed
python311-fix.patch ... Passed
:: (1/1) Parsing SRCINFO: backintime
==> Making package: backintime 1.3.3-4 (Sat May 20 07:15:13 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found backintime-1.3.3.tar.gz
-> Found python311-fix.patch
==> Validating source files with b2sums...
backintime-1.3.3.tar.gz ... Passed
python311-fix.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting backintime-1.3.3.tar.gz with bsdtar
==> Starting prepare()...
patching file common/test/test_backintime.py
==> Sources are ready.
==> Making package: backintime 1.3.3-4 (Sat May 20 07:15:15 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
All OK. Now run:
make
sudo make install
msgfmt -o po/zh_TW.mo po/zh_TW.po
msgfmt -o po/zh_CN.mo po/zh_CN.po
msgfmt -o po/uk.mo po/uk.po
msgfmt -o po/tr.mo po/tr.po
msgfmt -o po/th.mo po/th.po
msgfmt -o po/sv.mo po/sv.po
msgfmt -o po/sr.mo po/sr.po
msgfmt -o po/sl.mo po/sl.po
msgfmt -o po/sk.mo po/sk.po
msgfmt -o po/ru.mo po/ru.po
msgfmt -o po/ro.mo po/ro.po
msgfmt -o po/pt_BR.mo po/pt_BR.po
msgfmt -o po/pt.mo po/pt.po
msgfmt -o po/pl.mo po/pl.po
msgfmt -o po/nn.mo po/nn.po
msgfmt -o po/nl.mo po/nl.po
msgfmt -o po/nb.mo po/nb.po
msgfmt -o po/lt.mo po/lt.po
msgfmt -o po/ko.mo po/ko.po
msgfmt -o po/jv.mo po/jv.po
msgfmt -o po/ja.mo po/ja.po
msgfmt -o po/it.mo po/it.po
msgfmt -o po/is.mo po/is.po
msgfmt -o po/id.mo po/id.po
msgfmt -o po/hu.mo po/hu.po
msgfmt -o po/hr.mo po/hr.po
msgfmt -o po/he.mo po/he.po
msgfmt -o po/gl.mo po/gl.po
msgfmt -o po/fr.mo po/fr.po
msgfmt -o po/fo.mo po/fo.po
msgfmt -o po/fi.mo po/fi.po
msgfmt -o po/eu.mo po/eu.po
msgfmt -o po/et.mo po/et.po
msgfmt -o po/es.mo po/es.po
msgfmt -o po/eo.mo po/eo.po
msgfmt -o po/en_GB.mo po/en_GB.po
msgfmt -o po/en_CA.mo po/en_CA.po
msgfmt -o po/el.mo po/el.po
msgfmt -o po/de.mo po/de.po
msgfmt -o po/da.mo po/da.po
msgfmt -o po/cs.mo po/cs.po
msgfmt -o po/ca.mo po/ca.po
msgfmt -o po/bs.mo po/bs.po
msgfmt -o po/bg.mo po/bg.po
msgfmt -o po/ar.mo po/ar.po
#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()...
python -m unittest -b test/test_applicationinstance.py
...................
----------------------------------------------------------------------
Ran 19 tests in 0.033s
OK
python -m unittest -b test/test_argparser.py
.....................
----------------------------------------------------------------------
Ran 21 tests in 2.696s
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)
From BIT initialization through snapshot
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/marco/.cache/yay/backintime/src/backintime-1.3.3/common/test/test_backintime.py", line 178, 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' 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'
----------------------------------------------------------------------
Ran 3 tests in 3.019s
FAILED (failures=1, skipped=1)
make: *** [Makefile:570: unittest] Error 1
==> ERROR: A failure occurred in check().
Aborting...
-> error making: backintime-exit status 4
==> Making package: backintime 1.3.3-4 (Sat May 20 07:15:23 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found backintime-1.3.3.tar.gz
-> Found python311-fix.patch
==> Validating source files with b2sums...
backintime-1.3.3.tar.gz ... Passed
python311-fix.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting backintime-1.3.3.tar.gz with bsdtar
==> Starting prepare()...
patching file common/test/test_backintime.py
==> Sources are ready.
==> Making package: backintime 1.3.3-4 (Sat May 20 07:15:25 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
All OK. Now run:
make
sudo make install
msgfmt -o po/zh_TW.mo po/zh_TW.po
msgfmt -o po/zh_CN.mo po/zh_CN.po
msgfmt -o po/uk.mo po/uk.po
msgfmt -o po/tr.mo po/tr.po
msgfmt -o po/th.mo po/th.po
msgfmt -o po/sv.mo po/sv.po
msgfmt -o po/sr.mo po/sr.po
msgfmt -o po/sl.mo po/sl.po
msgfmt -o po/sk.mo po/sk.po
msgfmt -o po/ru.mo po/ru.po
msgfmt -o po/ro.mo po/ro.po
msgfmt -o po/pt_BR.mo po/pt_BR.po
msgfmt -o po/pt.mo po/pt.po
msgfmt -o po/pl.mo po/pl.po
msgfmt -o po/nn.mo po/nn.po
msgfmt -o po/nl.mo po/nl.po
msgfmt -o po/nb.mo po/nb.po
msgfmt -o po/lt.mo po/lt.po
msgfmt -o po/ko.mo po/ko.po
msgfmt -o po/jv.mo po/jv.po
msgfmt -o po/ja.mo po/ja.po
msgfmt -o po/it.mo po/it.po
msgfmt -o po/is.mo po/is.po
msgfmt -o po/id.mo po/id.po
msgfmt -o po/hu.mo po/hu.po
msgfmt -o po/hr.mo po/hr.po
msgfmt -o po/he.mo po/he.po
msgfmt -o po/gl.mo po/gl.po
msgfmt -o po/fr.mo po/fr.po
msgfmt -o po/fo.mo po/fo.po
msgfmt -o po/fi.mo po/fi.po
msgfmt -o po/eu.mo po/eu.po
msgfmt -o po/et.mo po/et.po
msgfmt -o po/es.mo po/es.po
msgfmt -o po/eo.mo po/eo.po
msgfmt -o po/en_GB.mo po/en_GB.po
msgfmt -o po/en_CA.mo po/en_CA.po
msgfmt -o po/el.mo po/el.po
msgfmt -o po/de.mo po/de.po
msgfmt -o po/da.mo po/da.po
msgfmt -o po/cs.mo po/cs.po
msgfmt -o po/ca.mo po/ca.po
msgfmt -o po/bs.mo po/bs.po
msgfmt -o po/bg.mo po/bg.po
msgfmt -o po/ar.mo po/ar.po
#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()...
python -m unittest -b test/test_applicationinstance.py
...................
----------------------------------------------------------------------
Ran 19 tests in 0.032s
OK
python -m unittest -b test/test_argparser.py
.....................
----------------------------------------------------------------------
Ran 21 tests in 2.671s
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)
From BIT initialization through snapshot
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/marco/.cache/yay/backintime/src/backintime-1.3.3/common/test/test_backintime.py", line 178, 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' 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'
----------------------------------------------------------------------
Ran 3 tests in 3.007s
FAILED (failures=1, skipped=1)
make: *** [Makefile:570: unittest] Error 1
==> ERROR: A failure occurred in check().
Aborting...
-> error making: backintime-exit status 4
-> Failed to install the following packages. Manual intervention is required:
backintime-cli - exit status 4
backintime - exit status 4
marco@arch ~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment