SUMMARY STEPS TO REPRODUCE 1. Run kdesrc-build libdbusmenu-qt OBSERVED RESULT Fails to update package with below error - Building libdbusmenu-qt (1/1) Unable to update libdbusmenu-qt! at /usr/local/kf5/share/kdesrc-build/modules/ksb/Updater/Bzr.pm line 51, <STDIN> line 1. ksb::Updater::Bzr::updateInternal(ksb::Updater::Bzr=HASH(0x318d5c8), ksb::IPC::Pipe=HASH(0x3129e18)) called at /usr/local/kf5/share/kdesrc-build/modules/ksb/Module.pm line 733 eval {...} called at /usr/local/kf5/share/kdesrc-build/modules/ksb/Module.pm line 733 ksb::Module::update(ksb::Module=HASH(0x30eef10), ksb::IPC::Pipe=HASH(0x3129e18), ksb::BuildContext=HASH(0x173f960)) called at /usr/local/kf5/share/kdesrc-build/modules/ksb/Application.pm line 1485 ksb::Application::_handle_updates(ksb::IPC::Pipe=HASH(0x3129e18), ksb::BuildContext=HASH(0x173f960)) called at /usr/local/kf5/share/kdesrc-build/modules/ksb/Application.pm line 1746 ksb::Application::_handle_async_build(ksb::IPC::Pipe=HASH(0x3183848), ksb::BuildContext=HASH(0x173f960)) called at /usr/local/kf5/share/kdesrc-build/modules/ksb/Application.pm line 812 ksb::Application::runAllModulePhases(ksb::Application=HASH(0x2902b90)) called at /usr/local/kf5/bin/kdesrc-build line 367 eval {...} called at /usr/local/kf5/bin/kdesrc-build line 363 Error updating libdbusmenu-qt, removing from list of packages to build. > 1 Unable to update libdbusmenu-qt, build canceled. EXPECTED RESULT Should update and build/install as expected. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Ubuntu 16 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: 5.12.5 ADDITIONAL INFORMATION libdbusmenu-qt/error.log ========= # kdesrc-build running: 'bzr' 'pull' # from directory: /home/rahul.c/kde/src/libdbusmenu-qt bzr: ERROR: Not a branch: "/home/rahul.c/kde/src/libdbusmenu-qt/.bzr/branch/": location is a repository.
Thanks for including the error.log. I've just tried it with recent kdesrc-build and bzr 2.7.0, and my output was: libdbusmenu-qt/bzr-pull.log =========================== # kdesrc-build running: 'bzr' 'pull' # from directory: /kdesrc/src/kf5/libdbusmenu-qt Using saved parent location: http://bazaar.launchpad.net/~dbusmenu-team/libdbusmenu-qt/trunk/ No revisions or tags to pull. If I try forcibly removing the source directory for libdbusmenu-qt before running kdesrc-build, kdesrc-build is able to succeed at checking out libdbusmenu-qt, with output of: libdbusmenu-qt/bzr-branch.log ============================= # kdesrc-build running: 'bzr' 'branch' 'lp:libdbusmenu-qt' '/kdesrc/src/kf5/libdbusmenu-qt' # from directory: /kdesrc/src/kf5/sysadmin/repo-metadata You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data. See "bzr help launchpad-login". Branched 271 revisions. Although the process is run from the wrong directory (sysadmin/repo-metadata) the full destination path is still passed to bzr so the operation still succeeds. At this point I would recommend completely deleting the existing source directory and trying again. I think bzr itself is throwing an error and that seems like the fastest potential option to unstick it.
(In reply to Michael Pyne from comment #1) > Thanks for including the error.log. I've just tried it with recent > kdesrc-build and bzr 2.7.0, and my output was: > > libdbusmenu-qt/bzr-pull.log > =========================== > > # kdesrc-build running: 'bzr' 'pull' > > # from directory: /kdesrc/src/kf5/libdbusmenu-qt > > Using saved parent location: > http://bazaar.launchpad.net/~dbusmenu-team/libdbusmenu-qt/trunk/ > > No revisions or tags to pull. > > If I try forcibly removing the source directory for libdbusmenu-qt before > running kdesrc-build, kdesrc-build is able to succeed at checking out > libdbusmenu-qt, with output of: > > libdbusmenu-qt/bzr-branch.log > ============================= > > # kdesrc-build running: 'bzr' 'branch' 'lp:libdbusmenu-qt' > '/kdesrc/src/kf5/libdbusmenu-qt' > # from directory: /kdesrc/src/kf5/sysadmin/repo-metadata > > You have not informed bzr of your Launchpad ID, and you must do this to > > write to Launchpad or access private data. See "bzr help launchpad-login". > > Branched 271 revisions. > > > Although the process is run from the wrong directory > (sysadmin/repo-metadata) the full destination path is still passed to bzr so > the operation still succeeds. > > At this point I would recommend completely deleting the existing source > directory and trying again. I think bzr itself is throwing an error and that > seems like the fastest potential option to unstick it. Sorry for a delayed response, I have tried removing the source/build directories and trying from scratch, but it keeps failing no matter what. Does the bzr update work on other systems?
try to start kdesrc-build with LANG=C bzr and python2.7 have problems with some language settings
The libdbusmenu-qt is no longer built, see https://invent.kde.org/sdk/kdesrc-build/-/commit/e53e103cd25ed68e57f26d91070b62b0763ba6ec