Date: Fri, 30 Oct 2009 10:56:28 GMT From: Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/140104: Cannot install ports/sysutils/bacula-bat (bacula-3.0.3) Message-ID: <200910301056.n9UAuSwo094630@www.freebsd.org> Resent-Message-ID: <200910301100.n9UB0Dne053398@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140104 >Category: ports >Synopsis: Cannot install ports/sysutils/bacula-bat (bacula-3.0.3) >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: Fri Oct 30 11:00:13 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrei Lavreniyuk >Release: FreeBSD 8.0-RC1 >Organization: Technica-03, Inc. >Environment: FreeBSD datacenter.technica-03.local 8.0-RC1 FreeBSD 8.0-RC1 #0: Fri Oct 16 08:38:34 EEST 2009 root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64 amd64 >Description: ==>Entering directory /usr/ports/sysutils/bacula-bat/work/bacula-3.0.3/manpages ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'bacula-bat-3.0.2' rmdir: /var/db/bacula: Directory not empty Check if /var/db/bacula is empty and delete it to permanently remove the bacula port To delete Bacula user permanently, use 'pw userdel bacula' To delete Bacula group permanently, use 'pw groupdel bacula' pkg_delete: unable to completely remove directory '/usr/local/share/doc/bacula' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 834 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for bacula-bat-3.0.3 ===> bacula-bat-3.0.3 depends on shared library: qwt.5 - found ===> bacula-bat-3.0.3 depends on shared library: sqlite.2 - found ===> bacula-bat-3.0.3 depends on shared library: intl - found # override master ===> Generating temporary packing list ===> Checking if sysutils/bacula-bat already installed # Install config files and preserve existing ones install -s -o root -g wheel -m 555 /usr/ports/sysutils/bacula-bat/work/bacula-3.0.3/src/qt-console/.libs/bat /usr/local/sbin install: /usr/ports/sysutils/bacula-bat/work/bacula-3.0.3/src/qt-console/.libs/bat: No such file or directory *** Error code 71 Stop in /usr/ports/sysutils/bacula-bat. *** Error code 1 Stop in /usr/ports/sysutils/bacula-bat. *** Error code 1 Stop in /usr/ports/sysutils/bacula-bat. ** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20091030-84696-k63rze-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=bacula-bat-3.0.2 UPGRADE_PORT_VER=3.0.2 make reinstall ---> Restoring the old version bacula:*:910:www You already have a group "bacula", so I will use it. bacula:*:910:910::0:0:Bacula Daemon:/var/db/bacula:/sbin/nologin You already have a user "bacula", so I will use it. Changed home directory of "bacula" to "/var/db/bacula" ** Fix the installation problem and try again. [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 835 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! sysutils/bacula-bat (bacula-bat-3.0.2) (install error) >How-To-Repeat: # cd /usr/ports/sysutils/bacula-bat # make install >Fix: Patch attached with submission follows: --- Makefile.orig 2009-08-14 23:02:51.000000000 +0300 +++ Makefile 2009-10-30 12:54:22.394582514 +0200 @@ -39,7 +39,7 @@ do-install: # Install config files and preserve existing ones - ${INSTALL_PROGRAM} ${WRKSRC}/src/qt-console/.libs/bat ${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/src/qt-console/bat ${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/src/qt-console/bat.conf ${PREFIX}/etc/bat.conf.sample ${GZIP_CMD} ${WRKSRC}/manpages/bat.1 ${INSTALL_MAN} ${WRKSRC}/manpages/bat.1.gz ${PREFIX}/man/man1/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910301056.n9UAuSwo094630>