ports/172600: [PKGNG]sysutils/bacula-client & sysutils/bacula-server conflict and shouldn't

Larry Rosenman ler at lerctr.org
Thu Oct 11 11:49:25 UTC 2012


>Number:         172600
>Category:       ports
>Synopsis:       [PKGNG]sysutils/bacula-client & sysutils/bacula-server conflict and shouldn't
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 11 11:49:24 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Larry Rosenman
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
LERCTR Consulting
>Environment:
System: FreeBSD borg.lerctr.org 10.0-CURRENT FreeBSD 10.0-CURRENT #8 r241357: Mon Oct 8 17:45:12 CDT 2012 root at borg.lerctr.org:/usr/obj/usr/src/sys/BORG-DTRACE amd64


>Description:
Switched to pkgng today, and sysutils/bacula-* have issues. 

the pkg2ng didn't load the bacula-* ports, and reinstalling them can't be done.

The bacula-server port is installed, and this is the result of a 
make deinstall install:

===>  Deinstalling for sysutils/bacula-client
===>   bacula-client not installed, skipping
===>  Installing for bacula-client-5.2.12
===>   bacula-client-5.2.12 depends on shared library: intl - found
if [ ! -d "/var/db/bacula" ]; then  echo "creating /var/db/bacula" ;  /bin/mkdir -p /var/db/bacula;  else  echo "/var/db/bacula already exists";  fi
/var/db/bacula already exists
===>   Generating temporary packing list
===>  Checking if sysutils/bacula-client already installed
===> Creating users and/or groups.
Using existing group `bacula'.
Using existing user `bacula'.
./autoconf/mkinstalldirs /usr/local/sbin
./autoconf/mkinstalldirs /usr/local/etc
./autoconf/mkinstalldirs /usr/local/share/bacula
./autoconf/mkinstalldirs /usr/local/share/doc/bacula
./autoconf/mkinstalldirs /tmp
if test ! -d /var/db/bacula ; then \
   ./autoconf/mkinstalldirs /var/db/bacula; \
   chmod 770 /var/db/bacula; \
fi
if test "x" != "x" ; then \
   chown  /var/db/bacula; \
fi
if test "x" != "x" ; then \
   chgrp  /var/db/bacula; \
fi
gmake[1]: Entering directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src'
gmake[1]: Nothing to be done for `install'.
gmake[1]: Leaving directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src'
gmake[1]: Entering directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/lib'
==== Make of lib is good ====
 
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/autoconf/mkinstalldirs /usr/local/lib
/bin/rm -f /usr/local/lib/libbac-*.so /usr/local/lib/libbac.la
/bin/rm -f /usr/local/lib/libbaccfg-*.so /usr/local/lib/libbaccfg.la
/bin/rm -f /usr/local/lib/libbacpy-*.so /usr/local/lib/libbacpy.la
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --finish --mode=install /usr/bin/install -c -o root -g wheel -m 755 libbac.la /usr/local/lib
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --finish --mode=install /usr/bin/install -c -o root -g wheel -m 755 libbaccfg.la /usr/local/lib
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --finish --mode=install /usr/bin/install -c -o root -g wheel -m 755 libbacpy.la /usr/local/lib
gmake[1]: Leaving directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/lib'
gmake[1]: Entering directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/findlib'
==== Make of findlib is good ====
 
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/autoconf/mkinstalldirs /usr/local/lib
/bin/rm -f /usr/local/lib/libbacfind-*.so /usr/local/lib/libbacfind.la
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --finish --mode=install /usr/bin/install -c -o root -g wheel -m 755 libbacfind.la /usr/local/lib
gmake[1]: Leaving directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/findlib'
gmake[1]: Entering directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/filed'
==== Make of filed is good ====
 
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --mode=install /usr/bin/install -c -o root -g wheel -m 755 bacula-fd /usr/local/sbin/bacula-fd 
  ==> Found existing bacula-fd.conf, installing new conf file as bacula-fd.conf.new
/usr/bin/install -c -o root -g wheel -m 640 bacula-fd.conf /usr/local/etc/bacula-fd.conf.new
gmake[1]: Leaving directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/filed'
gmake[1]: Entering directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/console'
==== Make of console is good ====
 
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --mode=install /usr/bin/install -c -o root -g wheel -m 755 bconsole /usr/local/sbin/bconsole
  ==> Found existing bconsole.conf, installing new conf file as bconsole.conf.new
/usr/bin/install -c -o root -g wheel -m 640 bconsole.conf /usr/local/etc/bconsole.conf.new
if test -f static-bconsole; then \
   /usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --mode=install /usr/bin/install -c -o root -g wheel -m 755 static-bconsole /usr/local/sbin/static-bconsole; \
fi
gmake[1]: Leaving directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/console'
gmake[1]: Entering directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/plugins/fd'
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/autoconf/mkinstalldirs /usr/local/lib
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/libtool --silent --tag=CXX --mode=install /usr/bin/install -c -o root -g wheel -m 755 bpipe-fd.la /usr/local/lib
/bin/rm -f /usr/local/lib/bpipe-fd.la
gmake[1]: Leaving directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/src/plugins/fd'
gmake[1]: Entering directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/manpages'
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/autoconf/mkinstalldirs //usr/local/man/man8
for I in bacula-fd.8 bconsole.8; \
  do (/bin/rm -f $I.gz; gzip -c $I >$I.gz; \
     /usr/bin/install -c -o root -g wheel -m 644 $I.gz /usr/local/man/man8/$I.gz; \
     rm -f $I.gz); \
done
/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/autoconf/mkinstalldirs //usr/local/man/man1
for I in ; \
  do (/bin/rm -f $I.gz; gzip -c $I >$I.gz; \
     /usr/bin/install -c -o root -g wheel -m 644 $I.gz /usr/local/man/man1/$I.gz; \
     rm -f $I.gz); \
done
gmake[1]: Leaving directory `/usr/ports/sysutils/bacula-client/work/bacula-5.2.12/manpages'
===> Installing rc.d startup script(s)
if [ -f /usr/local/etc/bconsole.conf.new ]; then  echo "etc/bconsole.conf.new" >> /usr/ports/sysutils/bacula-client/work/.PLIST.mktmp;  /usr/bin/chgrp bacula /usr/local/etc/bconsole.conf.new;  elif [ -f /usr/local/etc/bconsole.conf ]; then  /bin/mv /usr/local/etc/bconsole.conf /usr/local/etc/bconsole.conf.sample;  /usr/bin/chgrp bacula /usr/local/etc/bconsole.conf.sample;  echo "etc/bconsole.conf.sample" >> /usr/ports/sysutils/bacula-client/work/.PLIST.mktmp;  fi
/usr/bin/chgrp bacula /usr/local/sbin/bconsole
for na in fd; do  if [ -f /usr/local/etc/bacula-$na.conf.new ]; then  echo "etc/bacula-$na.conf.new" >> /usr/ports/sysutils/bacula-client/work/.PLIST.mktmp;  elif [ -f /usr/local/etc/bacula-$na.conf ]; then  /bin/mv /usr/local/etc/bacula-$na.conf /usr/local/etc/bacula-$na.conf.sample;  echo "etc/bacula-$na.conf.sample" >> /usr/ports/sysutils/bacula-client/work/.PLIST.mktmp;  fi;  done
/usr/bin/chgrp wheel /usr/local/etc
################################################################################

NOTE:
Sample files are installed in /usr/local/etc:
bconsole.conf.sample, bacula-barcodes.sample, bacula-fd.conf.sample

  Please read this file:

	/usr/local/share/doc/bacula/ReleaseNotes

  as installed by docs port for the upgrade procedure.

Read the ReleaseNotes for further information.

################################################################################
===> Correct pkg-plist sequence to create group(s) and user(s)
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for bacula-client-5.2.12
Installing bacula-client-5.2.12...pkg: bacula-client-5.2.12 conflicts with bacula-server-5.2.12 (installs files into the same place).  Problematic file: /usr/local/man/man8/bacula-fd.8.gz
*** [fake-pkg] Error code 70

Stop in /usr/ports/sysutils/bacula-client.
*** [install] Error code 1

Stop in /usr/ports/sysutils/bacula-client.

This worked prior to pkgng switch
>How-To-Repeat:
See above
>Fix:
Fix the conflicts or pkgng. 
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list