You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently tried to use aura to install the package backintime from the AUR. Building that package failed due to what seems to be an issue with environment variables. A unit test (run upon package building) for that particular package expects the variable XDG_RUNTIME_DIR to be set.
I'm not entirely sure whatever environment that aura is running the unit test in, but it appears the variable is not set in that environment. Excerpt from package building:
python-munittest-btest/test_backintime.pyWARNING: FailedtoconnecttoUdevserviceHelperdaemonviaD-Bus: org.freedesktop.DBus.Error.ServiceUnknownWARNING: D-Busmessage: Thenamenet.launchpad.backintime.serviceHelperwasnotprovidedbyany .servicefilesWARNING: Udev-basedprofilescannotbechangedorcheckedduetoUdevserviceHelperconnectionfailure
.Fs======================================================================FAIL: test_local_snapshot_is_successful (test.test_backintime.TestBackInTime)
endtoendtest-fromBITinitializationthroughsnapshot----------------------------------------------------------------------Traceback (mostrecentcalllast):
File"/tmp/backintime-8278299993025593526/backintime/src/backintime-1.3.3/common/test/test_backintime.py", line147, intest_local_snapshot_is_successfulself.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\nQStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-cove'\nINFO: Unlock\n"
XDG_RUNTIME_DIR is set in my normal shell session (from which I'm running aura). Installing the package manually using makepkg works a-okay.
I thought it'd be prescient to report the issue here first, since you're probably best positioned to diagnose whether this is an aura issue, an issue with backintime, or user error.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
covertg
changed the title
Error building a package
Error building a package due to unset variable
Apr 19, 2023
I recently tried to use
aura
to install the package backintime from the AUR. Building that package failed due to what seems to be an issue with environment variables. A unit test (run upon package building) for that particular package expects the variable XDG_RUNTIME_DIR to be set.I'm not entirely sure whatever environment that aura is running the unit test in, but it appears the variable is not set in that environment. Excerpt from package building:
XDG_RUNTIME_DIR is set in my normal shell session (from which I'm running aura). Installing the package manually using
makepkg
works a-okay.I thought it'd be prescient to report the issue here first, since you're probably best positioned to diagnose whether this is an aura issue, an issue with backintime, or user error.
Thanks in advance!
The text was updated successfully, but these errors were encountered: