ports/163247: sysutils/bacula-bat 5.2.2 porte doesn't install libbacfind.so

olevole olevole at olevole.ru
Tue Dec 13 14:10:11 UTC 2011

>Number:         163247
>Category:       ports
>Synopsis:       sysutils/bacula-bat 5.2.2 porte doesn't install libbacfind.so
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 13 14:10:10 UTC 2011
>Originator:     olevole
>Release:        9.0-RC3
After upgrading http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/bacula-server/Makefile.diff?r1=text&tr1=1.131&r2=text&tr2=1.130 Bacula to 5.2.2,
bat binary from sysutils/bacula-bat demands libbacfind.so library which the port doesn't install:

ldd /usr/local/sbin/bat |grep found
        libbacfind.so.5 => not found (0)


cd /usr/ports/sysutils/bacula-bat/work/bacula-5.2.2/src/findlib && gmake install
==== Make of findlib is good ====
/usr/ports/sysutils/bacula-bat/work/bacula-5.2.2/autoconf/mkinstalldirs /usr/local/lib
/usr/ports/sysutils/bacula-bat/work/bacula-5.2.2/libtool --silent --tag=CXX --finish --mode=install /usr/bin/install -c -o root -g wheel -m 755 libbacfind.la /usr/local/lib

All works fine
make -C /usr/ports/sysutils/bacula-bat install && rehash && su -m <xuser> -c bat
For the fast solution (that people weren't updated with an error) just puts lines by analogy to the previous library.

I will try to recreate Makefile later (these files are absent in pkg-plists ALSO)

Patch attached with submission follows:

diff -ruN bacula-bat-orig/Makefile bacula-bat/Makefile
--- bacula-bat-orig/Makefile	2011-12-13 17:08:50.000000000 +0400
+++ bacula-bat/Makefile	2011-12-13 17:58:39.000000000 +0400
@@ -68,6 +68,8 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/src/lib/.libs/libbaccfg.so.${PORTVERSION:R:R} \
+	${INSTALL_PROGRAM} ${WRKSRC}/src/findlib/.libs/libbacfind.so.${PORTVERSION:R:R} \
+	    ${PREFIX}/lib
 	${INSTALL_PROGRAM} ${WRKSRC}/src/qt-console/bat ${PREFIX}/sbin


More information about the freebsd-ports-bugs mailing list