Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 23:55:53 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Subbsd <subbsd@gmail.com>
Cc:        dan@langille.org, freebsd-ports@freebsd.org
Subject:   Re: pkgng detect conflict between bacula-server and bacula-client ports
Message-ID:  <20120613215553.GR60433@ithaqua.etoilebsd.net>
In-Reply-To: <CAFt_eMoLbNt2xfsb7ncfwwxUr_wzTtZD%2B7VUp3p=CBLhYrHnDA@mail.gmail.com>
References:  <CAFt_eMoLbNt2xfsb7ncfwwxUr_wzTtZD%2B7VUp3p=CBLhYrHnDA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--LZ92CUgs0ha736zO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 12, 2012 at 10:57:44PM +0400, Subbsd wrote:
> Hi,
>=20
> Ive try to use pkgng ( WITH_PKGNG=3Dyes ) for build new environment and
> got failed:
> ...
> =3D=3D=3D>   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
>=20
> Stop in /usr/ports/sysutils/bacula-server.
> *** Error code 1
>=20
> Stop in /usr/ports/sysutils/bacula-server.
>=20
> =3D=3D=3D>>> Installation of bacula-server-5.2.6 (sysutils/bacula-server)=
 failed
> =3D=3D=3D>>> Aborting update
>=20
> =3D=3D=3D>>> Update for sysutils/bacula-server failed
> =3D=3D=3D>>> Aborting update
>=20
> Terminated
> ...
>=20
> 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:
> ..
>=20
> .if defined(WITH_CLIENT_ONLY)
> MAN8=3D                   bacula-fd.8 bconsole.8
> EXTRA_PATCHES+=3D         ${FILESDIR}/extra__manpages__Makefile.in
> .else
> MAN1=3D                   bat.1 bsmtp.1 bacula-tray-monitor.1 bacula-bwxc=
onsole.1
> MAN8=3D                   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
> ..
>=20
> 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

--LZ92CUgs0ha736zO
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/ZDGkACgkQ8kTtMUmk6Ew2sQCgoExOrPjhFDcuBFyEV4FaTaZu
u9kAnic0y23MQb97HBMIMoKLWm3OMUH3
=vRpI
-----END PGP SIGNATURE-----

--LZ92CUgs0ha736zO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120613215553.GR60433>