pkgng detect conflict between bacula-server and bacula-client ports

Baptiste Daroussin bapt at freebsd.org
Wed Jun 13 21:55:56 UTC 2012


On Tue, Jun 12, 2012 at 10:57:44PM +0400, Subbsd wrote:
> Hi,
> 
> Ive try to use pkgng ( WITH_PKGNG=yes ) for build new environment and
> got failed:
> ...
> ===>   Registering installation for bacula-server-5.2.6
> Installing bacula-server-5.2.6...pkg: bacula-server-5.2.6 conflicts
> with bacula-client-5.2.6 (installs files into the same place).
> Problematic file: /usr/local/man/man8/bacula-fd.8.gz
> *** Error code 3
> 
> Stop in /usr/ports/sysutils/bacula-server.
> *** Error code 1
> 
> Stop in /usr/ports/sysutils/bacula-server.
> 
> ===>>> Installation of bacula-server-5.2.6 (sysutils/bacula-server) failed
> ===>>> Aborting update
> 
> ===>>> Update for sysutils/bacula-server failed
> ===>>> Aborting update
> 
> Terminated
> ...
> 
> As i see, /usr/ports/sysutils/bacula-client/Makefile use
> /usr/ports/sysutils/bacula-server/Makefile. And this looks like
> bacula-fd.8.gz should be in Makefile or in case(WITH_CLIENT_ONLY)
> constructions because file relating to *-client port. However,
> bacula-fd.8.gz will appear in any case with installation of *-server
> part too:
> ..
> 
> .if defined(WITH_CLIENT_ONLY)
> MAN8=                   bacula-fd.8 bconsole.8
> EXTRA_PATCHES+=         ${FILESDIR}/extra__manpages__Makefile.in
> .else
> MAN1=                   bat.1 bsmtp.1 bacula-tray-monitor.1 bacula-bwxconsole.1
> MAN8=                   bacula.8 bacula-dir.8 bacula-fd.8 bacula-sd.8
> bconsole.8 \
>                         bcopy.8 bextract.8 bls.8 bregex.8 bscan.8 btape.8 \
>                         btraceback.8 bwild.8 dbcheck.8
> ..
> 
> In this case the logic is broken and I should register PR to a bacula
> maintainer for spliting conflict files or such situation is normal and
> isn't considered by pkgng?

the bug is in bacula the man page should only be provide once btw bacula-fd is
only provided by the client, the man page should only be installed with the
client.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120613/f17cf6c3/attachment.pgp


More information about the freebsd-ports mailing list