Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915605 - app-backup/bacula-11.0.6-r4 /usr/sbin/bacula-tray-monitor: error: `/usr/sbin/.libs/bacula-tray-monitor' does not exist
Summary: app-backup/bacula-11.0.6-r4 /usr/sbin/bacula-tray-monitor: error: `/usr/sbin/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 20:31 UTC by Christophe PEREZ
Modified: 2023-11-14 16:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2023-10-11 20:31:10 UTC
I use bacula for years, but never tried tray monitor till today, and :

$ bacula-tray-monitor 
/usr/sbin/bacula-tray-monitor: error: `/usr/sbin/.libs/bacula-tray-monitor' does not exist
This script is just a wrapper for bacula-tray-monitor.
See the libtool documentation for more information.

$ qlist bacula | grep tray
/usr/libexec/bacula/bacula-tray-monitor.desktop
/usr/sbin/bacula-tray-monitor
/etc/bacula/bacula-tray-monitor.conf

No bacula-tray-monitor exec installed anywhere.


$ emerge -pv bacula

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.34 s.

[ebuild   R    ] app-backup/bacula-11.0.6-r4::gentoo  USE="X acl batch-insert qt5 readline sqlite ssl -bacula-clientonly -bacula-nodir -bacula-nosd -examples -ipv6 -logwatch -mysql -postgres -static -tcpd -vim-syntax" 0 KiB
Comment 1 Thomas Beierlein gentoo-dev 2023-11-14 12:17:08 UTC
Thanks for the report. 

Problem is similar to the build problem of bat with >=Qt 5.9.4 (see bug 644566).
Furthermore baculas configure script seems broken. It calls

 qmake
 make clean

twice for tray-monitor.pro which results in a Makefile without install instructions for the binary.

Removing the second pair of lines it seems to work well.
Comment 2 Larry the Git Cow gentoo-dev 2023-11-14 16:29:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e53f9a018444843cddacec6efa95fd8caff062d

commit 6e53f9a018444843cddacec6efa95fd8caff062d
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2023-11-14 16:26:49 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2023-11-14 16:29:20 +0000

    app-backup/bacula: Fix build of tray-monitor binary
    
    Closes: https://bugs.gentoo.org/915605
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 app-backup/bacula/bacula-11.0.6-r6.ebuild      | 431 ++++++++++++++++++++++++
 app-backup/bacula/bacula-13.0.3-r2.ebuild      | 441 +++++++++++++++++++++++++
 app-backup/bacula/files/fix_tray_monitor.patch |  15 +
 3 files changed, 887 insertions(+)