Bug 140104

Summary: Cannot install ports/sysutils/bacula-bat (bacula-3.0.3)
Product: Ports & Packages Reporter: Andrei V. Lavreniyuk <andy.lavr>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Andrei V. Lavreniyuk 2009-10-30 11:00:13 UTC
==>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)

Fix: Patch attached with submission follows:
How-To-Repeat: # cd /usr/ports/sysutils/bacula-bat
# make install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-10-30 11:00:22 UTC
Maintainer of sysutils/bacula-bat,

Please note that PR ports/140104 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140104

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-10-30 11:00:25 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2009-10-30 11:15:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 4 Per olof Ljungmark 2009-11-24 19:06:36 UTC
I believe this is a duplicate of
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137957
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2009-11-27 21:49:37 UTC
State Changed
From-To: feedback->closed

duplicate by 137957