Date: Tue, 13 Dec 2011 14:08:15 GMT From: olevole <olevole@olevole.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/163247: sysutils/bacula-bat 5.2.2 porte doesn't install libbacfind.so Message-ID: <201112131408.pBDE8FmY078868@red.freebsd.org> Resent-Message-ID: <201112131410.pBDEAA2V075784@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 13 14:10:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: olevole >Release: 9.0-RC3 >Organization: >Environment: >Description: 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) After 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 >How-To-Repeat: make -C /usr/ports/sysutils/bacula-bat install && rehash && su -m <xuser> -c bat >Fix: 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 @@ ${PREFIX}/lib ${INSTALL_PROGRAM} ${WRKSRC}/src/lib/.libs/libbaccfg.so.${PORTVERSION:R:R} \ ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/src/findlib/.libs/libbacfind.so.${PORTVERSION:R:R} \ + ${PREFIX}/lib .else ${INSTALL_PROGRAM} ${WRKSRC}/src/qt-console/bat ${PREFIX}/sbin .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112131408.pBDE8FmY078868>